about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-27 08:47:42 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-27 08:47:42 +0000
commitd7390a372fef23e78ff90d1a93eb6d5dc1d337f2 (patch)
tree2454c3b8199a6bf973a49bd38180245d7e025b4a
parentef030f7f43b87b4bb553fd33e526f5cda6777c7f (diff)
downloadglibc-d7390a372fef23e78ff90d1a93eb6d5dc1d337f2.tar.gz
glibc-d7390a372fef23e78ff90d1a93eb6d5dc1d337f2.tar.xz
glibc-d7390a372fef23e78ff90d1a93eb6d5dc1d337f2.zip
Update.
1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Add __adjtimex.

1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
	Remove memset.

	* libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
-rw-r--r--ChangeLog11
-rw-r--r--libc.map4
-rw-r--r--nis/nss_nisplus/nisplus-ethers.c3
3 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b362358ee1..01bd576c7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
+
+	* libc.map: Add __adjtimex.
+
+1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
+
+	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
+	Remove memset.
+
 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
 
 	* sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
@@ -11,7 +20,7 @@
 	* sysdeps/unix/make-syscalls.sh: Make versioned symbols only
 	for shared library.
 
-	* libc.map (adjtime, __adjtimex, adjtimex): Added for GLIBC_2.1.
+	* libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
 
 	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
 	Added adjtimex and old_adjtimex.
diff --git a/libc.map b/libc.map
index ce367acd56..2d7b9e0ad2 100644
--- a/libc.map
+++ b/libc.map
@@ -28,7 +28,7 @@ GLIBC_2.0 {
     __sysv_signal; __bsd_getpgrp; _longjmp; _mcount;
     __divqu; __remqu; __divqs; __remqs; __divlu; __remlu; __divls;
     __remls; __divl; __reml; __divq; __remq; __divqu; __remqu;
-    __setpgid; __getpgid;
+    __setpgid; __getpgid; __adjtimex;
 
     # functions which have an additional interface since they are
     # are cancelable.
@@ -445,7 +445,7 @@ GLIBC_2.1 {
 
     # Linux/Alpha 64-bit timeval functions.
     __select; select;
-    adjtime; adjtimex;
+    adjtime; adjtimex; __adjtimex;
     __gettimeofday;
 
     # New errlist.
diff --git a/nis/nss_nisplus/nisplus-ethers.c b/nis/nss_nisplus/nisplus-ethers.c
index 50f032a289..ddf6f7f128 100644
--- a/nis/nss_nisplus/nisplus-ethers.c
+++ b/nis/nss_nisplus/nisplus-ethers.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -293,7 +293,6 @@ _nss_nisplus_getntohost_r (const struct ether_addr *addr,
       nis_result *result;
       char buf[255 + tablename_len];
 
-      memset (&buf, '\0', sizeof (buf));
       sprintf (buf, "[addr=%x:%x:%x:%x:%x:%x],ethers.org_dir",
 	       addr->ether_addr_octet[0], addr->ether_addr_octet[1],
 	       addr->ether_addr_octet[2], addr->ether_addr_octet[3],