platform/upstream/glibc.git
25 years agoUpdate.
Ulrich Drepper [Wed, 6 Oct 1999 18:22:29 +0000 (18:22 +0000)]
Update.

1999-10-06  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.

1999-10-05  Andreas Jaeger  <aj@suse.de>

* locale/programs/ld-identification.c: Fix typo in comment.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.

* locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
(collate_read): Remove unnecessary comparisons with ignore_content.

* locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
assigned elements.
(ctype_read): Remove unnecessary comparisons with ignore_content.
Fix typos in comments.

* locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
comparisons with ignore_content.

* po/cs.po: Update.

25 years agoUpdate.
Ulrich Drepper [Wed, 6 Oct 1999 03:46:48 +0000 (03:46 +0000)]
Update.

1999-10-05  Ulrich Drepper  <drepper@cygnus.com>

* time/time.h: Move __gmtime_r declaration to ...
* include/time.h: ...here.

25 years agoMove __gmtime_r declaration to include/time.h.
Ulrich Drepper [Wed, 6 Oct 1999 03:42:11 +0000 (03:42 +0000)]
Move __gmtime_r declaration to include/time.h.

25 years ago1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 5 Oct 1999 18:31:06 +0000 (18:31 +0000)]
1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>

* mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
_GNU_SOURCE be defined.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 15:26:17 +0000 (15:26 +0000)]
Update.

1999-10-05  Andreas Jaeger  <aj@suse.de>

* manual/message.texi (The message catalog files): Fix description
to match gencat implementation and Unix98: Message fields are
separated by a single blank space.

1999-10-05  Andreas Jaeger  <aj@suse.de>

* manual/string.texi (Search Functions): Add missing end for
memrchr description.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 06:32:59 +0000 (06:32 +0000)]
Update.

* malloc/memprof.sh: Various small cleanups.  Add short options.
Write error messages to stderr.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 05:32:24 +0000 (05:32 +0000)]
Update.

* malloc/Makefile ($(objpfx)memprof): Fix typo in rule.

* malloc/memprof.sh: Take options to control memprofstat.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 01:55:45 +0000 (01:55 +0000)]
Update.

1999-10-04  Ulrich Drepper  <drepper@cygnus.com>

* malloc/Makefile: Add rule to generate memprof script.
* malloc/memprof.sh: New file.

* elf/ldd.bash.in: Add "Usage: " in help message to comply with
GNU standard.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 00:55:18 +0000 (00:55 +0000)]
Update.

1999-10-04  Andreas Jaeger  <aj@suse.de>

* configure.in: Allow makeinfo 4.*.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 00:48:12 +0000 (00:48 +0000)]
Update.

* stdio-common/Makefile (tests): Add bug13.
* stdio-common/bug13.c: New file.

25 years agoUpdate.
Ulrich Drepper [Tue, 5 Oct 1999 00:36:41 +0000 (00:36 +0000)]
Update.

* stdio-common/vfprintf.c: Correct last patch and use outchar
instead of PUTC to output single characters.

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 23:15:01 +0000 (23:15 +0000)]
Update.

* configure.in: Add additional options --with-gd-include and
--with-gd-lib to help people with strange installations.

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 22:59:43 +0000 (22:59 +0000)]
Update.

1999-10-04  Ulrich Drepper  <drepper@cygnus.com>

* malloc/Makefile: Add libdl dependency to libmemprof.so.
* malloc/Depend: New file.

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 07:34:53 +0000 (07:34 +0000)]
Update.

1999-10-04  Andreas Jaeger  <aj@suse.de>

* timezone/README: Change wording to not mention the current
version.  This way we can't forget to update the file.

1999-10-04  Andreas Jaeger  <aj@suse.de>
* manual/time.texi (Basic CPU Time): Fix typo.
Reported by Ben Pfaff <pfaffben@msu.edu>.

1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
* string/string.h: Move __memrchr declaration to ...
* include/string.h: ...here.

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 07:30:05 +0000 (07:30 +0000)]
Update.

1999-10-04  Ulrich Drepper  <drepper@cygnus.com>

* include/string.h: Add __memrchr declaration.

* string/string.h: Moce __memrchr declaration to include/string.h.

1999-10-03  Ulrich Drepper  <drepper@cygnus.com>

* string/Makefile (routines): Add memrchr.

* sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
Correct order of tests for matching bytes.

* string/tester.c: Add tests for memrchr.

* sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
Start from the last character and take decrement not increment
into account for correction in return line.  Add memrchr alias.
* sysdeps/i386/bits/string.h: Likewise.

25 years ago(routines): Add memrchr.
Ulrich Drepper [Mon, 4 Oct 1999 06:40:34 +0000 (06:40 +0000)]
(routines): Add memrchr.

25 years ago1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 4 Oct 1999 06:24:20 +0000 (06:24 +0000)]
1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>

* stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.

25 years ago1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 4 Oct 1999 06:24:10 +0000 (06:24 +0000)]
1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>

* stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.

25 years agoDon't undef memchr.
Ulrich Drepper [Mon, 4 Oct 1999 06:22:23 +0000 (06:22 +0000)]
Don't undef memchr.

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 06:16:19 +0000 (06:16 +0000)]
Update.

1999-10-03  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/i486/bits/string.h (__memrchr): New function.

* sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
conventions.

* string/Versions: Export memrchr.

25 years agoExport memrchr.
Ulrich Drepper [Mon, 4 Oct 1999 06:07:05 +0000 (06:07 +0000)]
Export memrchr.

25 years ago* misc/Versions (GLIBC_2.2): Add getloadavg.
Roland McGrath [Mon, 4 Oct 1999 05:30:05 +0000 (05:30 +0000)]
* misc/Versions (GLIBC_2.2): Add getloadavg.

25 years ago* misc/Makefile (routines): Add getloadavg.
Roland McGrath [Mon, 4 Oct 1999 05:28:33 +0000 (05:28 +0000)]
* misc/Makefile (routines): Add getloadavg.

* sysdeps/generic/getloadavg.c: New file.
* sysdeps/mach/getloadavg.c: New file.
* sysdeps/unix/sysv/linux/getloadavg.c: New file.

25 years ago1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 4 Oct 1999 05:14:14 +0000 (05:14 +0000)]
1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
* sysdeps/i386/bits/string.h (__memrchr): New function.
* string/string.h: Declare memrchr, __memrchr.
* manual/string.texi (Search Functions): Document memrchr.

25 years ago1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 4 Oct 1999 05:13:05 +0000 (05:13 +0000)]
1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
* sysdeps/i386/bits/string.h (__memrchr): New function.
* string/string.h: Declare memrchr, __memrchr.
* manual/string.texi (Search Functions): Document memrchr.

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 04:37:58 +0000 (04:37 +0000)]
Update.

1999-10-03  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
CFLAGS-memprofstat.c, and LIBGD variables.
* config.make.in: Add LIBGD.
* malloc/Makefile: Add rules to generate libmemprof.so and
memprofstat.
* malloc/memprof.c: New file.
* malloc/memprofstat.c: New file.

25 years agoUpdate.
Ulrich Drepper [Sun, 3 Oct 1999 00:14:09 +0000 (00:14 +0000)]
Update.

* resolv/nsap_addr.c (inet_nsap_addr): Little optimization.

* resolv/inet_ntop.c (inet_ntop4): Little optimization.
(inet_ntop6): Likewise.

25 years agoUpdate.
Ulrich Drepper [Sat, 2 Oct 1999 20:41:15 +0000 (20:41 +0000)]
Update.

* resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
overruns.

25 years agoUpdate.
Ulrich Drepper [Sat, 2 Oct 1999 16:34:45 +0000 (16:34 +0000)]
Update.

1999-10-02  Ulrich Drepper  <drepper@cygnus.com>

* resolv/tst-aton.c (main): Add more tests.

* resolv/inet_addr.c (inet_aton): Correct some problems with to
large numbers.  Optimize a bit.

25 years agoUpdate.
Ulrich Drepper [Sat, 2 Oct 1999 07:09:48 +0000 (07:09 +0000)]
Update.

* resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
account for added '0'.

25 years agoUpdate.
Ulrich Drepper [Fri, 1 Oct 1999 21:42:39 +0000 (21:42 +0000)]
Update.

1999-10-01  Ulrich Drepper  <drepper@cygnus.com>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
len argument to be greater than needed address size.

25 years agoUpdate.
Ulrich Drepper [Fri, 1 Oct 1999 16:09:12 +0000 (16:09 +0000)]
Update.

1999-10-01  Andreas Jaeger  <aj@suse.de>

* locale/programs/ld-collate.c (insert_value): Add cast to avoid
warning.
* intl/finddomain.c (_nl_find_domain): Likewise.

1999-09-30  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.

1999-09-30  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
PR libc/1339.

1999-09-30  Andreas Jaeger  <aj@suse.de>

* manual/examples/pipe.c: Close other end of pipe to make example work.

1999-10-01  Ulrich Drepper  <drepper@cygnus.com>

* timezone/checktab.awk: Update from tzcode1999g.
* timezone/tzselect.ksh: Likewise.
* timezone/africa: Update from tzdata1999g.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/zone.tab: Likewise.

been renamed to getipnodebyname.  Move flags around.

25 years agoUpdate.
Ulrich Drepper [Tue, 28 Sep 1999 04:54:04 +0000 (04:54 +0000)]
Update.

1999-09-27  Andreas Jaeger  <aj@suse.de>

* resolv/netdb.h: Remove declaration of getnodebyname.  It has
  been renamed to getipnodebyname.  Move flags around.

1999-09-27  Andreas Schwab  <schwab@suse.de>

* manual/message.texi (Locating gettext catalog): Fix typos.

1999-09-27  Andreas Jaeger  <aj@suse.de>

* manual/socket.texi (Out-of-Band Data): Correct example program,
rename some variables for clarity.
Reported by James Antill <james@and.org>, close PR libc/1329.

25 years agoUpdate.
Ulrich Drepper [Mon, 27 Sep 1999 16:47:01 +0000 (16:47 +0000)]
Update.

* locale/programs/ld-collate.c (insert_value): Add hack to not
crash in incomplete collate implementation.

25 years agoUpdate.
Ulrich Drepper [Mon, 27 Sep 1999 07:12:38 +0000 (07:12 +0000)]
Update.

1999-09-27  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (read_directions): Read new token
after accepting sorting rule.

25 years agoUpdate.
Ulrich Drepper [Mon, 27 Sep 1999 07:02:38 +0000 (07:02 +0000)]
Update.

1999-09-26  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
error message printing.  Correctly test whether all characters of
current token are used.
(ctype_read): NUL terminate last_str.

25 years agoUpdate.
Ulrich Drepper [Mon, 27 Sep 1999 00:22:04 +0000 (00:22 +0000)]
Update.

1999-09-26  Thorsten Kukuk  <kukuk@suse.de>

* nscd/connections.c: Invalidate caches on request.
* nscd/nscd-client.h: Add INVALIDATE to request_type.
* nscd/nscd.c: Add invalidate cache option.
* nscd/nscd.conf: Change log directory to /var/log (FHS).

25 years agoUpdate.
Ulrich Drepper [Sat, 25 Sep 1999 17:52:31 +0000 (17:52 +0000)]
Update.

(__linuxthreads_pthread_key_2ndlevel_size): New variable.

25 years agoUpdate.
Ulrich Drepper [Sat, 25 Sep 1999 17:11:06 +0000 (17:11 +0000)]
Update.

* manager.c (__linuxthreads_pthread_threads_max): New variable.
* specific.c (__linuxthreads_pthread_keys_max): New variable.

1999-09-23  Ulrich Drepper  <drepper@cygnus.com>

* specific.c: Move definitions of struct pthread_key_struct and
destr_function to ...
* internals.h: ...here.

25 years agoUpdate.
Ulrich Drepper [Sat, 25 Sep 1999 07:09:36 +0000 (07:09 +0000)]
Update.

1999-09-24  Ulrich Drepper  <drepper@cygnus.com>

* nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
not ovverwrite last group member with NULL pointer.
Reported by Thomas Winder <thomas.winder@newlogic.at>.

25 years agoUpdate.
Ulrich Drepper [Sat, 25 Sep 1999 06:37:46 +0000 (06:37 +0000)]
Update.

1999-09-24  Andreas Jaeger  <aj@suse.de>

* stdio-common/tst-printf.c (main): Add a testcase for large
precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.

1999-09-24  Andreas Schwab  <schwab@suse.de>

* math/bits/mathcalls.h: Fix last change.  Also declare __finite.

1999-09-24  Andreas Jaeger  <aj@suse.de>

* intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.

1999-09-23  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
variable.  Define MORECORE_CLEARS to 2.

* malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
doesn't clear the contents of memory that is reallocated after
decrementing the break value first.  Update comment about
MORECORE_CLEARS, explaining the meaning of the values it can be
set to.

25 years agoUpdate.
Ulrich Drepper [Thu, 23 Sep 1999 20:06:05 +0000 (20:06 +0000)]
Update.

* sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
(log): Likewise.
(log10): Likewise.
(log1p): Likewise.
(log2): Likewise.

25 years agoUpdate.
Ulrich Drepper [Thu, 23 Sep 1999 19:45:14 +0000 (19:45 +0000)]
Update.

1999-09-23  Ulrich Drepper  <drepper@cygnus.com>

* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
one more case.

25 years agoUpdate.
Ulrich Drepper [Wed, 22 Sep 1999 16:03:46 +0000 (16:03 +0000)]
Update.

1999-09-22  Andreas Jaeger  <aj@suse.de>

* stdio-common/tstscanf.c (main): Add test case from PR libc/1313
reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.

1999-09-22  Andreas Schwab  <schwab@suse.de>

* stdio-common/vfscanf.c: Fix width handling when scanning floats.

1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/Makefile (CFLAGS-multiload.c): Change to allow building in
the source directory.  Fixes PR libc/1059.

25 years agoUpdate.
Ulrich Drepper [Tue, 21 Sep 1999 15:43:20 +0000 (15:43 +0000)]
Update.

1999-09-21  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/repertoire.c (repertoire_find_value): Abort if
rep parameter is NULL.
(repertoire_find_symbol): Likewise.
(repertoire_find_seq): Likewise.

25 years agoUpdate.
Ulrich Drepper [Tue, 21 Sep 1999 06:05:07 +0000 (06:05 +0000)]
Update.

1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>

* nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
returned errno value in some cases.

1999-080-25  H.J. Lu  <hjl@gnu.org>

25 years agoUpdate.
Ulrich Drepper [Mon, 20 Sep 1999 05:31:56 +0000 (05:31 +0000)]
Update.

* iconvdata/Makefile (modules): Add GBK.
(distribute): Add gbk.c.
* iconvdata/gbk.c: New file.
* iconvdata/gconv-modules: Add GBK entry.
Contributed by Sean Chen <sean.chen@turbolinux.com>.

25 years agoUpdate.
Ulrich Drepper [Mon, 20 Sep 1999 05:22:07 +0000 (05:22 +0000)]
Update.

* locale/programs/ld-monetary.c (monetary_output): Remove
byte-order code.

* locale/programs/ld-time.c (time_output): Correct expected number
of iov entries.

25 years agoUpdate.
Ulrich Drepper [Mon, 20 Sep 1999 04:59:24 +0000 (04:59 +0000)]
Update.

* manual/filesys.texi (Testing File Access): Correct description of
SUID.

1999-08025  H.J. Lu  <hjl@gnu.org>

* csu/defs.awk (.end): Only match with leading white spaces.
(.align): Likewise.

1999-09-19  Ulrich Drepper  <drepper@cygnus.com>

25 years agoUpdate.
Ulrich Drepper [Mon, 20 Sep 1999 03:24:36 +0000 (03:24 +0000)]
Update.

* stdlib/isomac.c: Add va_copy to allowed macros.

25 years agoUpdate.
Ulrich Drepper [Mon, 20 Sep 1999 02:18:14 +0000 (02:18 +0000)]
Update.

1999-09-19  Ulrich Drepper  <drepper@cygnus.com>

* po/pl.po: Updated.

1999-09-17  Andreas Schwab  <schwab@suse.de>

* Makefile (clean): Also remove $(postclean) files.

1999-09-15  Andreas Jaeger  <aj@suse.de>

* pwd/Makefile (otherlibs): Add for building with static-nss.
* inet/Makefile (otherlibs): Likewise.

1999-09-15  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
function definition to avoid a compilation failure.

1999-09-15  Andreas Jaeger  <aj@suse.de>

* stdlib/tst-environ.c (main): Add getenv regression test for
environment variable that's one character long.

1999-09-15  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
signal definitions to let glibc compile with older Linux versions
(2.0.10 to 2.1.100 or so).

25 years agoProtect real time signal definitions to let glibc compile with older Linux versions...
Ulrich Drepper [Mon, 20 Sep 1999 01:22:07 +0000 (01:22 +0000)]
Protect real time signal definitions to let glibc compile with older Linux versions (2.0.10 to 2.1.100 or so).

25 years ago1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 19 Sep 1999 20:46:22 +0000 (20:46 +0000)]
1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
return zero to indicate no children died yet (assuming WNOHANG).

* sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.

1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.

* sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
Return _hurd_pgrp instead of 0.

25 years ago* sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
Roland McGrath [Sun, 19 Sep 1999 20:40:43 +0000 (20:40 +0000)]
* sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate

pages rather than just reprotecting them.  This way we don't hold on
to the backing space.

25 years ago1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 19 Sep 1999 05:42:21 +0000 (05:42 +0000)]
1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
Use __munmap instead of __vm_deallocate.

(_hurd_priority_which_map):

25 years ago1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 19 Sep 1999 05:42:05 +0000 (05:42 +0000)]
1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
Use __munmap instead of __vm_deallocate.

25 years agoUpdate.
Ulrich Drepper [Sun, 19 Sep 1999 01:39:45 +0000 (01:39 +0000)]
Update.

1999-09-18  Ulrich Drepper  <drepper@cygnus.com>

* nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
returned errno value in some cases.

struct user_fp.  These were added in version 2.2.12 of the

25 years agoUpdate.
Ulrich Drepper [Sat, 18 Sep 1999 23:21:25 +0000 (23:21 +0000)]
Update.

1999-09-18  Ulrich Drepper  <drepper@cygnus.com>

* pthread.c (pthread_handle_sigrestart_rt): New function.  Use
this instead of pthread_handle_sigrestart if the signal is an RT
signal.

* signals.c: Handle passing through of sighandler arguments also
for real-time signals.

25 years agoUpdate.
Ulrich Drepper [Fri, 17 Sep 1999 16:59:43 +0000 (16:59 +0000)]
Update.

1999-09-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
to override user settings.

1999-09-17  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
using a pointer to it.

25 years agoUpdate.
Ulrich Drepper [Thu, 16 Sep 1999 22:50:20 +0000 (22:50 +0000)]
Update.

1999-09-16  Ulrich Drepper  <drepper@cygnus.com>

* time/getdate.c (__getdate_r): Pass correct year to check_mday.
Reported by Vern Staats <staatsvr@asc.hpc.mil>.

25 years agoUpdate.
Ulrich Drepper [Tue, 14 Sep 1999 21:06:18 +0000 (21:06 +0000)]
Update.

(EM_VAX): New definition.

25 years agoUpdate.
Ulrich Drepper [Tue, 14 Sep 1999 20:44:35 +0000 (20:44 +0000)]
Update.

* db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.

25 years agoUpdate.
Ulrich Drepper [Tue, 14 Sep 1999 19:58:04 +0000 (19:58 +0000)]
Update.

1999-09-14  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h (PF_MASKOS): New definition.

25 years agoUpdate.
Ulrich Drepper [Tue, 14 Sep 1999 01:44:32 +0000 (01:44 +0000)]
Update.

1999-08-09  Scott Bambrough  <scottb@netwinder.org>

* sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
'unsigned char ftype[8]', and 'unsigned int init_flag' to
struct user_fp.  Tnese were added in version 2.2.12 of the
ARM Linux kernel.
* sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
The generic procfs.h included <asm/elf.h>.  This causes
structure redefinition errors when <sys/user.h> and <sys/procfs.h>
are included in the same source file.  Found when building GDB.

25 years agoUpdate.
Ulrich Drepper [Mon, 13 Sep 1999 09:07:36 +0000 (09:07 +0000)]
Update.

1999-09-13  Ulrich Drepper  <drepper@cygnus.com>

* locale/langinfo.h: Remove byte-order dependent names.
* locale/categories.def: Update after removal of byte-order dependent
names.
* locale/loadlocale.c (_nl_load_locale): Don't allow locale files
with magic number in other byte order.
* locale/newlocale.c (__newlocale): Remove byte-order dependent code.
* locale/C-collate.c: Remove initializers for other byte-order.
* locale/C-ctype.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/lc-collate.c: Remove byte-order oriented initialization.
* locale/lc-ctype.c: Likewise.
* locale/lc-monetary.c: Likewise.
* locale/lc-time.c: Likewise.
* locale/programs/ld-address.c: Don't generate output in both
byte-orders.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* time/strftime.c (NLW): Don't use different byte-orders.
* wctype/cname-lookup.h (cname_lookup): Likewise.

* Makeconfig (localedir): Define using libdir, not datadir.
(msgcatdir): New variable.
* catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
* elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
msgcatdir.
* intl/Makefile (install-others): Install locale.alias in msgcatdir.
(CPPFLAGS): Define paths using msgcatdir.
* locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
* po/Makefile (mo-installed): Define using msgcatdir.

* sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.

25 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 1999 21:23:32 +0000 (21:23 +0000)]
Update.

* stdio-common/vfprintf.c: Remove limitation on size of precision
for integers.

25 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 1999 19:34:34 +0000 (19:34 +0000)]
Update.

* posix/fnmatch.c (internal_fnmatch): Make it compilable outside
glibc by defining internal_function if it isn't already.

25 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 1999 19:24:42 +0000 (19:24 +0000)]
Update.

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
fails don't rely on errno value.
(getanswer_r): Set *ERRNOP in error cases.

* sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
(gaih_inet_serv): Return EIA_NODATA if name is known but has no
associated data.  Test for matching numeric address and family.
(getaddrinfo): Remember EAI_NODATA result and return this in case
everything fails.
Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.

25 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 1999 08:30:57 +0000 (08:30 +0000)]
Update.

* locale/programs/locales.h: Removed.

25 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 1999 08:28:56 +0000 (08:28 +0000)]
Update.

1999-09-12  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-address.c: Fix handling of non-existing
definitions for this category.  Correctly ignore content of this
category is this is necessary.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile.h (handle_copy): Take extra parameter
with result pointer.  Fill in name of locale from which to copy.
Correctly read token after `END'.

* locale/programs/localedef.c (main): Correct handling copy.
(add_to_readlist): Take extra parameter which says whether we
are supposed to read the file or not.
(find_locale): Call add_to_readlist with extra parameter set to 0.

* locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
instead of wrong number in array definitions.
(add_to_readlist): Update prototype.

* locale/programs/locfile.c (locfile_read): Mark categories not
available in source file as read.
(write_all_categories): Fix typo.

25 years agoUpdate.
Ulrich Drepper [Sat, 11 Sep 1999 02:23:08 +0000 (02:23 +0000)]
Update.

* elf/elf.h (SHF_MASKOS): Added.

25 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 1999 20:00:21 +0000 (20:00 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.

1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/install.texi (Configuring and compiling): Mention GCC 2.95.

1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* configure.in: Fix make version test for make 3.77.95 and later
versions.
Based on a patch by Paul D. Smith <psmith@baynetworks.com>.

1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

25 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 1999 19:43:01 +0000 (19:43 +0000)]
Update.

1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.

* sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
WINT_MAX values.

* wctype/wctype.h: Remove incorrect towlower/towupper optimizations.

1999-09-09  Andreas Schwab  <schwab@suse.de>

* elf/link.h: Fix comment.

1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

* math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].

* math/math.h: Pretty print.

25 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 1999 19:04:08 +0000 (19:04 +0000)]
Update.

1999-09-10  Andreas Schwab  <schwab@suse.de>

* sysdeps/generic/getenv.c (getenv): Fix lookup for single
character variable on bigendian platforms without unaligned memory
access.

25 years agoUpdate.
Ulrich Drepper [Tue, 7 Sep 1999 18:20:51 +0000 (18:20 +0000)]
Update.

1999-09-07  Cristian Gafton  <gafton@redhat.com>

* sysdeps/unix/sysv/linux/sys/raw.h: New file
* sysdeps/unix/sysv/linux/Dist: Add raw.h.
* sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.

25 years agoUpdate.
Ulrich Drepper [Tue, 7 Sep 1999 01:41:37 +0000 (01:41 +0000)]
Update.

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

25 years agoUpdate.
Ulrich Drepper [Mon, 6 Sep 1999 22:16:55 +0000 (22:16 +0000)]
Update.

1999-09-06  Ulrich Drepper  <drepper@cygnus.com>

* time/ap.c: Removed.  It was not used.
* time/date.c: Likewise.
* sysdeps/unix/nlist.c: Likewise.
* sysdeps/generic/nlist.c: Likewise.
* sysdeps/generic/varargs.h: Likewise.
* stdio-common/scanf11.c: Likewise.
* stdio-common/scanf6.c: Likewise.
* scripts/=__ify: Likewise.
* scripts/printsources: Likewise.
* resolv/getnetnamadr.c: Likewise.
* posix/id.c: Likewise.
* misc/ioctltst.c: Likewise.
* misc/nlist.h: Likewise.
* math/test-math.h: Likewise.
* include/nlist.h: Likewise.

25 years agoUpdate.
Ulrich Drepper [Mon, 6 Sep 1999 17:03:16 +0000 (17:03 +0000)]
Update.

1999-09-06  Andreas Schwab  <schwab@suse.de>

* time/tzset.c (compute_change): Replace slow loop to compute T by
simple algorithm.

25 years agoUpdate.
Ulrich Drepper [Mon, 6 Sep 1999 07:55:04 +0000 (07:55 +0000)]
Update.

1999-09-06  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
escape sequences out even if the character itself does not fit
into the buffer.

* iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.

25 years agoUpdate.
Ulrich Drepper [Sun, 5 Sep 1999 23:34:47 +0000 (23:34 +0000)]
Update.

1999-08-31  H.J. Lu  <hjl@gnu.org>

* nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.

25 years agoAdd comment about add-on numbering.
Ulrich Drepper [Sun, 5 Sep 1999 19:37:14 +0000 (19:37 +0000)]
Add comment about add-on numbering.

25 years agoadd missing #include <unistd.h>
Roland McGrath [Sun, 5 Sep 1999 08:51:02 +0000 (08:51 +0000)]
add missing #include <unistd.h>

25 years ago1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 5 Sep 1999 08:45:28 +0000 (08:45 +0000)]
1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.

25 years ago1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 5 Sep 1999 08:44:50 +0000 (08:44 +0000)]
1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.

25 years agoUpdate.
Ulrich Drepper [Sun, 5 Sep 1999 00:08:27 +0000 (00:08 +0000)]
Update.

1999-09-04  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.

1999-09-03  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
fork from __syscall_fork to __libc_fork.
* posix/Versions: Add __libc_fork and __vfork to version
GLIBC_2.1.2.

25 years agoUpdate.
Ulrich Drepper [Fri, 3 Sep 1999 07:15:09 +0000 (07:15 +0000)]
Update.

1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* io/ftwtest-sh: Set LC_ALL and LANG to fix locale
dependencies in sort.

1999-09-01  H.J. Lu  <hjl@gnu.org>

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

* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
<sys/user.h> instead of <asm/user.h>.

25 years agoUpdate.
Ulrich Drepper [Thu, 2 Sep 1999 16:37:42 +0000 (16:37 +0000)]
Update.

1999-09-02  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: Update PARISC-specific flags and symbolic names.

25 years agoUpdate.
Ulrich Drepper [Thu, 2 Sep 1999 03:24:12 +0000 (03:24 +0000)]
Update.

1999-09-01  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: Update PARISC relocations.

25 years agoUpdate.
Ulrich Drepper [Wed, 1 Sep 1999 16:37:14 +0000 (16:37 +0000)]
Update.

1999-08-31  Scott Bambrough  <scottb@netwinder.org>

* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
#ifdef statement to prevent it from being included twice.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
#include <bits/armsigctx.h>.

25 years agoUpdate.
Ulrich Drepper [Tue, 31 Aug 1999 18:42:14 +0000 (18:42 +0000)]
Update.

1999-08-31  Andreas Schwab  <schwab@suse.de>

* locale/C-collate.c: Add missing initialisations.
* locale/C-ctype.c: Likewise.

25 years agoUpdate.
Ulrich Drepper [Tue, 31 Aug 1999 07:40:00 +0000 (07:40 +0000)]
Update.

1999-08-31  Ulrich Drepper  <drepper@cygnus.com>

* time/strftime.c (my_strftime): Remove unneeded variable len.

* time/strptime.c: Undo last change.

25 years agoUpdate.
Ulrich Drepper [Tue, 31 Aug 1999 07:04:41 +0000 (07:04 +0000)]
Update.

* locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
Change charset.h to charmap.h.
(categories): Add new categories.  Leave out collate for now.
Update build rules.
* locale/categories.def: Add definitions for new categories.
* locale/langinfo.h: Likewise.
* locale/locale.h: Likewise.
* locale/C-address.c: New file.
* locale/C-identification.c: New file.
* locale/C-measurement.c: New file.
* locale/C-name.c: New file.
* locale/C-paper.c: New file.
* locale/C-telephone.c: New file.
* locale/lc-address.c: Likewise.
* locale/lc-identification.c: Likewise.
* locale/lc-measurement.c: Likewise.
* locale/lc-name.c: Likewise.
* locale/lc-paper.c: Likewise.
* locale/lc-telephone.c: Likewise.
* locale/C-ctype.c: Update for locale rewrite.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-time.c: Likewise.
* locale/lc-collate.c: Likewise.
* locale/lc-ctype.c: Likewise.
* locale/lc-monetary.c: Likewise.
* locale/lc-time.c: Likewise.
* locale/localeinfo.h: Likewise.
* locale/newlocale.c: Likewise.
* locale/setlocale.c: Likewise.
* locale/weight.h: Likewise.
* locale/findlocale.c: Unconditionally use mmap.
Handle new categories.
* locale/loadlocale.c: Likewise.
* locale/iso-3166.def: New file.
* locale/iso-639.def: New file.
* locale/programs/charmap-kw.gperf: Add new keywords.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-token.h: Define new tokens.
* locale/programs/charmap.c: Rewrite to handle multibyte charsets.
* locale/programs/charmap.h: New file.
* locale/programs/charset.h: Removed.
* locale/programs/config.h: Add __LC_LAST.
* locale/programs/lc-address.c: New file.
* locale/programs/lc-identification.c: New file.
* locale/programs/lc-measurement.c: New file.
* locale/programs/lc-name.c: New file.
* locale/programs/lc-paper.c: New file.
* locale/programs/lc-telephone.c: New file.
* locale/programs/lc-collate.c: Update for locale rewrite.
* locale/programs/lc-ctype.c: Likewise.
* locale/programs/lc-messages.c: Likewise.
* locale/programs/lc-monetary.c: Likewise.
* locale/programs/lc-numeric.c: Likewise.
* locale/programs/lc-time.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/repertoire.c: Likewise.
* locale/programs/repertoire.h: Likewise.
* locale/programs/locfile.c: Update prototypes.
Update handle_copy definition.
* locale/programs/linereader.c: Add handling of wide char strings and
new definition file syntax.
* locale/programs/linereader.h (struct token): Add elements for wide
character strings.
* locale/programs/locale-spec.c: Disable handling of collation
elements for now.
* locale/programs/simple-hash.h: Cleanup.
* locale/programs/stringtrans.h: Handle quite of end of line.
* string/strcoll.c: Fall back on strcmp for now.
* string/strxfrm.c: Fall back on strncpy/strlen for now.
* time/strftime.c: Use new wide character data for wcsftime.
* time/strptime.c: Remove _nl_C_LC_TIME declaration.
* wctype/cname-lookup.h: Update for new LC_CTYPE data.

25 years agoUpdate.
Ulrich Drepper [Tue, 31 Aug 1999 01:02:03 +0000 (01:02 +0000)]
Update.

* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
compiling for i386 to avoid i686-like GOT pointer computation.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 21:51:29 +0000 (21:51 +0000)]
Update.

* db2/db_int.h: Change tsl_t type to u_int32_t.
* db2/mutex/mutex.c: Allow Alpha mutex definitions.
* db2/mutex/alpha.h: New file.
* db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
* sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
known.
Patches by Richard Henderson.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 20:15:06 +0000 (20:15 +0000)]
Update.

1999-08-30  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/tst-environ.c: Add cast to avoid warning.
* timezone/test-tz.c: Use setenv instead of putenv.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 19:30:54 +0000 (19:30 +0000)]
Update.

1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/libc.texinfo: Update version and date.

* manual/locale.texi (Formatting Numbers): Fix @node pointers.

* manual/filesys.texi (Working with Directory Trees): Add missing @code.
(File System Interface): Correct entry.
(Permission Bits): Add missing commata after @xref.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 19:23:56 +0000 (19:23 +0000)]
Update.

1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* timezone/tst-timezone.c (main): Don't pass const strings to
putenv to avoid warnings.

* posix/regexbug1.c: Include <stdio.h> for puts prototype.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 19:23:15 +0000 (19:23 +0000)]
Update.

1999-08-29  Thorsten Kukuk  <kukuk@suse.de>

* nis/Versions: Add _nss_*_getipnodebyname_r.
* nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
* nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
* nss/Versions: Add _nss_files_getipnodebyname_r.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 19:07:08 +0000 (19:07 +0000)]
Update.

1999-08-28  H.J. Lu  <hjl@gnu.org>

* nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
memory for buffer.

25 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 1999 18:35:33 +0000 (18:35 +0000)]
Update.

1999-08-27  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
kernel.
* inet/netinet/in.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.

partially reverting a patch from 1998-12-29.  We just can't change