This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/nis ypclnt.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 26 Nov 2005 22:16:03 -0000
- Subject: libc/nis ypclnt.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2005-11-26 22:16:03
Modified files:
nis : ypclnt.c
Log message:
(yp_bind_ypbindprog): Initialize clnt_saddr by hand.
(ypdomainname): Renamed from __ypdomainname. No need for initializer.
(ypbindlist): Renamed from __ypbindlist.
(do_ypcall): Check memory allocation suceeded before calling
yp_bind_ypbindprog.
(yperr_string): Reduce size of function by using only one gettext call.
(ypbinderr_string): Likewise.
(yp_match): Free response in case memory for return value cannot be allocated.
(yp_first): Likewise.
(yp_next): Likewise.
(do_ypcall_tr): New function which translates error codes as well.
(yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it.
(yp_all): Correct test for invalid parameter.
Pretty printing.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nis/ypclnt.c.diff?cvsroot=glibc&r1=1.52&r2=1.53