rpms/dietlibc/devel dietlibc-0.31.20080212-ulong.patch, NONE, 1.1 dietlibc.spec, 1.38, 1.39
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Thu Feb 14 20:40:11 UTC 2008
Author: ensc
Update of /cvs/extras/rpms/dietlibc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4895
Modified Files:
dietlibc.spec
Added Files:
dietlibc-0.31.20080212-ulong.patch
Log Message:
added ulong patch
dietlibc-0.31.20080212-ulong.patch:
--- NEW FILE dietlibc-0.31.20080212-ulong.patch ---
diff -upN dietlibc-0.31.20080212/lib/strcpy.c.~1~ dietlibc-0.31.20080212/lib/strcpy.c
--- dietlibc-0.31.20080212/lib/strcpy.c.~1~ 2003-12-21 13:06:36.000000000 +0100
+++ dietlibc-0.31.20080212/lib/strcpy.c 2008-02-14 21:36:45.000000000 +0100
@@ -25,7 +25,7 @@ strcpy (char *s1, const char *s2)
while (1) {
l = *(const unsigned long *) s2;
- if (((l - MKW(0x1)) & ~l) & MKW(0x80)) {
+ if (((l - MKW(0x1ul)) & ~l) & MKW(0x80ul)) {
unsigned char c;
while ((*s1++ = (l & 0xff))) l>>=8;
return (res);
diff -upN dietlibc-0.31.20080212/lib/strcmp.c.~1~ dietlibc-0.31.20080212/lib/strcmp.c
--- dietlibc-0.31.20080212/lib/strcmp.c.~1~ 2003-12-21 13:06:36.000000000 +0100
+++ dietlibc-0.31.20080212/lib/strcmp.c 2008-02-14 21:37:38.000000000 +0100
@@ -31,8 +31,8 @@ strcmp (const char *s1, const char *s2)
while (1) {
l1 = *lx1++;
l2 = *lx2++;
- if ((((l1 - MKW(0x1)) & ~l1) & MKW(0x80)) ||
- ((((l2 - MKW(0x1)) & ~l2) & MKW(0x80))) || l1 != l2) {
+ if ((((l1 - MKW(0x1ul)) & ~l1) & MKW(0x80ul)) ||
+ ((((l2 - MKW(0x1ul)) & ~l2) & MKW(0x80ul))) || l1 != l2) {
unsigned char c1, c2;
while (1) {
c1 = l1 & 0xff;
Index: dietlibc.spec
===================================================================
RCS file: /cvs/extras/rpms/dietlibc/devel/dietlibc.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- dietlibc.spec 14 Feb 2008 16:31:20 -0000 1.38
+++ dietlibc.spec 14 Feb 2008 20:39:31 -0000 1.39
@@ -52,6 +52,7 @@
Patch40: dietlibc-0.31-printftest.patch
Patch41: dietlibc-0.31.20080212-teststdout.patch
Patch42: dietlibc-0.31.20080212-strlen.patch
+Patch43: dietlibc-0.31.20080212-ulong.patch
BuildRoot: %_tmppath/%name-%version-%release-buildroot
%{?with_dynamic:Requires: dietlibc-lib = %version-%release}
%{!?with_dynamic:Obsoletes: dietlibc-lib < %version-%release}
@@ -93,6 +94,7 @@
%patch40 -p1 -b .printftest
%patch41 -p1 -b .teststdout
%patch42 -p1 -b .strlen
+%patch43 -p1 -b .ulong
%if %{without ssp}
More information about the fedora-extras-commits
mailing list