Ulrich Drepper [Sun, 5 Apr 1998 11:23:12 +0000 (11:23 +0000)]
Update.
1998-04-05 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
and wc*tomb* functions.
1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
* sysdeps/unix/start.c: Fix typo.
1998-04-04 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_db.c (__gconv_find_transform): Fix typo.
Ulrich Drepper [Sat, 4 Apr 1998 07:46:55 +0000 (07:46 +0000)]
Update.
1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
expressions and using array variables.
* sysdeps/libm-ieee754/e_asin.c: Likewise.
* sysdeps/libm-ieee754/e_j0.c: Likewise.
* sysdeps/libm-ieee754/e_j1.c: Likewise.
* sysdeps/libm-ieee754/e_log.c: Likewise.
* sysdeps/libm-ieee754/e_pow.c: Likewise.
* sysdeps/libm-ieee754/k_cos.c: Likewise.
* sysdeps/libm-ieee754/k_sin.c: Likewise.
* sysdeps/libm-ieee754/k_tan.c: Likewise.
* sysdeps/libm-ieee754/s_atan.c: Likewise.
* sysdeps/libm-ieee754/s_erf.c: Likewise.
* sysdeps/libm-ieee754/s_expm1.c: Likewise.
* sysdeps/libm-ieee754/s_log1p.c: Likewise.
Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
Ulrich Drepper [Sat, 4 Apr 1998 07:25:25 +0000 (07:25 +0000)]
Update.
1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv.c: Rewrite of the low-level of gconv.
* iconv/gconv.h: Likewise.
* iconv/gconv_builtin.h: Likewise.
* iconv/gconv_close.c: Likewise.
* iconv/gconv_db.: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconvdata/8bit-gap.c: Adapt for rewrite.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/euckr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
* iconvdata/uhc.c: Likewise.
Ulrich Drepper [Fri, 3 Apr 1998 15:46:53 +0000 (15:46 +0000)]
Update.
1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_int.h: New file. Internal header.
* iconv/Makefile (distribute): Add gconv_int.h.
* iconv/gconv.h: Remove definition which are now in gconv_int.h.
* iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
* iconv/gconv_close.c: Likewise.
* iconv/gconv_conf.c: Likewise.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/iconv.c: Likewise.
* iconv/iconv_close.c: Likewise.
* iconv/iconv_open.c: Likewise.
* iconv/iconv_prog.c: Likewise.
1998-04-03 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
missing braces.
Ulrich Drepper [Fri, 3 Apr 1998 12:19:27 +0000 (12:19 +0000)]
Update.
1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
Ulrich Drepper [Fri, 3 Apr 1998 12:07:01 +0000 (12:07 +0000)]
Update.
1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
Based on patch from Pat Beirne:
* sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
PIC and non-PIC now. Correctly negate error number.
(errno): Use `%' not `@' in .type directives.
1998-04-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/strtok.S: Change to use single exit point.
* sysdeps/i386/i686/strtok.S: Likewise.
Ulrich Drepper [Fri, 3 Apr 1998 11:18:13 +0000 (11:18 +0000)]
Update.
1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
default.
1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (installed-libcs): Fix typo.
1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
(UHC-routines): Remove ksc5601.
Ulrich Drepper [Fri, 3 Apr 1998 08:27:10 +0000 (08:27 +0000)]
Update.
1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
introduced in last change.
Ulrich Drepper [Fri, 3 Apr 1998 06:25:38 +0000 (06:25 +0000)]
Update.
1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
before 2.1.92.
Ulrich Drepper [Thu, 2 Apr 1998 17:59:27 +0000 (17:59 +0000)]
Update.
* sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
Ulrich Drepper [Thu, 2 Apr 1998 17:42:53 +0000 (17:42 +0000)]
Update.
1998-04-02 Ulrich Drepper <drepper@cygnus.com>
* stdlib/isomac.c: Use -isystem instead of -I for system include
dir.
1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
* resolv/res_comp.c (underscorechar): New.
(middlechar): Allow '_'.
1998-04-02 Ulrich Drepper <drepper@cygnus.com>
* intl/explodename.c (stdlib.h): Include that file only if
STDC_HEADERS or _LIBC.
(string.h): Include that file only if HAVE_STRING_H or _LIBC.
Patch by Philippe De Muyter <phdm@macqel.be>.
1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
* aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
(AC_PROG_CHECK_VER): New macro.
* configure.in: Use AC_PROG_CHECK_VER to check versions of
gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
* sysdeps/i386/i686/strtok.S: New file
* sysdeps/i386/i686/strtok_r.S: New file
1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
* posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
type to __off64_t.
* libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
parameter as __off64_t instead of __off_t.
(ftello): Make alias for ftello64 instead of ftello. Change
return type to __off64_t.
1998-04-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/bits/string.h: Fix various typos.
Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
* sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
1998-04-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
lchown syscall correctly. [PR libc/541].
Ulrich Drepper [Thu, 2 Apr 1998 13:11:24 +0000 (13:11 +0000)]
Update.
* intl/finddomain.c: Likewise.
* intl/gettextP.h: Likewise.
* intl/loadmsgcat.c: Likewise.
Ulrich Drepper [Thu, 2 Apr 1998 12:44:17 +0000 (12:44 +0000)]
Update.
1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
* localedata/Makefile: Correct testsuite rules.
* iconvdata/gconv-modules: Set cost of ISO646 module to 2.
* iconvdata/iso646.c: Fix conversion from UCS4.
* elf/ldsodefs.h: Mark internal function with internal_function.
* elf/dl-addr.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dlerror.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* iconv/gconv_simple.c: New builtins for UCS en/decoding.
* iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
Ulrich Drepper [Wed, 1 Apr 1998 17:44:34 +0000 (17:44 +0000)]
Update.
1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv?simple.c: New builtins for UCS en/decoding.
* iconv/gconv_builtin.h: Add definitions for new builtins.
* iconv/gconv.h: Add prototypes for new builtins.
* iconvdata/Makefile (modules): Add ISO646.
Add rules for ISO646 module.
(distribute): Add iso646.c.
* iconvdata/gconv-modules: Add module and alias definition for
ISO646 charsets.
* iconvdata/iso646.c: New file.
Ulrich Drepper [Wed, 1 Apr 1998 16:15:20 +0000 (16:15 +0000)]
Update.
1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
* iconv/iconv_prog.c: Implement --list option to print available
coded character sets.
1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
Make fread() read large blocks straight to the user buffer.
* libio/fileops.c (_IO_file_xsgetn): New function.
(_IO_file_jumps): Use it.
* libio/libioP.h: Prototype it.
Ulrich Drepper [Wed, 1 Apr 1998 13:19:51 +0000 (13:19 +0000)]
Update.
* iconv/gconv_conf.c (builtin_aliases): New variable.
(__gconv_read_conf): Add builtin aliases.
* iconv/gconv_builtin.c (builtin_map): Define BUILTIN?ALIAS as an
noop macro before including gconv_builtin.h.
* iconv/gconv_builtin.h: Add alias names.
Ulrich Drepper [Wed, 1 Apr 1998 12:27:00 +0000 (12:27 +0000)]
Update.
1998-04-01 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
number of converted bytes correctly.
Ulrich Drepper [Wed, 1 Apr 1998 12:01:19 +0000 (12:01 +0000)]
Update.
1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
we only wait for a replay.
Ulrich Drepper [Wed, 1 Apr 1998 10:08:08 +0000 (10:08 +0000)]
Update.
1998-04-01 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile: Finally fix dependencies for JOHAB and
EUC-KR modules.
Ulrich Drepper [Wed, 1 Apr 1998 09:15:07 +0000 (09:15 +0000)]
Update.
1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
use PLTJMP() rather than explicit (PLT).
* sysdeps/arm/elf/start.S: Leave most of the initialisation for
__libc_start_main().
Based on patch from Pat Beirne:
* sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
Always define, not only #ifndef PIC.
(DO_CALL): Pass fifth argument correctly in R4.
(PSEUDO): Correct test for error, call syscall_error through PLT
if PIC.
1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
definitions.
Ulrich Drepper [Wed, 1 Apr 1998 08:11:45 +0000 (08:11 +0000)]
Update.
1998-04-01 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
JOHAB.so.
Ulrich Drepper [Wed, 1 Apr 1998 07:11:57 +0000 (07:11 +0000)]
Update.
1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
* io/Makefile (static-only-routines): Add stat64, fstat64 and
lstat64.
1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/Makefile: Use object-suffixes-for-libc instead of
object-suffixes.
* rpm/Makefile (install-lib): Likewise.
1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
* sysdeps/unix/sysv/linux/configure.in: Match $machine against
`m68*', not only `m68k'.
1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Wed, 1 Apr 1998 06:45:43 +0000 (06:45 +0000)]
Match $machine against `m68*', not only `m68k'.
Andreas Schwab [Wed, 1 Apr 1998 00:53:13 +0000 (00:53 +0000)]
* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
* sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
install lddlibc4.
Wed Apr 1 10:50:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
* sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
install lddlibc4.
Ulrich Drepper [Tue, 31 Mar 1998 23:45:03 +0000 (23:45 +0000)]
Update.
* iconvdata/Makefile: Use libKSC shared object in JOHAB and
EUC-KR.
* sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
comment.
1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
* sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
the init stuff.
1998-03-31 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
adjtimex syscall.
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
adjtimex.
Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Makerules (install): Change comment for libc.so following the
libc_nonshared changes.
1998-03-31 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Tue, 31 Mar 1998 22:46:26 +0000 (22:46 +0000)]
Update.
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
* iconvdata/gap.pl: Avoid using %#06x.
1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Makerules: Use $? instead of S^ when invoking ar.
1998-03-31 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Tue, 31 Mar 1998 22:04:32 +0000 (22:04 +0000)]
Update.
* db2/compat.h: Allow EFTYPE being defined.
* sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
* sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
* sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
* sysdeps/mach/bits/libc-lock.h: Fix typo.
(__libc_once): Correctly unlock semaphore.
* sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
* sysdeps/unix/bsd/getpt.c: Fix typo.
Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
1998-03-31 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Tue, 31 Mar 1998 21:20:32 +0000 (21:20 +0000)]
Update.
1998-03-31 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
macros.
Ulrich Drepper [Tue, 31 Mar 1998 18:24:48 +0000 (18:24 +0000)]
Update.
1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
* include/mntent.h: New file.
* elf/Makefile (trusted-dirs.h): Append slash to filename.
* elf/dl-load.c: Rewrite search path handling.
* elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
* elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
* sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
* elf/ldsodefs.h: Add prototype.
Ulrich Drepper [Tue, 31 Mar 1998 08:36:05 +0000 (08:36 +0000)]
Update.
* nss/nsswitch.c (__nss_lookup): Adjust comment.
Ulrich Drepper [Mon, 30 Mar 1998 22:44:00 +0000 (22:44 +0000)]
Update.
Ulrich Drepper [Mon, 30 Mar 1998 18:45:41 +0000 (18:45 +0000)]
Update.
1998-03-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
function.
* sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
New function.
(HWCAP_IMPORTANT): New definition.
1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
* elf/dl-open.c (_dl_open): Fix a typo.
(_dl_global_scope_alloc): Make it static.
* nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
Ulrich Drepper [Mon, 30 Mar 1998 17:26:52 +0000 (17:26 +0000)]
Update.
1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Remove duplicate rules to handle stamp.oS.
1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/examples/inetsrv.c (main): Change prototype of
make_socket following change in mkisock.c.
* manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
example host.
(main): Change prototype of init_sockaddr following change in
isockadd.c.
* manual/examples/mkisock.c (make_socket): Use uint16_t for port.
* manual/examples/isockad.c (init_sockaddr): Likewise.
* manual/examples/mkfsock.c (make_named_socket): Removed blank
lines for clarification.
(make_named_socket): Use strncpy instead of strcpy.
Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
Ulrich Drepper [Mon, 30 Mar 1998 17:24:28 +0000 (17:24 +0000)]
Update.
1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Remove duplicate rules to handle stamp.oS.
1998-03-30 Ulrich Drepper <drepper@cygnus.com>
* Makefile: Fix test rules from last patch.
Ulrich Drepper [Mon, 30 Mar 1998 13:32:03 +0000 (13:32 +0000)]
Update.
1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
* Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
determining libs to remove.
(postclean): Add soversions.mk.
* Makerules (common-mostlyclean): Add tests-static and generated
files.
Ulrich Drepper [Mon, 30 Mar 1998 13:01:46 +0000 (13:01 +0000)]
Update.
1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
scanning for \0.
(__strncat_g): Add i686 specific code.
1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Reporting Bugs): Ask to include section
names in reports.
1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
guard against direct inclusion.
1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Rework support for libc_nonshared.a:
* Makeconfig (object-suffixes-for-libc): New variable.
* Rules: Remove handling of static-only and shared-only routines.
* Makerules: Handle them here instead. Use
object-suffixes-for-libc instead of object-suffixes when dealing
with libc objects.
(object-suffixes-for-rules): Remove variable.
(elide-routines.oS): Elide all routines except static-only
routines.
($(objpfx)stamp.oS): Special rule for when static-only-routines is
empty.
(installed-libcs): Remove special case for .oS.
(rmobjs): Likewise.
1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
do-tst-rpmatch): New targets.
(test): Use them.
(install-locales): Ignore comment lines.
1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/Makefile ($(objpfx)ld.so): Depend on version script.
($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
($(objpfx)rtldtbl.h): Likewise.
(CPPFLAGS-dl-load.c): Fix reference to object directory.
1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
* manual/string.texi (Finding Tokens in a String): Extend strsep
description and correct example.
1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/socket.texi: Remove misguided explicit line breaks and
fix the formatting problem instead by reformulating the
paragraphs.
* manual/filesys.texi: Likewise.
* manual/conf.texi: Likewise. Don't typeset table with index
fonts, that looks worse than a minimally overfull line.
1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* nscd/Makefile (nscd-modules): Move definition outside of
conditional.
* pwd/Makefile: Use have-thread-library to test for thread
library.
1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
* iconvdata/uhc.c (gconv): Remove unused variable idx.
1998-03-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
Ulrich Drepper [Sun, 29 Mar 1998 22:56:22 +0000 (22:56 +0000)]
Update.
* nss/getXXent_r.c: Correctly handle failing setXXent function.
Ulrich Drepper [Sun, 29 Mar 1998 21:51:33 +0000 (21:51 +0000)]
Update.
1998-03-29 Ulrich Drepper <drepper@cygnus.com>
* inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
Reported by Andreas Jaeger.
Ulrich Drepper [Sun, 29 Mar 1998 21:30:17 +0000 (21:30 +0000)]
Update.
(distribute): Add dl-librecon.h.
Ulrich Drepper [Sun, 29 Mar 1998 21:14:40 +0000 (21:14 +0000)]
Update.
1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile: Fix typo.
* elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
* elf/ldd.sh.in: Likewise.
* elf/ldsodefs.h: Declare _dl_correct_cache_id.
* elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
Use strsep correctly.
(process_envvars): Allow platform specific variables.
* sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
(_dl_load_cache_lookup): Test cache IDs found against
_dl_correct_cache_id.
* sysdeps/generic/dl-librecon.h: New file.
* sysdeps/unix/sysv/linux/dl-librecon.h: New file.
* sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
* sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
Ulrich Drepper [Sun, 29 Mar 1998 17:03:23 +0000 (17:03 +0000)]
Update.
1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
* config.make.in (ldd-rewrite-script): New variable.
* configure.in: Substitute ldd-rewrite-script.
* elf/Makefile: Rewrite rules to generate ldd script.
* elf/ldd.bash.in: Allow handling of non-ELF binaries.
* elf/ldd.sh.in: Likewise.
* sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
* sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
point to sed script for libc4 handling insertion for ix86, m68, SPARC.
* sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
* inet/rcmd.c (iruserok): Remain setuid to the local user
while .rhosts is actually read, to make .rhosts-over-NFS work
(PR libc/524). Use iruserfopen() for security checks on both
hosts.equiv and .rhosts. General cleanup.
(iruserfopen): New function, performs careful checking on
hosts.equiv/.rhosts files. Disallows all the old forbidden
stuff plus hard links to files.
1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
* setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
* sysdeps/i386/i486/bits/string.h: Fix typos.
* nss/nsswitch.c (__nss_lookup): Fix the bogus checking for
"adjusted for next function".
1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
strong alias.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
* libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
Added. Used by libm.so on alpha.
1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
defined.
1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
* Makerules (object-suffixes-for-rules): Add .oS only for
building shared library.
Add ranlib rule for nonshared library.
(rmobjs): Fix typo.
* Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
into for shared library only.
(CPPFLAGS-.oS): Add -DPIC.
(libtypes): Use $(object-suffixes-for-rules) instead of
$(object-suffixes).
1998-03-28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
and install lddlibc4.
1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
* iconvdata/gap.pl: Gobble rest of line with a scalar, not a
hash.
* iconvdata/gaptab.pl: Likewise.
Ulrich Drepper [Fri, 27 Mar 1998 22:57:26 +0000 (22:57 +0000)]
Update.
1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
* Rules: Allow Makefiles to specify test-static for tests which
cannot be linked dynamically.
* math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
tests-static.
* libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
* misc/error.c: Pretty print.
1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (libc_nonshared-name): Remove variable.
(installed-libcs): Use libc-name instead.
($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
dynamic linker.
* Makeconfig (link-libc): Link against libc_nonshared.a instead of
libc.a. Remove explicit reference to dynamic linker.
1998-03-27 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
to wchar_t.
* iconv/iconv_prog.c: Correctly test for write failure.
* iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
* iconvdata/gconv-modules: Likewise.
* iconvdata/euckr.c: New file.
* iconvdata/johab.c: New file.
* iconvdata/ksc5601.c: New file.
* iconvdata/ksc5601.h: New file.
* iconvdata/uhc.c: New file.
Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
* libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
* stdio/fopen.c: Correct handling of 'x' flag.
Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
* sunrpc/rpcsvc/key_prot.x: Likewise.
* sunrpc/key_prot.c: Likewise.
1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/bits/string.h: Correct things which never worked.
* sysdeps/i386/i486/bits/string.h: Add clobber marks.
Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1998-03-27 Ulrich Drepper <drepper@cygnus.com>
* intl/textdomain.c [_LIBC]: Define strdup only if not yet
defined. Reported by Thorsten Kukuk.
Ulrich Drepper [Fri, 27 Mar 1998 17:27:47 +0000 (17:27 +0000)]
Update.
1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* locales/ru_RU: Abbreviations must end with a consonant. Fix for
Tuesday by Ilya Ovchinnikov <ilya@taspd13a.npi.msu.su>. [PR libc/517]
Ulrich Drepper [Thu, 26 Mar 1998 18:53:12 +0000 (18:53 +0000)]
Add stub for ldd to examine libc binaries.
1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/lddlibc4.c: New file.
Ulrich Drepper [Thu, 26 Mar 1998 18:01:01 +0000 (18:01 +0000)]
Update.
1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Supported Configurations): Add
arm-linuxaout and arm-none.
1998-03-26 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.0.93.
1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
* configure.in (libc_cv_ar_S): New to indicate if ar S works.
* config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
* Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
(do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
1998-03-26 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig (link-libc): Add missing use of libc_nonshared.a.
1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Put the static-only routines in a separate library.
* Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
variables.
(all-object-suffixes): Add .oS.
* Makerules (libc_static-name): New variable.
(installed-libcs): Add libc_nonshared.a.
($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
(object-suffixes-for-rules): New variable. Use it instead of
object-suffixes for generating compilation rules.
(rmobjs): Also remove *.oS.
* Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
($(objpfx)stamp.oS): New target.
1998-03-26 Ulrich Drepper <drepper@cygnus.com>
* Makefile (FAQ): Automatically check in regenerated FAQ.
1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Makefile (INSTALL): Depend on install.texi, not maint.texi.
Ulrich Drepper [Wed, 25 Mar 1998 16:38:08 +0000 (16:38 +0000)]
Update.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
* sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
* sysdeps/generic/stub_warning: Removed.
* Makefile (distribute): Add include/des.h.
* manual/Makefile (distribute): Change dir-add.texi to
dir-add.texinfo.
Ulrich Drepper [Wed, 25 Mar 1998 15:21:09 +0000 (15:21 +0000)]
Update.
1998-03-25 Ulrich Drepper <drepper@cygnus.com>
* glibcbug.in: Create files safely when mktemp is not available.
* sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
Patch by a sun <asun@saul1.u.washington.edu>.
1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* libc.map: Rename getname to getnetname.
1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi: Use supported platform in examples.
* manual/install.texi: Document some installation tips.
1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
Fix a bug so that it returns an error if a numeric parameter is
unset and WRDE_UNDEF is set.
Patch by Andreas Schwab and Tim Waugh.
* posix/wordexp-test.c: Add new new test.
1998-03-25 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (regex_compile): Last patch wasn't entirely
correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/filesys.texi (Scanning Directory Content): Fix typo.
1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
* sysdeps/i386/bits/string.h: Fix all assembler statements so that
clobbered registers don't appear as operands.
Ulrich Drepper [Tue, 24 Mar 1998 21:38:35 +0000 (21:38 +0000)]
Update.
* posix/regex.c: Undefine ISASCII and ISPRINT before defining for
Solaris' sake.
Ulrich Drepper [Tue, 24 Mar 1998 21:15:02 +0000 (21:15 +0000)]
Update.
1998-03-24 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (regex_compile): Don't allow non-alphabet
characters in character set name.
Ulrich Drepper [Tue, 24 Mar 1998 20:51:53 +0000 (20:51 +0000)]
Update.
1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (w_newword): New function.
(do_parse_glob): New function.
(parse_glob): Use do_parse_glob. Now handles the case where a
variable expansion causes a field-split.
(wordexp): Use w_newword.
(parse_arith): Likewise.
(exec_comm): Likewise.
(parse_comm): Likewise.
(parse_param): Likewise.
(parse_backtick): Likewise.
1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-tst.sh: Another test.
* posix/wordexp-test.c: Two new tests.
* posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
directly (the code using realloc was buggy).
(parse_param): Fix typo in comment.
Ulrich Drepper [Tue, 24 Mar 1998 17:03:23 +0000 (17:03 +0000)]
Update.
* elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* libc.map: Add more rpc auth functions/variables.
* nscd/nscd.c: Add -g option to argp options.
1998-03-24 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Be prepared for gcc 2.9.10 and up.
* configure.in: Add missing disabling of quote characters in
compiler version check. Reported by HJ Lu.
1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
1998-03-24 Ulrich Drepper <drepper@cygnus.com>
* intl/locale.alias: Fix spelling of romanian.
Ulrich Drepper [Tue, 24 Mar 1998 12:21:06 +0000 (12:21 +0000)]
Update.
1998-03-24 12:14 Ulrich Drepper <drepper@cygnus.com>
* Makefile (distribute): Add SUPPORTED.
(install-locales): New rule to install locale dat ausing localedef.
* SUPPORTED: New file. Names all usable locales.
Based on a patch by Cristian Gafton <gafton@redhat.com>.
* locales/gr_GR: Correct collation description.
* locales/nl_NL: Correct Charset requirement.
* locales/pt_BR: Fix int_curr_symbol.
* locales/ru_RU: Fix ctype data.
Patches by Cristian Gafton <gafton@redhat.com>.
* locales/nl_NL: Fix yesexpr/noexpr.
* locales/pt_BR: Likewise.
Ulrich Drepper [Tue, 24 Mar 1998 10:39:42 +0000 (10:39 +0000)]
Update.
1998-03-24 Ulrich Drepper <drepper@cygnus.com>
* sunrpc/Makefile (headers): Add rpc/rpc_des.h.
(distribute): Remove des.h.
* include/des.h: New file.
* sunrpc/des.h: Moved to ...
* sunrpc/rpc/rpc_des.h: ...here.
Ulrich Drepper [Tue, 24 Mar 1998 10:25:31 +0000 (10:25 +0000)]
Update.
1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
* inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
Fix paren.
1998-03-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
Ulrich Drepper [Tue, 24 Mar 1998 00:39:45 +0000 (00:39 +0000)]
Update.
1998-03-24 Ulrich Drepper <drepper@cygnus.com>
* elf/ldsodesf.h: New file.
* elf/Makefile (distribute): Add ldsodefs.h.
* elf/link.h: Separate internal information in exter header.
* elf/rtld.c: Include elf/ldsodefs.h not link.h.
* elf/dl-minimal.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* elf/sprof.c: Likewise.
* elf/dlsym.c: Likewise.
* elf/dlvsym.c: Likewise.
* elf/dlerror.c: Likewise.
* elf/dladdr.c: Likewise.
* elf/dlclose.c: Likewise.
* elf/dlopen.c: Likewise.
* elf/dl-addr.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* nss/nsswitch.c: Likewise.
Ulrich Drepper [Mon, 23 Mar 1998 13:47:20 +0000 (13:47 +0000)]
Update.
1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
* manual/nss.texi: The database is not called network but networks.
Reported by Herbert Xu <herbert@gondor.apana.org.au>.
Ulrich Drepper [Mon, 23 Mar 1998 12:30:14 +0000 (12:30 +0000)]
Update.
1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: Correct test for compiler version.
Check that LD_LIBRARY_PATH doesn't contain current path.
Ulrich Drepper [Mon, 23 Mar 1998 11:53:10 +0000 (11:53 +0000)]
Update.
1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
* elf/dl-close.c (_dl_close): Fix byte count while removing
the shared object from the global scope list and optimize
a little bit.
1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/filesys.texi (Scanning Directory Content): Add missing
closing brace.
(Scanning Directory Content): Fix text.
1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/memory.texi (Heap Consistency Checking): Add paragraph
explaining difference of -lmcheck and MALLOC_CHECK_.
1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
typos in comments.
1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* test-skeleton.c (main): Fix test for exit signal.
1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/strtok_r.c: Undefine __strtok_r.
1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
appropriate.
1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Export __strtok_r.
1998-03-23 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (re_compile_fastmap): Remove unused variable
num_regs and adjust comment.
Patch by Jim Meyering <meyering@ascend.com>.
* math/math.h (M_*l): Extend long double constants to be usable
for 128 bit floats. Patch by Richard Henderson.
1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Patch by Tim Waugh and Andreas Schwab.
Ulrich Drepper [Mon, 23 Mar 1998 09:37:02 +0000 (09:37 +0000)]
(M_*l): Extend long double constants to be usable for 128 bit floats.
Andreas Schwab [Mon, 23 Mar 1998 02:18:31 +0000 (02:18 +0000)]
* sysdeps/m68k/m68020/wordcopy.S: New file.
Mon Mar 23 11:16:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/m68020/wordcopy.S: New file.
Ulrich Drepper [Sun, 22 Mar 1998 09:04:23 +0000 (09:04 +0000)]
Update.
1998-03-22 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp.c: Rewrite parse_param.
Patch by Tim Waugh and. Andreas Schwab.
Ulrich Drepper [Sat, 21 Mar 1998 21:00:29 +0000 (21:00 +0000)]
Update.
1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Rules: Update timestamps on empty object files.
Ulrich Drepper [Sat, 21 Mar 1998 09:19:12 +0000 (09:19 +0000)]
Update.
1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
* manual/filesys.texi (Scanning Directory Content): Add description
of 64 bits scandir function and friends.
Ulrich Drepper [Fri, 20 Mar 1998 17:56:16 +0000 (17:56 +0000)]
Update.
1998-03-20 Ulrich Drepper <drepper@cygnus.com>
* glibcbug.in: Use mktemp to generate unique file name for
temporary files.
* sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
ptsname_r. Use cast for execve call.
Ulrich Drepper [Fri, 20 Mar 1998 16:35:19 +0000 (16:35 +0000)]
Update.
1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
* io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
* io/sys/statvfs.h: New file.
* sysdeps/generic/fstatvfs.h: New file.
* sysdeps/generic/statvfs.h: New file.
* sysdeps/generic/fstatvfs64.h: New file.
* sysdeps/generic/statvfs64.h: New file.
* sysdeps/generic/bits/statvfs.h: New file.
* sysdeps/unix/sysv/linux/fstatvfs.c: New file.
* sysdeps/unix/sysv/linux/statvfs.c: New file.
* sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
* sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
and f_ffree elements.
* sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
mount options in enum.
Ulrich Drepper [Fri, 20 Mar 1998 12:41:37 +0000 (12:41 +0000)]
Update.
1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: Check for recent egcs/gcc.
Ulrich Drepper [Fri, 20 Mar 1998 12:15:12 +0000 (12:15 +0000)]
Update.
1998-03-20 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add alphasort64, scandir64, versionsort64.
Ulrich Drepper [Fri, 20 Mar 1998 12:06:55 +0000 (12:06 +0000)]
Update.
1998-03-20 11:58 Ulrich Drepper <drepper@cygnus.com>
* dirent/Makefile (routines): Add scandir64, alphasort64, and
versionsort64.
* dirent/alphasort64.c: New file.
* dirent/scandir64.c: New file.
* dirent/versionsort64.c: New file.
* dirent/dirent.h: Add LFS support for scandir, alphasort, and
versionsort.
* sysdeps/generic/readdir64.c: Rename to __readdir64 and make
old name weak alias.
* sysdeps/unix/sysv/linux/readdir64.c: Likewise.
* dirent/alphasort.c: Use strcoll instead of strcmp.
* dirent/scandir.c: Optimize a bit.
* dirent/versionsort.c: Pretty print.
1998-03-20 Ulrich Drepper <drepper@cygnus.com>
* string/string.h: Add prototype for __strtok_r.
Ulrich Drepper [Fri, 20 Mar 1998 07:27:17 +0000 (07:27 +0000)]
Update.
1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/Makefile: Fix typo in last change.
1998-03-20 Ulrich Drepper <drepper@cygnus.com>
* dirent/dirent.h (scandir): Make argument of select function const.
* dirent/scandir.c (scandir): Likewise.
Reported by David.Faure@insa-lyon.fr [PR libc/512].
1998-03-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i686/Implies: Add libm-i387/i686.
Ulrich Drepper [Thu, 19 Mar 1998 14:32:08 +0000 (14:32 +0000)]
Update.
1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
weak alias.
* sysdeps/i386/strtok_r.c: Likewise.
* sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
* sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
* sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
* sysdeps/libm-i387/i686/s_fmin.S: Likewise.
* sysdeps/libm-i387/i686/s_fminf.S: Likewise.
* sysdeps/libm-i387/i686/s_fminl.S: Likewise.
1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* intl/localealias.c: Remove unneeded define for strdup.
1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
* manual/argp.texi: Adjust for better TeX output.
* manual/arith.texi: Likewise.
* manual/conf.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/header.texi: Likewise.
* manual/lgpl.texinfo: Likewise.
* manual/math.texi: Likewise.
* manual/message.texi: Likewise.
* manual/pattern.texi: Likewise.
* manual/process.texi: Likewise.
* manual/signal.texi: Likewise.
* manual/socket.texi: Likewise.
* manual/startup.texi: Likewise.
* manual/stdio.texi: Likewise.
* manual/terminal.texi: Likewise.
* manual/examples/rprintf.c: Likewise.
* manual/examples/testopt.c: Likewise.
Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_param): Don't immediately stop parsing a
parameter name after seeing a digit if it's enclosed in braces.
Ulrich Drepper [Wed, 18 Mar 1998 17:57:13 +0000 (17:57 +0000)]
Update.
1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/memory.texi (Heap Consistency Checking): Document
MALLOC_CHECK_. Based on a text by Wolfram Gloger.
1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
* manual/Makefile: Add missing rules.
1998-03-18 Ulrich Drepper <drepper@cygnus.com>
* timezone/Makefile (generated): Define to remove all stamp files.
* sysdeps/generic/strsep.c: Also undefine __strsep.
* string/strdup.c: Undefine __strdup and strdup first.
* string/strndup.c: Likewise.
* string/bits/string2.h: Correct strtok_r and strsep.
Add strndup optimization.
* sysdeps/generic/strsep.c: Little optimization.
Ulrich Drepper [Wed, 18 Mar 1998 14:42:25 +0000 (14:42 +0000)]
Update.
1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Add optimization for strdup.
Always define __strsep and __strtok_r and make real names available
when feature select macros are defined.
1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Installation): Use i486-linux as example
instead of the unsupported sunos4.
(Reporting Bugs): Mention glibcbug script.
(Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/wordexp-tst.sh: Make portable. Add more tests.
* posix/Makefile (do-globtest do-wordexp-test): New targets.
1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
* sysdeps/generic/libc-start.c: ...here, replacing former content.
* sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
netpacket/packet.h.
* sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
in enumerator for strict standard compliance.
* sysdeps/generic/bits/resource.h: Likewise.
1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
(PLTJMP): New macro.
* sysdeps/arm/fpu/__longjmp.S: New file, implementation of
longjmp() when floating point enabled.
* sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
* sysdeps/arm/__longjmp.S: Remove floating point code.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
* sysdeps/arm/bsd-_setjmp.S: Likewise.
* sysdeps/arm/memset.S: New file; optimised ARM implementation of
memset().
* sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
prototype.
1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
Based on patches from Pat Beirne and Scott Bambrough:
* sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
* sysdeps/arm/bits/fenv.h: New file.
* sysdeps/arm/dl-machine.h: New file. Add ELF support.
* sysdeps/arm/elf/setjmp.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/arm/init-first.c: Likewise.
* sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
* sysdeps/arm/sysdep.h: Change format of .type directive. Correct
comment about floating point to reflect current reality.
* sysdeps/unix/arm/brk.S: Support PIC.
* sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
re-entrant code.
* sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
return; call syscall_error through PLT.
* sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
* sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
Ulrich Drepper [Wed, 18 Mar 1998 13:36:59 +0000 (13:36 +0000)]
Update.
1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manager.c (__pthread_manager): Reduce first argument to select
to include just the needed file descriptor.
Ulrich Drepper [Wed, 18 Mar 1998 12:22:11 +0000 (12:22 +0000)]
Update.
* dirent/list.c (test): Return error value.
(main): Exit with error value.
* sysdeps/unix/opendir.c (__opendir): Add missing initialization.
* Makefile (distribute): Add test-skeleton.c.
* test-skeleton.c: New file.
* dirent/Makefile (tests): Add opendir-tst1.
* dirent/opendir-tst1.c: New file.
1998-03-18 Ulrich Drepper <drepper@cygnus.com>
Optimize memory handling.
Ulrich Drepper [Wed, 18 Mar 1998 09:01:59 +0000 (09:01 +0000)]
Update.
1998-03-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
Optimize memmory handling.
* sysdeps/unix/closedir.c: Optmize memory handling.
Ulrich Drepper [Tue, 17 Mar 1998 17:40:39 +0000 (17:40 +0000)]
Update.
1998-03-17 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp.c (parse_param): Fix off-by-on error in $@
handling. Optimize a bit.
Ulrich Drepper [Tue, 17 Mar 1998 17:27:52 +0000 (17:27 +0000)]
Update.
1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_comm): Allow quoting inside $(...).
(parse_param): Fold in Andreas' fixes to do with when the end of
the parameter name has been reached, and quoting inside ${...}.
(parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
$((echo);(ls)).
1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
* manual/maint.texi: Split out installation and contribution
sections to their own appendices. Misc cleanups.
* manual/install.texi: New file. Mention add-ons. Refer to FAQ.
* manual/contrib.texi: New file.
* manual/libc.texinfo: Pull in new appendices.
* manual/header.texi: Correct node pointer.
1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/process.texi (Process Completion): Clarify return value
of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
Ulrich Drepper [Tue, 17 Mar 1998 00:07:36 +0000 (00:07 +0000)]
Update.
1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
* manager.c: Fix last patch which caused core dumps.
* pthread.c: Correctly handle missing SIGRTMIN.
Ulrich Drepper [Mon, 16 Mar 1998 18:30:44 +0000 (18:30 +0000)]
Update.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/wordexp-test.c: Add more tests.
(testit): Fix logic.
* posix/wordexp.c (exec_comm): In the child, redirect stderr to
/dev/null instead of closing it, close pipe. Always chop off all
trailing newlines. Kill and reap child before returning error.
(w_addword, parse_glob): Fix memory leak.
(wordexp): Fix dangling pointer problem.
1998-03-16 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-close.c (_dl_close): Correct and simplify unmapping.
* posix/wordexp-test.c (main): Fix little thinkos and typos.
* catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
directory index by only the language.
Ulrich Drepper [Mon, 16 Mar 1998 13:39:33 +0000 (13:39 +0000)]
Update.
1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-tst.sh: Store test results in the
${common_objpfx}posix directory.
* posix/wordexp-test.c: Remove temporary directory afterwards.
Ulrich Drepper [Mon, 16 Mar 1998 09:09:16 +0000 (09:09 +0000)]
Update.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Export internal versions of cancelable functions.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (MAKEFLAGS): Append `r'.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makeconfig: Define have-thread-library, shared-thread-library
and static-thread-library if a thread library is available. Don't
define rt.
* nscd/Makefile: Compile nscd if have-thread-library. Rename
nscd-routines to nscd-modules. Use shared-thread-library and
static-thread-library in dependencies.
* rt/Makefile: Only compile librt if have-thread-library is
defined.
* Makefile (subdirs): Always include rt subdir.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
Ulrich Drepper [Mon, 16 Mar 1998 08:22:36 +0000 (08:22 +0000)]
($(common-objpfx)gnu/lib-names.h): Add dummy command.
Andreas Schwab [Mon, 16 Mar 1998 05:17:48 +0000 (05:17 +0000)]
Entry for localedata/locales/pl_PL moved to correct file.
Ulrich Drepper [Sat, 14 Mar 1998 22:01:46 +0000 (22:01 +0000)]
Update.
1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Recognize variations for 32 MIPS processors.
Don't assume ELF systems always have .weak, test for .weakext.
Ulrich Drepper [Sat, 14 Mar 1998 19:44:22 +0000 (19:44 +0000)]
Update.
1998-03-14 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Irix6 is an ELF platform.
Ulrich Drepper [Sat, 14 Mar 1998 16:08:16 +0000 (16:08 +0000)]
Update.
1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
* elf/dl-close.c (_dl_close): Stop unmapping the segments after
unmapping the last loaded segment.
1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Set base_os for Irix6.
Correct test for .weakext.
1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/dl-deps.c (_dl_map_object_deps): Add first parameter
(new_line) to _dl_debug_message call.
* locale/programs/linereader.c (lr_token): Return EOF token at EOF.
Ulrich Drepper [Sat, 14 Mar 1998 09:27:24 +0000 (09:27 +0000)]
Update.
1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_param): Perform field-splitting after
expanding positional parameter.
* posix/wordexp-tst.sh: Test that field-splitting is performed
after expanding positional parameter.
* posix/wordexp.c (parse_param): Fixed memory leak in
field-splitting after parameter expansion.
1998-03-14 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/linereader.c (lr_token): Return EOF token at
EOF.
(get_toplvl_escape): Correctly terminate loop at EOF.
Patch by Cristian Gafton <gafton@redhat.com>.
Ulrich Drepper [Fri, 13 Mar 1998 17:02:23 +0000 (17:02 +0000)]
Update.
1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
* string/tester.c (test_strpbrk): Add more strpbrk tests.
(test_strsep): Likewise. Correct horrible bugs.
* string/bits/string2.h (strcspn): Optimize also reject string of
length 2 and 3.
(strspn): Likewise.
(strpbrk): Likewise.
(strsep): Likewise. Correct bug with successive separators and
separators at the end of the string.
* sysdeps/generic/strsep.c: Correct bug with successive separators
and separators at the end of the string.
1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_param): Positional parameters ($1, $2
etc) now handled, as well as $$ (pid).
* posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
(distribute): Add wordexp-tst.sh.
* posix/wordexp-tst.sh: New file.
* posix/wordexp.c (parse_param): $# (or ${#}) expands to the
number of positional parameters. Renamed substitute_length to
seen_hash.
Don't free(env) is env is NULL.
1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add pthread_attr_init to GLIBC_2.1.
1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
* gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
for output file replacing gmon.out.
Patch by Dean Gaudet <dgaudet@arctic.org>.
1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
up namespace. Optimize finding end of line.
1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
securely. Optimized.
(process_dl_debug): Add ':' to list of separators. Optimized.
1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Fri, 13 Mar 1998 16:53:01 +0000 (16:53 +0000)]
Add pthread_attr_init to GLIBC_2.1.
Andreas Schwab [Fri, 13 Mar 1998 01:27:51 +0000 (01:27 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.
Fri Mar 13 10:25:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.
Ulrich Drepper [Fri, 13 Mar 1998 00:56:15 +0000 (00:56 +0000)]
Update.
1998-03-13 00:46 Ulrich Drepper <drepper@cygnus.com>
* attr.c: Implement pthread_attr_[gs]etguardsize,
pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
Change pthread_attr_init to have two interfaces.
* internals.h (struct _pthread_descr_struct): Add new fields for
above functions.
* libpthread.map: Add names in GLIBC_2.1 section.
* manager.c (pthread_handle_create): Implement guardsize and
user stack.
(pthread_free): Likewise.
* pthread.c (pthread_create): Add new interface for changed
pthread_attr_t.
* sysdeps/pthread/pthread.h: Add prototypes for new functions.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
PTHREAD_STACK_MIN.
* manager.c: Enable resetting of the thread scheduling policy
to SCHED_OTHER when the parent thread has a different one.
Ulrich Drepper [Thu, 12 Mar 1998 22:04:57 +0000 (22:04 +0000)]
Update
1998-03-10 Ulrich Drepper <drepper@cygnus.com>
* aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
constants.
* sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
definition here.
* sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
definition here.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
AF_* and PF_* constants.
* sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
Ulrich Drepper [Thu, 12 Mar 1998 17:26:19 +0000 (17:26 +0000)]
Update.
1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: More tests.
(main): Set up arena for pathname expansion tests (in a temporary
directory).
(testit): Don't check word count or word vector if return value is
non-zero.
* posix/wordexp.c (exec_comm): Always chop off terminating
linefeed (just like bash does).
(parse_param): Change lots of occurrences of "if (!*env)" to "if
(!env || !*env)".
(parse_param): For assignment inside parameter expansion, use all
expanded words in assignment rather than just the first.
(parse_param): Corrected return value for parameter expansion of
an unset variable when WRDE_UNDEF is in effect.
(parse_dollars): Don't field-split if quoted.
(wordexp): Opening brace character isn't allowed unquoted.
1998-03-12 Ulrich Drepper <drepper@cygnus.com>
* elf/dlerror.c: Fix concurrency problems with error string and
number.
* elf/dl-deps.c (_dl_map_object_deps): Print debug info when
filter/auxiliary are being loaded.
1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
* elf/dlerror.c (last_object_name): Removed.
(dlerror): Don't use last_object_name.
(_dl_error_run): Omit second argument to _dl_catch_error.
* elf/dl-error.c (struct catch): Remove objname member.
(_dl_signal_error): Construct string including objname when given.
(_dl_catch_error): Remove objname handling.
* elf/link.h (_dl_catch_error): Fix prototype and comment.
* elf/rtld.c (dl_main): Call _dl_catch_error correctly.
* elf/dl-deps.c (_dl_map_objet_deps): Likewise.
* nss/nsswitch.c (nss_dlerror_run): Likewise.
* iconv/gconv_dl.c (dlerror_run): Likewise.
[Corrects PR libc/501].
Ulrich Drepper [Thu, 12 Mar 1998 09:35:57 +0000 (09:35 +0000)]
Update.
1998-03-12 Matthias Urlichs <smurf@noris.de>
* nscd/nscd.c: Ignore SIGPIPE.
1998-03-12 Ulrich Drepper <drepper@cygnus.com>
* nscd/nscd_getgr_r.c: Use __ protected names.
* nscd/nscd_getpw_r.c: Likewise.
1998-03-12 Matthias Urlichs <smurf@noris.de>
* nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
* nscd/nscd_getpw_r.c: Fix length calculation in result check,
null bytes are not transmitted.
1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* powerpc/syscalls.list: Correct typo.
* alpha/syscalls.list: Likewise.
* mips/syscalls.list: Likewise.
1998-03-12 Ulrich Drepper <drepper@cygnus.com>
* socket/sys/socket.h: Add prototype for __socket.
Ulrich Drepper [Wed, 11 Mar 1998 15:33:24 +0000 (15:33 +0000)]
Update.
1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c: Update help message.
Install link maps for preloaded objects using main_map as loader.
* elf/dl-misc.c: Use __libc_write instead of __write for debugging.
* elf/dl-profile.c: Likewise.
* elf/dlsym.c: Little optimization.
* elf/dlvsym.c: Likewise.
1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp-test.c: Move test for parameter list at the very
beginning.
1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
WRDE_REUSE flag is set.
(parse_param): Allow `*', `@', and numbers in parameter names.
(parse_dollars): Differentiate between arithmetic expansion and a
command substitution that starts immediately with a sub-shell
(like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
(parse_param): Memory allocated with __alloca in a block was
referenced outside that block. Adjusted to use malloc/free.
(parse_param): Adjusted field-splitting algorithm so that there is
not necessarily a field split at the end of a parameter expansion.
1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
don't free words that have already been allocated.
(parse_param): A dollar sign on its own will never have a pattern
associated with it (like "${HOME%%/}" has), so don't try to free it.
(parse_glob): Attempt to glob when an unquoted `[' is found
(rather than an unquoted '{' (!)). Also for unquoted '?'.
(parse_glob): Sorted out quoting in a glob-able word.
(parse_param): Added $* and $@ handling.
Ulrich Drepper [Wed, 11 Mar 1998 12:42:25 +0000 (12:42 +0000)]
LinuxThreads library.
1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
* linuxthreads/manager.c: Enable resetting of the thread
scheduling policy to SCHED_OTHER when the parent thread
has a different one.
1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_ASYNCHRONOUS_IO.
* sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
mutexes.
* mutex.c: Implement new mutex types.
* internals.h: Include <signal.h>.
* libpthread.map: Add __erno_location and __h_errno_location.
* errno.c: Return pointer to variable actually in use. This might
not be the one in the thread structure.
* internals.h (struct _pthread_descr_struct): Add new fields p_errnop
and p_h_errnop.
* manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
of manager thread structure.
(pthread_handle_create): Set p_errnop and p_h_errnop members for new
thread.
* pthread.c: Adapt initializer for thread structures.
(__pthread_initial_thread): Set p_errnop and p_h_errnop member.
(__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
current thread to global variables.
1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
* rwlock.c: New file.
* Makefile (libpthread-routines): Add rwlock.
* sysdeps/pthread/pthread.h: Define data structures and declare
functions.
* libpthread.map: Add new functions.
1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/pt-machine.h: New file; add ARM support.
* sysdeps/arm/Implies: likewise.
* README: Document it.
1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* signals.c: Remove unneeded initializer for sigwaited, saving a
1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* semaphore.c (sem_init): Set sem_spinlock only if available.
1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
* mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
* sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
* Makefile: Update from LinuxThreads 0.7.
* internals.h. Likewise.
* manager.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* Examples/ex3.c: Likewise.
1997-11-20 18:13 Ulrich Drepper <drepper@cygnus.com>
* pthread.c (__pthread_reset_main_thread): Close pipe only if still
open.
1997-10-29 05:38 Ulrich Drepper <drepper@cygnus.com>
* wrapsyscall.c: Add socket functions which are also cancelation
points.
1997-10-19 21:40 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
* specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
New functions for fast thread specific data within libc.
* internals.h: Add new array p_libc_specific to struct
_pthread_descr_struct.
* sysdeps/pthread/bits/libc-lock.h: Declare new functions.
1997-10-13 05:39 Ulrich Drepper <drepper@cygnus.com>
* semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1997-08-29 03:05 Ulrich Drepper <drepper@cygnus.com>
* internals.h (struct _pthread_descr_struct): Add definitions for
two-level specific key handling.
* manager.c (pthread_handle_create): Initialize specific memory array.
* specific.c: Implement two-level key handling.
* weaks.c: Don't provide dummy key handling.
* sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
Add definition of __libc_key_t.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
as 1024.
Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
PTHREAD_DESTRUCTOR_ITERATIONS.
* manager.c (pthread_handle_create): Compare mmap result with
MAP_FAILED.
* ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
* sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.
1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
sysdeps/sparc -> sysdeps/sparc/sparc32
sysdeps/sparc64 -> sysdeps/sparc/sparc64
* internals.h: Change definition of THREAD_SELF to be an expression,
not a statement that did a return.
* sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
* sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
Follow Solaris and use a "system reserved" register (%g6) to hold
the thread descriptor.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
1997-08-03 00:09 Ulrich Drepper <drepper@cygnus.com>
* mutex.c: Correct pthread_once. Patch by Xavier Leroy.
* sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
* sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.
* semaphore.c: Include spinlock.h only when needed.
* specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
keys for entries not in use.
* weaks.c: Implement key handling functions for real.
1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
Initial sparc64-linux support:
* linuxthreads/sysdeps/sparc64/Implies: New file.
* linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.
1997-06-29 00:48 Ulrich Drepper <drepper@cygnus.com>
* semaphore.c: Include spinlock.h at correct place.
Patch by HJ Lu.
1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
The Great Bit File Move:
* sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
* sysdeps/powerpc/semaphorebits.h: Likewise.
* sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
* sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
* sysdeps/pthread/libc-lock.h: -> bits/
* sysdeps/pthread/stdio-lock.h: Likewise.
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* semaphore.h: Likewise.
* sysdeps/pthread/pthread.h: Likewise.
* lockfile.c: <foo.h> -> <bits/foo.h>.
* semaphore.h: Likewise.
* Makefile: (headers): foo.h -> bits/foo.h.
* sysdeps/pthread/Makefile: Likewise.
1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* semaphore.c (sem_init): Set sem_spinlock only if available.
* sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
asm constraints.
1997-04-09 03:00 Ulrich Drepper <drepper@cygnus.com>
Update from LinuxThreads 0.6.
* attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
and __sched_get_priority_min instead of names without `__'.
* manager.c: Rewrite large parts to implement opaque pthread_t.
* cancel.c: Adapt for opaque pthread_t type.
* condvar.c: Likewise.
* errno.c: Likewise.
* join.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* restart.h: Likewise.
* queue.h: Likewise.
* Examples/ex3.c: Likewise.
* Examples/ex4.c: Likewise.
* sysdeps/pthread/pthread.h: Likewise.
* pthread.c: Accumulate time for all threads in thread manager.
* semaphore.c: Implement fallback implementation for architectures
sometimes missing compare-exchange operations.
* cancel.c (pthread_cancel): Validate handle argument.
* join.c (pthread_join): Likewise.
(pthread_detach): Likewise.
* signals.c (pthread_kill): Likewise.
* spinlock.h (acquire): Use __sched_yield not sched_yield.
* queue.h (enqueue): Enqueue thread according to priority.
* internals.c (struct pthread_start_args): New struct for passing
args to cloning function.
(struct _pthread): Rename to _pthread_descr_struct and adapt for
opaque pthread_t.
* Examples/Makefile (clean): Pass -f option to rm.
* sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
and define TEST_FOR_COMPARE_AND_SWAP.
* sysdeps/i386/i486/pt-machine.h: Removed.
* sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
to 1024.
1997-04-04 16:38 Ulrich Drepper <drepper@cygnus.com>
* restart.h (suspend): Clear p_signal before suspending.
(suspend_with_cancellation): Likewise.
Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.
* weaks.c: Make __pthread_key_create return 1.
* sysdeps/pthread/libc-lock.h: Define __libc_key_create,
__libc_getspecific, __libc_setspecific, and __libc_key_t.
* sysdeps/pthread/stdio-lock.h: Don't care for implementation not
using libio.
1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* sysdeps/sparc/pt-machine (RELEASE): Fix.
1997-03-01 07:55 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/Implies: Added.
* sysdeps/powerpc/pt-machine.h: Added.
* sysdeps/powerpc/semaphorebits.h: Added.
1997-01-22 01:22 Ulrich Drepper <drepper@cygnus.com>
* linuxtheads/pthread.c (__pthread_initial_thread): Correct
initializer.
(__pthread_manager_thread): Likewise.
Reported by Andreas Jaeger.
1997-01-18 22:15 Richard Henderson <rth@tamu.edu>
Since sigset_t no longer fits in a register, we can't pass in the
thread's initial mask so easily. Take this opportunity to simplify
the clone implementation by only accepting a single void* argument.
* linuxthreads/manager.c (__pthread_manager): Put thread vitals
in the thread struct instead of as arguments through clone.
(pthread_start_thread): Look for them there.
* linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
p_initial_fn_arg, p_initial_mask. Fix __pthread_manager proto.
* linuxthreads/pthread.c (pthread_initialize_manager): Revise
clone invocation.
Ulrich Drepper [Wed, 11 Mar 1998 11:09:56 +0000 (11:09 +0000)]
Update.
1998-03-11 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
parsing it.
Ulrich Drepper [Wed, 11 Mar 1998 09:54:55 +0000 (09:54 +0000)]
Update.
1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
_dl_debug_message.
1998-03-12 Matthias Urlichs <smurf@noris.de>
* elf/dl-misc.c: Default for debug output should be stderr.
* elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
* elf/dl-lookup.c: reference_name may be NULL or empty.
1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
1998-03-11 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
* sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Wed, 11 Mar 1998 09:31:14 +0000 (09:31 +0000)]
Info from kernel header.
Andreas Schwab [Wed, 11 Mar 1998 01:32:12 +0000 (01:32 +0000)]
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.
Wed Mar 11 10:30:53 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.