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... :-(
yann@1
     1
Fixes
yann@1
     2
initgroups.c: In function `internal_getgrouplist':
yann@1
     3
initgroups.c:179: error: parse error before "__FUNCTION__"
yann@1
     4
yann@1
     5
CVSROOT:	/cvs/glibc
yann@1
     6
Module name:	libc
yann@1
     7
Changes by:	roland@sources.redhat.com	2001-12-16 21:52:12
yann@1
     8
yann@1
     9
Modified files:
yann@1
    10
	nss            : nsswitch.c 
yann@1
    11
	grp            : initgroups.c 
yann@1
    12
yann@1
    13
Log message:
yann@1
    14
	2001-12-16  Roland McGrath  <roland@frob.com>
yann@1
    15
	
yann@1
    16
	* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
yann@1
    17
	* grp/initgroups.c (internal_getgrouplist): Likewise.
yann@1
    18
yann@1
    19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/grp/initgroups.c.diff?r1=1.26&r2=1.27&cvsroot=glibc
yann@1
    20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nss/nsswitch.c.diff?r1=1.52&r2=1.53&cvsroot=glibc
yann@1
    21
yann@1
    22
===================================================================
yann@1
    23
RCS file: /cvs/glibc/libc/grp/initgroups.c,v
yann@1
    24
retrieving revision 1.26
yann@1
    25
retrieving revision 1.27
yann@1
    26
diff -u -r1.26 -r1.27
yann@1
    27
--- libc/grp/initgroups.c	2001/07/06 04:54:46	1.26
yann@1
    28
+++ libc/grp/initgroups.c	2001/12/17 05:52:11	1.27
yann@1
    29
@@ -176,7 +176,7 @@
yann@1
    30
 
yann@1
    31
       /* This is really only for debugging.  */
yann@1
    32
       if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
yann@1
    33
-	__libc_fatal ("illegal status in " __FUNCTION__);
yann@1
    34
+	__libc_fatal ("illegal status in internal_getgrouplist");
yann@1
    35
 
yann@1
    36
       if (status != NSS_STATUS_SUCCESS
yann@1
    37
 	  && nss_next_action (nip, status) == NSS_ACTION_RETURN)
yann@1
    38
@@ -214,7 +214,7 @@
yann@1
    39
     }
yann@1
    40
   else
yann@1
    41
     *ngroups = result;
yann@1
    42
-      
yann@1
    43
+
yann@1
    44
   memcpy (groups, newgroups, *ngroups * sizeof (gid_t));
yann@1
    45
 
yann@1
    46
   free (newgroups);
yann@1
    47
yann@1
    48
===================================================================
yann@1
    49
RCS file: /cvs/glibc/libc/nss/nsswitch.c,v
yann@1
    50
retrieving revision 1.52
yann@1
    51
retrieving revision 1.53
yann@1
    52
diff -u -r1.52 -r1.53
yann@1
    53
--- libc/nss/nsswitch.c	2001/07/17 08:21:36	1.52
yann@1
    54
+++ libc/nss/nsswitch.c	2001/12/17 05:52:11	1.53
yann@1
    55
@@ -178,7 +178,7 @@
yann@1
    56
     {
yann@1
    57
       /* This is really only for debugging.  */
yann@1
    58
        if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
yann@1
    59
-	 __libc_fatal ("illegal status in " __FUNCTION__);
yann@1
    60
+	 __libc_fatal ("illegal status in __nss_next");
yann@1
    61
 
yann@1
    62
        if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
yann@1
    63
 	 return 1;