patches/glibc/2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/glibc/2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,63 +0,0 @@
     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 -===================================================================
    1.26 -RCS file: /cvs/glibc/libc/grp/initgroups.c,v
    1.27 -retrieving revision 1.26
    1.28 -retrieving revision 1.27
    1.29 -diff -u -r1.26 -r1.27
    1.30 ---- libc/grp/initgroups.c	2001/07/06 04:54:46	1.26
    1.31 -+++ libc/grp/initgroups.c	2001/12/17 05:52:11	1.27
    1.32 -@@ -176,7 +176,7 @@
    1.33 - 
    1.34 -       /* This is really only for debugging.  */
    1.35 -       if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
    1.36 --	__libc_fatal ("illegal status in " __FUNCTION__);
    1.37 -+	__libc_fatal ("illegal status in internal_getgrouplist");
    1.38 - 
    1.39 -       if (status != NSS_STATUS_SUCCESS
    1.40 - 	  && nss_next_action (nip, status) == NSS_ACTION_RETURN)
    1.41 -@@ -214,7 +214,7 @@
    1.42 -     }
    1.43 -   else
    1.44 -     *ngroups = result;
    1.45 --      
    1.46 -+
    1.47 -   memcpy (groups, newgroups, *ngroups * sizeof (gid_t));
    1.48 - 
    1.49 -   free (newgroups);
    1.50 -
    1.51 -===================================================================
    1.52 -RCS file: /cvs/glibc/libc/nss/nsswitch.c,v
    1.53 -retrieving revision 1.52
    1.54 -retrieving revision 1.53
    1.55 -diff -u -r1.52 -r1.53
    1.56 ---- libc/nss/nsswitch.c	2001/07/17 08:21:36	1.52
    1.57 -+++ libc/nss/nsswitch.c	2001/12/17 05:52:11	1.53
    1.58 -@@ -178,7 +178,7 @@
    1.59 -     {
    1.60 -       /* This is really only for debugging.  */
    1.61 -        if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
    1.62 --	 __libc_fatal ("illegal status in " __FUNCTION__);
    1.63 -+	 __libc_fatal ("illegal status in __nss_next");
    1.64 - 
    1.65 -        if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
    1.66 - 	 return 1;