external/glibc.git
23 years agoUpdate.
Ulrich Drepper [Mon, 9 Apr 2001 18:07:15 +0000 (18:07 +0000)]
Update.

2001-04-09  Ulrich Drepper  <drepper@redhat.com>

* Makefile (distribute): Add scripts/documented.sh.
* scripts/documented.sh: New file.

23 years agoUpdate.
Ulrich Drepper [Mon, 9 Apr 2001 04:55:59 +0000 (04:55 +0000)]
Update.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/unix/sysv/linux/cris/Dist: New file.
* sysdeps/unix/sysv/linux/cris/Makefile: New file.
* sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
* sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
* sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/cris/brk.c: New file.
* sysdeps/unix/sysv/linux/cris/chown.c: New file.
* sysdeps/unix/sysv/linux/cris/clone.S: New file.
* sysdeps/unix/sysv/linux/cris/fchown.c: New file.
* sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
* sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
* sysdeps/unix/sysv/linux/cris/getegid.c: New file.
* sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
* sysdeps/unix/sysv/linux/cris/getgid.c: New file.
* sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
* sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
* sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
* sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/cris/getuid.c: New file.
* sysdeps/unix/sysv/linux/cris/lchown.c: New file.
* sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
* sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
* sysdeps/unix/sysv/linux/cris/mmap.S: New file.
* sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
* sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
* sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
* sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
* sysdeps/unix/sysv/linux/cris/semctl.c: New file.
* sysdeps/unix/sysv/linux/cris/setegid.c: New file.
* sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
* sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/cris/setgid.c: New file.
* sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
* sysdeps/unix/sysv/linux/cris/setregid.c: New file.
* sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
* sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
* sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
* sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/cris/setuid.c: New file.
* sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
* sysdeps/unix/sysv/linux/cris/socket.S: New file.
* sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/cris/syscall.S: New file.
* sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
* sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
* sysdeps/unix/sysv/linux/cris/vfork.S: New file.
* sysdeps/unix/sysv/linux/cris/xstat.c: New file.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/cris/Dist: New file.
* sysdeps/cris/Implies: New file.
* sysdeps/cris/Makefile: New file.
* sysdeps/cris/__longjmp.S: New file.
* sysdeps/cris/_mcount.S: New file.
* sysdeps/cris/bits/endian.h: New file.
* sysdeps/cris/bits/setjmp.h: New file.
* sysdeps/cris/bits/string.h: New file.
* sysdeps/cris/dl-machine.h: New file.
* sysdeps/cris/elf/start.S: New file.
* sysdeps/cris/machine-gmon.h: New file.
* sysdeps/cris/memcopy.h: New file.
* sysdeps/cris/memusage.h: New file.
* sysdeps/cris/setjmp.S: New file.
* sysdeps/cris/sysdep.h: New file.
* sysdeps/cris/wordcopy.c: New file.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* elf/elf.h: Add new relocations for CRIS.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* shlib-versions: Add cases for Linux on CRIS.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
';' for comments and '@' for line separator.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
typo; s/==/=/ for assignment.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* malloc/Makefile: Correct comment; mtrace is Perl, not AWK.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
empty input before checking full output.

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

* iconv/gconv.c (__gconv): Don't derefer parameter cd before
checking if == -1L.

2001-04-08  Ulrich Drepper  <drepper@redhat.com>

* inet/rexec.c (rexec_af): Avoid calling perror with errno being set.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Apr 2001 05:16:21 +0000 (05:16 +0000)]
Update.

2001-04-07  Stephen L Moshier  <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
return values.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Apr 2001 20:39:34 +0000 (20:39 +0000)]
Update.

* stdlib/tst-setcontext.c (main): Add a test for setcontext.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Apr 2001 20:09:42 +0000 (20:09 +0000)]
Update.

2001-04-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
* sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
* sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
* sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.

23 years agogetcontext implementation for Linux/x86.
Ulrich Drepper [Sat, 7 Apr 2001 20:08:02 +0000 (20:08 +0000)]
getcontext implementation for Linux/x86.

23 years agoUpdate.
Andreas Jaeger [Sat, 7 Apr 2001 18:32:14 +0000 (18:32 +0000)]
Update.

2001-04-07  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
instead of separate sin and cos.
(__ieee754_j1l): Likewise.

23 years ago* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
Andreas Jaeger [Sat, 7 Apr 2001 18:31:54 +0000 (18:31 +0000)]
* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos

instead of separate sin and cos.
(__ieee754_j1l): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Apr 2001 03:03:55 +0000 (03:03 +0000)]
Update.

* sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Apr 2001 01:21:20 +0000 (01:21 +0000)]
Update.

* sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Apr 2001 00:19:07 +0000 (00:19 +0000)]
Update.

* sysdeps/i386/i486/atomicity.h: Clean up the asms.

23 years agoUpdate.
Ulrich Drepper [Fri, 6 Apr 2001 22:47:29 +0000 (22:47 +0000)]
Update.

2001-04-06  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
available.
* sysdeps/generic/e_scalbf.c: Likewise.
* sysdeps/generic/e_scalbl.c: Likewise.
Patch by Mark Hatle <fray@mvista.com>.

2001-04-05  David S. Miller  <davem@redhat.com>

* sysdeps/sparc/abort-instr.h: New file.

2001-04-05  Matt Wilson  <msw@redhat.com>

* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
added code to parse new 2.4 format.
(GET_NPROCS_CONF_PARSER): Likewise.

2001-04-05  David S. Miller  <davem@redhat.com>

* scripts/config.sub: Recognize sparcv9b like sparcv9.
* configure.in: Add sparcv9b.
* sysdeps/sparc/sparc32/sparcv9b/Implies: New file
* sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file

23 years agoUpdate.
Ulrich Drepper [Fri, 6 Apr 2001 21:58:34 +0000 (21:58 +0000)]
Update.

2001-04-06  David Mosberger  <davidm@hpl.hp.com>

* stdlib/tst-setcontext.c: Move st2[] to global scope.
(f2): Verify that stack pointer is inside st2[].

* sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
* sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.

23 years agoUpdate.
Ulrich Drepper [Fri, 6 Apr 2001 21:11:42 +0000 (21:11 +0000)]
Update.

* timezone/antarctica: Update from tzdata2001b.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.

23 years agoUpdate.
Ulrich Drepper [Fri, 6 Apr 2001 17:49:18 +0000 (17:49 +0000)]
Update.

2001-04-06  Ulrich Drepper  <drepper@redhat.com>

* iconv/iconv_open.c: Move strip and upstr definitions...
* iconv/gconv_charset.h: ...here.  New file.
* iconv/gconv_db.c (once): Move to file level.
(do_lookup_alias): Split out from __gconv_find_transform.
(__gconv_find_transform): Call do_lookup_alias.
(__gconv_loopup_alias): New function.
* locale/langinfo.h: Define _NL_*_CODESET values for all categories
but LC_CTYPE.
* locale/categories.def: Add entries for new _NL_*_CODESET values.
* locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
* locale/C-address.c: Initialize _NL_*_CODESET element.
* locale/C-collate.c: Likewise.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-time.c: Likewise.
* locale/localeinfo.h: Declare _nl_C_codeset.
* locale/C_name.c: Define _nl_C_codeset.
* locale/findlocale.c: Before accepting locale check that the used
charset does not conflict with what the locale name said.
* locale/programs/ld-address.c: Emit codeset information.
* locale/programs/ld-collate.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.

* localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
if the locale data couldn't be found.

* string/Makefile: Define tst-strxfrm-ENV.

* ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.

23 years agoMove strip and upstr definitions into gconv_charset.h.
Ulrich Drepper [Fri, 6 Apr 2001 17:32:18 +0000 (17:32 +0000)]
Move strip and upstr definitions into gconv_charset.h.

23 years agoUpdate.
Andreas Jaeger [Fri, 6 Apr 2001 15:23:41 +0000 (15:23 +0000)]
Update.

2001-04-06  Andreas Jaeger  <aj@suse.de>

* include/sys/profil.h: New file.

* dlfcn/modatexit.c: Add prototypes to silence GCC.
* dlfcn/modcxaatexit.c: Likewise.
* elf/globalmod1.c: Likewise.

23 years agoNew file, adds an internal prototype.
Andreas Jaeger [Fri, 6 Apr 2001 15:22:21 +0000 (15:22 +0000)]
New file, adds an internal prototype.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 20:45:54 +0000 (20:45 +0000)]
Update.

2001-04-05  David S. Miller  <davem@redhat.com>

* elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
capability flags table and HWCAP_IMPORTANT, increase
_DL_HWCAP_COUNT to 6.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 18:03:16 +0000 (18:03 +0000)]
Update.

2001-04-04  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
initialization of stack_end (bug reported by Zheng Gengbin
<gzheng@students.uiuc.edu>).

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 17:47:09 +0000 (17:47 +0000)]
Update.

2001-04-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 17:24:04 +0000 (17:24 +0000)]
Update.

2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 17:20:49 +0000 (17:20 +0000)]
Update.

* sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
* sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 07:21:12 +0000 (07:21 +0000)]
Update.

2001-04-05  Ulrich Drepper  <drepper@redhat.com>

* login/tst-utmp.c: Make file usable again in tst-utmpx.c.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 05:29:26 +0000 (05:29 +0000)]
Update.

* sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
define simple replacements here.  Patch by Michael Keezer.

* sysdeps/ieee754/ldbl-128/e_logl.c: New file.
* sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
Contributed by Stephen L Moshier <moshier@mediaone.net>.

23 years agoUpdate.
Ulrich Drepper [Thu, 5 Apr 2001 02:51:34 +0000 (02:51 +0000)]
Update.

2001-04-04  Ulrich Drepper  <drepper@redhat.com>

* posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
anymore.

23 years agoIf p_pid is zero use ps_getpid().
Ulrich Drepper [Thu, 5 Apr 2001 02:21:01 +0000 (02:21 +0000)]
If p_pid is zero use ps_getpid().

23 years agoUpdate.
Andreas Jaeger [Wed, 4 Apr 2001 20:17:21 +0000 (20:17 +0000)]
Update.

2001-04-01  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
alias.

* sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.

23 years ago[NO_LONG_DOUBLE]: Add nexttowardl alias.
Andreas Jaeger [Wed, 4 Apr 2001 20:16:38 +0000 (20:16 +0000)]
[NO_LONG_DOUBLE]: Add nexttowardl alias.

23 years agoUpdate.
Ulrich Drepper [Wed, 4 Apr 2001 17:39:59 +0000 (17:39 +0000)]
Update.

2001-04-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
* sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.

2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.

* sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
* sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
* sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
(unsigned_dec): Likewise.
Patch by atai@jezebel.dreamhost.com.

23 years ago(symbols): Add entry for HYPER.
Ulrich Drepper [Wed, 4 Apr 2001 17:26:50 +0000 (17:26 +0000)]
(symbols): Add entry for HYPER.

23 years agoUpdate.
Andreas Jaeger [Wed, 4 Apr 2001 13:46:03 +0000 (13:46 +0000)]
Update.

2001-04-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
place.

* sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
__umount2.

23 years ago(ELF_MACHINE_NO_REL): Move to right place.
Andreas Jaeger [Wed, 4 Apr 2001 13:45:44 +0000 (13:45 +0000)]
(ELF_MACHINE_NO_REL): Move to right place.

23 years agoUpdate.
Ulrich Drepper [Wed, 4 Apr 2001 08:14:00 +0000 (08:14 +0000)]
Update.

2001-04-04  Ulrich Drepper  <drepper@redhat.com>

* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
pointer to int as last parameter of yp_match.
Patch by kanazawa@flab.fujitsu.co.jp.

23 years agoUpdate.
Ulrich Drepper [Wed, 4 Apr 2001 06:16:40 +0000 (06:16 +0000)]
Update.

2001-04-03  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h (gai_strerror): Make return value const.
* sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
* sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
Add strings for new error values.

23 years agoUpdate.
Ulrich Drepper [Wed, 4 Apr 2001 01:54:59 +0000 (01:54 +0000)]
Update.

2001-03-29  Michael Keezer  <mkeezer@redhat.com>

* posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
* login/tst-utmp.c: Handle case where ut_tv is not available but
ut_time is.
* sysdeps/unix/sysv/aix/utmpx.h: New file.
* sysdeps/unix/sysv/aix/bits/utmpx.h: Added
_HAVE_UT_TYPE/PID/ID/TV/HOST defines.
* sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
* sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
to access RTCU timer reg.
* sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
added dl-libc, dl-open,dl-sym, dl-close to misc.
* sysdeps/unix/sysv/aix/start.c: New file.  Start code.
* sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
* sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
* sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
* sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
* sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
* sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
GLIBC_2_2).
* sysdeps/generic/strtoull.c: Likewise.
* sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
* sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
sysdeps/generic/memset.c.
* sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.

23 years agoUpdate.
Ulrich Drepper [Wed, 4 Apr 2001 00:19:44 +0000 (00:19 +0000)]
Update.

* iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
* locale/programs/charmap.c: Define null_pointer if
NEED_NULL_POINTER is defined.

23 years agoUpdate.
Ulrich Drepper [Wed, 4 Apr 2001 00:01:02 +0000 (00:01 +0000)]
Update.

2001-04-03  Ulrich Drepper  <drepper@redhat.com>

* misc/dirname.c (dirname): Handle multiple slashes correctly.

2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.

2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
* sysdeps/s390/s390-64/bcopy.S: Likewise.
* sysdeps/s390/s390-32/mempcy.S: Likewise.
* sysdeps/s390/s390-64/memcpy.S: Likewise.

2001-04-02  Bruno Haible  <haible@clisp.cons.org>

* manual/message.texi (Advanced gettext functions): More specific
syntax in the plural formula examples.

2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/atomicity.h: Silence warnings.
* sysdeps/powerpc/dl-machine.h: Likewise.
* sysdeps/powerpc/register-dump.h: Likewise.
* sysdeps/powerpc/fpu/s_lrint.c: Likewise.

2001-04-02  Andreas Jaeger  <aj@suse.de>

* misc/tst-dirname.c (main): Add more tests, derived from a bug
report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.

2001-04-01  Andreas Jaeger  <aj@suse.de>

* debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
is installed there.
* malloc/memusage.sh (memusageso): Likewise for libmemusage.so.

2001-04-01  H.J. Lu  <hjl@gnu.org>

* posix/annexc.c (macrofile): Renamed from TMPFILE and set to
tmpnam (NULL).
* stdlib/isomac.c (macrofile): Likewise.

2001-03-30  Thorsten Kukuk  <kukuk@suse.de>

* inet/rcmd.c: Allow AF_UNSPEC as parameter.
* nis/ypclnt.c (yp_all): Print error message only at last try,
check for protocoll error only if we don't have a network error.

23 years ago(rcmd_af): Allow AF_UNSPEC as parameter.
Ulrich Drepper [Tue, 3 Apr 2001 22:42:08 +0000 (22:42 +0000)]
(rcmd_af): Allow AF_UNSPEC as parameter.

23 years agoAdd prototype for __umount2.
Andreas Jaeger [Mon, 2 Apr 2001 12:32:51 +0000 (12:32 +0000)]
Add prototype for __umount2.

23 years ago*** empty log message ***
Andreas Schwab [Mon, 2 Apr 2001 11:41:46 +0000 (11:41 +0000)]
*** empty log message ***

2001-04-02  Andreas Schwab  <schwab@suse.de>

* resolv/res_data.c (res_isourserver): Fix cast.

23 years ago(res_isourserver): Fix cast.
Andreas Schwab [Mon, 2 Apr 2001 11:40:38 +0000 (11:40 +0000)]
(res_isourserver): Fix cast.

23 years agoUpdate.
Andreas Jaeger [Mon, 2 Apr 2001 11:39:54 +0000 (11:39 +0000)]
Update.

* sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
strings.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.

23 years agoUpdate.
Andreas Jaeger [Mon, 2 Apr 2001 11:26:31 +0000 (11:26 +0000)]
Update.

Fixes PR libc/2173, reported by tbrowder@home.com.

23 years agoUpdate.
Andreas Jaeger [Mon, 2 Apr 2001 11:26:16 +0000 (11:26 +0000)]
Update.

* sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
initializers.
* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.

* elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
warning about unused variable.

23 years agoUpdate.
Andreas Jaeger [Mon, 2 Apr 2001 07:18:10 +0000 (07:18 +0000)]
Update.

2001-04-02  Andreas Jaeger  <aj@suse.de>

* string/string.h (strndupa): Add cast for C++ conformance.
(strdupa): Likewise.
Fixes PR libc/2173, reported by tbrowder@home.com.

23 years ago* string/string.h (strndupa): Add cast for C++ conformance.
Andreas Jaeger [Mon, 2 Apr 2001 07:17:45 +0000 (07:17 +0000)]
* string/string.h (strndupa): Add cast for C++ conformance.

(strdupa): Likewise.
Fixes PR libc/2173, reported by tbrowder@home.com.

23 years ago* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
Roland McGrath [Sun, 1 Apr 2001 05:04:31 +0000 (05:04 +0000)]
* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append

options after $(build-module), which is no longer a single command.
(LDFLAGS-link-rpcuserlibs): New variable to hold those options.
(LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.

2001-03-11  Roland McGrath  <roland@frob.com>

* elf/rtld.c (dl_main): Add cast to quiet warning.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* iconv/gconv_conf.c (__gconv_get_path): Likewise.
(__gconv_read_conf): Likewise.
* iconv/gconv_db.c (gen_steps): Likewise.
(__gconv_find_transform): Likewise.
* locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
(fopen_uncompressed): Use const in second argument's type.

2001-03-11  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.

* mach/mach_error.h: Fix ancient #endif syntax.
* hurd/hurdmalloc.c: Likewise.

* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
compare_and_swap): Add volatile qualifier to first arg, to bring
these prototypes in line with all the other implementations.
Add a #warning to remind the builder that these are not atomic.

2001-03-04  Roland McGrath  <roland@frob.com>

* hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
member of TEMP_F so its type is _IO_FILE * as expected.

* hurd/fopenport.c (seekio): Conditionalize type of POS argument
on [USE_IN_LIBIO].  Check the value for overflow, since for libio
it might exceed off_t's range.

2001-02-25  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
* sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.

* sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
macro instead of an inline function,
(MSG_EXAMINE): Likewise.

* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.

* hurd/get-host.c: Include <string.h> for decls of built-ins.
* hurd/hurdchdir.c: Likewise.
* sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
* sysdeps/mach/hurd/opendir.c: Likewise.

* mach/mach_init.c: Include <unistd.h> for _exit decl.

* mach/errsystems.awk: Give output file a trailing newline.

* mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
the script will use our compiler for the cpp stage.

With --enable-all-warnings we get a whole bunch of warnings,
and these are just a few fixes; there are more needed to silence it.
* mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
decls before extern inline defns to quiet gcc warning.
* hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.

23 years ago2001-03-11 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 1 Apr 2001 05:02:48 +0000 (05:02 +0000)]
2001-03-11  Roland McGrath  <roland@frob.com>

* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
compare_and_swap): Add volatile qualifier to first arg, to bring
these prototypes in line with all the other implementations.
Add a #warning to remind the builder that these are not atomic.

23 years ago* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
Andreas Jaeger [Sat, 31 Mar 2001 19:57:19 +0000 (19:57 +0000)]
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.

(ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
(ARPHRD_CISCO): New.
Changes from Linux 2.4.3.

23 years agoUpdate.
Andreas Jaeger [Sat, 31 Mar 2001 19:56:57 +0000 (19:56 +0000)]
Update.

2001-03-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
(ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
(ARPHRD_CISCO): New.
Changes from Linux 2.4.3.

23 years agoUpdate.
Ulrich Drepper [Fri, 30 Mar 2001 16:53:46 +0000 (16:53 +0000)]
Update.

2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex.c: Avoid an access violation if malloc failes.

23 years agoAvoid an access violation if malloc failes.
Ulrich Drepper [Fri, 30 Mar 2001 16:52:30 +0000 (16:52 +0000)]
Avoid an access violation if malloc failes.

23 years agoAdd alias for imaxdiv.
Andreas Jaeger [Fri, 30 Mar 2001 06:57:48 +0000 (06:57 +0000)]
Add alias for imaxdiv.

23 years agoUpdate.
Andreas Jaeger [Fri, 30 Mar 2001 06:40:17 +0000 (06:40 +0000)]
Update.

2001-03-30  Andreas Jaeger  <aj@suse.de>

* sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.

23 years agoUpdate.
Ulrich Drepper [Fri, 30 Mar 2001 06:10:52 +0000 (06:10 +0000)]
Update.

* posix/regex.c: Remove unnecessary ifs.

23 years agoUpdate.
Ulrich Drepper [Fri, 30 Mar 2001 05:34:59 +0000 (05:34 +0000)]
Update.

2001-03-29  Ulrich Drepper  <drepper@redhat.com>

* math/bits/mathcalls.h: Remove infnan declaration.

2001-03-29  H.J. Lu  <hjl@gnu.org>

* include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
* stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
.
2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex.c: Fix typo and add a sentinel.

2001-03-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
O_NOFOLLOW.  Suggested by Christoph Roland.

23 years agoUpdate.
Ulrich Drepper [Wed, 28 Mar 2001 20:55:07 +0000 (20:55 +0000)]
Update.

* sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
* sysdeps/s390/s390-32/bits/string.h: Remove.
* sysdeps/s390/s390-64/bits/string.h: Remove.
* sysdeps/s390/s390-32/strcmp.S: New file.
* sysdeps/s390/s390-64/strcmp.S: New file.

2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>

23 years agoUpdate.
Ulrich Drepper [Wed, 28 Mar 2001 17:28:41 +0000 (17:28 +0000)]
Update.

2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.

23 years agoUpdate.
Ulrich Drepper [Wed, 28 Mar 2001 07:18:56 +0000 (07:18 +0000)]
Update.

* stdlib/isomac.c (fmt): Don't define _LIBC.
* include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
LOW_HALF only if _LIBC is defined.

* sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.

23 years agoUpdate.
Ulrich Drepper [Wed, 28 Mar 2001 06:26:29 +0000 (06:26 +0000)]
Update.

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

23 years agoUpdate.
Ulrich Drepper [Wed, 28 Mar 2001 06:25:09 +0000 (06:25 +0000)]
Update.

* posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
and +().
* posix/tst-fnmatch.input: Add test cases for matching empty strings.

23 years agoUpdate.
Ulrich Drepper [Tue, 27 Mar 2001 17:34:59 +0000 (17:34 +0000)]
Update.

2001-03-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
* include/endian.h: ...to here.

23 years agoUpdate.
Ulrich Drepper [Tue, 27 Mar 2001 17:21:14 +0000 (17:21 +0000)]
Update.

2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
* sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.

23 years agoRename to NFPREG.
Ulrich Drepper [Tue, 27 Mar 2001 17:19:37 +0000 (17:19 +0000)]
Rename to NFPREG.

23 years agoFix typo.
Andreas Jaeger [Tue, 27 Mar 2001 10:20:04 +0000 (10:20 +0000)]
Fix typo.

23 years agoUpdate.
Andreas Jaeger [Tue, 27 Mar 2001 10:19:58 +0000 (10:19 +0000)]
Update.

2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.

23 years agoUpdate.
Ulrich Drepper [Tue, 27 Mar 2001 06:01:17 +0000 (06:01 +0000)]
Update.

2001-03-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/fpu/Dist: Add new files to distribute.
* sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
* sysdeps/unix/sysv/linux/ia64/Dist: Likewise.

* gmon/Makefile (headers): Add sys/profil.h.

23 years agoFormatting changes.
Ulrich Drepper [Tue, 27 Mar 2001 05:51:34 +0000 (05:51 +0000)]
Formatting changes.

23 years agoMention s390x.
Andreas Jaeger [Tue, 27 Mar 2001 05:32:26 +0000 (05:32 +0000)]
Mention s390x.

23 years agoUpdate.
Andreas Jaeger [Tue, 27 Mar 2001 05:32:02 +0000 (05:32 +0000)]
Update.

2001-03-18  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Tools for Compilation): Advise to use GCC
2.95.3.
(Supported Configurations): Mention s390x.

23 years ago* manual/install.texi (Tools for Compilation): Advise to use GCC
Andreas Jaeger [Tue, 27 Mar 2001 05:31:08 +0000 (05:31 +0000)]
* manual/install.texi (Tools for Compilation): Advise to use GCC

2.95.3.
(Supported Configurations): Mention s390x.

23 years agoRemove non-existing files.
Ulrich Drepper [Tue, 27 Mar 2001 05:28:19 +0000 (05:28 +0000)]
Remove non-existing files.

23 years agoUpdate.
Ulrich Drepper [Tue, 27 Mar 2001 03:20:20 +0000 (03:20 +0000)]
Update.

2001-03-26  Ben Collins  <bcollins@debian.org>

* sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
defines to match other architectures.

23 years agoUpdate.
Ulrich Drepper [Tue, 27 Mar 2001 00:16:51 +0000 (00:16 +0000)]
Update.

2001-03-26  Ulrich Drepper  <drepper@redhat.com>

* libio/Makefile (tests): Add tst-ext.
* libio/tst-ext.c: New file.

* libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.

23 years agoUpdate.
Ulrich Drepper [Mon, 26 Mar 2001 05:17:47 +0000 (05:17 +0000)]
Update.

Add changes which were in this form in the original patch by
Eric Norum <eric.norum@usask.ca>.
* include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
svc_max_pollfd.
* sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
__rpc_thread_createerr, __rpc_thread_svc_pollfd, and
__rpc_thread_svc_max_pollfd.
Define svc_fdset, get_rpc_createerr, svc_pollfd, and
svc_max_pollfd.
* sunrpc/rpc_thread.c: Handle first thread special, it uses the
global variables.
Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
__rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
* sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
__rpc_thread_createerr, __rpc_thread_svc_pollfd, and
__rpc_thread_svc_max_pollfd.
* sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
get_rpc_createerr.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/pm_getport.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 25 Mar 2001 08:22:02 +0000 (08:22 +0000)]
Update.

2001-03-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
syscall checks for negative n so don't test here as well.

23 years agoUpdate.
Ulrich Drepper [Sun, 25 Mar 2001 05:15:51 +0000 (05:15 +0000)]
Update.

2001-03-23  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
* sysdeps/ia64/sysdep.h: ...here.

* sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
* sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.

* sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
declare instead of LEAF().  Suggestion from David Mosberger.

2001-03-21  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
directives.
(PSEUDO): Drop .psr and .lsb directives.

* sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
directives.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.

* sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
directives etc.
* sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
* sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
* sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
longer needed).  Add unwind directives.

* sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.

2001-03-21  Paul Eggert  <eggert@twinsun.com>

* posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
(RE_SYNTAX_POSIX_EGREP): Use it.
* posix/regex.c (regex_compile): Implement it.

2001-03-21  Paul Eggert  <eggert@twinsun.com>

* posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
Rewrite to avoid duplicate code.

2001-03-21  H.J. Lu  <hjl@gnu.org>

* elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
for cross-compiling.
($(objpfx)tst-pathopt.out): Undo the last change.

23 years ago(tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling. ($(objpfx...
Ulrich Drepper [Sun, 25 Mar 2001 04:57:51 +0000 (04:57 +0000)]
(tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling. ($(objpfx)tst-pathopt.out):Undo the last change.

23 years ago* sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc, sc_ps): Define as...
Mark Kettenis [Sat, 24 Mar 2001 21:53:18 +0000 (21:53 +0000)]
* sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc, sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.

* sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.

23 years ago* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>. (_dl_argv): Declare. ...
Mark Kettenis [Sat, 24 Mar 2001 14:36:00 +0000 (14:36 +0000)]
* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>. (_dl_argv): Declare. (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.

2001-03-24  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
(_dl_argv): Declare.
(init) [SHARED]: Readjust _dl_argv if we switched to a new stack.

23 years agoUpdate.
Andreas Jaeger [Thu, 22 Mar 2001 09:05:36 +0000 (09:05 +0000)]
Update.

2001-03-22  Andreas Jaeger  <aj@suse.de>

* iconvdata/Makefile (generated): Add iconv-test.xxx.

* posix/Makefile (generated): Add bug-regex2.mtrace and
bug-regex2-mem.

23 years ago(generated): Add iconv-test.xxx.
Andreas Jaeger [Thu, 22 Mar 2001 09:05:15 +0000 (09:05 +0000)]
(generated): Add iconv-test.xxx.

23 years agoUpdate.
Ulrich Drepper [Wed, 21 Mar 2001 21:43:52 +0000 (21:43 +0000)]
Update.

2001-03-21  Ulrich Drepper  <drepper@redhat.com>

* csu/version.c (__gnu_get_libc_release): Add prototype.
(__gnu_get_libc_version): Likewise.
* include/gnu/libc-version.h: Remove prototypes for not exported
functions.

23 years agoUpdate.
Ulrich Drepper [Wed, 21 Mar 2001 21:35:28 +0000 (21:35 +0000)]
Update.

2001-03-21  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
for internationalized printfs to work.

23 years agoUpdate.
Ulrich Drepper [Wed, 21 Mar 2001 20:22:51 +0000 (20:22 +0000)]
Update.

2001-03-09  Bruno Haible  <haible@clisp.cons.org>

* intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
avoid compiler warning.
(_nl_find_msg): Add casts to avoid compiler warnings.

23 years agoUpdate.
Ulrich Drepper [Wed, 21 Mar 2001 20:15:55 +0000 (20:15 +0000)]
Update.

2001-03-21  Ulrich Drepper  <drepper@redhat.com>

* gmon/Makefile (routines): Add sprofil.
(tests): Add tst-sprofil.
(noprof): Add sprofil.
* gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.

2001-03-20  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/generic/sprofil.c: New file.
* sysdeps/posix/sprofil.c: New file.
* gmon/tst-sprofil.c: New file.
* gmon/sys/profil.h: New file.

23 years agoUpdate.
Ulrich Drepper [Wed, 21 Mar 2001 18:53:05 +0000 (18:53 +0000)]
Update.

2001-03-20  Andreas Schwab  <schwab@suse.de>

* include/unistd.h: Adjust prototype of __gethostname.

23 years agoUpdate.
Ulrich Drepper [Wed, 21 Mar 2001 18:50:57 +0000 (18:50 +0000)]
Update.

2001-03-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/stackinfo.h: New file.

23 years ago(__pthread_attr_setstack): Fix alignment check. (pthread_getattr_np): __stackaddr...
Ulrich Drepper [Wed, 21 Mar 2001 18:46:15 +0000 (18:46 +0000)]
(__pthread_attr_setstack): Fix alignment check. (pthread_getattr_np): __stackaddr is top of stack, not bottom.

23 years agoUpdate.
Andreas Jaeger [Wed, 21 Mar 2001 07:21:48 +0000 (07:21 +0000)]
Update.

2001-03-21  Andreas Jaeger  <aj@suse.de>

* elf/global.c (main): Use proper prototype.

23 years ago(main): Use proper prototype.
Andreas Jaeger [Wed, 21 Mar 2001 07:21:34 +0000 (07:21 +0000)]
(main): Use proper prototype.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 21:05:29 +0000 (21:05 +0000)]
Update.

* Makefile: Define -D_RPC_THREAD_SAFE_ for cancel.c.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 18:35:13 +0000 (18:35 +0000)]
Update.

* sunrpc/Makefile (routines): Add rpc_thread.
(CPPFLAGS): Add -D_RPC_THREAD_SAFE.
* sunrpc/rpc_thread.c: New file.
* sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
* sunrpc/auth_none.c: Don't use global variables.  Access state in
thread-local storage.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/rpc_common.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_RPC_VARS.
* sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
* include/rpc/rpc.h: Define data structures for internal thread-local
"global" variables.
Based on patches by Eric Norum <eric.norum@usask.ca>.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 18:26:06 +0000 (18:26 +0000)]
Update.

2001-03-20  Ulrich Drepper  <drepper@redhat.com>

* cancel.c (__pthread_perform_cleanup): Call __rpc_thread_destroy.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 09:26:25 +0000 (09:26 +0000)]
Update.

* elf/dl-load.c: Various little optimizations.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 08:32:39 +0000 (08:32 +0000)]
Update.

2001-03-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
LINUX_LINK_MAX only if the statfs function is not implemented for
the filesystem.

* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
LINUX_LINK_MAX only if the fstatfs function is not implemented for
the filesystem.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 06:52:36 +0000 (06:52 +0000)]
Update.

2001-03-19  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.

* elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
(_dl_dst_substitute): Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 20 Mar 2001 01:00:20 +0000 (01:00 +0000)]
Update.

2001-03-17  Bruno Haible  <haible@clisp.cons.org>

* intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.

2001-03-17  Bruno Haible  <haible@clisp.cons.org>

* intl/gettextP.h (struct expression): Add operators lnot, less_than,
greater_than, less_or_equal, greater_or_equal. Replace args2/args3
union by a 'nargs' counter and an 'args[]' array.
* intl/plural.y: Don't include stdarg.h.
(new_exp): Take an array of arguments instead of varargs.
(new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
('?' ':'): Make right-associative.
(EQUOP2): New token, replaces '=' and '!'.
(CMPOP2): New token.
(ADDOP2): New token, replaces '+' and '-'.
(MULOP2): New token, replaces '*', '/' and '%'.
('!'): New token.
(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
(start): Call YYABORT here.
(FREE_EXPRESSION): Update.
(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
Update for new token symbols.
* intl/loadmsgcat.c (plvar, plone, germanic_plural,
init_germanic_plural): Update.
* intl/dcigettext.c (_nl_find_msg): Optimize for space.
(plural_eval): Recognize comparison and '!' operators. Optimize for
space.

2001-03-10  Bruno Haible  <haible@clisp.cons.org>

* intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
NULL any more.

2001-01-05  Bruno Haible  <haible@clisp.cons.org>

* intl/loadmsgcat.c: Include headers needed for alloca().
(freea): New macro.
(_nl_load_domain): Add fallback code for platforms lacking alloca.
* intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
(freea): New macro.
(read_alias_file): Simplify fallback code for platforms lacking
alloca.

2001-01-07  Bruno Haible  <haible@clisp.cons.org>

* intl/gettextP.h (__gettextdebug): Remove declaration.
(__gettext_free_exp, __gettextparse): Convert prototype to K&R C
syntax.
(gettext_free_exp__, gettextparse__): New non-libc declarations.
* intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
not __gettextparse, __gettext_free_exp.
* intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.

2001-02-24  Bruno Haible  <haible@clisp.cons.org>

* intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.

2001-01-05  Bruno Haible  <haible@clisp.cons.org>

* intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
lacking strtoul, like SunOS4.

2001-01-05  Bruno Haible  <haible@clisp.cons.org>

* intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.

2001-01-05  Bruno Haible  <haible@clisp.cons.org>

* intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
syntax.
* intl/dcigettext.c (transcmp): Convert to K&R C syntax.
* intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
* intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
syntax.

2001-01-07  Bruno Haible  <haible@clisp.cons.org>

* intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
bindtextdomain__, bind_textdomain_codeset__): New declarations, from
old libgettext.h.
* intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
* intl/dcgettext.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dcngettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
Include gettextP.h.
* intl/gettext.c: Likewise.  Don't include locale.h.

2001-03-17  Bruno Haible  <haible@clisp.cons.org>

* intl/gettextP.h (ZERO): New macro.
(struct binding): Always use ZERO.
* intl/bindtextdom.c (offsetof): Provide fallback for platforms that
lack it, like SunOS4.
(set_binding_values): Use offsetof, not sizeof.
* intl/dcigettext.c (offsetof): Provide fallback for platforms that
lack it, like SunOS4.
(ZERO): Remove macro.
(struct transmem_list): Use ZERO.
(DCIGETTEXT): Use offsetof, not sizeof.

2001-03-17  Bruno Haible  <haible@clisp.cons.org>

* intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
nls_uint32.
* intl/bindtextdom.c: Don't include gettext.h.
* intl/dcgettext.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dcngettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/localealias.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/plural.y: Likewise.
* intl/textdomain.c: Likewise.

2001-03-17  Bruno Haible  <haible@clisp.cons.org>

* intl/gettext.h: Don't include <stdio.h>.

2001-03-17  Bruno Haible  <haible@clisp.cons.org>

* intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
* intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.

23 years agoUpdate.
Ulrich Drepper [Mon, 19 Mar 2001 23:34:54 +0000 (23:34 +0000)]
Update.

* sysdeps/unix/i386/i686/tempname.c: New file.

* sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
defined use this macro to get some bits of randomness instead of
the usual gettimeofday or time calls.

2001-03-16  Paul Eggert  <eggert@twinsun.com>

* sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
not defined, and if UINT64_MAX is not defined.

2001-03-19  Ulrich Drepper  <drepper@redhat.com>