external/glibc.git
26 years agoUpdate.
Ulrich Drepper [Fri, 16 Oct 1998 18:53:55 +0000 (18:53 +0000)]
Update.

1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>

* time/mktime.c: Some systems require <unistd.h> to be
included before <time.h> for localtime_r to be declared
properly.
* time/strftime.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 16 Oct 1998 16:57:36 +0000 (16:57 +0000)]
Update.

* db/Makefile: Add rule to generate shared object with the soname
from glibc 2.0.

26 years agoUpdate.
Ulrich Drepper [Fri, 16 Oct 1998 16:33:36 +0000 (16:33 +0000)]
Update.

* sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
available double check to verify it's a directory.

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
* sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
are not generally available.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.

* sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
* sysdeps/unix/sysv/linux/arm/Makefile: New file.
* sysdeps/unix/sysv/linux/arm/setegid.c: New file.
* sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setgid.c: New file.
* sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
* sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
* sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setegid.c: New file.
* sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setgid.c: New file.
* sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
* sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
* sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
* sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
* sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.

* sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
s_setresgid, and s_setuid.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
(sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.

1998-10-16  Ulrich Drepper  <drepper@cygnus.com>

* iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not

26 years agoUpdate.
Ulrich Drepper [Fri, 16 Oct 1998 12:32:51 +0000 (12:32 +0000)]
Update.

1998-10-16  Ulrich Drepper  <drepper@cygnus.com>

* time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
localtime_t declaration on some systems.

26 years agoUpdate.
Ulrich Drepper [Fri, 16 Oct 1998 11:41:15 +0000 (11:41 +0000)]
Update.

1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>

* iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
-DSTATIC_GCONV.
* iconv/skeleton.c: Include ELF header only of STATIC?GCONV is not
defined.  Avoid using DL_CLL_FCT if it is not defined.

1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* resolv/arpa/nameser.h: Include sys/types.h unconditionally.
Include endian.h unconditionally.  Remove portability goop
depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.

1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.

26 years agoUpdate.
Ulrich Drepper [Thu, 15 Oct 1998 10:46:07 +0000 (10:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.

26 years agoUpdate.
Ulrich Drepper [Thu, 15 Oct 1998 09:22:13 +0000 (09:22 +0000)]
Update.

1998-10-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
again.  Use char[44] to define size of the struct.

26 years agoUpdate.
Ulrich Drepper [Thu, 15 Oct 1998 08:04:01 +0000 (08:04 +0000)]
Update.

1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* string/bits/string2.h (strcmp): Don't cache the result of
__builtin_constant_p in variables, otherwise constant folding
can fail in big functions.

1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* string/bits/string2.h: Add prototypes for the new inline
functions.

1998-10-08  Paul Eggert  <eggert@twinsun.com>
* time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
Define also if HAVE_LOCALTIME_R && defined localtime_r, with
a body that merely expands localtime_r; this works around a
bug in Digital Unix 4.0A and 4.0D.
1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
* sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
unnecessary after the changes of 1998-10-12.

26 years agoUpdate.
Ulrich Drepper [Thu, 15 Oct 1998 07:51:40 +0000 (07:51 +0000)]
Update.

1998-10-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
have all types defined.
Patch by Matti Aarnio <matti.aarnio@sonera.fi>.

26 years agoUpdate.
Ulrich Drepper [Wed, 14 Oct 1998 22:37:11 +0000 (22:37 +0000)]
Update.

1998-10-08  Paul Eggert  <eggert@twinsun.com>

* time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
Define also if HAVE_LOCALTIME_R && defined localtime_r, with
a body that merely expands localtime_r; this works around a
bug in Digital Unix 4.0A and 4.0D.

1998-10-14  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
__ioctl to __syscall_ioctl and include Linux version of this file.
* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
ioctl calls which handle struct termios.
Based on a patch by Dan Jacobowitz <drow@false.org>.

26 years agoUpdate.
Ulrich Drepper [Wed, 14 Oct 1998 12:59:45 +0000 (12:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
here instead of including kernel_termios.h.

26 years agoUpdate.
Ulrich Drepper [Wed, 14 Oct 1998 12:43:51 +0000 (12:43 +0000)]
Update.

1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
unnecessary after the changes of 1998-10-12.

26 years agoUpdate.
Ulrich Drepper [Wed, 14 Oct 1998 10:53:45 +0000 (10:53 +0000)]
Update.

1998-10-14  Ulrich Drepper  <drepper@cygnus.com>

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

26 years agoUpdate.
Ulrich Drepper [Tue, 13 Oct 1998 16:25:46 +0000 (16:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
parameter format string.
(inline_outw): Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 13 Oct 1998 15:12:27 +0000 (15:12 +0000)]
Update.

1998-10-13  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
string.h to get memcpy prototype and NULL definition.

1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* misc/sys/cdefs.h (__THROW): New macro.
* argp/argp.h: Use it to replace the kludgey __P in inline
function definitions.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* stdlib/stdlib.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* libio/stdio.h: Likewise.
* stdio/stdio.h: Likewise.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* string/argz.h: Likewise.
* io/sys/stat.h: Likewise.

1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* Rules (stdio_lim): New variable.
($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
on Rules and config.make, use $(move-if-change) to avoid unnessary
recompilations, and cleanup command.
(common-generated): Add bits/stdio_lim.st.

26 years agoUpdate.
Ulrich Drepper [Mon, 12 Oct 1998 12:57:53 +0000 (12:57 +0000)]
Update.

1998-10-12  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
variable to prevent warnings from use of modern CPU instructions.
Patch by Richard Henderson <rth@cygnus.com>.

* sysdeps/unix/opendir.c: Test whether NAME is directory before
opening it.

1998-10-12  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
semicolon so that profiling works.

26 years ago(PSEUDO): Add missing semicolon so that profiling works.
Ulrich Drepper [Mon, 12 Oct 1998 11:15:04 +0000 (11:15 +0000)]
(PSEUDO): Add missing semicolon so that profiling works.

26 years ago1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 12 Oct 1998 09:21:56 +0000 (09:21 +0000)]
1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/glob.c: #undef mempcpy before #define.

* sysdeps/unix/bsd/clock.c: Use prototype defns.

26 years ago1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 12 Oct 1998 09:20:54 +0000 (09:20 +0000)]
1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/glob.c: #undef mempcpy before #define.

26 years agoUpdate.
Ulrich Drepper [Sun, 11 Oct 1998 08:57:42 +0000 (08:57 +0000)]
Update.

1998-10-11  Ulrich Drepper  <drepper@cygnus.com>

* Rules [posix in sysdirs]: Set L_tmpnam to 20.
Patch by Zack Weinberg <zack@rabi.columbia.edu>.

* string/bits/string2.h [!_STRING_ARCH_unaligned]
(__mempcpy_small): Add parameter for 1 byte copy and use it.
Reported by Geoff Keating <geoffk@ozemail.com.au>.

26 years agoUpdate.
Ulrich Drepper [Fri, 9 Oct 1998 15:10:53 +0000 (15:10 +0000)]
Update.

* sysdeps/i386/pt-machine.h (get_eflags, set_eflags): Mark these
also with PT_EI.

26 years agoUpdate.
Ulrich Drepper [Fri, 9 Oct 1998 14:04:57 +0000 (14:04 +0000)]
Update.

1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
it is already defined in <bits/environments.h>.

26 years agoUpdate.
Ulrich Drepper [Fri, 9 Oct 1998 11:22:46 +0000 (11:22 +0000)]
Update.

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

* posix/ptestcases.h: Fix typo.

1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* posix/regex.c (regcomp): Allocate and prepare a fastmap.
(regexec): Allocate regs.start and regs.end as one block.

1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
enum decl.

1998-10-08  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
sigcontext union to ...
* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
file.
* sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
version 2.0 kernels.

26 years agoUpdate.
Ulrich Drepper [Fri, 9 Oct 1998 11:04:04 +0000 (11:04 +0000)]
Update.

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

* sysdeps/i386/i686/pt-machine.h: Remove unused inline
definitions.

26 years agoUpdate.
Ulrich Drepper [Thu, 8 Oct 1998 17:20:54 +0000 (17:20 +0000)]
Update.

* argp/argp-xinl.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 8 Oct 1998 17:00:12 +0000 (17:00 +0000)]
Update.

* malloc/mtrace.c (tr_reallochook): Produce better output for real
reallocation case.

26 years agoUpdate.
Ulrich Drepper [Thu, 8 Oct 1998 16:12:50 +0000 (16:12 +0000)]
Update.

* signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.

26 years agoUpdate.
Ulrich Drepper [Thu, 8 Oct 1998 13:10:22 +0000 (13:10 +0000)]
Update.

1998-10-08  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
Ruffian entry back.
Patch by Christian Gafton.

26 years agoUpdate.
Ulrich Drepper [Thu, 8 Oct 1998 11:48:03 +0000 (11:48 +0000)]
Update.

1998-10-08  Paul Eggert  <eggert@twinsun.com>

* time/mktime.c (__mktime_internal): When the requested time falls
in a spring-forward gap of size DT, return a time that is DT away
from the requested time, preferring a time whose tm_isdst differs
from the requested value.  Bump the max number of probes from 4 to
6 to account for the extra probes needed to discover a
spring-forward gap in the worst case.

1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
of the weird alpha architectures.
Patch by Cristian Gafton <gafton@redhat.com>.

1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.

26 years agoUpdate.
Ulrich Drepper [Wed, 7 Oct 1998 13:40:55 +0000 (13:40 +0000)]
Update.

1998-10-07  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-open.c (_dl_global_scope_alloc): Make global.
(dl_open_worker): Use realloc, not malloc to resize array.
* elf/rtld.c (_dl_initial_searchlist): New variable.
(_dl_main): Copy content of _dl_main_searchlist to
_dl_initial_searchlist.
* elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
_dl_global_scope_alloc.
* elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
* elf/dl-close.c (_dl_close): When removing object with global
scope remove allocated searchlist if no dynamically loaded object
is on it anymore.
* elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
(_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.

* malloc/mtrace.c (tr_where): Don't print space in location string,
print it afterwards.  Print better symbol name information.

26 years agoUpdate.
Ulrich Drepper [Wed, 7 Oct 1998 11:00:44 +0000 (11:00 +0000)]
Update.

1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* manual/filesys.texi (Setting Permissions): Fix example for
reading umask.

1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/sprof.c (load_profdata): Fix typo in error message.

26 years ago(load_profdata): Fix typo in error message.
Ulrich Drepper [Wed, 7 Oct 1998 10:59:52 +0000 (10:59 +0000)]
(load_profdata): Fix typo in error message.

26 years ago* sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
Andreas Schwab [Wed, 7 Oct 1998 02:02:53 +0000 (02:02 +0000)]
* sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup

flag.
1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
flag.

26 years ago1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 6 Oct 1998 14:31:30 +0000 (14:31 +0000)]
1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>

* mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.

26 years ago1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 6 Oct 1998 14:15:13 +0000 (14:15 +0000)]
1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>

* mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.

26 years agoUpdate.
Ulrich Drepper [Tue, 6 Oct 1998 13:07:23 +0000 (13:07 +0000)]
Update.

26 years agoUpdate.
Ulrich Drepper [Tue, 6 Oct 1998 10:37:03 +0000 (10:37 +0000)]
Update.

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

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

26 years agoUpdate.
Ulrich Drepper [Tue, 6 Oct 1998 10:21:30 +0000 (10:21 +0000)]
Update.

1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
in definitions of inline stat functions so that they match the
declaration.
* stdlib/stdlib.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* libio/stdio.h: Likewise.
* stdio/stdio.h: Likewise.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* string/argz.h: Likewise.
* argp/argp.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 6 Oct 1998 09:15:03 +0000 (09:15 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
netinet/in.h.

26 years agoUpdate.
Ulrich Drepper [Mon, 5 Oct 1998 13:43:16 +0000 (13:43 +0000)]
Update.

1998-10-05  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
and constants.  Tidy up formatting a little.

* sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
Move definitions to in.h.

26 years agoUpdate.
Ulrich Drepper [Mon, 5 Oct 1998 13:40:47 +0000 (13:40 +0000)]
Update.

1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
Remove inclusion of <linux/swap.h>.

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

* io/sys/stat.h: Use __P in definitions of inline stat functions
so that they match the declaration.

1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.

1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
linux 2.1 version.

1998-10-02  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/dl-machine.h: Fix typo in last change.

* sysdeps/arm/bits/huge_val.h: New file.

1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.

* sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
define.

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

* sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
store result of realloc instead of using BUF.

1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* misc/sgtty.h (_SGTTY_H): Correct spelling.
Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].

1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/memory.texi (Obstacks): Document
obstack_alloc_failed_handler usage.

* malloc/obstack.h: Enhance comment about
obstack_alloc_failed_handler usage.
* malloc/obstack.c: Likewise.

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

* misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
gcc before 2.8 is used.

1998-10-01  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
from Scott Bambrough.

* sysdeps/unix/sysv/linux/arm/register-dump.h: New file.

* libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
include the lock member.

1998-09-03  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.

1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/bits/string2.h (__string2_1bptr_p): Don't use a statement
expression.
(__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
__strsep): Greatly reduce size of expansion by combining common
expressions.
(__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
inline function.
(__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
by the above definitions.

1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
correct struct ipc_perm definition.

1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.

* sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
* sysdeps/unix/sysv/linux/net/if_shaper.h: New file.

26 years agoUpdate
Ulrich Drepper [Thu, 1 Oct 1998 14:31:24 +0000 (14:31 +0000)]
Update

1998-10-01  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
from Scott Bambrough.

* sysdeps/unix/sysv/linux/arm/register-dump.h: New file.

* libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
include the lock member.

1998-09-03  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.

26 years agoUpdate.
Ulrich Drepper [Thu, 1 Oct 1998 11:00:26 +0000 (11:00 +0000)]
Update.

* sys/types.h: Protect use of long long by __extension__.
* stdlib/stdlib.h: Likewise.
* string/string.h: Likewise.
* sysdeps/i386/bits/byteswap.h: Likewise.
* sysdeps/geeric/bits/byteswap.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* sysdeps/wordsize-32/stdint.h: Likewise.
* wcsmbs/wchar.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 1 Oct 1998 10:11:51 +0000 (10:11 +0000)]
Update.

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

* timezone/zic.c: Update from tzcode1998h.
* timezone/europe: Update from tzdata1998i.
* timezone/southamerica: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 1 Oct 1998 00:07:16 +0000 (00:07 +0000)]
Update.

1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/bits/string2.h (__string2_1bptr_p): Don't use a statement
expression.
(__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
__strsep): Greatly reduce size of expansion by combining common
expressions.
(__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
inline function.
(__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
by the above definitions.

26 years agoUpdate.
Ulrich Drepper [Tue, 29 Sep 1998 23:18:16 +0000 (23:18 +0000)]
Update.

1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
correct struct ipc_perm definition.

26 years agoUpdate.
Ulrich Drepper [Tue, 29 Sep 1998 22:42:30 +0000 (22:42 +0000)]
Update.

1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.

1998-09-29  Cristian Gafton  <gafton@redhat.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
* sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
* sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
Add net/if_shaper.h.

* libio/libio.h [!__STDC__]: Define const only if not defined.

26 years agoUpdate.
Ulrich Drepper [Tue, 29 Sep 1998 12:12:36 +0000 (12:12 +0000)]
Update.

* nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.

26 years agoUpdate.
Ulrich Drepper [Tue, 29 Sep 1998 10:36:20 +0000 (10:36 +0000)]
Update.

1998-09-29  Ulrich Drepper  <drepper@cygnus.com>

* nis/ypclnt.c: Remove not needed close calls.

26 years agoUpdate.
Ulrich Drepper [Mon, 28 Sep 1998 23:58:33 +0000 (23:58 +0000)]
Update.

1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>

* nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
check a bit.  Also close socket of domain client.  Close socket
in IPPORT_RESERVED error case.

1998-09-28  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
CMSG_ALIGN (fixes a bug) and correct test for availability of
another entry.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
Linux version.
(__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
availability of another entry.
Patch by ak@muc.de.

* sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
Patch by ak@muc.de.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/annexc.c (xsystem): New function.  Use it instead of
system.

1998-09-28  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/longlong.h: Remove #endif for #if removed in last change.

26 years agoUpdate.
Ulrich Drepper [Fri, 25 Sep 1998 22:23:09 +0000 (22:23 +0000)]
Update.

* time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
allow using `ut' parameter.
[!emacs]: Define ut_argument, ut_argument_spec, and
ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
argument_spec to prototypes and definitions.
(my_strftime): Don't call tzset of ut != 0.
Compute diff as 0 is ut != 0;
[emacs]: Define new emacs_strftime function.
Based on a patch by Paul Eggert.

1998-09-24  Paul Eggert  <eggert@twinsun.com>

* time/strftime.c (my_strftime): When asking for the length of the
subformatted buffer, do not limit the length to look for;
otherwise, we have no reliable way to distinguish between the
empty buffer and an error.

1998-09-25  Ulrich Drepper  <drepper@cygnus.com>

* debug/catchsegv.sh: Also produce output if clone process died.

26 years agoUpdate.
Ulrich Drepper [Fri, 25 Sep 1998 21:55:47 +0000 (21:55 +0000)]
Update.

1998-09-25  Ulrich Drepper  <drepper@cygnus.com>

* math/Makefile (gmp-objs): Add mp_clz_tab.

1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>

* sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
set them.
* stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
cpus lacking hardware multiply and divide.

1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
$(<F), not $(^F).

1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* db/btree/bt_delete.c: Fix -Wparentheses warning.

1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile ($(inst_includedir)/gnu/lib-names.h): Use
$(do-install).

* time/strftime.c (f_wkday): Remove duplicate definition.
* time/strftime.c (my_strftime): Don't store past the end of a

26 years agoUpdate.
Ulrich Drepper [Thu, 24 Sep 1998 18:06:23 +0000 (18:06 +0000)]
Update.

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

* debug/catchsegv.sh: Also produce output if cloned process died.

1998-09-24  Paul Eggert  <eggert@twinsun.com>

* strftime.c (f_wkday): Remove duplicate definition.
(f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
!defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1998-09-11 fix to this case.
(wkday_len, month_len): Remove these macros; they're no longer needed.

1998-09-24  Paul Eggert  <eggert@twinsun.com>

* strftime.c (my_strftime): Don't store past the end of a
zero-sized buffer.

* time/strftime.c (underlying_strftime):
* time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.

26 years agoUpdate.
Ulrich Drepper [Thu, 24 Sep 1998 15:02:06 +0000 (15:02 +0000)]
Update.

1998-09-24  Paul Eggert  <eggert@twinsun.com>

* strftime.c (underlying_strftime):
Set the buffer to a nonzero value before calling
strftime, and check to see whether strftime has set the buffer to zero.
This lets us distinguish between an empty buffer and an error.

1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>

* strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
This fix is propagated from tzcode1998g.tar.gz.

26 years agoUpdate.
Ulrich Drepper [Thu, 24 Sep 1998 13:51:51 +0000 (13:51 +0000)]
Update.

1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
_sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
sys_siglist.  This is handled correctly by the weak_alias macro.

26 years agoUpdate.
Ulrich Drepper [Thu, 24 Sep 1998 11:03:07 +0000 (11:03 +0000)]
Update.

* sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
of mempcpy.  Reported by Andreas Jaeger.

26 years agoUpdate.
Ulrich Drepper [Thu, 24 Sep 1998 10:42:58 +0000 (10:42 +0000)]
Update.

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

* misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
pollute the namespace since the compiler will resolve it inline.
Reported by Florian La Roche <florian@suse.de>.

26 years agoUpdate.
Ulrich Drepper [Thu, 24 Sep 1998 10:31:56 +0000 (10:31 +0000)]
Update.

1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>

* timezone/private.h: Update from tzcode1998g.

* timezone/africa: Update from tzdata1998h.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 23 Sep 1998 18:52:55 +0000 (18:52 +0000)]
Update.

1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* misc/sys/mman.h: New file.

* sysdeps/generic/bits/mman.h: New file.
* sysdeps/unix/bsd/osf/bits/mman.h: New file.
* sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
* sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
* sysdeps/unix/sysv/irix4/bits/mman.h: New file.

* sysdeps/generic/sys/mman.h: Removed.
* sysdeps/unix/bsd/osf/sys/mman.h: Removed.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
* sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
* sysdeps/unix/sysv/linux/sys/mman.h: Removed.

* include/sys/mman.h: Look directly for misc/sys/mman.h.
* misc/Makefile (headers): Add bits/mman.h.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
bits/mman.h.

* sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
* sysdeps/unix/sysv/linux/arm/Dist: Likewise.
* sysdeps/unix/sysv/linux/i386/Dist: Likewise.
* sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
* sysdeps/unix/sysv/linux/mips/Dist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.

1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
* sysdeps/mach/alpha/thread_state.h: Likewise.
* sysdeps/mach/i386/sysdep.h: Likewise.
* sysdeps/mach/i386/thread_state.h: Likewise.
* sysdeps/mach/mips/sysdep.h: Likewise.
* sysdeps/mach/mips/thread_state.h: Likewise.
* sysdeps/posix/profil.c: Likewise.
* sysdeps/i386/i586/memcopy.h: Likewise.
* sysdeps/mach/pagecopy.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 23 Sep 1998 15:28:54 +0000 (15:28 +0000)]
Update.

1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>

* libio/stdio.h: Define __need_getopt and include getopt.h to define
getopt stuff.
* posix/unistd.h: Likewise.
* stdio/stdio.h: Likewise.
* posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
define only getopt and the variables.

(CPPFLAGS): Add -DUSE_LIBDB1

26 years agoUpdate.
Ulrich Drepper [Wed, 23 Sep 1998 14:37:28 +0000 (14:37 +0000)]
Update.

1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* scripts/test-installation.pl (installation_problem): Don't link
the test program against libdb1.

26 years agoUpdate.
Ulrich Drepper [Wed, 23 Sep 1998 14:26:51 +0000 (14:26 +0000)]
Update.

* db/makedb.c: Removed.
* Makefile: Add localedata/% goal.

26 years agoUpdate.
Ulrich Drepper [Wed, 23 Sep 1998 14:02:16 +0000 (14:02 +0000)]
Update.

1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig (all-subdirs): Add db.
* Versions.def: Add definition for libdb1.
* shlib-versions: Add definitions for libdb1.
* db/Makefile (extra-libs): Replace by libdb1.
(libdb-routines): Rename to libdb1-routines.
(headers): Rename to db1-headers.
(distribute): Add $(db1-headers).
(install-others): Define to install symlink libdb.so.NN and the
$(db1-headers).
(CPPFLAGS): Add -USE_LIBDB1
Remove rules to build makedb.
* db/Versions: Rename libdb to libdb1.
* include/db.h: If USE_LIBDB1 is defined include db/db.h.

* scripts/versions.awk: Recognize digits in library names.

* db/btree/bt_open.c: Fix compiler warnings.
* db/btree/bt_put.c: Likewise.
* db/btree/bt_split.c: Likewise.
* db/hash/hash.c: Likewise.
* db/hash/hash_bigkey.c: Likewise.
* db/recno/rec_close.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 23 Sep 1998 10:59:22 +0000 (10:59 +0000)]
Update.

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

* Makefile [no install_root] (LOCALEDEF): Run localedef using jsut
built ld.so.

26 years agoUpdate.
Ulrich Drepper [Tue, 22 Sep 1998 19:08:42 +0000 (19:08 +0000)]
Update.

1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* posix/execvp.c: Don't give up searching the PATH if execve
returns ENOTDIR.

1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
if _dl_fpu_control_set is set.
* sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
* elf/rtld.c: Don't define _dl_fpu_control_set.
* elf/Versions: Remove _dl_fpu_control_set.

1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
Correct values of other SA_* macros according to kernel headers.

1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-load.c (_dl_init_paths): Avoid warning about unused
variable l.
* elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
old.

1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/ldsodefs.h: Fix typo in comment.

1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
char when comparing buffer contents with putback character.

1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
Undo last change.
* elf/Versions: Undo last change.  Export _dl_fpu_control and
_dl_fpu_control_set.
* elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
variables.  Include <fpu_control.h>.
* sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
_dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
to indicate that is was seen.
* sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
only if _dl_fpu_control was set and is equal to desired value.
* math/Makefile (aux): Undo last change.
* math/Versions: Export __fpu_control with version GLIBC_2.0.

26 years ago(dl-routines, elide-routines.os, rtld-routines): Undo last change.
Ulrich Drepper [Tue, 22 Sep 1998 12:41:24 +0000 (12:41 +0000)]
(dl-routines, elide-routines.os, rtld-routines): Undo last change.

26 years ago* sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
Andreas Schwab [Tue, 22 Sep 1998 01:42:11 +0000 (01:42 +0000)]
* sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly

optimized.
1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
optimized.

26 years agoUpdate.
Ulrich Drepper [Mon, 21 Sep 1998 14:34:13 +0000 (14:34 +0000)]
Update.

1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Add mempcpy optimization.
* sysdeps/generic/mempcpy.c: Undefined __mempcpy.
* intl/localealias.c: Define mempcpy only if not already defined.

* sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
defined.

1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* csu/abi-note.S: Emit the note directly instead of defining
a preprocessor macro that's only used once.  Don't include sysdep.h.
* abi-tags: Generalize Solaris entry.

1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
Change to array to avoid runtime relocation.
* sysdeps/unix/sysv/linux/ptsname.c: Update declarations.

1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
* math/Makefile ($(objpfx)libieee.a): Likewise.

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

* sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
Patch by John Tobey <jtobey@banta-im.com>.

26 years agoUpdate.
Ulrich Drepper [Sun, 20 Sep 1998 18:31:50 +0000 (18:31 +0000)]
Update.

1998-09-20  Ulrich Drepper  <drepper@cygnus.com>

* login/Makefile (distribute): Remove pty-internal.h, add
pty-private.h.

26 years agoUpdate.
Ulrich Drepper [Sun, 20 Sep 1998 18:10:54 +0000 (18:10 +0000)]
Update.

1998-09-20 18:07  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/tst-strtol.c: Add more checks.
Patch by Zack Weinberg <zack@rabi.columbia.edu>.

26 years agoUpdate.
Ulrich Drepper [Sun, 20 Sep 1998 09:48:01 +0000 (09:48 +0000)]
Update.

1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>

* elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
* elf/elf.h: Add AT_FPUCW.
* elf/Makefile (dl-routines): Add fpu_control.
(elide-routines.os): Add fpu_control.
(rtld-routines): Add fpu_control.
* math/Makefile (aux): Remove fpu_control.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
(_dl_show_auxv): Likewise.
* sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
if different from OS default.

* stdio-common/tstscanf.c: Add test case for (nil).

26 years agoUpdate.
Ulrich Drepper [Fri, 18 Sep 1998 18:51:34 +0000 (18:51 +0000)]
Update.

* stdio-common/vfscanf.c: Fix reading (nil) for %p.

26 years agoUpdate.
Ulrich Drepper [Fri, 18 Sep 1998 17:59:03 +0000 (17:59 +0000)]
Update.

1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>

* libio/fileops.c (_IO_new_file_underflow): Before allocating
buffer make sure the pushback buffer is destroyed.
(_IO_new_file_seekoff): Likewise.
If mode==0 quit early with the result.
Clear OEF flag after successful fseek.
* libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
* libio/ftello.c (ftello): Add offset from original buffer if
stream has pushed back characters.
* libio/ftello64.c (ftello64): Likewise.
* libio/iofgetpos.c (_IO_fgetpos): Likewise.
* libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
and _IO_save_ptr.
(_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
(_IO_default_pbackfail): Only stored push back character in original
buffer if it is the same as the one in the file at this position.
* libio/iofclose.c: Free backup buffer if one is available.
* libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
mode!=0.

* strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.

* time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.

1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>

* login/programs/pt_chown.c (more_help): Correct message that
describes the purpose of the program.

* login/openpty.c: Do not include pty-private.h.
(pts_name): New function.  Return name of slave pseudo terminal in
an allocated buffer if necessary.
(openpty): Use pts_name to get name of the slave end of the pseudo
terminal pair.

* sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
pts_name before return.

1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>

* math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.

26 years agoUpdate.
Ulrich Drepper [Fri, 18 Sep 1998 10:45:06 +0000 (10:45 +0000)]
Update.

1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* login/openpty.c: Include pty-private.h instead of
pty-internal.h.

26 years agoUpdate.
Ulrich Drepper [Fri, 18 Sep 1998 09:10:43 +0000 (09:10 +0000)]
Update.

1998-09-09  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.

1998-09-07  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
recent ld.so changes.
(elf_machine_runtime_setup): Correct behaviour when profiling.

26 years agoUpdate.
Ulrich Drepper [Thu, 17 Sep 1998 19:51:33 +0000 (19:51 +0000)]
Update.

1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
Patch by John Tobey <jtobey@banta-im.com>.

1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>

* login/pty-internal.h: Removed.  Moved constants related to the
`grantpt' helper program protocol to ...
* login/pty-private.h: ... here.  New file.
* sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
to make the function work with kernels >= 2.1.115.
* sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
version if using the cloning device fails.
* sysdeps/unix/sysv/linux/grantpt.c: New file.
* sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
* sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
use by Linux specific code.
* sysdeps/unix/bsd/unlockpt.c: General cleanup.
* sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
function.  (grantpt): Use pts_name, check group and permission
mode in addition to owner.  Try to set the owner, group and
permission mode first without invoking the helper program.
* login/programs/pt_chown.c: Largely rewritten.  Add argp and
internationalization support.  Use symbolic constants instead of
hardwired numbers for permission mode.
* sysdeps/unix/bsd/ptsname.c: New file.

1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: Undo last change.

* posix/wordexp.c: Undo last change.

26 years agoUpdate.
Ulrich Drepper [Wed, 16 Sep 1998 18:29:58 +0000 (18:29 +0000)]
Update.

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

* nscd/grpcache.c (save_grp): Partly undo last change.

* nscd/pwdcache.c (save_pwd): Undo last change.

26 years agoUpdate.
Ulrich Drepper [Wed, 16 Sep 1998 17:54:34 +0000 (17:54 +0000)]
Update.

1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].

1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Add profiling support.
(TRAMPOLINE_TEMPLATE): New macro.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
(RTLD_START): Prettify, and set __libc_stack_end properly.
(elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
and check for sym being NULL instead.
* sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
of stack space.
* sysdeps/sparc/sparc64/lshift.S: Likewise.
* sysdeps/sparc/sparc64/mul_1.S: Likewise.
* sysdeps/sparc/sparc64/rshift.S: Likewise.
* sysdeps/sparc/sparc64/submul_1.S: Likewise.
* sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
MEDANY code model %g4 usage.
* sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
MEDANY code model %g4 usage.
* sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
code model address formation.
* sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
include elf/ldsodefs.h
(DT_SPARC): Remove.
(elf_machine_matches_host): It is now EM_SPARCV9.
(elf_machine_dynamic): Clean up to remove ugly cast.
(elf_machine_fixup_plt): Rework for new V9 ABI, add support for
new PLT formats.
(elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
Prettify rest of function.
[R_SPARC_COPY]: Check for sym being NULL.
[R_SPARC_32]: Handle it.
[R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
MEDMID code model.
[R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
MEDANY code model.
[R_SPARC_NONE]: Remove this case, as it is now checked earlier.
(elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
Add profiling support.
(TRAMPOLINE_TEMPLATE): New macro.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
(RTLD_START): Prettify and set __libc_stack_end.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
Define.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
(SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
unused variable scratch.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
Declare.
(__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
old format kernel sigaction structures.
* sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
ucontext include.
(_JMPBUF_UNWINDS): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
statfs64 structure, which is exactly the same as the normal one.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
of stack.  Use correct syscall trap number.  Add branch prediction
settings to branch instructions.  Remove old MEDANY code model %g4
referneces for non-PIC.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
__libc_longjmp and __libc_siglongjmp strong aliases.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
Also define to __no__readdir64_decl around readdir.c inclusion.
(__readdir64): Add strong alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
Set strong and weak names properly.

1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* manual/Makefile (AWK): Default to gawk if standalone.

1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (distribute): Undo last change.
* Make-dist (+tsrc) [not subdir]: Also include indirection headers
for sysdep headers.
(+subdir-headers): Removed, unused.

1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
$(do-install).

1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
absolute name in $(config-sysdirs), can never happen.
($(+sysdir_pfx)sysd-rules): Likewise.
* Makeconfig (full-config-sysdirs): Likewise.
(all-Subdirs-files): Prepend $(..).

* configure.in: Don't check for absolute name in $add_ons_pfx, can
not happen.  Let --enable-add-ons=yes work if no add-ons actually
exist.

1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
continuations in command.

1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/oldstdfiles.c (_IO_stdin_used): Update declaration.

26 years agoUpdate
Ulrich Drepper [Tue, 15 Sep 1998 21:24:37 +0000 (21:24 +0000)]
Update

1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: If expansion or substitution occurs
anywhere in a word, the entire word is subject to field-splitting.

* posix/wordexp.c (parse_glob): Look for end of word instead of
end of field when deciding what to glob.
(field_split_word): New function, now the only place where
field-splitting is performed.
(parse_dollars): New parameter - tell the caller if
field-splitting should be performed on this word.

* posix/wordexp-test.c (testit): Only call wordfree if wordexp
succeeded (or failed with WRDE_NOSPACE).

1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (wordexp): Don't convert IFS characters to
blanks.

* posix/wordexp-test.c: Words not the result of expansion or
substitution should remain unchanged.

26 years agoUpdate.
Ulrich Drepper [Tue, 15 Sep 1998 18:42:14 +0000 (18:42 +0000)]
Update.

1998-09-15  Ulrich Drepper  <drepper@cygnus.com>

* elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
(_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.

26 years agoUpdate.
Ulrich Drepper [Tue, 15 Sep 1998 12:10:51 +0000 (12:10 +0000)]
Update.

1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* stdio-common/Makefile: Include Makeconfig so that
$(inst_includedir) is defined.

26 years agoUpdate.
Ulrich Drepper [Tue, 15 Sep 1998 09:18:06 +0000 (09:18 +0000)]
Update.

1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* io/pwd.c: Include <mcheck.h>.

26 years agoUpdate.
Ulrich Drepper [Tue, 15 Sep 1998 08:04:19 +0000 (08:04 +0000)]
Update.

1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>

* nscd/pwdcache.c (save_pwd): Correct copying.
* nscd/grpcache.c (save_grp): Likewise.

26 years ago* nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call. (free_pwd...
Ulrich Drepper [Mon, 14 Sep 1998 23:40:58 +0000 (23:40 +0000)]
* nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.         (free_pwd): Adjust for this change.         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.         (free_grp): Adjust for this change.

1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>

* nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
(free_pwd): Adjust for this change.
* nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
(free_grp): Adjust for this change.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 22:04:05 +0000 (22:04 +0000)]
Update.

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

* nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 18:45:17 +0000 (18:45 +0000)]
Update.

* grp/initgroups.c: Include stdlib.h.
Patch by Zack Weinberg.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 16:38:49 +0000 (16:38 +0000)]
Update.

1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
(install-others): Add bits/stdio_lim.h.
Add rule to install bits/stdio_lim.h.

* sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.

* Makefile (distribute): Add include/sys/mman.h.

* sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
* sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
* sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 15:22:40 +0000 (15:22 +0000)]
Update.

1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
for field-splitting :abc: is correct, and that two fields should
result. Revert tests to reflect this.

* posix/wordexp.c (w_emptyword): Remove function.
(exec_comm): Don't use w_emptyword.
(parse_param): Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 15:14:09 +0000 (15:14 +0000)]
Update.

1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/arm/fpu/Dist: Moved to...
* sysdeps/arm/Dist: ...here.
* sysdeps/posix/Dist: Removed.
* sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
* sysdeps/unix/sysv/linux/i386/Dist: ...here.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 12:16:30 +0000 (12:16 +0000)]
Update.

1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>

* csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.

26 years agoUpdate.
Ulrich Drepper [Mon, 14 Sep 1998 11:43:26 +0000 (11:43 +0000)]
Update.

1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsmbs-tst1.c: Include stdlib.h.

1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* libc-work/nis/nss_nisplus/nisplus-service.c
(_nss_nisplus_parse_servent): Convert port in network byte order.

1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
to provide only malloc and calloc.
* include/stdlib.h: Support the above.
* string/bits/string2.h: Use __need_malloc_and_calloc when
including stdlib.h.
(__string2_1bptr_p): Avoid -Wbad-function-cast warnings.

* iconvdata/iso-2022-jp.c: Include <stdlib.h>.
* iconvdata/iso646.c: Include <stdlib.h>.

1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sunrpc/rpc_cout.c: Add braces around ambiguous else.
* sysdeps/libm-ieee754/w_pow.c: Likewise.
* sysdeps/libm-ieee754/w_powf.c: Likewise.
* sysdeps/libm-ieee754/w_powl.c: Likewise.

1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* stdio-common/stdio_lim.h.in: New file.  All parameters
are adjustable at build time.
* Rules: Add a rule to build bits/stdio_lim.h from
stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
all subdirectories know how to make the file.  It can't be
in Makerules because then it gets built at top level and the
dependencies are wrong.)

* stdio-common/Makefile (distribute): Add stdio_lim.h.in.
* sysdeps/unix/sysv/linux/Makefile: Delete rules to make
stdio_lim.h.
* sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
* sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
* sysdeps/posix/Makefile: Removed.
* sysdeps/posix/mk-stdiolim.c: Removed.
* sysdeps/generic/bits/stdio_lim.h: Removed.

1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* argp/argp-help.c: Fixup indentation.
* nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
* resolv/nss_dns/dns-network.c: Likewise.
* resolv/res_send.c: Likewise.
* rt/aio_cancel.c: Likewise.
* rt/aio_misc.c: Likewise.

1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (install-symbolic-link): Remove the link list file at last.
* Makerules (install-clean-symbolic-link-list): Removed.

1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* timezone/tst-timezone.c: Print time in UTC to get consistent
output.

1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (_dl_rpath): Removed.
* elf/dl-support.c (_dl_path): Removed.
* elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
(CFLAGS-dl-support.c): Removed.

* elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
uses changed.
(_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
instead of appending it to the main map's rpath info.
(_dl_map_object): Consistently use LD_LIBRARY_PATH after all
DT_RPATHs.  This makes it effective again.
(decompose_rpath): Remove second parameter, callers changed.
(fillin_rpath): Allocate enough space in curwd.
(expand_dynamic_string_token): Cope with get_origin returning -1.

1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* libc-work/nis/nss_compat/compat-pwd.c: Add support for
passwd.adjunct.

* nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
invalid password.

1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/locale.c: Update dates.

26 years agoUpdate.
Ulrich Drepper [Sun, 13 Sep 1998 15:31:28 +0000 (15:31 +0000)]
Update.

1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
size_t is defined.  Some reordering of defenitions to make
maintaining this file in parallel with the linux-specific file easier.

26 years agoUpdate.
Ulrich Drepper [Sun, 13 Sep 1998 15:00:27 +0000 (15:00 +0000)]
Update.

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

* io/pwd.c (main): Add call to mtrace.

* malloc/mtrace.pl: Quote @ in string.

26 years agoUpdate.
Ulrich Drepper [Sun, 13 Sep 1998 13:37:57 +0000 (13:37 +0000)]
Update.

1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (parse_arith): Fix memory leaks.
(exec_comm): Likewise.
(parse_param): Likewise.
(wordexp): Likewise.
(exec_comm): Reduce number of function return points.
(parse_param): Likewise.
(wordexp): Likewise.

26 years agoUpdate.
Ulrich Drepper [Sun, 13 Sep 1998 08:30:54 +0000 (08:30 +0000)]
Update.

1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
yield three fields, not two.  Test both parameter expansion and
command substitution for correct field-splitting behaviour.

* posix/wordexp.c (w_emptyword): New function.
(parse_param): Use it.
(exec_comm): Likewise, for consistency with the way parse_param
splits fields.
(parse_param): Fix some memory leaks.

26 years agoUpdate.
Ulrich Drepper [Sun, 13 Sep 1998 08:25:53 +0000 (08:25 +0000)]
Update.

1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
Don't mark asm `volatile'.
(__elf_machine_runtime_setup): Clear the last partial block in the PLT
from the data cache too.  Assume it isn't in the instruction cache yet.
(__elf_machine_fixup_plt): Clear the modified address from the caches.

26 years agoUpdate.
Ulrich Drepper [Sat, 12 Sep 1998 21:33:22 +0000 (21:33 +0000)]
Update.

1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/segfault.c (install_handler): Install signal
handler with SA_ONSTACK instead of setting the stack flags to
SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
defined.

1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* signal/signal.h: Fix multiple inclusion guard to cover the
entire file.
* wcsmbs/wchar.h: Remove prototype of internal function
__mbsrtowcs.
* sysdeps/i386/i486/bits/string.h (memchr): Don't do
arithmetic on `void *'.

26 years agoUpdate.
Ulrich Drepper [Sat, 12 Sep 1998 08:42:05 +0000 (08:42 +0000)]
Update.

1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: Fix wrong tests.  Add new tests.

* posix/wordexp.c (wordexp): Perform word-splitting instead of
field-splitting here.
(wordexp): If out of memory mid-word, free the word (but still
leave pwordexp alone for caller to see).
(parse_param): Allow for zero-length fields (smarter checking of
memory allocation failure).
(w_addword): Convert NULL words to "".
(wordexp): Convert left-over IFS characters to blanks (like bash).

26 years agoUpdate.
Ulrich Drepper [Fri, 11 Sep 1998 22:27:34 +0000 (22:27 +0000)]
Update.

* iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
and NATS-SEFI.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
and nats-sefi.h.
Add rules for header generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/iso_10367-box.c: New file.
* iconvdata/mac-is.c: New file.
* iconvdata/nats-dano.c: New file.
* iconvdata/nats-sefi.c: New file.

Add rules for header generation.

26 years agoUpdate.
Ulrich Drepper [Fri, 11 Sep 1998 21:33:55 +0000 (21:33 +0000)]
Update.