patches/glibc/2.2.2/glibc-2.1.3-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
Removed 2nd hunk for glibc-2.1.3 (it was just whitespace)
yann@1
    23
yann@1
    24
===================================================================
yann@1
    25
RCS file: /cvs/glibc/libc/grp/initgroups.c,v
yann@1
    26
retrieving revision 1.26
yann@1
    27
retrieving revision 1.27
yann@1
    28
diff -u -r1.26 -r1.27
yann@1
    29
--- libc/grp/initgroups.c	2001/07/06 04:54:46	1.26
yann@1
    30
+++ libc/grp/initgroups.c	2001/12/17 05:52:11	1.27
yann@1
    31
@@ -176,7 +176,7 @@
yann@1
    32
 
yann@1
    33
       /* This is really only for debugging.  */
yann@1
    34
       if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
yann@1
    35
-	__libc_fatal ("illegal status in " __FUNCTION__);
yann@1
    36
+	__libc_fatal ("illegal status in internal_getgrouplist");
yann@1
    37
 
yann@1
    38
       if (status != NSS_STATUS_SUCCESS
yann@1
    39
 	  && nss_next_action (nip, status) == NSS_ACTION_RETURN)
yann@1
    40
yann@1
    41
===================================================================
yann@1
    42
RCS file: /cvs/glibc/libc/nss/nsswitch.c,v
yann@1
    43
retrieving revision 1.52
yann@1
    44
retrieving revision 1.53
yann@1
    45
diff -u -r1.52 -r1.53
yann@1
    46
--- libc/nss/nsswitch.c	2001/07/17 08:21:36	1.52
yann@1
    47
+++ libc/nss/nsswitch.c	2001/12/17 05:52:11	1.53
yann@1
    48
@@ -178,7 +178,7 @@
yann@1
    49
     {
yann@1
    50
       /* This is really only for debugging.  */
yann@1
    51
        if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
yann@1
    52
-	 __libc_fatal ("illegal status in " __FUNCTION__);
yann@1
    53
+	 __libc_fatal ("illegal status in __nss_next");
yann@1
    54
 
yann@1
    55
        if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
yann@1
    56
 	 return 1;