]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
28 years agoNew example for scandir function.
Ulrich Drepper [Mon, 17 Mar 1997 03:55:21 +0000 (03:55 +0000)] 
New example for scandir function.

28 years ago(EXIT_FAILURE): Fix typo. Patch by robbe@orcus.priv.at.
Ulrich Drepper [Mon, 17 Mar 1997 03:54:07 +0000 (03:54 +0000)] 
(EXIT_FAILURE): Fix typo.  Patch by robbe@orcus.priv.at.

28 years agoAdd documentation for scandir and alphasort.
Ulrich Drepper [Mon, 17 Mar 1997 03:53:51 +0000 (03:53 +0000)] 
Add documentation for scandir and alphasort.

28 years ago(mprotect) [_LIBC]: Define as __mprotect to clean up namespace.
Ulrich Drepper [Mon, 17 Mar 1997 03:53:39 +0000 (03:53 +0000)] 
(mprotect) [_LIBC]: Define as __mprotect to clean up namespace.

28 years agoInclude <mach/kern_return.h>.
Ulrich Drepper [Mon, 17 Mar 1997 03:53:24 +0000 (03:53 +0000)] 
Include <mach/kern_return.h>.

28 years agoInclude <mach/mach_traps.h>.
Ulrich Drepper [Mon, 17 Mar 1997 03:53:15 +0000 (03:53 +0000)] 
Include <mach/mach_traps.h>.
(__spin_lock_solid): Provide arg to swtch_pri.

28 years agoInclude <mach/mig_support.h>.
Ulrich Drepper [Mon, 17 Mar 1997 03:52:56 +0000 (03:52 +0000)] 
Include <mach/mig_support.h>.

28 years ago(mach_error_string, mach_error, mach_error_type): Always provide
Ulrich Drepper [Mon, 17 Mar 1997 03:52:48 +0000 (03:52 +0000)] 
(mach_error_string, mach_error, mach_error_type): Always provide
prototypes.

28 years ago(mach_error_string_int): Give full prototype.
Ulrich Drepper [Mon, 17 Mar 1997 03:52:38 +0000 (03:52 +0000)] 
(mach_error_string_int): Give full prototype.

28 years ago(__mach_error_map_compat): Give full prototype.
Ulrich Drepper [Mon, 17 Mar 1997 03:52:14 +0000 (03:52 +0000)] 
(__mach_error_map_compat): Give full prototype.

28 years agoWhen named file not found and not absolute use path in I18NPATH.
Ulrich Drepper [Mon, 17 Mar 1997 03:49:00 +0000 (03:49 +0000)] 
When named file not found and not absolute use path in I18NPATH.

28 years agoDon't use LOCALE_PATH to find binary locale files. Use LOCALEDIR
Ulrich Drepper [Mon, 17 Mar 1997 03:48:46 +0000 (03:48 +0000)] 
Don't use LOCALE_PATH to find binary locale files.  Use LOCALEDIR
only.

28 years agoUse __ protected versions of non-standard functions.
Ulrich Drepper [Mon, 17 Mar 1997 03:44:01 +0000 (03:44 +0000)] 
Use __ protected versions of non-standard functions.
(iruserok): Use euidaccess instead of half-hearted
switching of UID before opening .rhosts.

28 years ago(pwrite, vpprintf): Likewise.
Ulrich Drepper [Mon, 17 Mar 1997 03:43:36 +0000 (03:43 +0000)] 
(pwrite, vpprintf): Likewise.

28 years ago(_hurd_set_host_config): Cast second arg to __file_name_split.
Ulrich Drepper [Mon, 17 Mar 1997 03:43:27 +0000 (03:43 +0000)] 
(_hurd_set_host_config): Cast second arg to __file_name_split.

28 years ago(vpprintf): Include <stdarg.h>. New declaration.
Ulrich Drepper [Mon, 17 Mar 1997 03:43:17 +0000 (03:43 +0000)] 
(vpprintf): Include <stdarg.h>.  New declaration.

28 years agoInclude <features.h>.
Ulrich Drepper [Mon, 17 Mar 1997 03:42:40 +0000 (03:42 +0000)] 
Include <features.h>.

28 years ago(alphasort): Interpret arguments as pointers to pointers to directory
Ulrich Drepper [Mon, 17 Mar 1997 03:42:23 +0000 (03:42 +0000)] 
(alphasort): Interpret arguments as pointers to pointers to directory
entries so that alphasort really can be used as argument for scandir.

28 years ago(__big_delete): Don't call __free_ovflpage without testing for
Ulrich Drepper [Mon, 17 Mar 1997 03:42:07 +0000 (03:42 +0000)] 
(__big_delete): Don't call __free_ovflpage without testing for
last_bfp to be NULL.

28 years ago(catopen): Always add NLSPATH to search path for catalogs, not only if
Ulrich Drepper [Mon, 17 Mar 1997 03:41:49 +0000 (03:41 +0000)] 
(catopen): Always add NLSPATH to search path for catalogs, not only if
the envvar NLSPATH is not available.

28 years ago(build-shlib): Also create symlink if library is versioned.
Ulrich Drepper [Mon, 17 Mar 1997 03:41:34 +0000 (03:41 +0000)] 
(build-shlib): Also create symlink if library is versioned.

28 years ago(localtime-file): Don't define using installation directory.
Ulrich Drepper [Mon, 17 Mar 1997 03:41:17 +0000 (03:41 +0000)] 
(localtime-file): Don't define using installation directory.
(inst_localtime-file): New variable.

28 years agoThe user- and kernel-level sigaction structure is different. handle
Ulrich Drepper [Fri, 7 Mar 1997 04:27:25 +0000 (04:27 +0000)] 
The user- and kernel-level sigaction structure is different.  handle
this correctly.

28 years ago(_dl_load_cache_lookup): Recognize cache type 1 or 3.
Ulrich Drepper [Thu, 6 Mar 1997 20:36:16 +0000 (20:36 +0000)] 
(_dl_load_cache_lookup): Recognize cache type 1 or 3.

28 years ago.
Ulrich Drepper [Thu, 6 Mar 1997 04:58:33 +0000 (04:58 +0000)] 
.

28 years ago(_dl_load_cache_lookup): Also recognize cache entries with flag == 3.
Ulrich Drepper [Thu, 6 Mar 1997 04:57:52 +0000 (04:57 +0000)] 
(_dl_load_cache_lookup): Also recognize cache entries with flag == 3.

28 years agoupdate from tzdata1997c
Ulrich Drepper [Wed, 5 Mar 1997 22:14:38 +0000 (22:14 +0000)] 
update from tzdata1997c

28 years agoAdd <sys/types.h>.
Ulrich Drepper [Wed, 5 Mar 1997 21:41:57 +0000 (21:41 +0000)] 
Add <sys/types.h>.

28 years ago(_IO_str_finish): Add second parameter, which is ignored.
Ulrich Drepper [Wed, 5 Mar 1997 21:17:30 +0000 (21:17 +0000)] 
(_IO_str_finish): Add second parameter, which is ignored.

28 years ago(_IO_file_finish): Add second parameter, which is ignored.
Ulrich Drepper [Wed, 5 Mar 1997 21:16:43 +0000 (21:16 +0000)] 
(_IO_file_finish): Add second parameter, which is ignored.

28 years ago(_IO_mem_finish): Add second parameter, which is ignored.
Ulrich Drepper [Wed, 5 Mar 1997 21:15:19 +0000 (21:15 +0000)] 
(_IO_mem_finish): Add second parameter, which is ignored.

28 years ago(_IO_default_finish): Add second parameter, which is ignored.
Ulrich Drepper [Wed, 5 Mar 1997 21:13:53 +0000 (21:13 +0000)] 
(_IO_default_finish): Add second parameter, which is ignored.

28 years ago(_IO_finish_t): Take additional parameter, to match the hidden
Ulrich Drepper [Wed, 5 Mar 1997 21:12:58 +0000 (21:12 +0000)] 
(_IO_finish_t): Take additional parameter, to match the hidden
__in_chrg parameter of the destructor.
(_IO_FINISH): Pass zero for it.

28 years agoDon't disable canonical input.
Ulrich Drepper [Wed, 5 Mar 1997 21:09:54 +0000 (21:09 +0000)] 
Don't disable canonical input.

28 years agoChange prototypes to use types with explicit width. `unsigned long'
Ulrich Drepper [Wed, 5 Mar 1997 21:08:28 +0000 (21:08 +0000)] 
Change prototypes to use types with explicit width.  `unsigned long'
is different on 64 bit systems.

28 years ago(htonl, htons, ntohl, ntohs): Change prototypes to use types with
Ulrich Drepper [Wed, 5 Mar 1997 21:06:12 +0000 (21:06 +0000)] 
(htonl, htons, ntohl, ntohs): Change prototypes to use types with
explicit width.  `unsigned long' is different on 64 bit systems.

28 years agoClear upper half of word containing exponent before comparing.
Ulrich Drepper [Wed, 5 Mar 1997 21:01:25 +0000 (21:01 +0000)] 
Clear upper half of word containing exponent before comparing.

28 years ago*** empty log message ***
Ulrich Drepper [Wed, 5 Mar 1997 20:59:58 +0000 (20:59 +0000)] 
*** empty log message ***

28 years agoAdd rules to run and distribute xtract-typefun.
Ulrich Drepper [Wed, 5 Mar 1997 20:59:11 +0000 (20:59 +0000)] 
Add rules to run and distribute xtract-typefun.

28 years ago$(tzfiles:%=$(objpfx)z.%): Remove unneeded depedencies between
Ulrich Drepper [Wed, 5 Mar 1997 20:56:54 +0000 (20:56 +0000)] 
$(tzfiles:%=$(objpfx)z.%): Remove unneeded depedencies between
installed $(tzlinks) and $(tzbases) files.

28 years agoAdd s_poll.
Ulrich Drepper [Wed, 5 Mar 1997 20:51:56 +0000 (20:51 +0000)] 
Add s_poll.

28 years agoUpdate from tzdata1997b.
Ulrich Drepper [Wed, 5 Mar 1997 20:51:24 +0000 (20:51 +0000)] 
Update from tzdata1997b.

28 years agoUpdate from tzcode1997b.
Ulrich Drepper [Wed, 5 Mar 1997 20:51:02 +0000 (20:51 +0000)] 
Update from tzcode1997b.

28 years agoImplement poll function by falling back to select-based implementation
Ulrich Drepper [Wed, 5 Mar 1997 20:46:08 +0000 (20:46 +0000)] 
Implement poll function by falling back to select-based implementation
if syscall isn't available.

28 years agoSupport both the Linux/i386 and OSF/1 style brk syscalls. We may want
Ulrich Drepper [Wed, 5 Mar 1997 20:36:45 +0000 (20:36 +0000)] 
Support both the Linux/i386 and OSF/1 style brk syscalls.  We may want
to change Linux/Alpha for the benefit of running foreign binaries.

28 years ago(STRTOF): Make sure return value is large enough so that clearing
Ulrich Drepper [Wed, 5 Mar 1997 20:35:18 +0000 (20:35 +0000)] 
(STRTOF): Make sure return value is large enough so that clearing
second word is necessary.

28 years agoDon't use kernel header since it is wrong for 64 bit systems.
Ulrich Drepper [Wed, 5 Mar 1997 20:34:19 +0000 (20:34 +0000)] 
Don't use kernel header since it is wrong for 64 bit systems.

28 years ago(__ivaliduser): Don't use getline, but __getline instead to avoid
Ulrich Drepper [Wed, 5 Mar 1997 20:31:16 +0000 (20:31 +0000)] 
(__ivaliduser): Don't use getline, but __getline instead to avoid
namespace problems.

28 years agoUpdate.
Ulrich Drepper [Wed, 5 Mar 1997 20:29:21 +0000 (20:29 +0000)] 
Update.

28 years agoCorrect handling of `position' levels with no non-IGNOREd element and
Ulrich Drepper [Wed, 5 Mar 1997 20:28:57 +0000 (20:28 +0000)] 
Correct handling of `position' levels with no non-IGNOREd element and
handling of NUL byte.

28 years agoImplement --quiet option.
Ulrich Drepper [Wed, 5 Mar 1997 20:26:24 +0000 (20:26 +0000)] 
Implement --quiet option.

28 years agoDeclare be_quiet variable.
Ulrich Drepper [Wed, 5 Mar 1997 20:26:15 +0000 (20:26 +0000)] 
Declare be_quiet variable.

28 years agoDon't print warnings if quiet option was given.
Ulrich Drepper [Wed, 5 Mar 1997 20:26:00 +0000 (20:26 +0000)] 
Don't print warnings if quiet option was given.

28 years agoEthernet specific definition, Linux versin
Ulrich Drepper [Wed, 26 Feb 1997 03:37:26 +0000 (03:37 +0000)] 
Ethernet specific definition, Linux versin

28 years agoUpdate.
Ulrich Drepper [Wed, 26 Feb 1997 03:31:13 +0000 (03:31 +0000)] 
Update.

28 years ago(LINE_PARSER): Add missing ')'.
Ulrich Drepper [Wed, 26 Feb 1997 03:30:27 +0000 (03:30 +0000)] 
(LINE_PARSER): Add missing ')'.

28 years agoupdate from main archive 970226
Ulrich Drepper [Wed, 26 Feb 1997 01:06:05 +0000 (01:06 +0000)] 
update from main archive 970226

28 years agoupdate from main archive 970221
Ulrich Drepper [Sat, 22 Feb 1997 01:07:27 +0000 (01:07 +0000)] 
update from main archive 970221

28 years agoupdate from main archive 970217
Ulrich Drepper [Tue, 18 Feb 1997 04:08:52 +0000 (04:08 +0000)] 
update from main archive 970217

28 years agoupdate from main archive 970214 cvs/root-libc-2_0_x-branch
Ulrich Drepper [Sat, 15 Feb 1997 02:32:58 +0000 (02:32 +0000)] 
update from main archive 970214

1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>

* stdlib/qsort.c: Add prototype for _quicksort.

* stdlib/msort.c (qsort): Correct prototype for _quicksort.

* sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
from dl-machine.h.

1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>

* sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
Allow user to overwrite it.

1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>

* libio/_G_config.h: Make sure win_t is also defined for old gcc
versions.  Reported by Andreas Jaeger.

1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>

* db/btree/bt_split.c (bt_psplit): Fix typo in  change of
1997-02-12.

* time/tzfile.c (__tzfile_read): Change comment to follow
change of 1997-02-12.

28 years agoupdate from main archive 970212 cvs/libc-970213 cvs/libc-970214
Ulrich Drepper [Thu, 13 Feb 1997 05:10:35 +0000 (05:10 +0000)] 
update from main archive 970212

1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>

* time/time.h (__nanosleep): Define only when struct timespec is
also available.
Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.

1997-02-12 21:34  a sun  <asun@zoology.washington.edu>

* sysdeps/unix/sysv/linux/netinet/udp.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.

1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
of 1997-02-09 in resolv/gethnamaddr.c.

1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>

* libio/_G_config.h (_G_wint_t): New.

1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>

* resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
to sizeof (buf.buf) while calling res_search ().

1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>

* nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
val to keydat, stat to status.

1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>

* time/tzfile.c (__tzfile_read): Fix problem with SUID programs.

1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>

* db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
by Keith Bostic.

1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>

* stdlib/atoll.c: Undefined atoll, not atol.

1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
unused arguments of shell script.

* Makeconfig (all-object-suffixes): New variable.
* Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
of $(object-suffixes).
* sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.

28 years agoupdate from main archive 970210 cvs/libc-970211 cvs/libc-970212
Ulrich Drepper [Tue, 11 Feb 1997 04:45:23 +0000 (04:45 +0000)] 
update from main archive 970210

1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>

* locale/weight.h (collate_rules): It's an u_int32_t array.
(get_weight): Compute initial SLOT value correctly.

1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>

* string/argz-ctsep.c: Initialize *LEN when successful.

* libio/vsnprintf.c: If MAXLEN is 0 return 0.
* stdio/vsnprintf.c: Likewise.
Reported by Philip Blundell <pjb27@cam.ac.uk>.

1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* rellns-sh: No need to check for existance of first parameter.

28 years agoupdate from main archive 970209 cvs/libc-970210
Ulrich Drepper [Mon, 10 Feb 1997 03:19:57 +0000 (03:19 +0000)] 
update from main archive 970209

1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>

* version.h (VERSION): Bump to 2.0.2.

* posix/Makefile (routines): Add getopt_init.
* posix/getopt.c: Don't get environment variable with nonoption
flags here.  Depend on __getopt_nonoption_flags variable filled
somewhere else.  This is necessary since the variable must be
removed even when getopt isn't used in case exec(2) gets called.
* posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
and remove environment variable.
* sysdeps/i386/init-first.c: Call __getopt_clean_environment.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/stub/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.

* sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
encryption is wanted.

* libio/vsnprintf.c: If MAXLEN is 0 return 0.
* stdio/vsnprintf.c: Likewise.
Reported by Philip Blundell <pjb27@cam.ac.uk>.

1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/sysd-stdio.c: Include <errno.h>.
Change PTR to void *.
* sysdeps/posix/vdprintf.c: Change PTR to void *.
Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.

1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>

* sysdeps/unix/sysv/linux/socketbits.h: Fix typo.

1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* rellns-sh: No need to check for existance of first parameter.

1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
by David Holland <dholland@eecs.harvard.edu>.

1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
select, in case it is modified by the latter.
* sunrpc/clnt_udp.c (clntudp_call): Likewise.
* sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
* sunrpc/svc_tcp.c (readtcp): Likewise.

* sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
array.

* sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
and gid_t.

* sunrpc/auth_unix.c (authunix_validate): Fix type of second
argument.

1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/Makefile (extra-objs): Don't zap previous value.
* Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
twice.

1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
braindamage (sigh!).

1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>

* manual/memory.texi: Correct `copystring' example for obstacks.

1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
GNU tr don't grok it.

1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
Don't use GNU C extensions.
(CMSG_DATA): Use portable definition.

1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>

* elf/ldd.bash.in: Add test for read permission and print appropriate
message.  Change warning and error messages to print "ldd: " at start.
* elf/ldd.sh.in: Likewise.

* stdlib/Makefile (routines): Add atoll.
* stdlib/atoll.c: New file.
* stdlib/stdlib.h: Add prototype and optimization for atoll.

* stdlib/a64l.c: Update copyright.
* stdlib/abs.c: Likewise.
* stdlib/atof.c: Likewise.
* stdlib/atoi.c: Likewise.
* stdlib/atol.c: Likewise.
* stdlib/bsearch.c: Likewise.
* stdlib/exit.c: Likewise.
* stdlib/fpioconst.c: Likewise.
* stdlib/fpioconst.h: Likewise.
* stdlib/jrand48.c: Likewise.
* stdlib/jrand48_r.c: Likewise.
* stdlib/labs.c: Likewise.
* stdlib/lcong48.c: Likewise.
* stdlib/lcong48_r.c: Likewise.
* stdlib/llabs.c: Likewise.
* stdlib/lrand48.c: Likewise.
* stdlib/lrand48_r.c: Likewise.
* stdlib/mblen.c: Likewise.
* stdlib/mbstowcs.c: Likewise.
* stdlib/mbtowc.c: Likewise.
* stdlib/mp_clz_tab.c: Likewise.
* stdlib/mrand48.c: Likewise.
* stdlib/mrand48_r.c: Likewise.
* stdlib/msort.c: Likewise.
* stdlib/nrand48.c: Likewise.
* stdlib/nrand48_r.c: Likewise.
* stdlib/qsort.c: Likewise.
* stdlib/rpmatch.c: Likewise.
* stdlib/seed48.c: Likewise.
* stdlib/seed48_r.c: Likewise.
* stdlib/srand48.c: Likewise.
* stdlib/srand48_r.c: Likewise.
* stdlib/strtod.c: Likewise.
* stdlib/wcstombs.c: Likewise.
* stdlib/wctomb.c: Likewise.

1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
as const.

1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>

* sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
including <stddef.h>.

1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>

* time/Makefile (tzbases, tzlinks): New.
(tzfiles): Changed to $(tzbases) $(tzlinks).
($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).

1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>

* Makefile (install): Ignore error from ldconfig.

* time/zic.c (mkdirs): Double check the error return of mkdir ().

1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
like PPC where va_list is no integral type.

1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>

* posix/getopt.c (exchange): Don't allocate nonoption_flags array
if nonoption_flags_len == -1.

28 years agoupdate from main archive 970203 cvs/libc-970204 cvs/libc-970205 cvs/libc-970206 cvs/libc-970207 cvs/libc-970208 cvs/libc-970209
Ulrich Drepper [Tue, 4 Feb 1997 02:01:01 +0000 (02:01 +0000)] 
update from main archive 970203

1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>

* Version 2.0.1 net release.

1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>

* sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.

1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/getsubopt.c: Don't return `=' for suboption which has
a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.

1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>

* nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
values as in yp.x and yp.h.

1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>

* nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
1997-02-03 02:17.  Sun's implementation internally corrects
this bug but we don't want to hide this from the user.
* nis/rpcsvc/yp.h: Likewise.

1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
inclusion.

1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
fixes.

1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* MakeTAGS (sysdep-sources, sysdep-headers): New variables.
(all-sources, all-headers): Use them instead of $(sources) and
$(headers) when searching in sysdep directories.

1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (REAL_MAKE_VERSION): Use internal make function
instead of shelling out.

1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* time/Makefile (install-test-data): Remove mkdir command, zic can
handle that gracefully.

1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
somehow.

1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sunrpc/Makefile: Check $(cross-compiling) only after including
../Makeconfig.
($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
being considered as a rule.
(generated): Add stamp files before the inclusion of Makerules to
magically mark them as not being intermediate via the `generated'
target.

28 years agoupdate from main archive 970202 cvs/libc-970203
Ulrich Drepper [Mon, 3 Feb 1997 03:18:58 +0000 (03:18 +0000)] 
update from main archive 970202

1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
entries.  This is still no complete implementation since AUXILIARY
entries in other shared objects are not yet handled.

* libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
place.

* po/es.po: Update.
* po/fr.po: Update.
* po/nl.po: Update.

* time/Makefile: Better cross-compile support.  Avoid test which
cannot be run.
(CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
tzfile.h file.
* time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
in SUID programs.
* time/tzset.c (__tzset_internal): If TZ envvar is not set use same
default values as in tzfile.c.

* elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
tags.
* elf/link.h: Likewise.
* elf/elf.h: Add tag definitions and data structures for versioning.

1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>

* nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
"Sun bug".  This is the order of elements also used by 4.4BSD.
* nis/rpcsvc/yp.h: Likewise.
Reported by HJ Lu.

1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>

* sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
action.

* Makefile (install): Pass installation directories as arguments
to ldconfig.

1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>

* malloc/malloc.c (__after_morecore_hook): New variable.
(malloc_extend_top): Call __after_morecore_hook if set.
(main_trim): Likewise.
* malloc/malloc.h: Add declaration of __after_morecore_hook.
Suggested by Marcus Daniels.

1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>

* malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
#ifndef NO_THREADS.
(mallinfo): Likewise.

* malloc/malloc.c (__morecore): Make external since it is used in
programs.

1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
unsigned.

1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
use t6 as a temporary; it contains bits we still need in $u_head.

1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>

* sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
using __ prefix.  Add prototype for log1p.

28 years agoupdate from main archive 970201 cvs/libc-970202
Ulrich Drepper [Sun, 2 Feb 1997 01:50:11 +0000 (01:50 +0000)] 
update from main archive 970201

1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>

* dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.

1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>

* inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.

1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
structure plus related macros.
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
(sysdep_routines): Add cmsg_nxthdr.
* sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
Suggested by Philip Blundell <pjb27@cam.ac.uk>.

1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>

* time/strftime.c: Define _strftime_copytm without protecting arguments
which breaks the definition.

1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>

* nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
definition of type for element.

1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>

* sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
constants.

1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>

* Makefile: Pass PARALLELMFLAGS to sub-makes.
* Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.

1997-01-31  Paul Eggert  <eggert@twinsun.com>

* time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
Define if _LIBC is defined.
<limits.h>: Include if HAVE_LIMITS_H instead of if
__STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
<stdlib.h>: Similarly, include if STDC_HEADERS.
(localtime_r): Redo #ifdef to make it clear that glibc has
localtime_r now.

1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
file to avoid unnecessary recompilation.

1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile: Set install-others, not install_others.
(before-compile): Use += to preserve previous value.
($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
fix dependency name.
($(objpfx)lib-names.h): Remove rule.
* Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
with correct name, using an intermediate stamp file.
(common-generated): Add gnu/lib-names.h.
(before-compile): Add $(common-objpfx)gnu/lib-names.h.

1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>

* malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
to prevent warnings on 64 bit systems.
Reported by Paul Wouters <paul@xtdnet.nl>.

* sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
we assume it works.

28 years agoupdate from main archive 970129 cvs/libc-970130 cvs/libc-970131 cvs/libc-970201
Ulrich Drepper [Thu, 30 Jan 1997 04:09:36 +0000 (04:09 +0000)] 
update from main archive 970129

1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/elf/start.S (_start): Align stack pointer to
double word boundary before pushing args for main.  This way we
don't get penalties for misaligned memory accesses.  Reported by
Edward Seidl <seidl@janed.com>.

* Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
Patch by HJ Lu.

* misc/bsd-compat.c: Update copyright.
* misc/efgcvt.c: Likewise.
* misc/efgcvt_r.c: Likewise.
* misc/error.c: Likewise.
* misc/error.h: Likewise.
* misc/fstab.c: Likewise.
* misc/init-misc.c: Likewise.
* misc/lsearch.c: Likewise.
* misc/mntent.c: Likewise.
* misc/qefgcvt.c: Likewise.
* misc/qefgcvt_r.c: Likewise.
* nss/databases.def: Likewise.
* nss/db-Makefile: Likewise.
* nss/ethers-lookup.c: Likewise.
* nss/hosts-lookup.c: Likewise.
* nss/netgrp-lookup.c: Likewise.
* nss/nsswitch.h: Likewise.
* nss/proto-lookup.c: Likewise.
* nss/rpc-lookup.c: Likewise.
* nss/service-lookup.c: Likewise.
* nss/nss_db/db-netgrp.c: Likewise.
* nss/nss_files/files-grp.c: Likewise.
* nss/nss_files/files-hosts.c: Likewise.
* nss/nss_files/files-network.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-pwd.c: Likewise.
* nss/nss_files/files-rpc.c: Likewise.
* nss/nss_files/files-service.c: Likewise.
* nss/nss_files/files-spwd.c: Likewise.
* shadow/fgetspent.c: Likewise.
* shadow/fgetspent_r.c: Likewise.
* shadow/getspent.c: Likewise.
* shadow/getspent_r.c: Likewise.
* shadow/getspnam.c: Likewise.
* shadow/getspnam_r.c: Likewise.
* shadow/putspent.c: Likewise.
* shadow/sgetspent.c: Likewise.
* shadow/sgetspent_r.c: Likewise.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.

* shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
prepared to be running in a multi-threaded environment.  Change
to __USE_MISC unless the function is defined in POSIX.1 (in this
case also test for __USE_POSIX).
* dirent/dirent.h: Likewise.
* grp/grp.h: Likewise.
* inet/aliases.h: Likewise.
* libio/libio.h: Likewise.
* libio/stdio.h: Likewise.
* login/utmp.h: Likewise.
* math/mathcalls.h: Likewise.
* misc/mntent.h: Likewise.
* pwd/pwd.h: Likewise.
* resolv/netdb.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/string.h: Likewise.
* sunrpc/rpc/netdb.h: Likewise.
* sysdeps/generic/crypt.h: Likewise.
* sysdeps/unix/sysv/linux/errnos.h: Likewise.
* time/time.h: Likewise.

1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>

* sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
only if not cross compiling.

1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>

* sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
NULL.
* sysdeps/posix/sigwait.c: Likewise.

1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makeconfig ($(common-objpfx)config.make): Depend on
$(..)config.make.in.

28 years agoupdate from main archive 970128 cvs/libc-970129
Ulrich Drepper [Wed, 29 Jan 1997 03:50:12 +0000 (03:50 +0000)] 
update from main archive 970128

1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/Makefile: Don't generate headers derived from .x files when
crosscompiling.

1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>

* Makefile: Generate gnu/lib-names.h in before-compile.
* nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
* nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
to the revision found for LIBNSS_FILES_SO.
(nss_initilized): Removed.  It was tested but never set.
(nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.

* shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.

* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.

1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>

* elf/Makefile (CFLAGS-dl-load.c): Use += to not
override the definition.

1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>

* config.make.in (malloc): Remove.

28 years agoupdate from main archive 970127 cvs/libc-970128
Ulrich Drepper [Tue, 28 Jan 1997 03:59:29 +0000 (03:59 +0000)] 
update from main archive 970127

1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.0.1.
* posix/getopt.c: Handle another problem introduced by the
nonoption_flags array.  We must be able to work with reordered
argv arrays.  Reported by Andreas Schwab.
1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
* nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
that it works with yp.h.
1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
* malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
__libc_malloc_initialized so that this variable is not shared with
other users of GNU malloc.
Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
* mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
* sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
variables to prevent warnings.
* sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
using attribute regparm.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
is changed by the resolver code.
1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
* malloc/malloc.c (weak_variable): Define.
(__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
__memalign_hook): Make them weak definitions.
1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
limits, correctly take structure padding into account, use correct
offset when resetting the stream, change heuristic to assume an
average name length of 14 characters.
1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
inclusion.
See ChangeLog.6 for earlier changes.

28 years agoupdate from main archive 970126 cvs/libc-970127
Ulrich Drepper [Mon, 27 Jan 1997 06:02:03 +0000 (06:02 +0000)] 
update from main archive 970126

Sun Jan 26 19:40:17 1997  Ulrich Drepper  <drepper@cygnus.com>

* Version 2.0 net release.

* Make-dist: Don't take care for two malloc directories.

Sun Jan 26 13:39:31 1997  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of
kernel_*.h files.

* Make-dist: Don't mention new-malloc for dirs with have to be
processed.

* sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added.
* inet/netinet/tcp.h (SOL_TCP): Added.
* sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added.
Reported by a sun <asun@zoology.washington.edu>.

* Makefile: Add special goal to generate only-MD5 based crypt

28 years agoupdate from main archive 970125 cvs/libc-970126
Ulrich Drepper [Sun, 26 Jan 1997 05:33:35 +0000 (05:33 +0000)] 
update from main archive 970125

Sun Jan 26 05:41:42 1997  Ulrich Drepper  <drepper@cygnus.com>

* version.h (VERSION): Bump to 2.0.
(RELEASE): Now it's "experimental".

* Makefile (subdirs): Change $(malloc) to malloc.  We have only
one malloc implementation again.
* malloc/*: Remove from GNU libc.
* new-malloc/* Move to malloc/.
* config.make.in (defines): Remove @USE_NEW_MALLOC@.
* configure.in: Remove --enable-new-malloc option and check for
malloc implementation choice.
* malloc.h: We don't need to check for the implementation to use
anymore.  Simply include malloc/malloc.h.
* malloc/Makefile (subdir): Change to malloc.
* sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore.

* Makefile: Add special goal to call generate only-MD5 based crypt
library.
* md5-crypt/Makefile: Likewise.

* stdio-common/tstscanf.c: De-ANSI-declfy.  Update copyright.
(rounds): Change type to size_t to prevent warning.

* wcsmbs/btowc.c: Reformat copyright.
* wcsmbs/mbrlen.c: Likewise.
* wcsmbs/mbsinit.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcpcpy.c: Likewise.
* wcsmbs/wcpncpy.c: Likewise.
* wcsmbs/wcscat.c: Likewise.
* wcsmbs/wcscmp.c: Likewise.
* wcsmbs/wcscoll.c: Likewise.
* wcsmbs/wcscpy.c: Likewise.
* wcsmbs/wcscspn.c: Likewise.
* wcsmbs/wcsdup.c: Likewise.
* wcsmbs/wcslen.c: Likewise.
* wcsmbs/wcsncat.c: Likewise.
* wcsmbs/wcsncpy.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wcsspn.c: Likewise.
* wcsmbs/wcsstr.c: Likewise.
* wcsmbs/wcstod.c: Likewise.
* wcsmbs/wcstof.c: Likewise.
* wcsmbs/wcstok.c: Likewise.
* wcsmbs/wcstol.c: Likewise.
* wcsmbs/wcstold.c: Likewise.
* wcsmbs/wcstoq.c: Likewise.
* wcsmbs/wcstoul.c: Likewise.
* wcsmbs/wcstouq.c: Likewise.
* wcsmbs/wcswidth.c: Likewise.
* wcsmbs/wcsxfrm.c: Likewise.
* wcsmbs/wctob.c: Likewise.
* wcsmbs/wcwidth.c: Likewise.
* wcsmbs/wcwidth.h: Likewise.
* wcsmbs/wmemchr.c: Likewise.
* wcsmbs/wmemcmp.c: Likewise.
* wcsmbs/wmemmove.c: Likewise.
* wcsmbs/wmemset.c: Likewise.

Sat Jan 25 03:34:14 1997  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/termbits.h: Protect against multiple
inclusion.  Reported by a sun <asun@zoology.washington.edu>.

Likewise for scanf4.c
* stdlib/stdlib.h: Declare reentrant function from rand48 family

28 years agoupdate from main archive 970124 cvs/libc-970125
Ulrich Drepper [Sat, 25 Jan 1997 02:36:37 +0000 (02:36 +0000)] 
update from main archive 970124

Sat Jan 25 02:05:19 1997  Eirik Fuller  <eirik@netcom.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and
T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp.

Thu Jan 23 11:13:46 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/usleep.c: Normalize the time
specification.

Fri Jan 24 14:33:45 1997  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/socketbits.h: Also make SOCK_* constants available
as macros so that #ifdef works.
* sysdeps/unix/sysv/linux/socketbits.h: Likewise.

1997-01-23  Paul Eggert  <eggert@twinsun.com>

* login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h,
sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c,
sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h,
sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes.

28 years agoupdate from main archive 970122 cvs/libc-970124
Ulrich Drepper [Fri, 24 Jan 1997 02:23:54 +0000 (02:23 +0000)] 
update from main archive 970122

1997-01-23  Paul Eggert  <eggert@twinsun.com>

* mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz,
so that tzname is set as POSIX requires.

Fri Jan 24 02:49:18 1997  Ulrich Drepper  <drepper@cygnus.com>

* dirent/dirent.h: Declare readdir_r also when __USE_POSIX.
* grp/grp.h: Declare *_r functions also when __USE_POSIX.
* pwd/pwd.h: Likewise.
* time/time.h: Likewise.
* posix/unistd.h: Declare ttyname_r also when __USE_POSIX.
* string/string.h: Declare strtok_r also when __USE_POSIX.

* stdio-common/bug7.c: Use tmpnam to generate names for test files.

* stdio-common/tmpnam.c: Update copyright.
* stdio-common/tmpnam_r.c: Likewise.

* sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect
against multiple inclusion.  Include <termbits.h>.
* sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.

* sysdeps/unix/sysv/linux/net/if.h: Update according to recent
kernel headers.  Patch by Philip Blundell <pjb27@cam.ac.uk>.

Thu Jan 23 17:42:00 1997  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution.

* sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition.

Thu Jan 23 14:20:34 1997  Ulrich Drepper  <drepper@cygnus.com>

* time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be
read when running a setuid program.

28 years agoupdate from main archive 970121 cvs/libc-970123
Ulrich Drepper [Thu, 23 Jan 1997 04:24:20 +0000 (04:24 +0000)] 
update from main archive 970121

Thu Jan 23 04:06:42 1997  Ulrich Drepper  <drepper@cygnus.com>

* Make-dist (.PHONY: dist): Remove duplicate declaration.
(README): Depend on version.h not version.c.
* Makefile (README): Depend on version.h not version.c.

* Makeconfig (inst_libdir, inst_slibdir, inst_includedir,
inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir,
inst_sbindir, inst_infodir, inst_sysconfdir): New variables.  Same
as variable withough inst_ but prepended with $(install_root).
(localtime-time): Use $(inst_sysconfdir) not $(sysconfdir).
* Makefile (install-others): Use $(inst_includedir).
(gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir).
* Makerules (tons of install rules): Use inst_% variables.
* elf/Makefile: Likewise.
* hurd/Makefile: Likewise.
* intl/Makefile: Likewise.
* manual/Makefile: Likewise.
* po/Makefile: Likewise.
* sunrpc/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
* sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
* time/Makefile: Likewise.

* config.make.in: Revert patch from Sat Jan 18 22:15:26 1997,
leave install_root in place.

* gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2.
* posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2.
* posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2.

* elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of
ldconfig.
(CFLAGS-dl-load.c): New variable, avoid gcc warning.

* sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRENT to DEFINES.

* sysdeps/mach/hurd/getdents.c: Update copyright.  De-ANSI-declfy.
* sysdeps/stub/getdents.c: Likewise.  Correct return value.
* sysdeps/unix/getdents.c: Likewise.
* sysdeps/unix/sysv/getdents.c: Likewise.

* sysdeps/unix/readdir.c: Update copyright.

* sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments.
* sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise.
* sysdeps/unix/sysv/Makefile: Likewise.
* sysdeps/unix/sysv/linux/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.

* sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h,
but sys/kernel_termios.h.
* sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios]
(sysdep_headers): Add sys/kernel_termios.h.
* sysdeps/unix/sysv/linux/kernel_termios.h: Moved to...
* sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here.
* sysdeps/unix/sysv/linux/sys/tcgetattr.c: Use __kernel_termios and
__KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp.

* sysdeps/unix/sysv/linux/alpha/ioctls.h: New file.

* sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents.
Reported by Eirik Fuller <eirik@netcom.com>.

* time/Banner: Removed.  Wrong and unnecessary information.  It's now
in...
* time/README: New file.
* time/Makefile (distribute): Remove Banner, add README.

Wed Jan 22 13:19:56 1997  Richard Henderson  <rth@tamu.edu>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable.
(init_iosys): Recognize /etc/alpha_systype as a four-tuple for
the purpose of supporting brand new systems.
(*): The type of iosys variables should be iosys_t.

1997-01-22  Paul Eggert  <eggert@twinsun.com>

* strftime.c (_strftime_copytm):
New function, to work around Solaris 2.5 tzset bug.

Wed Jan 22 23:05:14 1997  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication.
* sysdeps/posix/pipestream.c (writedecl): Fix typo.
Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>.

Wed Jan 22 13:58:56 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent
since name_copy is initialized.

Wed Jan 22 16:58:12 1997  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/Makefile (tests): Remove scanf11.
* stdio-common/scanf11.c: Removed.
* stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997.
Although the Corrigendum 1 describes the result as implemented the
even more recent Amendement 1 seconds the position of ISO C:1990
where the %n directive has no effect on the assignment count.
* stdio-common/bug10.c: Likewise.
* stdio-common/scanf1.c: Likewise.
* stdio-common/scanf3.c: Likewise.
* stdio-common/scanf10.c: Likewise.
* stdio-common/tstdiomisc.c: Likewise.

* new-malloc/obstack.h: Don't define malloc using bcopy if malloc
is not available.  This leads to problems since bcopy does not
return a value.  Instead define _obstack_memcpy based on memcpy or
bcopy.  This name isn't used outside obstack.h and so no problems
from using the memcpy function in a file including obstack.h can
result.
Reported by Martin Trapp <trapp@ipd.info.uni-karlsruhe.de>.

Tue Jan 21 18:35:55 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* misc/regexp.h (compile): Fix typos.

Tue Jan 21 01:01:59 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix
type of pr_{pid,ppid,pgrp,sid} fields.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
elf_prpsinfo): Likewise.

28 years agoupdate from main archive 970121 cvs/libc-970122
Ulrich Drepper [Wed, 22 Jan 1997 05:26:05 +0000 (05:26 +0000)] 
update from main archive 970121

1997-01-21  Paul Eggert  <eggert@twinsun.com>

* posix/getopt.c (_getopt_internal): Return -1, not EOF, when args
are exhausted; this is required by POSIX.2.
* catgets/gencat.c, db/makedb.c, locale/programs/locale.c,
locale/programs/localedef.c, manual/examples/subopt.c,
posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c,
sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF.

Tue Jan 21 23:10:40 1997  Ulrich Drepper  <drepper@cygnus.com>

* version.h (VERSION): Bump to 1.102.

* sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.

* elf/Makefile: Don't use CFLAGS-dl-load.c, but instead
CPPFLAGS-dl-load.c so that dependencies can be determined correctly.
* elf/dl-load.c: Fix comment.

* time/Banner: New file.
* time/Makefile (distribute): Add Banner.

Update from ADO tzcode1997a and tzdata1997a.
* time/antarctica: Update.
* time/australia: Update.
* time/zdump.c: Update.
* time/zic.c: Update.
* time/zone.tab: Update.

Mon Jan 20 08:38:32 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config.make.in (has-ldconfig): New variable.

* configure, configure.in (has_ldconfig): New substitute.

* sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
check if $srcdir/elf/ldconfig.c exists.

* Makeconfig (rootsbindir): New, default as
$(exec_prefix)/sbin.
(rtld-version-installed-name): New, default as
ld-$(version).so.

* Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
only if $(cross-compiling) is no and $(build-shared) is yes.

* Makerules (make-shlib-link): New macro.
($(slibdir)/libfoo.so.$(libfoo.so-version)): Use
$(make-shlib-link) for symlink.
(install-rootsbin, install-rootsbin-nosubdir): New.
(install-no-libc.a-nosubdir): Add
install-rootsbin-nosubdir.

* Rules (others): Add $(install-rootsbin).

* config.make.in (rootsbindir): New.

* configure, configure.in (libc_cv_rootsbindir): New
substitute.

* elf/Makefile (others, install-rootsbin): New, set to
ldconfig.
(+link): New for static linking.
($(slibdir)/$(rtld-version-installed-name)): New.
($(slibdir)/$(rtld-installed-name)): Depend on
$(slibdir)/$(rtld-version-installed-name) and use
$(make-shlib-link) for symlink.

* sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
while XDR_ENCODE.

* sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
glibc internals.

* sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
New, set to "/sbin" if "$prefix" == "/usr".

Tue Jan 21 13:38:39 1997  Ulrich Drepper  <drepper@cygnus.com>

* Makefile (distribute): Add glibcbug.in.
Reported by Philip Blundell <pjb27@cam.ac.uk>.

* elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in
build directory if necessary.
Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels).

28 years agoupdate from main archive 970120 cvs/libc-970121
Ulrich Drepper [Tue, 21 Jan 1997 06:10:42 +0000 (06:10 +0000)] 
update from main archive 970120

Tue Jan 21 04:05:20 1997  Ulrich Drepper  <drepper@cygnus.com>

* version.h (VERSION): Bump to 1.101.

Implement -d and -r option to `ldd' to check relocations.
* elf/dl-error.c: Add another method to intercept errors.
(_dl_receive_error): New function.  Install user defined handler.
(receiver): New variable.  Contains pointer to user provided handler.
(_dl_signal_error): If user provided handler is installed call this.
* elf/dl-load.c (_dl_map_object): When shared object is not found in
trace mode initialize a few more fields so that lookup can actually
happen but always fails.
* elf/ldd.sh.in: Rewrite argument handling.  Recognize new arguments
to trigger reloation test.  Return with appropriate error code if
a file wasn't found.  Print warning if object is not executable.
* elf/ldd.bash.in: Likewise.
* elf/link.h (receiver_fct): New type.  Used in _dl_receive_error.
(_dl_sysdep_error): New prototype.
(_dl_receive_error): New prototype.
(_dl_signal_error): Remove  __attribute__ ((__noreturn__)).
* elf/rtld.c (dl_main): Rewrite argument handling.  More than
one argument allowed.  Recognize --data-relocs and --function-relocs
arguments.
Don't determine `lazy' mode from LD_BIND_NOW environment variable
when in trace mode.
If in trace mode and either --data-relocs or --function-relocs is
given perform relocation.  Report errors using print_unresolved
function.
(print_unresolved): New function.  Print information about missing
symbol on stderr.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function.
Like _dl_sysdep_message but print to stderr.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

* sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t.
Reported by Andreas Schwab.
(__SOCKADDR_COMMON): Use sa_family_t for family member.
* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.

Linux/Sparc support by Miguel de Icaza.
* sysdeps/sparc/fpu_control.h: New file.
* sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file.
* sysdeps/unix/sysv/linux/sparc/brk.c: New file.
* sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
* sysdeps/unix/sysv/linux/sparc/sigaction.c: New file.
* sysdeps/unix/sysv/linux/sparc/socket.S: New file.
* sysdeps/unix/sysv/linux/sparc/syscall.S: New file.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
* sysdeps/unix/sysv/linux/sparc/Dist: New file.
* sysdeps/unix/sysv/linux/sparc/Makefile: New file.

* sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header.
Provide own definition based on 4.4BSD and Linux.
* sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before
including <linux/ppp_defs.h>.
* sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't
use __pid_t since the kernel might have a different size.
* sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise.
Reported by Andreas Schwab.

* time/asctime.c: Update copyright.
* time/dysize.c: Likewise.
* time/gmtime.c: Likewise.
* time/timegm.c: Likewise.
* time/offtime.c: Likewise.  De-ANSI-declfy.

* time/tzset.c (__tzset_internal): When TZ envvar does not name a
DST timezone don't default to offset -1.

* sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
Reported by a sun <asun@zoology.washington.edu>.

* resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.

* sysdeps/stub/sysv_signal.c: New file.  Stub implementation.

* Makefile (distribute): Add mcheck.h.

* nis/Makefile (distribute): Add nss-nis.h.

* libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
dist problem.

* nss/Makefile (distribute): Add digits_dots.c.

* sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h.
* sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h.
* sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S.
* new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h.

Mon Jan 20 17:54:28 1997  Sven Verdoolaege  <skimo@breughel.ufsia.ac.be>

* manual/filesys.texi: Fix little problem (reentrant->readdir).

Fri Jan 17 19:07:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.in [$elf=yes]: Check for support of .previous and
.popsection in the assembler.
* config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and
HAVE_ASM_POPSECTION_DIRECTIVE.
* libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define
appropriate if either .previous or .popsection is supported.
(libc_warning) [HAVE_ELF]: Use it here.

Sat Jan 18 22:15:26 1997  Richard Henderson  <rth@tamu.edu>

* Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
errors that can occur when linking libc.so.

Mon Jan 20 05:20:49 1997  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (open_path): When running setuid don't try
a directory if it is not given with the full name.

* elf/Makefile (before-compile): New variable.  Mention trusted-dirs.h.
(trusted-dirs.h): Construct file from $(default-rpath) and
$(user-defined-trusted-dirs) variables.
* elf/dl-load.c (_dl_map_object): Pass additional argument to open_path
which is NULL except for the LD_LIBRARY_PATH pass in which case it
is a pointer to the list of directories from the trusted-dirs.h
file.
(open_path): Accept additional argument with list of trusted dirs.
When running setuid and a list of trusted dirs is given only use
those which are mentioned in the list.

* elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when
running setuid.  Instead accept entries which do not contain a '/'.

* Makeconfig: Correct comment about +(default_cflags).

Mon Jan 20 05:11:14 1997  Hrvoje Niksic  <hniksic@srce.hr>

* time/strptime.c (recursive): Use && not || to test for valid
argument.

Mon Jan 20 05:06:50 1997  Ulrich Drepper  <drepper@cygnus.com>

* elf/ldd.sh.in: Exit with value 1 if an error occured.
* elf/ldd.bash.in: Likewise.

* elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the
binary runs setuid.  It is save to use those entries which do not
contain a '/'.  This is compatible with Solaris-2.

28 years agoRegenerated: autoconf configure.in
Thomas Bushnell, BSG [Mon, 20 Jan 1997 18:45:02 +0000 (18:45 +0000)] 
Regenerated: autoconf  configure.in

28 years ago*** empty log message ***
Thomas Bushnell, BSG [Mon, 20 Jan 1997 18:44:20 +0000 (18:44 +0000)] 
*** empty log message ***

28 years agoupdate from main arhive 970119 cvs/libc-970120
Ulrich Drepper [Mon, 20 Jan 1997 02:49:49 +0000 (02:49 +0000)] 
update from main arhive 970119

Mon Jan 20 03:02:50 1997  Ulrich Drepper  <drepper@cygnus.com>

* Make-dist: Update and reformat copyright.
* Makeconfig: Likewise.
* assert/Makefile: Likewise.
* bare/Makefile: Likewise.
* ctype/Makefile: Likewise.
* dirent/Makefile: Likewise.
* gmon/Makefile: Likewise.
* gnulib/Makefile: Likewise.
* grp/Makefile: Likewise.
* hurd/Makefile: Likewise.
* intl/Makefile: Likewise.
* mach/Makefile: Likewise.
* malloc/Makefile: Likewise.
* manual/Makefile: Likewise.
* math/Makefile: Likewise.
* po/Makefile: Likewise.
* pwd/Makefile: Likewise.
* resource/Makefile: Likewise.
* setjmp/Makefile: Likewise.
* socket/Makefile: Likewise.
* string/Makefile: Likewise.
* sunrpc/Makefile: Likewise.
* sysdeps/alpha/Makefile: Likewise.
* sysdeps/gnu/Makefile: Likewise.
* sysdeps/m68k/fpu/switch/Makefile: Likewise.
* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
* sysdeps/m68k/fpu/switch/switch.c: Likewise.
* sysdeps/mach/Makefile: Likewise.
* sysdeps/hurd/Makefile: Likewise.
* sysdeps/sparc/Makefile: Likewise.
* sysdeps/standalone/i960/nindy960/Makefile: Likewise.
* sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise.
* sysdeps/unix/common/Makefile: Likewise.
* sysdeps/unix/sysv/Makefile: Likewise.
* sysdeps/unix/sysv/irix4/Makefile: Likewise.
* sysdeps/unix/sysv/sco3.2/Makefile: Likewise.
* sysdeps/unix/sysv/sysv4/Makefile: Likewise.
* sysdeps/vax/Makefile: Likewise.
* sysvipc/Makefile: Likewise.
* wcsmbs/Makefile: Likewise.
* wctype/Makefile: Likewise.
* elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable
are separated according to Sun docs by white space not colon.
* locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize
fields which are not defined for the C locale.
* sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed
files.
* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
* sysdeps/m68k/fpu/switch/switch.c: Likewise.
Sun Jan 19 19:43:31 1997  Andreas Jaeger  <aj@arthur.pfalz.de>
* time/strptime.c: Provide prototype for strptime_internal.
Sun Jan 19 23:46:27 1997  Ulrich Drepper  <drepper@cygnus.com>
* glibcbug.in: We don't guarantee confidential handling.  Set
field to always contain `no'.
Sun Jan 19 21:28:01 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* intl/explodename.c: Include sys/types.h.
* intl/l10nflist.c: Likewise.

Sat Jan 18 22:15:26 1997  Richard Henderson  <rth@tamu.edu>

* config.make.in (install_root): New variable to make it easy to
install glibc somewhere other than /.

* shlib-versions: alpha-*-linux-* libc=6.1.

Since sigset_t no longer fits in a register, we can't pass in the
thread's initial mask so easily.  Take this opportunity to simplify
the clone implementation by only accepting a single void* argument.

* sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes.

* sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove.
Default Linux version should be sufficient.

* sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask
system call wants the sigset dereferenced.

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for
__syscall_ustat and __syscall_xmknod.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h.

* sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints.

* sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences.

* sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about
dependency to kernel type.

* sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment.

28 years agoupdate from main archive 970118 cvs/libc-970119
Ulrich Drepper [Sun, 19 Jan 1997 04:54:28 +0000 (04:54 +0000)] 
update from main archive 970118

Sun Jan 19 04:38:20 1997  Ulrich Drepper  <drepper@cygnus.com>

* config.make.in (have-ksh, KSH): New variables.  Will be filled
in by configure.
* configure.in: Add test for ksh like shell (prefer bash).
* time/Makefile (tests): Depend on install-test-data.
(distribute): Add simplebackw.
(generated-dirs): New variable.
[$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab.
(install-bin): Add tzselect.
(install-test-data): Install the zoneinfo files which are needed
for the test case in the build directory.
(test-tz-ENV): New variable.  Call test-tz program using data in
build directory.
* time/simpleback: New file.
* time/test-tz.c: Pretty print.
* time/tzfile.c: Use value of environment variable TZDIR as directory
to look for zone info files.
don't let search for DST data destroy already found values.
* time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when
installing.
* time/tzset.c (__tzset_internal): Avoid freeing string twice.
Set DST zone name to normal zone name if no information is provided.

* time/mktime.c (mktime): Call __tzset_internal to use current
value of TZ.

* Makerules (common-clean): Remove $(generated-dirs) inclusing content.

* glibcbug.in: Fix several bugs.  Reported by several people.

* elf/Makefile: Correct dependecies for $(objpfx)ldd.

* inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST.

* locale/C-time.c: Update copyright.
* locale/localeinfo.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.

* locale/programs/ld-time.c (time_finish): Correct message string.
* locale/programs/linereader.c (lr_token): Use correctly `number'
not `digit' in message string.

* stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is
seen.  Instead return ULONG_MAX and set ERANGE.
* stdlib/tst-strtol.c: Correct test to reflect above change.

Sun Jan 19 03:22:30 1997  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>.
We must not use <linux/posix_types.h>.

* sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types
since we must not use <linux/posix_types.h>.
* sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file.  Similar
to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent
types.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file.  Similar
to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent
types.

Sun Jan 19 01:48:20 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* sysdeps/libm-i387/e_exp.S: Correct computation of fractional
part.
* sysdeps/libm-i387/e_expf.S: Likewise.
* sysdeps/libm-i387/e_expl.S: Likewise.
* sysdeps/libm-i387/s_expm1.S: Correct computation of fractional
part.  Take care of additional value left on stack by fscale.
* sysdeps/libm-i387/s_expm1f.S: Likewise.
* sysdeps/libm-i387/s_expm1l.S: Likewise.

Fri Jan 17 17:45:32 1997  Ulrich Drepper  <drepper@cygnus.com>

* posix/getopt.c: Change all direct usages of `gettext' to `_'.

* sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing
parameter.
Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>.

Thu Jan 16 23:39:25 1997  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/Makefile (tests): Add scanf11.
* stdio-common/scanf11.c: New file.
* stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n
was processed and value is not suppressed.
* stdio-common/bug10.c: Correct test to expect %n increment the
return value of scanf.
* stdio-common/scanf1.c: Likewise.
* stdio-common/scanf3.c: Likewise.
* stdio-common/scanf10.c: Likewise.
* stdio-common/tstdiomisc.c: Likewise.

* time/strptime.c: Add lots of conditional compiling to enable use
outside glibc.  When used in glibc, make sure C locale format
strings will always be recognized.

Sat Jan 11 18:53:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
Fix definitions so that they work with __kernel_dev_t.

Sat Jan 11 14:24:10 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/kernel_sigaction.h,
sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h,
sysdeps/unix/sysv/linux/sigaction.c: New files.
* sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction.

Sun Jan 12 15:22:33 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libc-symbols.h (link_warning): Make sure that the .gnu.warning
section is not allocated.
Update and reformat copyright.

Sun Jan 12 12:19:28 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/Makefile ($(objpfx)ldd): Fix depedency list.

Sat Jan 11 15:11:26 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix
command so that it works in subdirectories.

Wed Jan  8 22:07:58 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and
s_setgroups.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c,
sysdeps/unix/sysv/linux/i386/setgroups.c,
sysdeps/unix/sysv/linux/m68k/getgroups.c,
sysdeps/unix/sysv/linux/m68k/setgroups.c: New files.

Wed Jan  8 19:42:59 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (config.status): Delete bogus rule.
($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on
config.status in build directory, fix command to change to build
directory.
* Makeconfig ($(common-objpfx)config.status): Depend on version.h.

Thu Jan  9 08:47:54 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* glibcbug.in (while): We test for four and not five conditions,
set MAIL_AGENT instead of RMAIL, filter spaces and tabs.

Thu Jan 16 22:00:27 1997  Ulrich Drepper  <drepper@cygnus.com>

* misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT
is not defined.  Reported by Andreas Jaeger.

Thu Jan  9 08:47:54 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* new-malloc/malloc.c (__MALLOC_P): define call to pthread
initializer only if NO_THREADS is not defined.

Wed Jan  8 21:28:58 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes
and variables.

Thu Jan 16 21:50:27 1997  Ulrich Drepper  <drepper@cygnus.com>

* inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr
defined.

Tue Jan  7 17:29:59 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (LDLIBS-c.so): New variable.

Tue Jan  7 19:22:00 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile ($(includedir)/gnu/lib-names.h): Define the library
names as strings, not as sequence of tokens that may fall apart.

Fri Jan 10 14:08:41 1997  Roland McGrath  <roland@fmh.frob.com>

* time/tzfile.c (__tzfile_read): Check for bogus type and zone name
indices in data file and punt, so a bogus file can't crash us.

Thu Jan 16 20:29:15 1997  Ulrich Drepper  <drepper@cygnus.com>

* values.h [__USE_MISC]: Define BITSPERBYTE.

Fri Jan 17 14:16:28 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* stdio/vdprintf.c: Moved file to ...
* sysdeps/posix/vdprintf.c: Here.  De-ansideclificate.
* sysdeps/stub/vdprintf.c: New file.
* sysdeps/mach/hurd/vdprintf.c: New file.

Thu Jan  9 15:59:35 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* sysdeps/mach/hurd/posix_opt.h: New file.

* sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.

* sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
deansideclification.

* sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
recursive locks.

Tue Jan  7 09:48:15 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* signal/sigempty.c (sigemptyset): Correct typo: Empty set should
have all bits zero.

28 years agoFri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> cvs/libc-970118
Thomas Bushnell, BSG [Fri, 17 Jan 1997 19:29:07 +0000 (19:29 +0000)] 
Fri Jan 17 14:16:28 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* stdio/vdprintf.c: Moved file to ...
* sysdeps/posix/vdprintf.c: Here.  De-ansideclificate.
* sysdeps/stub/vdprintf.c: New file.
* sysdeps/mach/hurd/vdprintf.c: New file.

28 years ago*** empty log message ***
Thomas Bushnell, BSG [Fri, 17 Jan 1997 19:27:54 +0000 (19:27 +0000)] 
*** empty log message ***

Fri Jan 17 14:16:28 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* stdio/vdprintf.c: Moved file to ...
* sysdeps/posix/vdprintf.c: Here.  De-ansideclificate.
* sysdeps/stub/vdprintf.c: New file.
* sysdeps/mach/hurd/vdprintf.c: New file.

28 years ago*** empty log message *** cvs/libc-970114 cvs/libc-970115 cvs/libc-970116 cvs/libc-970117
Thomas Bushnell, BSG [Mon, 13 Jan 1997 18:58:09 +0000 (18:58 +0000)] 
*** empty log message ***

Thu Jan  9 15:59:35 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* sysdeps/mach/hurd/posix_opt.h: New file.

* sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.

* sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
deansideclification.

* sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
recursive locks.

28 years agoupdate from main archive 960107 cvs/libc-970108 cvs/libc-970109 cvs/libc-970110 cvs/libc-970111 cvs/libc-970112 cvs/libc-970113
Ulrich Drepper [Tue, 7 Jan 1997 23:29:44 +0000 (23:29 +0000)] 
update from main archive 960107

Tue Jan  7 09:48:15 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* signal/sigempty.c (sigemptyset): Correct typo: Empty set should
have all bits zero.

Tue Jan  7 23:44:39 1997  Ulrich Drepper  <drepper@cygnus.com>

* inet/gethstbynm.c: Include additional headers for additional
code in nss/digits_dots.c.
* inet/gethstbynm_r.c: Likewise.
* inet/gethstbynm2.c: Likewise.
* inet/gethstbynm2_r.c: Likewise.
* nss/digits_dots.c: New file.  Handle dotted pair notation for
gethstbynm functions.
* nss/getXXbyYY.c: Include digits_dots.c to get extra code for
handling dotted pair notation.
* nss/getXXbyYY_r.c: Likewise.
Patches by HJ Lu.

* resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.

* io/getwd.c: Optimized a bit.

* signal/signal.h: Always declare __sysv_signal.

* sysdeps/generic/setenv.c: Add some portability code.

* sysdeps/unix/sysv/fcntlbits.h: Update copyright.

* sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel
to avoid using kernel headers.
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file.  Alpha
specific version.

* sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod.  Don't
mark sigreturn as EXTRA.

* sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
* sysdeps/unix/sysv/linux/alpha/ustat.c: New file.  Alpha version.

Tue Jan  7 09:48:15 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* io/fts.c (fts_alloc): Add const to second parameter of function.

* io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
prevent warnings.

* signal/sigfillset.c: Include <string.h> for memset declaration.

Tue Jan  7 11:14:32 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/generic/setenv.c: Fix portability problems.

Tue Jan  7 02:10:17 1997  Ulrich Drepper  <drepper@cygnus.com>

* posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
after the last option was seen.

Mon Jan  6 15:30:21 1997  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.

28 years agoAdd hppa1.1-hitachi-hiuxmpp support, passed along by rms.
David MacKenzie [Tue, 7 Jan 1997 19:29:28 +0000 (19:29 +0000)] 
Add hppa1.1-hitachi-hiuxmpp support, passed along by rms.

28 years agoupdate from main archive 960105 cvs/libc-970106 cvs/libc-970107
Ulrich Drepper [Mon, 6 Jan 1997 22:07:28 +0000 (22:07 +0000)] 
update from main archive 960105

28 years agoMon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Mon, 6 Jan 1997 21:48:19 +0000 (21:48 +0000)] 
Mon Jan  6 13:57:05 1997  Ulrich Drepper  <drepper@cygnus.com>

* io/ftw.c: Add `const' to second parameter of function given as
second parameter to ftw.
* io/ftw.h: Likewise for prototype.
Reported by Ronald F. Guilmette <rfg@monkeys.com>.

Thu Jan  2 23:44:39 1997  Philip Blundell  <pjb27@cam.ac.uk>

* inet/Makefile (headers): Add netinet/ip.h.
* inet/netinet/ip.h: New file, contains BSD definitions for struct
ip and friends.

Fri Jan  3 23:17:11 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/string.h (strnlen): Add cast for C++.

Mon Jan  6 03:31:46 1997  Ulrich Drepper  <drepper@cygnus.com>

* Makefile (install-bin): Define as glibcbug to install script.
(glibcbug): New rules.  Create from glibcbug.in.
* configure.in (AC_OUTPUT): Generate glibcbug script.
* glibcbug.in: New file.
* version.c: Mention glibcbug to report bugs.
* catgets/gencat.c: Likewise.
* db/makedb.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/ldd.sh.in: Likewise.
* intl/locale.alias: Likewise.

* mcheck.h: New file.  Necessary since mcheck.h is used in time/ap.c.

* set-init.c: Update and reformat copyright.
* version.c: Likewise.
* signal/sigaddset.c: Likewise.
* signal/sigdelset.c: Likewise.
* signal/sigempty.c: Likewise.
* signal/sigfillset.c: Likewise.
* signal/siggetmask.c: Likewise.
* signal/sigismem.c: Likewise.
* sysdeps/generic/speed.c: Likewise.
* sysdeps/unix/getdents.c: Likewise.
* sysdeps/unix/xmknod.c: Likewise.
* sysdeps/unix/bsd/poll.c: Likewise.
* sysdeps/unix/bsd/tcdrain.c: Likewise.
* sysdeps/unix/bsd/tcflow.c: Likewise.
* sysdeps/unix/bsd/tcflush.c: Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c: Likewise.
* sysdeps/unix/bsd/tcsendbrk.c: Likewise.
* sysdeps/unix/bsd/tcsetpgrp.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/getdents.c: Likewise.
* sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
* termios/Makefile: Likewise.
* termios/cfmakeraw.c: Likewise.
* termios/cfsetspeed.c: Likewise.

* version.h: Bump VERSION to 1.100.

* intl/finddomain.c: Defining stpcpy function isn't necessary.

* libio/genops.c (_IO_init): Use _IO_lock_init instead of
_IO_lock_init_recursive.
* libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead
of _IO_lock_init.

* locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead
of xmalloc.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/simple-hash.c: Likewise.

* misc/Makefile (headers): Add selectbits.h.
* misc/sys/select.h: Include <selectbits.h> to get necessary
definitions.
* sysdeps/generic/selectbits.h: New file.  Generic macros for
handling file descriptor sets.
* sysdeps/i386/selectbits.h: New file.  i386 specific macros for
handling file descriptor sets.
* sysdeps/generic/gnu/types.h: Remove _FD_* macros.

* misc/mntent_r.c: Fix handling of multiple, comma-separated
options.  Patch by Sai-Lai Lo <sll@orl.co.uk>.

* po/de.po: Update.
* po/ko.po: Update.
* po/sv.po: Update.

* posix/getopt.c: Only use the bash generated environment variable
to determine non-option parameters when using in GNU libc and if
the argument vector given to getopt is the same as given to the
program.

* posix/unistd.h [__USE_GNU]: Declare environ.

* posix/sys/types.h (key_t): Also define when __USE_XOPEN.

* resolv/res_debug.c: Add casts to prevent warnings.
* resolv/res_query.c: Likewise.

* resolv/nss_dns/dns-host.c: Change type for buffer size arguments
to `size_t'.
* resolv/nss_dns/dns-network.c: Likewise.

* signal/sigempty.c: Use memset to initialize variable.
* signal/sigfillset.c: Likewise.

* signal/signal.h: Change back handling of signal.  The BSD
  version is preferred and the new sysv_signal is used when
  __USE_XOPEN.
* sysdeps/posix/sysv_signal.c: Renamed from signal.c.  Use SVID
semantic.
* sysdeps/posix/signal.c: Renamed from bsd_signal.c.  Use BSD
semantic.
* sysdpes/posix/sigpause.c: Correct comment.
* sysdeps/stub/sigpause.c: Provide default implementation.
* signal/Makefile (routines): Remove bsd_signal, add sysv_signal.

* sysdeps/generic/abort.c: Allow repeated calls to abort if
a user defined handler for SIGABRT is installed.

* sysdeps/stub/libc-lock.h: Define separate set of macros for
handling recursive mutexes.

* sysdeps/unix/Makefile: Change rule to generate syscall.h file
so that it is generate in the sys/ subdir.

* sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h.
* sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and
sys/acct.h.

* sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from
kernel.  Define own version with additional field d_type.
* sysdeps/unix/sysv/linux/getdents.c: New file.  Reformat dirent
entries after reading from kernel.

* sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers.
Define types based on kernel types except for uid_t, gid_t, mode_t,
dev_t which are larger now.
* sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.

* sysdeps/unix/sysv/linux/ioctl-types.h: Don't include
<linux/termios.h>.  Define structure here.
* sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define
architecture dependent struct termio type.
* sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise.
* sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type.
* sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array
to syscall.

* sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header.
* sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
* sysdeps/unix/sysv/linux/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
* sysdeps/unix/sysv/linux/net/if.h: Likewise.
* sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
* sysdeps/unix/sysv/linux/sys/acct.h: Likewise.

* sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
Change definitions to fit new dev_t definition.

* sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
Rename ustat to s_ustat since wrapper is needed.

* sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from
kernel rewrite it to userland level data format.
* sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change
data format to kernel format.
* sysdeps/unix/sysv/linux/ustat.c: New file.  Change format of
device parameter to format needed by kernel.
* sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: New file.  Extend generic
version to change device parameter to format needed by kernel.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.

* sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file.  Alpha specific
definition of accounting structure.

* sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
Patch by Andreas Schwab.

* time/ap.c: Include <mcheck.h>.

* time/tzset.c (__tzset_internal): Change to take one argument
which tells whether examining of TZ is always wanted or only if
no initialization happened before.
* time/localtime.c: (localtime, __localtime_r): Change for new
__tzset_internal form.

* time/sys/time.h: Include <sys/select.h> to get select related
declarations.

Mon Jan  6 01:58:21 1997  Richard Henderson  <richard@atheist.tamu.edu>

* sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
bug in GNU ld.

Mon Jan  6 01:35:29 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* misc/getpass.c: Make sure the content of the input buffer is not
printed if the getpass function is interrupted.

Sat Jan  4 17:07:08 1997  Roland McGrath  <roland@fmh.frob.com>

* md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.

Thu Jan  2 17:58:23 1997  Roland McGrath  <roland@fmh.frob.com>

* sysdeps/generic/abort.c: Include <string.h> for memset decl.

* new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
<string.h> so memset is declared.

Tue Dec 31 21:16:05 1996  Roland McGrath  <roland@fmh.frob.com>

* elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.

* elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
calls can be nested.

* elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts.
* elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun
extension range.

* elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant
macros, for Sun extensions.
(DT_EXTRATAGID): New macro to convert Sun extension tag values placed
near the top of the processor-specific range into zero-origin indices.

* elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.

Sat Jan  4 22:25:01 1997  Andreas Jaeger  <aj@arthur.pfalz.de>

* libio/fcloseall.c: Include stdio.h for prototype declaration for
__fcloseall.

Thu Jan  2 17:35:20 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* sysdeps/posix/signal.c: Provide ignorable definitions of
SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
systems.

Thu Jan  2 23:20:51 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* MakeTAGS ($P/siglist.pot): Delete rule.
(XGETTEXTFLAGS-siglist.pot): Remove definition.
(all-pot): Remove $P/siglist.pot.
* sysdeps/unix/siglist.c: Mark strings as translatable.
* sysdeps/unix/sysv/linux/siglist.h: Likewise.

Wed Jan  1 22:21:18 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* misc/syscall.h: New file.
* misc/sys/syscall.h: Removed.  Forwarding to <syscall.h> might
find user header, so do it the other way round.
* sysdeps/mach/sys/syscall.h: Moved here from parent directory.
* sysdeps/stub/sys/syscall.h: Likewise.
* sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise.
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update
dependency.
* sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of
<syscall.h>.

Tue Dec 31 00:03:18 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* features.h: Fix typo.

Thu Jan  2 00:46:09 1997  Ulrich Drepper  <drepper@cygnus.com>

* libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.

function.  This is the old signal.c file.
* sysdeps/posix/signal.c: Change to have semantic of X/Open.

28 years ago(*:GNU:*:*): The machine/subtype separator printed by uname -m is now `-', not... cvs/libc-970105
Miles Bader [Sun, 5 Jan 1997 03:44:26 +0000 (03:44 +0000)] 
(*:GNU:*:*):   The machine/subtype separator printed by uname -m is now `-', not '/'.

28 years agoOops, did inadvertent branch.
Karl Berry [Sat, 4 Jan 1997 19:24:13 +0000 (19:24 +0000)] 
Oops, did inadvertent branch.

28 years ago(M68*:*:R3V[567]*:*): Use uppercase 'M'. cvs/libc-970104
Richard Kenner [Fri, 3 Jan 1997 13:38:47 +0000 (13:38 +0000)] 
(M68*:*:R3V[567]*:*): Use uppercase 'M'.

28 years agoInstruction to abort any process cvs/libc-970103
Ulrich Drepper [Thu, 2 Jan 1997 18:38:59 +0000 (18:38 +0000)] 
Instruction to abort any process

28 years agoupdate from main archive 970101 cvs/libc-970102
Ulrich Drepper [Wed, 1 Jan 1997 15:28:18 +0000 (15:28 +0000)] 
update from main archive 970101

Wed Jan  1 15:15:00 1997  Ulrich Drepper  <drepper@cygnus.com>

* libio/Makefile (routines): Add fcloseall.
* libio/fcloseall.c: New file.
* libio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
* libio/iofclose.c: Don't close all streams when argument is NULL.

* stdio/Makefile (routines): Add fcloseall.
* stdio/fcloseall.c: New file.
* stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
* stdio/fclose.c: Don't close all streams when argument is NULL.

* manual/stdio.texi: Document fcloseall.

* sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
NULL argument.

* socket/sys/un.h (SUN_LEN): Add cast.

* sunrpc/auth_unix.c (authunix_create): Change parameter types
of uid, gid, and aup_gids to uid_t and gid_t respectively.
(authunix_create_default): Likewise.
(authunix_refresh): Correct cast for aup_gids assignment.
* sunrpc/rpc/auth.h (authunix_create): Correct types in declaration.
* sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field
types to uid_t and gid_t respectively.
(struct short_hand_verf): Likewise.
Reported by Andreas Schwab.

* sysdeps/ieee754/Makefile: New file.  Make sure ieee754.h gets
installed.
* sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
use in C++ programs.

* sysdeps/libm-i387/e_pow.S: New file.  Optimized ix87 assembler
version of pow() function.
* sysdeps/libm-i387/e_powf.S: New file.  Float version.
* sysdeps/libm-i387/e_powl.S: New file.  Long double version.

* sysdeps/libm-i387/s_expm1.S: New file.  Optimized ix87 assembler
version of expm1() function.
* sysdeps/libm-i387/s_expm1f.S: New file.  Float version.
* sysdeps/libm-i387/s_expm1l.S: New file.  Long double version.

* sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf.
Better handling of computation stack from current NetBSD sources.
* sysdeps/libm-i387/e_expf.S: Likewise.
* sysdeps/libm-i387/e_expl.S: Likewise.

* sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp.
* sysdeps/libm-i387/e_logf.S: Likewise.
* sysdeps/libm-i387/e_logl.S: Likewise.
* sysdeps/libm-i387/e_log10.S: Likewise.
* sysdeps/libm-i387/e_log10f.S: Likewise.
* sysdeps/libm-i387/e_log10l.S: Likewise.
* sysdeps/libm-i387/s_asinh.S: Likewise.
* sysdeps/libm-i387/s_asinhf.S: Likewise.
* sysdeps/libm-i387/s_asinhl.S: Likewise.
* sysdeps/libm-i387/s_significandl.S: Likewise.

* sysdeps/libm-i387/s_ceil.S: Don't create stack frame.  Modify
stack pointer directly.  Use 32 bit instead of 16 bit operations.
* sysdeps/libm-i387/s_ceilf.S: Likewise.
* sysdeps/libm-i387/s_ceill.S: Likewise.
* sysdeps/libm-i387/s_floor.S: Likewise.
* sysdeps/libm-i387/s_floorf.S: Likewise.
* sysdeps/libm-i387/s_floorl.S: Likewise.

* sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile.
* sysdeps/libm-ieee754/e_expf.c: Likewise.
* sysdeps/libm-ieee754/e_powf.c: Likewise.
From current NetBSD sources.

* sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize
`a' and `b' in definition.
* sysdeps/libm-ieee754/e_hypotf.c: Likewise.

* sysdeps/libm-ieee754/e_hypotl.c: New file.  Long double
implementation.
* sysdeps/libm-ieee754/e_sinhl.c: New file.  Long double
implementation.
* sysdeps/stub/e_hypotl.c: Removed.  We have a real version now.
* sysdeps/stub/e_sinhl.c: Removed.

* sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of
sigaddset.  Reported by Andreas Schwab.
(__default_sigpause): New function.  Call __sigpause as BSD version.
Make this the default function by providing alias sigpause.
* sysdeps/stub/sigpause.c (__default_sigpause): New funciton.
Simply fail.  Provide alias sigpause.

Wed Jan  1 12:34:54 1997  Ulrich Drepper  <drepper@cygnus.com>

* po/es.po: Update for glibc-1.98.
* po/fr.po: Likewise.
* po/sv.po: New file.  Swedish translation.

Wed Jan  1 12:18:07 1997   MacGyver  <macgyver@tos.net>

* values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
SHORT_MIN.

Tue Dec 24 23:10:21 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile: Replace `stubs.h' by `gnu/stubs.h'.
* features.h: Include <gnu/stubs.h> instead of <stubs.h>.

Tue Dec 24 22:16:55 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (subdirs): Move `elf' last so that librtld.so isn't
relinked in the `make others' pass if an add-on adds something to
libc.

Mon Dec 23 21:23:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/abort-instr.h: New File.

Mon Dec 23 21:16:38 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
to prevent warning.

Mon Dec 23 21:14:22 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* resolv/Makefile (subdirs-dirs): Define.

Mon Dec 23 20:56:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.

Mon Dec 30 11:05:11 1996  Ulrich Drepper  <drepper@cygnus.com>

Update from ADO tzcode1996o.
* time/difftime.c: De-ANSI-declfy.  Simplify computation of hibit
according to ADO version.
* time/zic.c: Correct typo is message.

Update from ADO tzdata1996n.
* time/asia: Updated.
* time/australasia: Likewise.
* time/europe: Likewise.
* time/northamerica: Likewise.
* time/southamerica: Likewise.

28 years agoHandle mips-unknown-linux-gnu cvs/libc-970101
Ian [Tue, 31 Dec 1996 20:54:33 +0000 (20:54 +0000)] 
Handle mips-unknown-linux-gnu

28 years agoRecognize mips-unknown-linux-gnu
Ian [Tue, 31 Dec 1996 20:51:53 +0000 (20:51 +0000)] 
Recognize mips-unknown-linux-gnu

28 years agoupdate from main archive 961229 cvs/libc-961230 cvs/libc-961231 cvs/libc20x-970306
Ulrich Drepper [Mon, 30 Dec 1996 01:47:46 +0000 (01:47 +0000)] 
update from main archive 961229

Mon Dec 30 01:32:59 1996  Ulrich Drepper  <drepper@cygnus.com>

* tme/localtime.c: Rewrite so that localtime_r does not call tzset,
but localtime does.

* features.h: Rename ANSI C to ISO C.
Mention __GLIBC__ and __GLIBC_MINOR__ macros.

* gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION.
* posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check
whether we can elide the code.
* posix/getopt1.c: Likewise.
* posix/Makefile: Correct copyright.

* elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
occurred.
* elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if
MAP_ANON is defined.
* elf/eval.c: Use __getline instead of getline.
* elf/rtld.c (dl_main): Check return value of _dl_new_object
function for NULL.
* sysdeps/generic/dl-cache.c: Update copyright.

* signal/Makefile: Correct copyright.
(routines): Remove gsignal and ssignal.  Add bsd_signal.
* signal/gsignal.c: Removed.  Now is made an alias.
* signal/ssignal.c: Likewise.
* sysdeps/posix/raise.c: Add alias gsignal.
* sysdeps/stub/raise.c: Likewise.
* sysdeps/posix/signal.c: Add alias ssignal.
* sysdeps/stub/signal.c: Likewise.
* signal/signal.h: Declare bsd_signal.  Define signal as bsd_signal
if __FAVOR_BSD.
* sysdeps/posix/bsd_signal.c: New file.  Implementation of XPG
function.

* sysdeps/unix/sysv/linux/signal.c: Add explanation.

* socket/sys/un.h: Define SUN_LEN according to POSIX.1g.

* stdio-common/Makefile (tests): Add scanf10.
* stdio-common/scanf10.c: New file.
* stdio-common/vfscanf.c: Decrement counter if EOF is read while
reading string.

* sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END.
* sysdeps/libm-i387/e_acosl.S: Likewise.
* sysdeps/libm-i387/e_asin.S: Likewise.
* sysdeps/libm-i387/e_asinl.S: Likewise.
* sysdeps/libm-i387/e_atan2.S: Likewise.
* sysdeps/libm-i387/e_atan2f.S: Likewise.
* sysdeps/libm-i387/e_atan2l.S: Likewise.
* sysdeps/libm-i387/e_exp.S: Likewise.
* sysdeps/libm-i387/e_expl.S: Likewise.
* sysdeps/libm-i387/e_fmod.S: Likewise.
* sysdeps/libm-i387/e_fmodl.S: Likewise.
* sysdeps/libm-i387/e_log.S: Likewise.
* sysdeps/libm-i387/e_log10.S: Likewise.
* sysdeps/libm-i387/e_log10l.S: Likewise.
* sysdeps/libm-i387/e_logl.S: Likewise.
* sysdeps/libm-i387/e_remainder.S: Likewise.
* sysdeps/libm-i387/e_remainderf.S: Likewise.
* sysdeps/libm-i387/e_remainderl.S: Likewise.
* sysdeps/libm-i387/e_scalb.S: Likewise.
* sysdeps/libm-i387/e_scalbl.S: Likewise.
* sysdeps/libm-i387/e_sqrt.S: Likewise.
* sysdeps/libm-i387/e_sqrtf.S: Likewise.
* sysdeps/libm-i387/e_sqrtl.S: Likewise.
* sysdeps/libm-i387/s_atan.S: Likewise.
* sysdeps/libm-i387/s_atanf.S: Likewise.
* sysdeps/libm-i387/s_atanl.S: Likewise.
* sysdeps/libm-i387/s_ceil.S: Likewise.
* sysdeps/libm-i387/s_ceilf.S: Likewise.
* sysdeps/libm-i387/s_ceill.S: Likewise.
* sysdeps/libm-i387/s_copysign.S: Likewise.
* sysdeps/libm-i387/s_copysignf.S: Likewise.
* sysdeps/libm-i387/s_copysignl.S: Likewise.
* sysdeps/libm-i387/s_cos.S: Likewise.
* sysdeps/libm-i387/s_cosf.S: Likewise.
* sysdeps/libm-i387/s_cosl.S: Likewise.
* sysdeps/libm-i387/s_finite.S: Likewise.
* sysdeps/libm-i387/s_finitef.S: Likewise.
* sysdeps/libm-i387/s_finitel.S: Likewise.
* sysdeps/libm-i387/s_floor.S: Likewise.
* sysdeps/libm-i387/s_floorf.S: Likewise.
* sysdeps/libm-i387/s_floorl.S: Likewise.
* sysdeps/libm-i387/s_ilogb.S: Likewise.
* sysdeps/libm-i387/s_ilogbf.S: Likewise.
* sysdeps/libm-i387/s_ilogbl.S: Likewise.
* sysdeps/libm-i387/s_log1p.S: Likewise.
* sysdeps/libm-i387/s_log1pf.S: Likewise.
* sysdeps/libm-i387/s_log1pl.S: Likewise.
* sysdeps/libm-i387/s_logb.S: Likewise.
* sysdeps/libm-i387/s_logbf.S: Likewise.
* sysdeps/libm-i387/s_logbl.S: Likewise.
* sysdeps/libm-i387/s_rint.S: Likewise.
* sysdeps/libm-i387/s_rintf.S: Likewise.
* sysdeps/libm-i387/s_rintl.S: Likewise.
* sysdeps/libm-i387/s_scalbn.S: Likewise.
* sysdeps/libm-i387/s_scalbnf.S: Likewise.
* sysdeps/libm-i387/s_scalbnl.S: Likewise.
* sysdeps/libm-i387/s_significand.S: Likewise.
* sysdeps/libm-i387/s_significandf.S: Likewise.
* sysdeps/libm-i387/s_significandl.S: Likewise.
* sysdeps/libm-i387/s_sin.S: Likewise.
* sysdeps/libm-i387/s_sinf.S: Likewise.
* sysdeps/libm-i387/s_sinl.S: Likewise.

* sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values
near 1 to increase precision.
* sysdeps/libm-i387/e_log10.S: Likewise.
* sysdeps/libm-i387/e_log10l.S: Likewise.
* sysdeps/libm-i387/e_logl.S: Likewise.

* sysdeps/libm-i387/s_cos.S: Use testl instead of andw.
* sysdeps/libm-i387/s_cosl.S: Likewise.
* sysdeps/libm-i387/s_sin.S: Likewise.
* sysdeps/libm-i387/s_sinl.S: Likewise.
* sysdeps/libm-i387/s_tan.S: Likewise.
* sysdeps/libm-i387/s_tanl.S: Likewise.

* sysdeps/libm-i387/e_acosf.S: New file.  Add float versions.
* sysdeps/libm-i387/e_asinf.S: Likewise.
* sysdeps/libm-i387/e_expf.S: Likewise.
* sysdeps/libm-i387/e_fmodf.S: Likewise.
* sysdeps/libm-i387/e_log10f.S: Likewise.
* sysdeps/libm-i387/e_logf.S: Likewise.
* sysdeps/libm-i387/e_scalbf.S: Likewise.

* sysdeps/libm-i387/e_acosh.S: New file.  Highly optimized versions.
* sysdeps/libm-i387/e_acoshf.S: Likewise.
* sysdeps/libm-i387/e_acoshl.S: Likewise.
* sysdeps/libm-i387/e_atanh.S: Likewise.
* sysdeps/libm-i387/e_atanhf.S: Likewise.
* sysdeps/libm-i387/e_atanhl.S: Likewise.
* sysdeps/libm-i387/e_asinh.S: Likewise.
* sysdeps/libm-i387/e_asinhf.S: Likewise.
* sysdeps/libm-i387/e_asinhl.S: Likewise.

* sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit.  Use lower levels
for simplified handling.

* sysdeps/unix/sysv/linux/syscalls.list: Add query_module.

Sun Dec 22 01:39:29 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* inet/rcmd.c (rcmd): Set h_errno before calling herror.
* inet/rexec.c (rexec): Likewise.

Sat Dec 21 21:47:08 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
compatible.

Sun Dec 22 03:23:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range
-0.29 <= x <= 0.29, otherwise the old method.
* sysdeps/libm-i387/s_log1pf.S: Likewise.
* sysdeps/libm-i387/s_log1pl.S: Likewise.

28 years agoupdate from main archive 961220 cvs/libc-961222 cvs/libc-961223 cvs/libc-961224 cvs/libc-961225 cvs/libc-961226 cvs/libc-961227 cvs/libc-961228 cvs/libc-961229
Ulrich Drepper [Sun, 22 Dec 1996 00:32:43 +0000 (00:32 +0000)] 
update from main archive 961220

Sun Dec 22 00:01:27 1996  Ulrich Drepper  <drepper@cygnus.com>

* inet/getnetgrent.c: Reformat copyright.

* inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment.
(__internal_getnetgrent): Rename to __internal_getnetgrent_r as
required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996.
Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.

* nss/nss_files/files-netgrp.c: Fix typo.
* login/utmp_db.c: Comment out unused variables.
* misc/tst-dirname.c: Provide prototype for main (for now).
* new-malloc/mcheck-init.c: Include <mcheck.h>.
* new-malloc/obstack.c: Provide real prototypes.

* resolv/base64.c (b64_ntop): Use size_t as type of `i', not int.
(b64_pton): Likewise for `tarindex'.
* resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning.

* stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning.
* stdio-common/printf-parse.h: Remove definition of MIN and MAX.
* stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX.
* stdio-common/vfprintf.c: Likewise.
* stdlib/gmp-impl.h: Only define MIN and MAX if not already done.
* stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value.

* sysdeps/generic/Makefile ($(subdir)=string): Define
CFLAGS-wordcopy.c to prevent warning.
* sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline.
* sysdeps/generic/wordcopy.c: De-ANSI-declfy.
* sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
to prevent warning.
* sysdeps/i386/dl-machine.h: Correct copyright.
* sysdeps/unix/closedir.c: Likewise.
* sysdeps/unix/dirstream.h: Likewise.
* sysdeps/unix/opendir.c: Likewise.
* time/tzset.c: Add prototype for __tzset_internal.

* sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the
way it is supposed to work is not yet known.
(struct utmp): Remove ut_login and ut_syslen field for now.

Sat Dec 21 16:23:54 1996  Ulrich Drepper  <drepper@cygnus.com>

* time/strftime.c: Fix another bug in handling flags made it
impossible to use the `-', `_', or `0' flag.

28 years agoupdate from main archive 961220 cvs/libc-961221
Ulrich Drepper [Sat, 21 Dec 1996 04:13:58 +0000 (04:13 +0000)] 
update from main archive 961220

Sat Dec 21 04:14:16 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/common/pause.c: Add missing second argument in
call to __sigpause.
Reported by a sun <asun@zoology.washington.edu>.

* locale/weight.h: Correct handling of collation elements.
Reported by Keld Simonsen <keld@dkuug.dk>.

* manual/time.texi: Document ^ flag and %P format.

* new-malloc/malloc.c: Update from Wolfram Gloger.

* nss/nss.h: Reformat copyright.
* posix/sched.h: Likewise.
* sysdeps/i386/fpu_control.h: Likewise.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
* sysvips/sys/msg.h: Likewise.

* stdio-common/Makefile (routines): Remove fcloseall.
* stdio-common/fcloseall.c: Removed.

* stdlib/Makefile (distribute): Add abort-instr.h.
* sysdeps/generic/abort-instr.h: New file.
* sysdeps/i386/abort-instr.h: New file.
* sysdeps/generic/abort.c: Use lock and stage counter to prevent
any form of loop.

* sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
* sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
as 1000000.  Define CLK_TCK as 1024.
* time/time.c (CLK_TCK): Define only if not already set.

* time/strftime.c: Don't use `isdigit' when computing field width
from string since the locale might have more than one digit
block.

Fri Dec 20 12:38:14 1996  Darrel Hankerson  <hankedr@mail.auburn.edu>

* posix/getopt.c (in -W option handling): Return when optind == argc.

Thu Dec 19 14:24:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
type of KEY.

* nis/nss_compat/compat-grp.c: Include the declaration of the file
parser.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.

* nis/nss_compat/compat-grp.c (getgrent_next_nis,
  getgrent_next_file): Pass the correct type for the buffer to the
  parser function.
* nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
getpwent_next_nis, getpwent_next_file): Likewise.
* nis/nss_compat/compat-spwd.c (getspent_next_netgr,
getspent_next_nis, getspent_next_file): Likewise.
* nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
_nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
* nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
_nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
* nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
* nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
_nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
* nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
_nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
* nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
_nss_nis_getrpcbynumber_r): Likewise.
* nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
_nss_nis_getspnam_r): Likewise.

Thu Dec 19 13:37:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.

28 years agoUpdate from main archive 961219 cvs/libc-961220
Ulrich Drepper [Fri, 20 Dec 1996 01:39:50 +0000 (01:39 +0000)] 
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.

28 years agoupdate from main archive 961217 cvs/libc-961218 cvs/libc-961219
Ulrich Drepper [Wed, 18 Dec 1996 03:23:47 +0000 (03:23 +0000)] 
update from main archive 961217

Wed Dec 18 03:31:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* dirent/scandir.c: Undo change from Mon Dec  2 15:32:15 1996.
The stream is private and usages outside glibc don't care about
reentrancy.
* io/fts.c: Likewise.
* io/ftw.c: Likewise.
* sysdeps/posix/getcwd.c: Likewise.
* sysdeps/posix/ttyname.c: Likewise.
* sysdeps/posix/ttyname_r.c: Likewise.
* sysdeps/posix/glob.c: Likewise.

* libio/iovsprintf.c: Add cast to prevent warning.
* libio/iovsscanf.c: Likewise.

* libio/libioP.h: Define mmap to __mmap and munmap to __munmap
to keep namespace clean.

* new-malloc/malloc.c: Update to last version from Wolfram Gloger.
Add hooks and check functions from old GNU malloc.
* new-malloc/malloc.h: Likewise.

* nis/ypclnt.c: Remove prototype for xdr_free.
* snrpc/rpc/xdr.h: Add prototype for xdr_free.

* manual/nss.texi: Correct description of default values and don't
meantion NSS as an add-on.

* nss/grp-lookup.c: Provide default value as
"compat [NOTFOUND=return] files".
* nss/pwd-lookup.c: Likewise.
* nss/spwd-lookup.c: Likewise.
* nss/network-lookup.c: Correct default to
"dns [!UNAVAIL=return] files".
* nss/nsswitch.c: Change default-default value to "nis
[NOTFOUND=return] files" since compat is only available for group,
passwd, and shadow.

* stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
a weak alias.
* stdlib/stdlib.h: Add prototype for __on_exit.

* sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.

* time/Makefile: Undo change from Sun Dec  8 06:56:49 1996.
The new malloc now has mcheck.
* time/ap.c: Likewise.

* time/tzset.c (__tzset): Rename to __tzset_internal.
(tzset): Rename to __tzset.  Make tzset a weak alias for __tzset.
* time/localtime.c: Use __tzset_internal not __tzset.
* time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
as __tzset to prevent namespace pollution.

* wctype/iswctype.h (icwctype): Rename to __iswctype.  Make iswctype
a weak alias of __iswctype.
* wctype/wctype.h: Add prototype for __iswctype.
(iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
Use __iswctype for the test, not iswctype.

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

* hurd/hurd/sigpreempt.h
(struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
hurd/hurdsig.c (_hurdsig_preempters):
Renamed to fix spelling from `preempter' to `preemptor'.
All uses changed.

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

* ctime.c (ctime): Return asctime (localtime (t)), as the C
standard requires.

Tue Dec 17 02:05:48 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
value because Mach/cthreads uses the opposite convention from
Posix/glibc.

Mon Dec 16 22:41:01 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/fcloseall.c: Correct test of already_called.
Reported by Thomas Bushnell, n/BSG.

Mon Dec 16 14:52:07 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* mach/lock-intern.h (__mutex_try_lock): New function.

Sun Dec 15 16:33:44 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
defined, else XTABS.
(CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.

Sun Dec 15 11:56:19 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
* sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
* sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.

28 years agoSpelling fix. cvs/libc-961217
Paul Eggert [Tue, 17 Dec 1996 06:25:17 +0000 (06:25 +0000)] 
Spelling fix.