]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.2.5 / glibc-2.2.5-allow-gcc-3.4-grp.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- glibc-2.2.5/grp/initgroups.c~glibc-2.2.5-allow-gcc-3.4-grp.patch    2004-09-03 19:00:33.000000000 -0500
7 +++ glibc-2.2.5/grp/initgroups.c        2004-09-03 19:00:38.000000000 -0500
8 @@ -176,7 +176,7 @@
9  
10        /* This is really only for debugging.  */
11        if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
12 -       __libc_fatal ("illegal status in " __FUNCTION__);
13 +       __libc_fatal ("illegal status in internal_getgrouplist");
14  
15        if (status != NSS_STATUS_SUCCESS
16           && nss_next_action (nip, status) == NSS_ACTION_RETURN)
17 @@ -214,7 +214,7 @@
18      }
19    else
20      *ngroups = result;
21 -      
22 +
23    memcpy (groups, newgroups, *ngroups * sizeof (gid_t));
24  
25    free (newgroups);
26 --- glibc-2.2.5/nss/nsswitch.c~glibc-2.2.5-allow-gcc-3.4-grp.patch      2004-09-03 19:00:33.000000000 -0500
27 +++ glibc-2.2.5/nss/nsswitch.c  2004-09-03 19:00:38.000000000 -0500
28 @@ -178,7 +178,7 @@
29      {
30        /* This is really only for debugging.  */
31         if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
32 -        __libc_fatal ("illegal status in " __FUNCTION__);
33 +        __libc_fatal ("illegal status in __nss_next");
34  
35         if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
36          return 1;