Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 144215 | Differences between
and this patch

Collapse All | Expand All

(-)support/nfs/svc_socket.c.org (+5 lines)
Lines 67-74 Link Here
67
  memset (&addr, 0, sizeof (addr));
67
  memset (&addr, 0, sizeof (addr));
68
  addr.sin_family = AF_INET;
68
  addr.sin_family = AF_INET;
69
69
70
#ifdef __UCLIBC__
71
  rpcp = getrpcbynumber (number);
72
  ret = 0;
73
#else
70
  ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata,
74
  ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata,
71
			  &rpcp);
75
			  &rpcp);
76
#endif
72
  if (ret == 0 && rpcp != NULL)
77
  if (ret == 0 && rpcp != NULL)
73
    {
78
    {
74
      /* First try name.  */
79
      /* First try name.  */
(-)utils/mountd/cache.c.org (+2 lines)
Lines 131-136 Link Here
131
	pw = getpwuid(uid);
131
	pw = getpwuid(uid);
132
	if (!pw)
132
	if (!pw)
133
		rv = -1;
133
		rv = -1;
134
#ifndef __UCLIBC__
134
	else {
135
	else {
135
		rv = getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
136
		rv = getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
136
		if (rv == -1 && ngroups >= 100) {
137
		if (rv == -1 && ngroups >= 100) {
Lines 142-147 Link Here
142
						  groups, &ngroups);
143
						  groups, &ngroups);
143
		}
144
		}
144
	}
145
	}
146
#endif
145
	qword_printint(f, uid);
147
	qword_printint(f, uid);
146
	qword_printint(f, time(0)+30*60);
148
	qword_printint(f, time(0)+30*60);
147
	if (rv >= 0) {
149
	if (rv >= 0) {
(-)tools/rpcgen/rpc_cout.c.org (+4 lines)
Lines 647-653 Link Here
647
	int freed=0;
647
	int freed=0;
648
648
649
	if(flag == PUT)
649
	if(flag == PUT)
650
#ifdef __UCLIBC__
651
		f_print(fout,"\t\t IXDR_PUT_");
652
#else
650
		f_print(fout,"\t\t (void) IXDR_PUT_");
653
		f_print(fout,"\t\t (void) IXDR_PUT_");
654
#endif
651
	else    
655
	else    
652
		if(rel== REL_ALIAS)
656
		if(rel== REL_ALIAS)
653
			f_print(fout,"\t\t objp->%s = IXDR_GET_",decl->name);
657
			f_print(fout,"\t\t objp->%s = IXDR_GET_",decl->name);

Return to bug 144215