From d7390a372fef23e78ff90d1a93eb6d5dc1d337f2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 27 Feb 1998 08:47:42 +0000 Subject: Update. 1998-02-27 Ulrich Drepper * libc.map: Add __adjtimex. 1998-02-26 Thorsten Kukuk * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): Remove memset. * libc.map (adjtime, adjtimex): Added for GLIBC_2.1. --- ChangeLog | 11 ++++++++++- libc.map | 4 ++-- nis/nss_nisplus/nisplus-ethers.c | 3 +-- 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 + + * libc.map: Add __adjtimex. + +1998-02-26 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Remove memset. + 1998-02-24 08:10 H.J. Lu * 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 , 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], -- cgit 1.4.1