Update from main archive 961219cvs/libc-961220
commit6d52618b15cbe25ed4822ac51321db292f28ccda
authorUlrich Drepper <drepper@redhat.com>
Fri, 20 Dec 1996 01:39:50 +0000 (20 01:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 20 Dec 1996 01:39:50 +0000 (20 01:39 +0000)
treebafef072c0f5cb67c09d7c1789888d4310ac568f
parent10dc2a90b7f86d9bc1be9d1b9305a781882f7ac5
Update from main archive 961219

Thu Dec 19 23:28:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* resolv/resolv.h: Update from BIND 4.9.5-P1.
* resolv/res_comp.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/Banner: Update version number.

Thu Dec 19 20:58:53 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/dlfcn.h: Add extern "C" wrapper.

* io/utime.h: Don't define NULL since this isn't allowed in POSIX.
* io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
__USE_XOPEN_EXTENDED.
* locale/locale.h: Define NULL.
* math/math.c: Don't include <errno.h> to define math errors.
* stdlib/stdlib.h: Likewise.
* posix/unistd.h: Don't declare environ.
* posix/sys/utsname.h (struct utsname): Declare member domainname
as __domainname is !__USE_GNU.
* signal/signal.h: Declare size_t only if __USE_BSD ||
__USE_XOPEN_EXTENDED.
* stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
instead when __USE_XOPEN.
* string/string.h: Define strndup only if __USE_GNU.
* sysdeps/unix/sysv/linux/clock.c: New file.
* sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
1000000 per X/Open standard.
* features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
Define __USE_POSIX199309.
* posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
* time/time.c: Declare nanosleep only if __USE_POSIX199309.
Patches by RĂ¼diger Helsch <rh@unifix.de>.

* locale/locale.h: Add declaration of newlocale and freelocale.

* new-malloc/Makefile (distibute): Add mtrace.awk.
(dist-routines): Add mcheck and mtrace.
(install-lib, non-lib.a): Define as libmcheck.a.
* new-malloc/malloc.h: Add declaration of __malloc_initialized.
* new-malloc/mcheck.c: New file.
* new-malloc/mcheck.h: New file.
* new-malloc/mtrace.c: New file.
* new-malloc/mtrace.awk: New file.

* posix/unistd.h: Correct prototype for usleep.
* sysdeps/unix/bsd/usleep.c: De-ANSI-declfy.  Correct return type.
* sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
nanosleep.

* signal/signal.h: Change protoype of __sigpause to take two
arguments.  Remove prototype for sigpause.  Add two different
macros named sigpause selected when __USE_BSD or __USE_XOPEN
are defined.  This is necessary since the old BSD definition
of theis function collides with the X/Open definition.
* sysdeps/posix/sigpause.c: Change function definition to also
fit X/Open definition.

* sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
function is left.
* sysdeps/libm-i387/e_expl.S: Likewise.
Patch by HJ Lu.

1996-12-17  Paul Eggert  <eggert@twinsun.com>

* many, many files: Spelling corrections.
* catgets/catgetsinfo.h (mmapped):
Renamed from mmaped (in struct catalog_info.status).
* mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
Fix spelling in message.
* po/libc.pot: Fix spelling in message for `zic'; this anticipates
a fix in the tzcode distribution.

Wed Dec 18 15:48:02 1996  Ulrich Drepper  <drepper@cygnus.com>

* time/strftime.c: Implement ^ flag to cause output be converted
to use upper case characters.

* time/zic.c: Update from ADO tzcode1996n.

Wed Dec 18 14:29:24 1996  Erik Naggum  <erik@naggum.no>

* time/strftime.c (add): Don't change global `i' until all is over.
Define NULL is not already defined.

Tue Dec 17 09:49:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
to avoid the need for a cast.
* libio/iovsscanf.c (_IO_vsscanf): Likewise.

* sunrpc/rpc/xdr.h: Add prototype for xdr_free.
262 files changed:
ChangeLog
Makeconfig
NEWS
PROJECTS
Rules
catgets/catgets.c
catgets/catgetsinfo.h [copied from sysdeps/unix/sysv/linux/sys/mtio.h with 51% similarity]
catgets/gencat.c
catgets/open_catalog.c
csu/Makefile
csu/gmon-start.c
csu/initfini.c
db/btree/bt_seq.c
db/btree/bt_utils.c
db/btree/btree.h
db/hash/hash.h
db/recno/rec_utils.c
dirent/dirent.h
elf/dlfcn.h
elf/ldd.bash.in
elf/ldd.sh.in
features.h
gmon/Makefile
hurd/hurd.h
hurd/hurd/lookup.h
hurd/hurdmalloc.c
hurd/hurdmalloc.h
hurd/path-lookup.c
hurd/report-wait.c
inet/arpa/telnet.h
inet/protocols/talkd.h
interp.c
intl/dcgettext.c
intl/explodename.c
intl/finddomain.c
intl/l10nflist.c
intl/localealias.c
io/fstat.c
io/lstat.c
io/mknod.c
io/stat.c
io/sys/stat.h
io/utime.h
libio/fileops.c
libio/genops.c
libio/iofgetpos.c
libio/iofsetpos.c
libio/iovsprintf.c
libio/iovsscanf.c
libio/libioP.h
libio/strops.c
locale/C-collate.c
locale/C-ctype.c
locale/iso-4217.def
locale/locale.h
locale/programs/charset.h
locale/programs/ld-collate.c
locale/programs/ld-ctype.c
locale/programs/ld-time.c
locale/programs/locale.c
locale/programs/localedef.c
locale/programs/locfile.c
locale/programs/locfile.h
locale/weight.h
login/logwtmp.c
login/pty.h [copied from sysdeps/unix/sysv/linux/timebits.h with 56% similarity]
mach/Makefile
mach/err_kern.sub
mach/mach/error.h
mach/mach/mach_traps.h
mach/msgserver.c
malloc/Makefile
malloc/malloc.c
malloc/malloc.h
malloc/mcheck-init.c [moved from sysdeps/stub/sigpause.c with 71% similarity]
malloc/mcheck.c [new file with mode: 0644]
malloc/mcheck.h [new file with mode: 0644]
malloc/mtrace.awk [new file with mode: 0644]
malloc/mtrace.c [new file with mode: 0644]
manual/arith.texi
manual/creature.texi
manual/errno.texi
manual/filesys.texi
manual/intro.texi
manual/job.texi
manual/libc.texinfo
manual/locale.texi
manual/math.texi
manual/nss.texi
manual/pattern.texi
manual/signal.texi
manual/startup.texi
manual/stdio.texi
manual/terminal.texi
manual/users.texi
math/math.h
math/mathcalls.h
misc/getpass.c
misc/hsearch_r.c
misc/search.h
misc/syslog.c
misc/tsearch.c
nss/XXX-lookup.c
nss/nss_files/files-netgrp.c
nss/nsswitch.h
posix/fnmatch.c
posix/posix1_lim.h
posix/sys/utsname.h
posix/unistd.h
resolv/Banner
resolv/arpa/nameser.h
resolv/inet_net_pton.c
resolv/netdb.h
resolv/nss_dns/dns-network.c
resolv/res_comp.c
resolv/res_debug.c
resolv/res_init.c
resolv/res_send.c
resolv/resolv.h
signal/signal.h
stdio-common/_itoa.c
stdio-common/printf_fp.c
stdio-common/vfprintf.c
stdio-common/vfscanf.c
stdio/internals.c
stdio/stdio.h
stdlib/grouping.h
stdlib/monetary.h [copied from interp.c with 69% similarity]
stdlib/qsort.c
stdlib/random.c
stdlib/random_r.c
stdlib/stdlib.h
stdlib/strfmon.c
stdlib/strtod.c
string/envz.c
string/envz.h
string/stratcliff.c
string/strerror.c [copied from string/strerror_r.c with 77% similarity]
string/strerror_r.c
string/string.h
string/strxfrm.c
sunrpc/clnt_raw.c
sunrpc/clnt_tcp.c
sunrpc/clnt_udp.c
sunrpc/pmap_rmt.c
sunrpc/rpc/auth.h
sunrpc/rpc/auth_des.h
sunrpc/rpc/clnt.h
sunrpc/rpc/svc.h
sunrpc/rpc/xdr.h
sunrpc/rpc_clntout.c
sunrpc/rpc_cout.c
sunrpc/rpcsvc/mount.x
sunrpc/rpcsvc/nfs_prot.x
sunrpc/rpcsvc/rex.x
sunrpc/rpcsvc/rusers.x
sunrpc/rpcsvc/sm_inter.x
sunrpc/svc.c
sunrpc/svc_auth.c
sunrpc/svc_raw.c
sunrpc/svc_tcp.c
sunrpc/xdr.c
sunrpc/xdr_array.c
sunrpc/xdr_float.c
sunrpc/xdr_rec.c
sunrpc/xdr_ref.c
sunrpc/xdr_stdio.c
sysdeps/alpha/dl-machine.h
sysdeps/alpha/elf/crtbegin.S
sysdeps/alpha/strrchr.S
sysdeps/generic/crypt-entry.c
sysdeps/generic/crypt.h
sysdeps/generic/memchr.c
sysdeps/generic/memmove.c
sysdeps/generic/strcasecmp.c [copied from string/strerror_r.c with 56% similarity]
sysdeps/generic/strchr.c
sysdeps/generic/strcmp.c [copied from string/strerror_r.c with 58% similarity]
sysdeps/generic/strcspn.c [copied from string/strerror_r.c with 66% similarity]
sysdeps/generic/strncmp.c
sysdeps/generic/strpbrk.c [copied from sysdeps/unix/sysv/linux/sys/mtio.h with 68% similarity]
sysdeps/generic/strrchr.c [copied from string/strerror_r.c with 62% similarity]
sysdeps/generic/strstr.c
sysdeps/gnu/errlist.c
sysdeps/i386/i486/strcat.S
sysdeps/i386/i586/lshift.S
sysdeps/i386/i586/rshift.S
sysdeps/i386/i586/strchr.S
sysdeps/i386/i586/strlen.S
sysdeps/i386/memchr.S
sysdeps/i386/stpcpy.S
sysdeps/i386/stpncpy.S
sysdeps/i386/strchr.S
sysdeps/i386/strcspn.S
sysdeps/i386/strrchr.S
sysdeps/i386/strspn.S
sysdeps/ieee754/ieee754.h
sysdeps/libm-i387/e_exp.S
sysdeps/libm-i387/e_expl.S
sysdeps/libm-i387/s_ceil.S
sysdeps/libm-i387/s_ceilf.S
sysdeps/libm-i387/s_ceill.S
sysdeps/libm-i387/s_floor.S
sysdeps/libm-i387/s_floorf.S
sysdeps/libm-i387/s_floorl.S
sysdeps/libm-ieee754/e_log.c
sysdeps/libm-ieee754/e_sqrt.c
sysdeps/libm-ieee754/k_rem_pio2.c
sysdeps/m68k/lshift.S
sysdeps/m68k/rshift.S
sysdeps/mach/hurd/dirfd.c [copied from sysdeps/stub/getlogin_r.c with 63% similarity]
sysdeps/mach/hurd/dl-sysdep.c
sysdeps/mach/hurd/getlogin_r.c [copied from sysdeps/stub/getlogin_r.c with 75% similarity]
sysdeps/mach/hurd/pipe.c
sysdeps/mach/hurd/select.c
sysdeps/mach/thread_state.h
sysdeps/mips/dl-machine.h
sysdeps/posix/sigpause.c
sysdeps/standalone/i960/i960ca.h
sysdeps/standalone/m68k/m68020/mvme136/console.c
sysdeps/stub/dirfd.c [copied from interp.c with 74% similarity]
sysdeps/stub/getlogin_r.c
sysdeps/stub/libc-lock.h
sysdeps/stub/local_lim.h
sysdeps/stub/pipe.c [copied from sysdeps/stub/getlogin_r.c with 64% similarity]
sysdeps/stub/sigpause.c [copied from interp.c with 76% similarity]
sysdeps/stub/sys/sem_buf.h [copied from sysdeps/unix/sysv/linux/sys/sem_buf.h with 75% similarity]
sysdeps/stub/sys/shm_buf.h [copied from sysdeps/unix/sysv/linux/sys/shm_buf.h with 58% similarity]
sysdeps/stub/tcsetattr.c
sysdeps/stub/tempname.c [copied from sysdeps/stub/getlogin_r.c with 55% similarity]
sysdeps/unix/bsd/osf/sigaction.h
sysdeps/unix/bsd/sys/reboot.h
sysdeps/unix/bsd/usleep.c [copied from sysdeps/unix/sysv/linux/sys/mtio.h with 68% similarity]
sysdeps/unix/dirfd.c [copied from interp.c with 77% similarity]
sysdeps/unix/getlogin_r.c
sysdeps/unix/sysv/linux/clock.c [copied from sysdeps/stub/getlogin_r.c with 61% similarity]
sysdeps/unix/sysv/linux/configure
sysdeps/unix/sysv/linux/configure.in
sysdeps/unix/sysv/linux/gethostid.c
sysdeps/unix/sysv/linux/m68k/mremap.S [copied from sysdeps/unix/sysv/linux/sys/mtio.h with 75% similarity]
sysdeps/unix/sysv/linux/sigaction.h
sysdeps/unix/sysv/linux/signum.h
sysdeps/unix/sysv/linux/sleep.c [copied from sysdeps/stub/getlogin_r.c with 66% similarity]
sysdeps/unix/sysv/linux/sys/module.h
sysdeps/unix/sysv/linux/sys/mtio.h
sysdeps/unix/sysv/linux/sys/sem_buf.h
sysdeps/unix/sysv/linux/sys/shm_buf.h
sysdeps/unix/sysv/linux/termbits.h
sysdeps/unix/sysv/linux/timebits.h
sysdeps/unix/sysv/linux/usleep.c [copied from interp.c with 73% similarity]
sysdeps/vax/memchr.s
sysdeps/vax/strchr.s
sysdeps/vax/strncmp.s
sysdeps/vax/strrchr.s
time/strftime.c
time/time.h
time/zic.c
values.h
wcsmbs/wchar.h
wcsmbs/wcschr.c [copied from interp.c with 71% similarity]
wcsmbs/wcsncmp.c
wcsmbs/wcspbrk.c [copied from sysdeps/unix/sysv/linux/sys/mtio.h with 65% similarity]
wcsmbs/wcsrchr.c [copied from sysdeps/unix/sysv/linux/sys/mtio.h with 66% similarity]