about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-26 22:16:52 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-26 22:16:52 +0000
commitd9fc1ec727b77e215f6d56736bebf8d68fc0b195 (patch)
treeb788649d588c4f2b9ea755e9efbe8cc178def339
parent2c2efdc1820394cf24cbfcdb18a6cee89146d1cc (diff)
downloadglibc-d9fc1ec727b77e215f6d56736bebf8d68fc0b195.tar.gz
glibc-d9fc1ec727b77e215f6d56736bebf8d68fc0b195.tar.xz
glibc-d9fc1ec727b77e215f6d56736bebf8d68fc0b195.zip
* nis/ypclnt.c (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.
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e9593b29e4..5ef0739965 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2005-11-26  Ulrich Drepper  <drepper@redhat.com>
+
+	* nis/ypclnt.c (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.
+
 2005-11-25  Richard Henderson  <rth@redhat.com>
 
 	* sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.