1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.2.2/glibc-2.1.3-allow-gcc-3.4-grp.patch Thu May 24 17:51:49 2007 +0000
1.3 @@ -0,0 +1,56 @@
1.4 +Fixes
1.5 +initgroups.c: In function `internal_getgrouplist':
1.6 +initgroups.c:179: error: parse error before "__FUNCTION__"
1.7 +
1.8 +CVSROOT: /cvs/glibc
1.9 +Module name: libc
1.10 +Changes by: roland@sources.redhat.com 2001-12-16 21:52:12
1.11 +
1.12 +Modified files:
1.13 + nss : nsswitch.c
1.14 + grp : initgroups.c
1.15 +
1.16 +Log message:
1.17 + 2001-12-16 Roland McGrath <roland@frob.com>
1.18 +
1.19 + * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
1.20 + * grp/initgroups.c (internal_getgrouplist): Likewise.
1.21 +
1.22 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/grp/initgroups.c.diff?r1=1.26&r2=1.27&cvsroot=glibc
1.23 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nss/nsswitch.c.diff?r1=1.52&r2=1.53&cvsroot=glibc
1.24 +
1.25 +Removed 2nd hunk for glibc-2.1.3 (it was just whitespace)
1.26 +
1.27 +===================================================================
1.28 +RCS file: /cvs/glibc/libc/grp/initgroups.c,v
1.29 +retrieving revision 1.26
1.30 +retrieving revision 1.27
1.31 +diff -u -r1.26 -r1.27
1.32 +--- libc/grp/initgroups.c 2001/07/06 04:54:46 1.26
1.33 ++++ libc/grp/initgroups.c 2001/12/17 05:52:11 1.27
1.34 +@@ -176,7 +176,7 @@
1.35 +
1.36 + /* This is really only for debugging. */
1.37 + if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
1.38 +- __libc_fatal ("illegal status in " __FUNCTION__);
1.39 ++ __libc_fatal ("illegal status in internal_getgrouplist");
1.40 +
1.41 + if (status != NSS_STATUS_SUCCESS
1.42 + && nss_next_action (nip, status) == NSS_ACTION_RETURN)
1.43 +
1.44 +===================================================================
1.45 +RCS file: /cvs/glibc/libc/nss/nsswitch.c,v
1.46 +retrieving revision 1.52
1.47 +retrieving revision 1.53
1.48 +diff -u -r1.52 -r1.53
1.49 +--- libc/nss/nsswitch.c 2001/07/17 08:21:36 1.52
1.50 ++++ libc/nss/nsswitch.c 2001/12/17 05:52:11 1.53
1.51 +@@ -178,7 +178,7 @@
1.52 + {
1.53 + /* This is really only for debugging. */
1.54 + if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
1.55 +- __libc_fatal ("illegal status in " __FUNCTION__);
1.56 ++ __libc_fatal ("illegal status in __nss_next");
1.57 +
1.58 + if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
1.59 + return 1;