Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134240 Details for
Bug 144215
net-fs/nfs-utils-1.0.6-r6 - nfsd fails on uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nfs-utils-1.1.0-uclibc.patch
nfs-utils-1.1.0-uclibc.patch (text/plain), 1.22 KB, created by
Christoph Brill (egore) (RESIGNED)
on 2007-10-24 15:28:15 UTC
(
hide
)
Description:
nfs-utils-1.1.0-uclibc.patch
Filename:
MIME Type:
Creator:
Christoph Brill (egore) (RESIGNED)
Created:
2007-10-24 15:28:15 UTC
Size:
1.22 KB
patch
obsolete
>--- support/nfs/svc_socket.c.org 2007-05-11 03:40:57 +0000 >+++ support/nfs/svc_socket.c 2007-10-24 15:20:05 +0000 >@@ -67,8 +67,13 @@ > memset (&addr, 0, sizeof (addr)); > addr.sin_family = AF_INET; > >+#ifdef __UCLIBC__ >+ rpcp = getrpcbynumber (number); >+ ret = 0; >+#else > ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata, > &rpcp); >+#endif > if (ret == 0 && rpcp != NULL) > { > /* First try name. */ >--- utils/mountd/cache.c.org 2007-05-11 03:40:57 +0000 >+++ utils/mountd/cache.c 2007-10-24 15:21:53 +0000 >@@ -131,6 +131,7 @@ > pw = getpwuid(uid); > if (!pw) > rv = -1; >+#ifndef __UCLIBC__ > else { > rv = getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups); > if (rv == -1 && ngroups >= 100) { >@@ -142,6 +143,7 @@ > groups, &ngroups); > } > } >+#endif > qword_printint(f, uid); > qword_printint(f, time(0)+30*60); > if (rv >= 0) { >--- tools/rpcgen/rpc_cout.c.org 2007-05-11 03:40:57 +0000 >+++ tools/rpcgen/rpc_cout.c 2007-10-24 15:23:17 +0000 >@@ -647,7 +647,11 @@ > int freed=0; > > if(flag == PUT) >+#ifdef __UCLIBC__ >+ f_print(fout,"\t\t IXDR_PUT_"); >+#else > f_print(fout,"\t\t (void) IXDR_PUT_"); >+#endif > else > if(rel== REL_ALIAS) > f_print(fout,"\t\t objp->%s = IXDR_GET_",decl->name);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144215
:
134234
| 134240 |
191287
|
191288