patches/glibc/2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
     1 Fixes
     2 initgroups.c: In function `internal_getgrouplist':
     3 initgroups.c:179: error: parse error before "__FUNCTION__"
     4 
     5 CVSROOT:	/cvs/glibc
     6 Module name:	libc
     7 Changes by:	roland@sources.redhat.com	2001-12-16 21:52:12
     8 
     9 Modified files:
    10 	nss            : nsswitch.c 
    11 	grp            : initgroups.c 
    12 
    13 Log message:
    14 	2001-12-16  Roland McGrath  <roland@frob.com>
    15 	
    16 	* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
    17 	* grp/initgroups.c (internal_getgrouplist): Likewise.
    18 
    19 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/grp/initgroups.c.diff?r1=1.26&r2=1.27&cvsroot=glibc
    20 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nss/nsswitch.c.diff?r1=1.52&r2=1.53&cvsroot=glibc
    21 
    22 ===================================================================
    23 RCS file: /cvs/glibc/libc/grp/initgroups.c,v
    24 retrieving revision 1.26
    25 retrieving revision 1.27
    26 diff -u -r1.26 -r1.27
    27 --- libc/grp/initgroups.c	2001/07/06 04:54:46	1.26
    28 +++ libc/grp/initgroups.c	2001/12/17 05:52:11	1.27
    29 @@ -176,7 +176,7 @@
    30  
    31        /* This is really only for debugging.  */
    32        if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
    33 -	__libc_fatal ("illegal status in " __FUNCTION__);
    34 +	__libc_fatal ("illegal status in internal_getgrouplist");
    35  
    36        if (status != NSS_STATUS_SUCCESS
    37  	  && nss_next_action (nip, status) == NSS_ACTION_RETURN)
    38 @@ -214,7 +214,7 @@
    39      }
    40    else
    41      *ngroups = result;
    42 -      
    43 +
    44    memcpy (groups, newgroups, *ngroups * sizeof (gid_t));
    45  
    46    free (newgroups);
    47 
    48 ===================================================================
    49 RCS file: /cvs/glibc/libc/nss/nsswitch.c,v
    50 retrieving revision 1.52
    51 retrieving revision 1.53
    52 diff -u -r1.52 -r1.53
    53 --- libc/nss/nsswitch.c	2001/07/17 08:21:36	1.52
    54 +++ libc/nss/nsswitch.c	2001/12/17 05:52:11	1.53
    55 @@ -178,7 +178,7 @@
    56      {
    57        /* This is really only for debugging.  */
    58         if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
    59 -	 __libc_fatal ("illegal status in " __FUNCTION__);
    60 +	 __libc_fatal ("illegal status in __nss_next");
    61  
    62         if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
    63  	 return 1;