platform/upstream/glibc.git
26 years agoUpdate.
Ulrich Drepper [Sat, 15 Aug 1998 14:14:10 +0000 (14:14 +0000)]
Update.

1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: Add PPC Diab relocations.

* malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.

26 years agoUpdate.
Ulrich Drepper [Sat, 15 Aug 1998 02:40:04 +0000 (02:40 +0000)]
Update.

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

* manual/texinfo.tex: Update.

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

* sysdeps/powerpc/backtrace.c: New file.

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

* sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
sigjmp_save.
* sysdeps/arm/elf/setjmp.S: Obsolete, deleted.

1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (install-symbolic-link): Fix spelling.

1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/elf.h (SHT_HIOS): Fix value.

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

* posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
part of the expansion, this is undefined by the standard.

26 years agoUpdate.
Ulrich Drepper [Thu, 13 Aug 1998 19:44:05 +0000 (19:44 +0000)]
Update.

1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>

* posix/getconf.c: Add support for systems with incomplete confname.h.

* sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.

* sysdeps/posix/wait3.c: Make it work.

1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
(elf/ldso_install): Remove.

* elf/Makefile (distribute): Add sln.c.
(others): Add sln.
(others-static): Add sln.
(install-rootsbin): Add sln.
(others-static): Add sln.
(ldso_install): Remove.

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

* Makerules (install-clean-symbolic-link-list): Make phony.
* Makefile (install-symbolic-link): Make phony.  Depend on
subdir_install for parallel makes.

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

* elf/Makefile (distribute): Add sln.c

1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>

* elf/sln.c: New file.

* Makerules (symbolic-link-prog, symbolic-link-list): New macros.
(install-clean-symbolic-link-list): New target.
(install): Depend on install-clean-symbolic-link-list.
(make-shlib-link): Changed for $(symbolic-link-list).

* Makefile (install-symbolic-link): New target.
(install): Depend on install-symbolic-link.

26 years agoUpdate.
Ulrich Drepper [Wed, 12 Aug 1998 17:06:39 +0000 (17:06 +0000)]
Update.

1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>

* include/unistd.h: Protect against multiple inclusion.

* posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
is defined, not is glob is defined.
* sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.

1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>

* sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
xdr_string for ut_line, ut_name and ut_host.

1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
/var/mail in accordance with FHS 2.0.
Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].

1998-08-12  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
Update aliases for cancelation.

* sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
playing with symbol versions.

(_hurd_canonicalize_directory_name_internal): Do not loop forever
for unknown root directories.
be reached.

26 years agoProtect against multiple inclusion.
Ulrich Drepper [Wed, 12 Aug 1998 17:03:37 +0000 (17:03 +0000)]
Protect against multiple inclusion.

26 years ago* sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
Roland McGrath [Tue, 11 Aug 1998 23:28:49 +0000 (23:28 +0000)]
* sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and

multiple inclusion protection.
(_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
_POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
define all these to 1.
(_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.

1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>

26 years ago1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 11 Aug 1998 21:52:02 +0000 (21:52 +0000)]
1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/usleep.c: Include <unistd.h>.
(usleep): Return void.

1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
decl to inhibit warning in if_freenameindex defn.

* sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.

* sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.

* sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
* sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
* sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
* sysdeps/mach/usleep.c: Likewise.

* sysdeps/mach/hurd/bind.c (bind): Add a const.

* sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
* sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
* sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
* sysdeps/mach/hurd/reboot.c (reboot): Likewise.
* sysdeps/mach/usleep.c (usleep): Likewise.
* sysdeps/mach/hurd/chflags.c (chflags): Likewise.
* sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
* sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
* sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.

1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
(glob64): Fix typo.

* malloc/malloc.c (free_check, realloc_check): Don't cast to long for
%p arg to fprintf, since `void *' is the right type already.

26 years ago1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
Roland McGrath [Tue, 11 Aug 1998 21:41:09 +0000 (21:41 +0000)]
1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>

* sysdeps/mach/hurd/getcwd.c
  (_hurd_canonicalize_directory_name_internal): Do not loop forever
  for unknown root directories.
(__getcwd): Return NULL when the current root directory could not
  be reached.

26 years ago1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
Roland McGrath [Tue, 11 Aug 1998 21:40:52 +0000 (21:40 +0000)]
1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>

* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): Do not loop forever
for unknown root directories.
(__getcwd): Return NULL when the current root directory could not
be reached.

26 years agoUpdate. Old logs are in ChangeLog.7.
Ulrich Drepper [Tue, 11 Aug 1998 18:44:11 +0000 (18:44 +0000)]
Update.  Old logs are in ChangeLog.7.

1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
* string/strsignal.c (strsignal): Count real-time signals from zero.
See ChangeLog.8 for earlier changes.

26 years agoUpdate.
Ulrich Drepper [Tue, 11 Aug 1998 13:58:00 +0000 (13:58 +0000)]
Update.

1998-08-11 13:57  Ulrich Drepper  <drepper@cygnus.com>

* libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not
_IO_size_t.

26 years agoUpdate.
Ulrich Drepper [Mon, 10 Aug 1998 15:54:54 +0000 (15:54 +0000)]
Update.

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

* include/dirent.h: Protect from double inclusion.

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

* posix/glob.h: Add LFS support for glob and globfree.
* posix/Versions [GLIBC_2.1]: Add glob64 and globfree64.
* posix/Makefile (routines): Add glob64.
* sysdeps/generic/glob64.c: New file.
* sysdeps/unix/sysv/linux/glob64.c: New file.
* sysdeps/unix/sysv/linux/alpha/glob64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file.
* sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p):
Elide function.
* sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias
for __new_glob.  Likewise for globfree64.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file.

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

* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove
-include flag from command.

26 years agoUpdate.
Ulrich Drepper [Mon, 10 Aug 1998 00:16:35 +0000 (00:16 +0000)]
Update.

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

* nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small
decrement `entidx' to allow retrieving the same entry again.

26 years agoUpdate.
Ulrich Drepper [Sun, 9 Aug 1998 22:34:19 +0000 (22:34 +0000)]
Update.

1998-08-09 22:32  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/powerpc/ffs.c: Fix typo.  Add support for ffsl.
Patch by Matt McLean <keys@yikes.com>.

26 years agoUpdate.
Ulrich Drepper [Sun, 9 Aug 1998 22:16:07 +0000 (22:16 +0000)]
Update.

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

* sysdeps/powerpc/bits/setjmp.h: Use word to save condition
registers.
* sysdeps/powerpc/setjmp.S: Save condition registers.
* sysdeps/powerpc/__longjmp.S: Restore condition registers.

26 years agoUpdate.
Ulrich Drepper [Sun, 9 Aug 1998 17:39:48 +0000 (17:39 +0000)]
Update.

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

* nss/nss_files/files-XXX.c (internal_getent): In case of an read
error do not trust errno value, set it to ENOENT.

* db2/db_185.h: Move __ prototypes into include/* header.
* dirent/dirent.h: Likewise.
* elf/dlfcn.h: Likewise.
* gmon/sys/gmon.h: Likewise.
* grp/grp.h: Likewise.
* intl/libintl.h: Likewise.
* io/fcntl.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/sys/statvfs.h: Likewise.
* libio/stdio.h: Likewise.
* login/utmp.h: Likewise.
* misc/mntent.h: Likewise.
* misc/search.h: Likewise.
* misc/sys/file.h: Likewise.
* misc/sys/ioctl.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/uio.h: Likewise.
* misc/sys/ustat.h: Likewise.
* posix/unistd.h: Likewise.
* posix/sys/times.h: Likewise.
* posix/sys/wait.h: Likewise.
* pwd/pwd.h: Likewise.
* resource/ulimit.h: Likewise.
* resource/sys/resource.h: Likewise.
* setjmp/setjmp.h: Likewise.
* shadow/shadow.h: Likewise.
* signal/signal.h: Likewise.
* socket/sys/socket.h: Likewise.
* stdlib/alloca.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/string.h: Likewise.
* sysdeps/generic/sys/mman.h: Likewise.
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
* termios/termios.h: Likewise.
* time/time.h: Likewise.
* time/sys/time.h: Likewise.
* wcsmbs/wchar.h: Likewise.

* include/alloca.h: Add __ prototypes here.
* include/db_185.h: Likewise.
* include/dirent.h: Likewise.
* include/dlfcn.h: Likewise.
* include/fcntl.h: Likewise.
* include/grp.h: Likewise.
* include/libintl.h: Likewise.
* include/mntent.h: Likewise.
* include/pwd.h: Likewise.
* include/sched.h: Likewise.
* include/search.h: Likewise.
* include/setjmp.h: Likewise.
* include/shadow.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/termios.h: Likewise.
* include/time.h: Likewise.
* include/ulimit.h: Likewise.
* include/unistd.h: Likewise.
* include/utmp.h: Likewise.
* include/wchar.h: Likewise.
* include/sys/file.h: Likewise.
* include/sys/gmon.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/mman.h: Likewise.
* include/sys/resource.h: Likewise.
* include/sys/select.h: Likewise.
* include/sys/socket.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/statfs.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/times.h: Likewise.
* include/sys/uio.h: Likewise.
* include/sys/wait.h: Likewise.

* Makeconfig (+includes): Search in $(..)include first.

* io/fstat.c: Undefine __fstat.
* io/lstat.c: Undefine __lstat.

* wcsmbs/Versions: Add __mbrlen.

26 years ago(sigaction): Handle NULL argument.
Ulrich Drepper [Sun, 9 Aug 1998 09:02:55 +0000 (09:02 +0000)]
(sigaction): Handle NULL argument.

1998-08-08 11:18  H.J. Lu  <hjl@gnu.org>

* signals.c (sigaction): Handle NULL argument.

26 years agoUpdate.
Ulrich Drepper [Sun, 9 Aug 1998 00:44:23 +0000 (00:44 +0000)]
Update.

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

* elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.

26 years agoUpdate.
Ulrich Drepper [Sat, 8 Aug 1998 20:02:34 +0000 (20:02 +0000)]
Update.

1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/bits/byteswap.h: Fix problems with side effects.

* manual/filesys.texi: Document truncate and ftruncate.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.

* shadow/putspent.c: Lock stream while generating the output.

* sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
(__msgwrite): Rewrite accordingly.
* sunrpc/svc_unix.c: Likewise.
* sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
(sysdep_routines): Remove __sendmsg and __recvmsg.
* sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
* sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
* sysdeps/unix/sysv/linux/recvmsg.c: Removed.
* sysdeps/unix/sysv/linux/sendmsg.c: Removed.
* sysdeps/unix/sysv/linux/recvmsg.S: New file.
* sysdeps/unix/sysv/linux/sendmsg.S: New file.
* sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
struct ucred.  Remove struct cmsgcred.
Patches by Thorsten Kukuk.

1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* inet/rcmd.c (__ivaliduser): Allow '#' as comment character.

1998-08-08 14:42  Ulrich Drepper  <drepper@cygnus.com>

* argp/argp-help.c: Prepare to be used outside glibc without gcc by
adding usual alloca cruft.
Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.

1998-04-05  Jim Meyering  <meyering@ascend.com>

* lib/regex.c (WIDE_CHAR_SUPPORT): Define.
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.

1998-08-07  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
* sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
MINSIGSTKZ and SIGSTKSZ.  Definitions match BSD.
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
instead of SA_ONSTACK.
* sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
sigaltstack, and created a weak alias.  Use SS_DISABLE and
SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
* sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
of SA_ONSTACK.  Call __sigaltstack instead of sigaltstack.
* sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
instead of SA_ONSTACK.
* sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
* sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Use SS_DISABLE instead of SA_DISABLE.  Use SS_ONSTACK instead of
SA_ONSTACK where appropriate.
* sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
Likewise.
* sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
Likewise.
* sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
Likewise.
* manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
the `ss_flags' member of `struct sigaltstack'.

1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
(shared-only-routines): Likewise.
* libio/oldtmpfile.c: New file
* stdio-common/tmpfile.c: Use __fdopen and __close.
[USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.  Put
tmpfile on symbol version GLIBC_2.1.
* stdio-common/tmpfile64.c: Use __fdopen and __close.
[USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
* stdio-common/Version [GLIBC_2.1]: Add tmpfile.
* stdio-common/tempnam.c: Use __strdup instead of strdup.
* sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
alias.
* sysdeps/generic/fdopen.c: Likewise.
* sysdeps/mach/hurd/fdopen.c: Likewise.
* stdio/stdio.h: Declare __fdopen.
* sunrpc/openchild.c: Use __fdopen instead of fdopen.
[USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
* sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
__stub_open64, it is never defined.

1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
* libio/iopopen.c: Unlink file before freeing it if command
creation failed.  Avoid unnessary casts.
* libio/iofdopen.c:  Avoid unnecessary cast.
* pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
_IO_funlockfile.
* pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.

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

* grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
__grpalloc, __grpscan and the corresponding pwd functions, they
were removed long ago.

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

* math/libm-test.c (csqrt_test): Adjust epsilons.
(casinh_test): Likewise.

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

* posix/globtest.sh: Fix typo.  Remove second test output file.

1998-08-07  Cristian Gafton  <gafton@redhat.com>

* pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
* shadow/putspent.c (putspent): Likewise.
* grp/putgrent.c: New file.
* grp/Makefile (routines): Add putgrent.
* grp/Versions [GLIBC_2.1]: Add putgrent.
* grp/grp.h: Add putgrent prototype.

1998-08-04 19:33  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: More ELF definitions.

26 years agoUpdate.
Ulrich Drepper [Tue, 4 Aug 1998 17:22:28 +0000 (17:22 +0000)]
Update.

1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/tmpfile.c: Include unistd.h for close prototype.
* stdio-common/tmpfile64.c: Likewise.

* db2/makedb.c: Generate output file with same access permissions
the input file has.

* signal/signal.h: Pretty printing.

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

* misc/mktemp.c: Add include <stlib.h> for prototype, remove
unneccessary includes.
* misc/mkstemp.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 4 Aug 1998 15:06:28 +0000 (15:06 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/sigthread.h: Use __sigset_t instead
of sigset_t.

26 years agoUpdate.
Ulrich Drepper [Mon, 3 Aug 1998 16:47:01 +0000 (16:47 +0000)]
Update.

1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>

* catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
is defined.
* catgets/open_catalog.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* intl/loadmsgcat.c: Likewise.
* locale/findlocale.c: Likewise.
* locale/loadlocale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* malloc/malloc.c: Likewise.

* elf/elf.h: Fix typo.

* math/Makefile: Use $(LN_S) instead of ln.

* sysdeps/generic/getpgid.c: Fix return type.

1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
__gen_tempname and simplify the interface.  Strip out the
code to do path search and create FILE objects.  This function
now takes a mktemp() style template and returns either a name
or a file descriptor.
(__path_search): New function; searches for directories for
temp files.
* sysdeps/generic/tempname.c: Stub out __gen_tempname and
__path_search, not __stdio_gen_tempname.

* libio/stdio.h: Prototype __gen_tempname and __path_search,
not __stdio_gen_tempname.
* stdio/stdio.h: Likewise.

* stdio-common/tempnam.c: Use __path_search and __gen_tempname.
* stdio-common/tmpfile.c: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* stdio-common/tmpnam.c: Likewise.
* stdio-common/tmpnam_r.c: Likewise.

* misc/mkstemp.c: New file.  Use __gen_tempname.
* misc/mktemp.c: Likewise.

* sysdeps/posix/mkstemp.c: Removed.
* sysdeps/posix/mktemp.c: Removed.
* sysdeps/generic/mkstemp.c: Removed.
* sysdeps/generic/mktemp.c: Removed.

1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* configure.in: Check, if door add-on is installed.
* config.make.in: Add have_doors.
* sunrpc/Makefile: Add HAVE_DOOR define.
* sunrpc/key_call.c: Add keyserv/door interface.

* sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
* sunrpc/clnt_unix.c: Likewise.

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

* inet/netinet/in.h (IN_CLASSC): Correct mask.
Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
PR libc/727].

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

* misc/Makefile: Fix installation problem with --disable-shared.
* posix/Makefile: Likewise.

1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/regex.c (re_search_2): Optimize searching for anchored
pattern if '^' cannot match at embedded newlines.
(regerror): Renamed from __regerror, which it should only be
called if _LIBC.

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

* sunrpc/svc_unix.c (__msgread): Check setsockopt return value.

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

* sysdeps/generic/glob.c: Remove obsolete cast.

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

* Rules (tests): Fix last change.

26 years agoUpdate.
Ulrich Drepper [Fri, 31 Jul 1998 18:02:14 +0000 (18:02 +0000)]
Update.

1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
Add sys_setresuid.

1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
as real name for system call and make setresuid a weak alias.  Set
caller to seteuid.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
`setresuid' syscall if availble.  Fixes problems with sendmail
which expects `seteuid' to not set the saved user ID.

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

* time/tzset.c (__tzstring): Get rid of excessive cleverness
which was causing stack corruption.

1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
off-by-one in wordwrap algorithm when there' a space at the
beginning of the buffer.

1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>

* Makerules (LDLIBS-c.so): Extend value instead of overwriting it.

26 years agoUpdate.
Ulrich Drepper [Fri, 31 Jul 1998 11:14:46 +0000 (11:14 +0000)]
Update.

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

* elf/elf.h: Add lots of new symbols from Irix and Solaris.

* sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
definition.

1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/xcrypt.c: Use only the first 8 characters of the password.

1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/generic/glob.c: Undefine strdup before defining it,
because bits/string2.h may have defined it already.

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

* stdio-common/vfscanf.c: Optimize looking for type modifiers.
Fix recognition of 'a' modifier vs. 'a' format.
(TYPEMOD): Removed.

* stdio-common/printf-parse.h (parse_one_spec): Optimize looking
for type modifiers.  Fix recognition of 'hh' modifier.

1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/svc_unix.c: Fix typo.

1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
syscall.

26 years agoUpdate.
Ulrich Drepper [Thu, 30 Jul 1998 12:47:25 +0000 (12:47 +0000)]
Update.

1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/ffs.c: Add ffsl entry point.
* sysdeps/i386/i686/ffs.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/powerpc/ffs.c: Likewise.

* sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
on i686.

1998-07-30  Richard Henderson  <rth@cygnus.com>

* elf/Makefile (ld-map): Move initialization below Makeconfig include.

* sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
work around gcc bug.

* string/string.h (ffsl, ffsll): Prototype.
* string/Version (GLIBC_2.1): Add them.
* sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
entry points.
* sysdeps/alpha/ffsll.S: New file.  Empty.
* sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
* sysdeps/generic/ffsll.c: New file.
* string/Makefile (routines): Add ffsll.

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

* sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
strictly ISO C compliant programs.
* sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.

1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* inet/protocols/rwhod.h: Correct typo in comment.

* configure.in: Use better regex for gettext.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Jul 1998 23:35:28 +0000 (23:35 +0000)]
Update.

* elf/sprof.c: Implement -c/--call-pairs option to emit list with
caller/callee and the number of calls.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Jul 1998 23:01:54 +0000 (23:01 +0000)]
Update.

* elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Jul 1998 21:34:20 +0000 (21:34 +0000)]
Update.

1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Jul 1998 18:41:02 +0000 (18:41 +0000)]
Update.

1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
(__getpid): New function.
(abort): New function.

* nis/nis_cache2_xdr.c: Removed.

26 years agoUpdate. cvs/glibc-2_0_95 glibc-2.0.95
Ulrich Drepper [Wed, 29 Jul 1998 15:14:27 +0000 (15:14 +0000)]
Update.

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

* sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.

* nis/nis_chache2_xdr.c: Removed.
* nis/nis_cache.c: Removed.
* nis/nis_cache2.h: Removed.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Jul 1998 14:52:00 +0000 (14:52 +0000)]
Update.

* Rules (tests): Depend on tests-static only if build-static == yes.

* misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
only if build-static == yes.

1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/glob.c: Winblowz compatibility stuff.
Patch received from Paul D. Smith <psmith@BayNetworks.COM>.

1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
statement, fix typo.
* sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.

1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Jul 1998 12:34:57 +0000 (12:34 +0000)]
Update.

1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/pattern.texi (More Flags for Globbing): Fix typo.

* manual/math.texi (Special Functions): Fix typo.

* sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
constant from Linux 2.1.112.

* posix/Makefile (install-lib): Compile libposix.a only if
build-static == yes.

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

* sysdeps/generic/glob.c: Maintain const correctness.  Move extern
declarations to file level.  Cope with unsupported
_SC_GETPW_R_SIZE_MAX.

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

* stdio-common/tst-printf.c: %z is now recognized by printf.

* sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
errors.
* sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/c_csqrtlc: Likewise.
Patch by Stephen L Moshier <moshier@mediaone.net>.

* math/libm-test.c (csqrt_test): Correct typo in one test, add
another one.

* sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
latest kernel change.

26 years ago%z is now recognized by printf.
Ulrich Drepper [Wed, 29 Jul 1998 09:04:25 +0000 (09:04 +0000)]
%z is now recognized by printf.

26 years ago * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle inputs...
Richard Henderson [Tue, 28 Jul 1998 23:41:26 +0000 (23:41 +0000)]
    * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle         inputs near DBL_MIN.

1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>

* sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
inputs near DBL_MIN.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Jul 1998 20:47:08 +0000 (20:47 +0000)]
Update.

* resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
warnings when DNSSEC related records are received.
* resolv/gethnamaddr.c (getanswer): Likewise.
Patch by Brian Wellington <bwelling@anomaly.munge.com>.
* signal/signal.h: Add prototype for sysv_signal.

* math/libm-test.c (tgamma_test): Remove redundant tests.
* posix/glob.h: Add GLOB_TILDE_CHECK.
* sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
* posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
* posix/globtest.sh: Re-enable test with ~ and non-existing user name.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Jul 1998 16:26:04 +0000 (16:26 +0000)]
Update.

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

* math/libm-test.c (tgamma_test): Remove redundant tests.

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

* sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
where foo does not exist in any of the subdirectories.
Reported by Paul D. Smith <psmith@BayNetworks.COM>.

* posix/globtest.sh: Add test for this bug.

1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>

* io/sys/statfs.h: Fix typos.
* io/sys/statvfs.h: Fix typos.

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

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

* math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
* math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
* math/libm-test.c: Split old gamma_test and move half of it in new
function tgamma_test.
* math/bits/mathcalls.h: Add declaration of tgamma.
* sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
tgamma errors.
* sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
and rename to ...
* sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
* sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
and rename to ...
* sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
* sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
and rename to ...
* sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
* sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
* sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
* sysdeps/libm-ieee754/w_lgammal.c: Likewise.

* stgdio-common/printf-parse.h: Implement handling of j, t, and z
modifiers.
* stdio-common/vfprintf.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* manual/stdio.texi: Document new printf/scanf modifiers.

* sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
* sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.

1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
* sunrpc/Versions: Add new *unix_create functions.
* sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
* sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
* sunrpc/key_call.c: Use RPC over AF_UNIX for communication
with keyserv daemon.
* sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
* sunrpc/svc_tcp.c: Fix typos.
* sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.

* nis/Makefile: Remove currently not working cache functions.
* nis/Versions: Add __nisbind_* functions for rpc.nisd.
* nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
CLIENT handles.
* nis/nis_file.c: Fix memory leaks.
* nis/nis_intern.h: Move internal structs from here ...
* nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
* nis/nis_lookup.c: Try at first if last client handle works.
* nis/nis_table.c: Likewise.
* nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
* nis/nis_mkdir.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/nis_findserv.c (__nis_findfastest): Little optimization.

1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
define as LONG_MAX.

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

* nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
Correct test whether writev send all data.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
received all data.

1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>

* nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.

1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
allow mode to be 0.
(__xstat): New function.
(__fxstat): New function.
(_dl_sysdep_read_whole_file): Removed.  The implementation in
`elf/dl-misc.c' now also works for the Hurd.

26 years agoUpdate.
Ulrich Drepper [Mon, 27 Jul 1998 22:28:11 +0000 (22:28 +0000)]
Update.

1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.

* posix/globtest.sh: Also add directories with NSS modules into the
library path.

26 years agoUpdate.
Ulrich Drepper [Mon, 27 Jul 1998 17:55:05 +0000 (17:55 +0000)]
Update.

1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>

* nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
strtol.
(INT_FIELD_MAYBE_NULL): Likewise.

* posix/globtest.c: Rewrite for extended test suite.
* posix/globtest.sh: More tests.
Patch by Brian Wellington <bwelling@anomaly.munge.com>.

* stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
Use new macro.

* sysdeps/generic/readv.c: Correct return type.
* sysdeps/generic/writev.c: Likewise.

1998-07-24  Gordon Matzigkeit  <gord@fig.org>

* argp/argp-help.c (_GNU_SOURCE): Define, to suck in
program_invocation_name when compiling outside of glibc.

1998-07-26  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
like `@' in .type directives.

* sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
FE_TONEAREST exists for this platform before using it.
* sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.

* sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
debugging code.  Correct handling of PC24 relocs.

* elf/Makefile (ld-map): Only define if versioning is in use.

* sysdeps/arm/fpu_control.h: Move to ...
* sysdeps/arm/fpu/fpu_control.h: ... here.
* sysdeps/generic/fpu_control.h: Made usable as a dummy
implementation.

* sysdeps/unix/sysv/linux/arm/brk.c: New file.

* sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
* sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
implementation.
* sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
Based on patch from Scott Bambrough and Pat Beirne.

* shlib-versions: Add appropriate definitions for ARM machines.

* README.template: Mention that Linux/ARM with ELF works now.

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

* Makerules: Generate compilation rules for all object suffixes,
not only those currently selected, for sources in the current or
object directory.

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

* posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
match `/' in filename by a character class if requested.
* posix/testfnm.c: Rewritten.
* posix/testfnm.args: Removed.

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

* posix/annexc.c (limits_syms): Add missing symbols.
(stdarg_syms): Move va_list to `maybe' list.
(stdio_syms): Add FOPEN_MAX.

26 years agoUpdate.
Ulrich Drepper [Sat, 25 Jul 1998 18:02:26 +0000 (18:02 +0000)]
Update.

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

* sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
prevent conflict with __bswap_32.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Jul 1998 21:32:39 +0000 (21:32 +0000)]
Update.

1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>

* nscd/connections.c (pw_send_answer): Make one single writev call.
(gr_send_answer): Do the work in two writev calls.  This change
changes the protocol.

* nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
We now can do the job using two readv calls.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Jul 1998 12:58:36 +0000 (12:58 +0000)]
Update.

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

* sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
Reported by Brian Wellington <bwelling@anomaly.munge.com>.

* elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
and Elf64_Vernaux.

1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* configure.in: Recognize pgcc as compiler.
Reported by sauron@angband.ee.ualberta.ca.

1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nscd/dbg_log.c: Make sure, that debug message is really written.
* nscd/nscd.c: Don't use daemon(), set signal handler after fork.

SVID more for gamma(x) with x integer <= 0.

26 years agoUpdate.
Ulrich Drepper [Thu, 23 Jul 1998 14:59:16 +0000 (14:59 +0000)]
Update.

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

* sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
Reported by bwelling@anomaly.munge.com [PR libc/720].

* sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
SVID more for gamma(x) with x interger <= 0.
Reported by Stephen L Moshier <moshier@mediaone.net>.

* math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
Correct test for SVID version of gamma.

* sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
emulation mode.
* sysdeps/libm-ieee754/w_gammaf.c: Likewise.
* sysdeps/libm-ieee754/w_gammal.c: Likewise.

* string/string.h: Don't use string function optimization for C++
as long as we use macros.

26 years agoUpdate.
Ulrich Drepper [Wed, 22 Jul 1998 23:50:49 +0000 (23:50 +0000)]
Update.

1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>

* posix/fnmatch.c: Fix completely broken range matching.

26 years agoFix typo.
Ulrich Drepper [Wed, 22 Jul 1998 23:20:51 +0000 (23:20 +0000)]
Fix typo.

1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.

26 years agoUpdate.
Ulrich Drepper [Wed, 22 Jul 1998 16:54:32 +0000 (16:54 +0000)]
Update.

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

* Makefile (headers2_0): Add sigstack.h.

* sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.

1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>

* libio/fileops.c (_IO_file_sync): Don't lock stream here.
Reported by Thorsten Kukuk.

* string/strcoll.c: Correct problem with empty strings.
* string/strxfrm.c: Likewise.
Reported by vbzoli@hbrt.hu [PR libc/719].

1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/posix/tempname.c: Use the random-name generator
already used by mktemp/mkstemp.  Honor TMPDIR.

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

* hurd/Makefile (routines): Remove cthreads.
* sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.

* sysdeps/unix/sysv/linux/i386/Dist: Add missing files.

* manual/Makefile (distribute): Add summary.texi.

1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>

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

26 years ago* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
Andreas Schwab [Wed, 22 Jul 1998 01:37:56 +0000 (01:37 +0000)]
* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.

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

* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.

26 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Tue, 21 Jul 1998 20:09:50 +0000 (20:09 +0000)]
Regenerated: autoconf  configure.in

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Jul 1998 20:09:42 +0000 (20:09 +0000)]
Update.

* configure.in: Correct expression to match gcc version.

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Jul 1998 17:20:27 +0000 (17:20 +0000)]
Update.

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

* configure.in: Move test for available port after machine
variable is defined.

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Jul 1998 13:58:40 +0000 (13:58 +0000)]
Update.

1998-07-21 16:08 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
message, copy the buffer and resize it to what the kernel
wants to see.  Bug found and analyzed by Thorsten Kukuk
<kukuk@weber-eb.uni-paderborn.de>

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Jul 1998 10:36:59 +0000 (10:36 +0000)]
Update.

1998-07-20  Jose M. Moya  <josem@gnu.org>

* hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
value.

1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/getdomain.c: New file.
* sysdeps/mach/hurd/setdomain.c: New file.

1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
a weak alias.

26 years agoUpdate.
Ulrich Drepper [Mon, 20 Jul 1998 18:25:24 +0000 (18:25 +0000)]
Update.

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

* libio/libioP.h: Use __PMT in typedef.
* libio/strfile.h: Likewise.

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

* sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
buffer is too small.
Reported by John Levon <j_levon@ncc.co.uk>.

26 years agoUpdate.
Ulrich Drepper [Mon, 20 Jul 1998 17:25:48 +0000 (17:25 +0000)]
Update.

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

* shlib-versions: Remove definition for libSegFault.

* memory.texi: Comment out the relocating allocator description.
* manual/signal.texi: Remove reference to relocating allocator.
* manual/top-menu.texi: Regenerated.

* posix/fnmatch.c: Implement [: :] and change to recognize
^ as negation only when not _POSIXLY_CORRECT.

* sysdeps/generic/glob.c: Add several optimizations.

* posix/glob.h: Undefine __PMT to prevent warnings.
Reported by Roland McGrath.

* posix/regex.c: Define namespace macros only for _LIBC.

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

* sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
* sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
* sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
sigpending, sigqueue, and sigtimedwait.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.

* timezone/leapseconds: Update from tzdata1998f.

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

* stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
* stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
* libio/stdio.h: Fix typo.

1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
magic memobj port arg parsing stuff.  Fix it someday when we are ready
to really use it.
(_dl_sysdep_output): New function, modified from _dl_sysdep_error.
(_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.

1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>

* stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.

1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
a weak alias.
* sysdeps/mach/hurd/sigsuspend.c: Likewise.
* sysdeps/generic/sigsuspend.c: Likewise.

1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.

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

* Makerules (map-file): Don't use $(wildcard) to find the
generated version script, instead look in $(version-maps).
($(common-objpfx)libc.so): Only depend on libc.map if versioning
is used.
* extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
if versioning is used.  Don't use $(wildcard) to find the
generated version script, instead look in $(verson-maps).

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

* sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
unused function handle.
* sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
* debug/catchsegv.sh: Fix argument processing, quoting and various
typos.  Put the crash info always in the current directory.  Find
program in $PATH if it contains no directory component.
* Makerules (install-lib.so-versioned,
install-lib.so-unversioned): New variables.
(install-lib-nosubdir): Depend on unversioned libs in
slibdir, not libdir.

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

* Make-dist (+tsrcs): Remove references to %-map variables and
*.map files.  Add Versions in subdirs.
* Makerules (distinfo-vars): Don't write out %-map variables.

1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>

* inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
Include <paths.h> instead.
* sysdeps/generic/paths.h: Define _PATH_RWHODIR.
* sysdeps/unix/sysv/linux/paths.h: Likewise.
Reported by Dale Scheetz <dwarf@polaris.net>.

1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>

* catgets/open_catalog.c: Strictly check whether catalog file is
larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.

26 years agoRegenerated: /usr/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Mon, 20 Jul 1998 17:06:04 +0000 (17:06 +0000)]
Regenerated:  /usr/bin/perl scripts/gen-FAQ.pl FAQ.in

26 years agoUpdate.
Andreas Schwab [Mon, 20 Jul 1998 05:03:25 +0000 (05:03 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.

* sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.

26 years agoNew file.
Andreas Schwab [Mon, 20 Jul 1998 04:59:31 +0000 (04:59 +0000)]
New file.

26 years agoStrictly check whether catalog file is larger enough for the data.
Ulrich Drepper [Fri, 17 Jul 1998 21:47:07 +0000 (21:47 +0000)]
Strictly check whether catalog file is larger enough for the data.

26 years agoUpdate.
Ulrich Drepper [Fri, 17 Jul 1998 12:36:43 +0000 (12:36 +0000)]
Update.

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

* debug/catchsegv.sh: Fix several stupid bugs.

* shlib-versions: Define version for libSegFault.
* debug/Makefile: Replace shared lib version number while rewriting.

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

* sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
Suggested by Roland McGrath.

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

* timezone/Makefile: Remove '-L (leapseconds)' for testdata
generation to control environment.

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

* sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
Patch by John Tobey <jtobey@banta-im.com>.

* manual/llio.texi: Document readv/writev and mmap functions.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.

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

* manual/Makefile (texis): Depend on texis.awk.
(nonexamples): Filter out add-on chapters.
(chapters.% top-menu.%): Depend on libc-texinfo.sh.
(stamp-summary): Depend on $(texis) except summary.texi.
($(inst_infodir)/libc.info): Simplify command.
* manual/libc-texinfo.sh: Cleaned up to use less temporary files.
Fix the generation of the detailed node listing to make it
complete again.
* manual/math.texi: Fix signature of lgamma_r.

26 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Fri, 17 Jul 1998 10:23:18 +0000 (10:23 +0000)]
Regenerated: autoconf  configure.in

26 years agoThis belongs to the 2.0 branch.
Andreas Schwab [Fri, 17 Jul 1998 04:26:24 +0000 (04:26 +0000)]
This belongs to the 2.0 branch.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 23:08:48 +0000 (23:08 +0000)]
Update.

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

* debug/Makefile (distribute): Add sigcontextinfo.h.
Add rules to generate and install catchsegv.
* debug/catchsegv.sh: New file.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 20:14:19 +0000 (20:14 +0000)]
Update.

1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
port instead of a Mach memory object.
(__open): Likewise.
(__libc_read): New function.
(__mmap): Change to take a Hurd I/O port instead of a Mach memory
object.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 20:08:44 +0000 (20:08 +0000)]
Update.

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

* debug/Makefile (routines): Add backtracesymsfd.
Add rules to generate libSegFault.
* debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
* debug/execinfo.h: Declare backtrace_symbols_fd.
* sysdeps/generic/backtracesymsfd.c: New file.
* sysdeps/generic/elf/backtracesymsfd.c: New file.
* sysdeps/generic/segfault.c: New file.
* sysdeps/generic/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.

* sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 19:28:34 +0000 (19:28 +0000)]
Update.

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

* elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
(process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 17:07:33 +0000 (17:07 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
to...
* sysdeps/generic/dl-environ.c: here.  New file.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 13:49:59 +0000 (13:49 +0000)]
Update.

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

* argp/argp-fmtstream.c: Fix warnings introduced in last change.
* assert/assert-perr.c: Likewise.
* assert/assert.c: Likewise.
* gconv_conf.c: Likewise.
* libio/iofputs_u.c: Likewise.
* malloc/mtrace.c: Likewise.
* malloc/obstack.c: Likewise.
* misc/error.c: Likewise.
* misc/syslog.c: Likewise.
* stdio-common/asprintf.c: Likewise.
* stdio-common/dprintf.c: Likewise.
* stdio-common/getw.c: Likewise.
* stdio-common/putw.c: Likewise.
* stdio-common/snprintf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/sscanf.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sysdeps/generic/abort.c: Likewise.

* rt/aio_cancel.c: Don't define ECANCELED here.
* sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.

26 years agoUpdate.
Ulrich Drepper [Thu, 16 Jul 1998 11:44:36 +0000 (11:44 +0000)]
Update.

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

* argp/argp-fmtstream.c: Unify names of used global functions.
* argp/argp-help.c: Likewise.
* assert/assert-perr.c: Likewise
* assert/assert.c: Likewise
* dirent/scandir.c: Likewise
* dirent/scandir64.c: Likewise
* dirent/versionsort.c: Likewise
* dirent/versionsort64.c: Likewise
* gmon/bb_exit_func.c: Likewise.
* gmon/gmon.c: Likewise.
* grp/initgroups.c: Likewise.
* iconv/gconv_conf.c: Likewise.
* inet/getnameinfo.c: Likewise.
* inet/getnetgrent_r.c: Likewise.
* inet/inet_ntoa.c: Likewise.
* inet/rcmd.c: Likewise.
* inet/rexec.c: Likewise.
* inet/ruserpass.c: Likewise.
* io/fts.c: Likewise.
* io/ftw.c: Likewise.
* io/ftw64.c: Likewise.
* io/getdirname.c: Likewise.
* io/getwd.c: Likewise.
* io/lockf.c: Likewise.
* libio/iofdopen.c: Likewise.
* libio/iopopen.c: Likewise.
* login/utmp_daemon.c: Likewise.
* malloc/mtrace.c: Likewise.
* malloc/obstack.c
* misc/daemon.c: Likewise.
* misc/efgcvt_r.c: Likewise.
* misc/err.c: Likewise.
* misc/error.c: Likewise.
* misc/fstab.c: Likewise.
* misc/getpass.c: Likewise.
* misc/getttyent.c: Likewise.
* misc/mntent_r.c: Likewise.
* misc/search.h: Likewise.
* misc/syslog.c: Likewise.
* nscd/nscd_getgr_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
* posix/getpgrp.c: Likewise.
* posix/wordexp.c: Likewise.
* pwd/fgetpwent_r.c: Likewise.
* pwd/getpw.c: Likewise.
* resolv/herror.c: Likewise.
* resolv/res_init.c: Likewise.
* shadow/fgetspent_r.c: Likewise.
* shadow/lckpwdf.c: Likewise.
* signal/sigrelse.c: Likewise.
* stdio-common/asprintf.c: Likewise.
* stdio-common/dprintf.c: Likewise.
* stdio-common/getw.c: Likewise.
* stdio-common/putw.c: Likewise.
* stdio-common/snprintf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/sscanf.c: Likewise.
* stdlib/lrand48_r.c: Likewise.
* stdlib/mrand48_r.c: Likewise.
* string/argz-replace.c: Likewise.
* string/envz.c: Likewise.
* sunrpc/auth_des.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/bindrsvprt.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/get_myaddr.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/netname.c: Likewise.
* sunrpc/openchild.c: Likewise.
* sunrpc/pmap_rmt.c: Likewise.
* sunrpc/rpc_dtable.c: Likewise.
* sunrpc/rtime.c: Likewise.
* sunrpc/svc_run.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/xdr_array.c: Likewise.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_ref.c: Likewise.
* sunrpc/xdr_stdio.c: Likewise.
* sysdeps/generic/abort.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/fstatfs64.c: Likewise.
* sysdeps/generic/ftruncate64.c: Likewise.
* sysdeps/generic/getrlimit64.c: Likewise.
* sysdeps/generic/glob.c: Likewise.
* sysdeps/generic/prof-freq.c: Likewise.
* sysdeps/generic/putenv.c: Likewise.
* sysdeps/generic/statfs64.c: Likewise.
* sysdeps/generic/ttyname_r.c: Likewise.
* sysdeps/generic/utmp_file.c: Likewise.
* sysdeps/generic/vlimit.c: Likewise.
* sysdeps/generic/vtimes.c: Likewise.
* sysdeps/posix/cuserid.c: Likewise.
* sysdeps/posix/euidaccess.c: Likewise.
* sysdeps/posix/mkstemp.c: Likewise.
* sysdeps/posix/mktemp.c: Likewise.
* sysdeps/posix/pread.c: Likewise.
* sysdeps/posix/pread64.c: Likewise.
* sysdeps/posix/profil.c: Likewise.
* sysdeps/posix/pwrite.c: Likewise.
* sysdeps/posix/pwrite64.c: Likewise.
* sysdeps/posix/sigblock.c: Likewise.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/ttyname.c: Likewise.
* sysdeps/posix/ttyname_r.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/getlogin_r.c: Likewise.
* sysdeps/unix/grantpt.c: Likewise.
* sysdeps/unix/rewinddir.c: Likewise.
* sysdeps/unix/sysv/linux/gethostid.c: Likewise.
* sysdeps/unix/sysv/linux/getpt.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
* sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* sysdeps/unix/sysv/linux/ulimit.c: Likewise.
* sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
* sysvipc/sys/shm.h: Likewise.
* time/ctime_r.c: Likewise.
* time/strptime.c: Likewise.
* wcsmbs/mbrlen.c: Likewise.
* wcsmbs/wcsdup.c: Likewise.
* wcsmbs/wcsxfrm.c: Likewise.
* wctype/wcfuncs.c: Likewise.

* sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
* sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
* sysdeps/unix/sysv/linux/bind.S: Likewise.
* sysdeps/unix/sysv/linux/getsockname.S: Likewise.
* sysdeps/unix/sysv/linux/listen.S: Likewise.
* sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
* sysdeps/unix/sysv/linux/sendto.S: Likewise.
* sysdeps/unix/sysv/linux/setsockopt.S: Likewise.

* grp/fgetgrent_r.c: Use explicit locking of the stream.

* elf/Makefile (rtld-routines): Add dl-environ.
* sysdeps/generic/dl-environ.c: New file.

* libio/Makefile [REENTRANT] (routines): Add iofputs_u.
* libio/Versions: Add fputs_unlocked.
* libio/iofputs_u.c: New file.
* libio/stdio.h: Add prototype for fputs_unlocked.

* sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
* sunrpc/rpc/clnt.h: Likewise.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.

* sysdeps/i386/memchr.S: Correct for more strict gas.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/libm-i387/i686/s_fdim.S: Likewise.
* sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
* sysdeps/libm-i387/i686/s_fdiml.S: Likewise.

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

* configure.in: Change message for binutils version from
2.8.1.0.17->2.8.1.0.23.

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

* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
Patch by John Tobey <jtobey@banta-im.com>.

26 years agoUpdate.
Ulrich Drepper [Tue, 14 Jul 1998 20:52:32 +0000 (20:52 +0000)]
Update.

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

* sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
instead of sysconf.

26 years agoUpdate.
Ulrich Drepper [Tue, 14 Jul 1998 19:43:02 +0000 (19:43 +0000)]
Update.

1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
[_USE_IN_LIBIO] (encode_error): Free cancelation handler.
(conv_error): Likewise.
(input_error): Likewise.
(memory_error): Likewise.

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

* sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
implementation.  Include <entry.h>.  Replace references to symbol
_start with macro ENTRY_POINT.
(__libc_uid): Remove.
(__libc_multiple_libcs): New variable.
(__libc_stack_end): New variable.
(_dl_hwcap_mask): New variable.
(_dl_important_hwcaps): New function.
(_dl_show_auxv): Mark internal.

26 years agoUpdate.
Ulrich Drepper [Tue, 14 Jul 1998 15:37:33 +0000 (15:37 +0000)]
Update.

1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>

* mach/Makefile: Create target directory before generating
mach-syscalls.mk.
* mach/Machrules: Invoke awk using AWK variable.  Create target
directory before generating server stubs.

26 years agoUpdate.
Ulrich Drepper [Tue, 14 Jul 1998 15:06:24 +0000 (15:06 +0000)]
Update.

* wcsmbs/wcslen.c (__wcslen): Fix comment.

26 years agoUpdate.
Ulrich Drepper [Tue, 14 Jul 1998 13:55:11 +0000 (13:55 +0000)]
Update.

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

* configure.in: Allow egcs-2.92.

26 years agoUpdate.
Ulrich Drepper [Mon, 13 Jul 1998 12:29:13 +0000 (12:29 +0000)]
Update.

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

* manual/Makefile: Overhauled.  Generate libc.texinfo from the
chapter files.  Exorcise the chapters, chapters-incl mess.
Support inserting doc chapters from add-on modules.
(chapters): New variable.
(add-chapters): New variable.
(appendices): New variable.
(libc.texinfo): New target.
(clean): Fix bugs.
(realclean): Fix bugs.

* manual/texis.awk: New file.
* manual/libc-texinfo.sh: New file.
* manual/libc-texinfo.in: New file.

* manual/conf.texi (top @node): Remove next pointer.
* manual/lang.texi (top @node): Remove prev pointer.

* manual/job.texi (top @node): Add explicit pointers.
* manual/message.texi (top @node): Add explicit pointers.
* manual/nss.texi (top @node): Add explicit pointers.
* manual/process.texi (top @node): Add explicit pointers.
* manual/startup.texi (top @node): Add explicit pointers.
* manual/terminal.texi (top @node): Add explicit pointers.
* manual/users.texi (top @node): Add explicit pointers.

* manual/arith.texi: Add %MENU% tag.
* manual/conf.texi: Add %MENU% tag.
* manual/contrib.texi: Add %MENU% tag.
* manual/ctype.texi: Add %MENU% tag.
* manual/errno.texi: Add %MENU% tag.
* manual/filesys.texi: Add %MENU% tag.
* manual/header.texi: Add %MENU% tag.
* manual/install.texi: Add %MENU% tag.
* manual/intro.texi: Add %MENU% tag.
* manual/io.texi: Add %MENU% tag.
* manual/job.texi: Add %MENU% tag.
* manual/lang.texi: Add %MENU% tag.
* manual/llio.texi: Add %MENU% tag.
* manual/locale.texi: Add %MENU% tag.
* manual/maint.texi: Add %MENU% tag.
* manual/math.texi: Add %MENU% tag.
* manual/mbyte.texi: Add %MENU% tag.
* manual/memory.texi: Add %MENU% tag.
* manual/message.texi: Add %MENU% tag.
* manual/nss.texi: Add %MENU% tag.
* manual/pattern.texi: Add %MENU% tag.
* manual/pipe.texi: Add %MENU% tag.
* manual/process.texi: Add %MENU% tag.
* manual/search.texi: Add %MENU% tag.
* manual/setjmp.texi: Add %MENU% tag.
* manual/signal.texi: Add %MENU% tag.
* manual/socket.texi: Add %MENU% tag.
* manual/startup.texi: Add %MENU% tag.
* manual/stdio.texi: Add %MENU% tag.
* manual/string.texi: Add %MENU% tag.
* manual/sysinfo.texi: Add %MENU% tag.
* manual/terminal.texi: Add %MENU% tag.
* manual/time.texi: Add %MENU% tag.
* manual/users.texi: Add %MENU% tag.

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

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
Update.

1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
style declaration to avoid warning.
* sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.

1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>

* elf/rtld.c (process_dl_debug): Add missing continue.

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

* elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
code needs it.

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

* Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
sysd-dirs-done.
* Makerules: Don't generate version maps too early.
($(common-objpfx)sysd-versions): Force regeneration if the list of
subdirs has changed.

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

* elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.

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

* iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
* iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
return value.

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

* elf/dl-open.c (dl_open_worker): New function.
(_dl_open): Call it to do the actual work while catching errors.
* elf/dl-close.c (_dl_close): Only call termination function if
the initialisation function was called.

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

* libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
Reported by Felix von Leitner <leitner@amdiv.de>.

1998-07-13 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (process_dl_debug): Add missing continue.

1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>

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

1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* Examples/ex6.c: Include <unistd.h> for usleep.

26 years agoUpdate.
Ulrich Drepper [Mon, 13 Jul 1998 09:43:48 +0000 (09:43 +0000)]
Update.

1998-06-13 11:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Examples/ex4.c (main): Use exit, not pthread_exit.

26 years ago(_IO_cleanup_registration_needed): Use __PMT.
Ulrich Drepper [Mon, 13 Jul 1998 09:42:19 +0000 (09:42 +0000)]
(_IO_cleanup_registration_needed): Use __PMT.

26 years ago* sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
Andreas Schwab [Mon, 13 Jul 1998 01:30:40 +0000 (01:30 +0000)]
* sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.

Mon Jul 13 10:28:28 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.

26 years agoAdd point for gconv-modules db.
Ulrich Drepper [Fri, 10 Jul 1998 21:11:01 +0000 (21:11 +0000)]
Add point for gconv-modules db.

26 years agoUpdate.
Ulrich Drepper [Fri, 10 Jul 1998 20:45:28 +0000 (20:45 +0000)]
Update.

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

* Make-dist (+sysdep-tsrcs): Add Versions.

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

* math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
__fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
* sysdeps/powerpc/Versions: New file.
* csu/Versions: Remove brk, sbrk, environ, __environ, _environ
and __errno_location.
* misc/Versions: Add brk and sbrk.
* posix/Versions: Add environ, __environ and _environ.
* sysdeps/unix/sysv/linux/Versions: Add __errno_location.

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

* Makerules [no_defs]: Avoid dependency for loading sysd-versions.
Patch by Zack Weinberg.

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

* posix/annexc.c (errno_maybe): EACCESS->EACCES.
(signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
(mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.

* signal/signal.h: Define pid_t also for __USE_XOPEN.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Jul 1998 16:04:24 +0000 (16:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Jul 1998 15:27:41 +0000 (15:27 +0000)]
Update.

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

* posix/unistd.h: Simplify #ifdefs.

* libio/libio.h: Undo last change due to possible C++ problems.
* libio/fileops.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Jul 1998 13:58:47 +0000 (13:58 +0000)]
Update.

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

* grp/grp.h: Define gid_t also for __USE_XOPEN.
* io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
* io/utime.h: Define time_t also for __USE_XOPEN.
* io/sys/stat.h: Define time_t also for __USE_XOPEN.
Define *_t types except for pid_t also for __USE_XOPEN.
Define S_* macros also for __USE_XOPEN.
* locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
THOUSEP also for __USE_XOPEN.
* math/math.c: Define M_* macros also for __USE_XOPEN.
* math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
* posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
defined.
* posix/glob.h: Likewise for GLOB_NOSYS.
* posix/regex.h: Likewise for REG_NOSYS.
* posix/wordexp.h: Likewise for WRDE_NOSYS.
* posix/unistd.h: Define *_t types also for __USE_XOPEN.
* posix/sys/wait.h: Define pid_t for __USE_XOPEN.
* pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
* signal/signal.h: Define pid_t also fir __USE_XOPEN.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
for __USE_POSIX199309.
* sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
constants also for __USE_XOPEN.
* wcsmbs/wchar.h: For XPG4 include wctype.h.

* intl/dcgettext.c (find_msg): Initialize act to prevent warning.
* locale/setlocale.c (new_composite_name): Likewise for last_len.

* libio/stdio.h: Don't declare fclose_unlocked.

* sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.

1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>

* stdio/stdio.h: Add prototypes for fflush_unlocked,
getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
fgets_unlocked, fread_unlocked, fwrite_unlocked,
clearerr_unlocked, feof_unlocked, ferror_unlocked,
fileno_unlocked, flockfile, ftrylockfile, funlockfile.
[__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
prototype for getopt.
* stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
* stdio/feof.c (feof_unlocked): Weak alias for feof.
* stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
* stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
* stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
* stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
* stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
* stdio/fread.c (fread_unlocked): Weak alias for fread.
* stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
* stdio/getc.c (getchar_unlocked): Weak alias for getc.
* stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
* stdio/putc.c (putc_unlocked): Weak alias for putc.
* stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
* stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
getc_unlocked, getchar_unlocked, putc_unlocked and
putchar_unlocked.

* libio/Versions: Move flockfile, ftrylockfile and funlockfile
from here ...
* stdio-common/Versions: ... to here.

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

* Makerules (versioning): Correct typo.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Jul 1998 13:42:26 +0000 (13:42 +0000)]
Update.

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

* Versions: Add __pthread_mutexattr_gettype and
__pthread_mutexattr_settype.
* lockfile.c: Use __pthread_mutexattr_settype instead of
__pthread_mutexattr_setkind_np.
* mutex.c: Define __pthread_mutexattr_gettype and
__pthread_mutexattr_settype.
* weak.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 8 Jul 1998 22:53:56 +0000 (22:53 +0000)]
Update.

1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>

* elf/Versions: Add _dl_mcount_wrapper_check.
* elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
_dl_mcount_wrapper_check.
* iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.

* elf/dl-reloc.c (_dl_relocate_object): Don't declare using
internal_function.
* elf/ldsodefs.h: Likewise.

* io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.

* libio/stdio.h: Make sure va_list is defined for X/Open.
Define P_tmpdir for X/Open.

* posix/regex.h: Fix typo.

* posix/unistd.h: Define intptr_t if not already happened.
Add pthread_atfork prototype.
* sysdeps/generic/bits/types.h: Define __intptr_t.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
* sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
* sysdeps/wordsize-64/stdint.h: Likewise.

* posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.

* signal/Makefile (headers): Add bits/sigthread.h.
* signal/signal.h: Include bits/sigthread.h.
* sysdeps/generic/bits/sigthread.h: New file.

* stdlib/stdlib.h: Declare rand_r use __USE_POSIX.

* sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
* sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
* sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.

* sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.

* elf/rtld.c: Remove preloading and loadpath variables in SUID
programs.
* sysdeps/generic/dl-sysdep.c: Define unsetenv.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
names.

* sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.

* sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
Remove O_READ and O_WRITE definition.

* sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
and RLIM_SAVED_CUR.

* sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.

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

* Makerules ($(common-objpfx)sysd-versions): Expect awk script in
scripts directory.  Pass move-if-change to awk.
(common-generated): Add $(version-maps) and sysd-versions.
* versions.awk: Moved to...
* scripts/versions.awk: ... here.  Use move-if-change to void
touching unchanged files.  Print "version-maps = ..." instead of
"all-version-maps = ..." and without $(common-objpfx).  Explain
expected variable names.
* Makefile (distribute): Updated.

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

* misc/getttyent.c (getttyent): Don't return with locked stream.
* misc/mntent_r.c (__getmntent_r): Likewise.

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

* libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
if stream is line buffered.
(_io_file_overflow): Likewise.
* libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
streams writing '\n' flushes the string.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Jul 1998 17:31:11 +0000 (17:31 +0000)]
Update.

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

* elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
* elf/dl-support.c: Define it here...
* elf/rtld.c: ...and here.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Jul 1998 16:30:46 +0000 (16:30 +0000)]
Update.

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

* grp/initgroups.c: Handle directives from nsswitch.conf file.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Jul 1998 15:23:31 +0000 (15:23 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
__ino64_t definition.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Jul 1998 12:58:15 +0000 (12:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
__off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Jul 1998 12:46:24 +0000 (12:46 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
script if lddlibc4 failed.
Reported by B. D. Elliott <bde@accessone.com>.

scratch, which is faster and gets correct behaviour if $(subdirs)
is incomplete.

26 years agoUpdate.
Ulrich Drepper [Mon, 6 Jul 1998 17:21:35 +0000 (17:21 +0000)]
Update.

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

* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
Improve generated strings a bit.

26 years agoUpdate.
Ulrich Drepper [Mon, 6 Jul 1998 17:09:00 +0000 (17:09 +0000)]
Update.

1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/Makefile (generated): Remove $(objpfx) from the names.

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

* stdio-common/test_rdwr.c: Use %Zu for size_t in printf
format string.

* libio/iofread_u.c: Include <stdio.h> for prototype.
* libio/iofwrite_u.c: Likewise.

1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* db2/Versions: New file.

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

* Makefile (lib-noranlib): Don't depend on sysd-versions.
($(common-objpfx)sysd-versions): Remove rule.
* Makerules ($(common-objpfx)sysd-versions): Define here instead.
Pass name of Versions.def file to script and redirect output to
target.  Include it and make all generated version maps depend on
it.
* versions.awk: Print out variable definition containing all
generated version maps.  Print error messages to stderr.  Remove
temp file.

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

* posix/annexc.c (check_header): Terminate macro name before
comparing.
(get_null_defines): Allow builtin macros with parameters.
(fmt, testfmt): Add -D_LIBC.
* posix/Makefile: Remove bogus duplicate include directories from
annexc test command.

1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>

* nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
password scheme.
(_nss_nis_getpwnam_r): Likewise.
(_nss_nis_getpwuid_r): Likewise.

1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>

* libio/Versions: Move symbols whose source lives in
stdio-common to ...
* stdio-common/Versions: ... here.
* stdio/Versions: Add missing symbols.

26 years agoUpdate.
Ulrich Drepper [Sun, 5 Jul 1998 15:24:05 +0000 (15:24 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
__syscall_sendmsg.
* sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
__syscall_recvmsg.
* sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
and make __recvmsg and recvmsg weak aliases.
* sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
and __syscall_sendmsg.

26 years agoUpdate.
Ulrich Drepper [Sun, 5 Jul 1998 12:05:16 +0000 (12:05 +0000)]
Update.

1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
stream.
* inet/ruserpass.c (token): Likewise.
* nss/nsswitch.c (nss_parse_file): Likewise.
* intl/localealias.c: Likewise.  Also for ferror.
* time/getdate.c (__getdate_r): Likewise.

* libio/Makefile (routines): Add iofgets_u.
* libio/iofgets_u.c: New file.
* libio/Versions: Add fgets_unlocked.
* libio/stdio.h: Add prototype for fgets_unlocked.

* misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
* misc/getusershell.c (initshells): Likewise.
* misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
fgets_unlocked.
* nss/nss_files/files-XXX.c (internal_getent): Likewise.
* resolv/res_init.c (res_init): Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.

26 years agoFix typo.
Ulrich Drepper [Sun, 5 Jul 1998 11:58:14 +0000 (11:58 +0000)]
Fix typo.

* Versions: Add pthread_attr_init to GLIBC_2.1 version in libc.

26 years agoUpdate.
Ulrich Drepper [Sun, 5 Jul 1998 11:57:59 +0000 (11:57 +0000)]
Update.

1998-07-05 11:54  Ulrich Drepper  <drepper@cygnus.com>

* Versions: Add pthread_attr_init ti GLIBC_2.1 version in libc.

26 years agoUpdate.
Ulrich Drepper [Sun, 5 Jul 1998 08:24:43 +0000 (08:24 +0000)]
Update.

1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>

* sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
* sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.

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

* misc/getttyent.c (getttyent): Explicitly lock the FILE and use
_unlocked functions.

* inet/ruserpass.c (ruserpass): Use _unlocked functions since this
is a private FILE.

26 years agoUpdate.
Ulrich Drepper [Sat, 4 Jul 1998 14:40:35 +0000 (14:40 +0000)]
Update.

1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* csu/Makefile: Build crt files in lib pass.
* db2/Makefile (distribute): Add mutex/sco.cc.
* mach/Machrules: Don't generate .udeps files if no_deps is set.
* sysdeps/unix/Makefile: Don't generate sysd-syscalls or
s-proto.d if avoid-generated is set.

* sysdeps/alpha/Dist: List only one file per line.
* sysdeps/generic/Dist: Likewise.
* sysdeps/m68k/fpu/switch/Dist: Likewise.
* sysdeps/sparc/sparc32/Dist: Likewise.
* sysdeps/unix/Dist: Likewise.
* sysdeps/unix/sysv/irix4/Dist: Likewise.

* sysdeps/mach/hurd/i386/Dist: New file.
* sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
* sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.

26 years agoUpdate.
Ulrich Drepper [Sat, 4 Jul 1998 10:39:13 +0000 (10:39 +0000)]
Update.

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

* libio/Makefile (routines): Add iofread_u and iofwrite_u.
* libio/Versions: Add fread_unlocked and fwrite_unlocked.

* Makerules (lib%.so): Adjust ignore pattern for last makefile change.

* time/tzfile.c (decode): Optimize by using bswap_32.
(__tzfile_read): Use _unlocked stream functions.  Correct setting of
__tzname array values.
(__tzfile_compute): Correct setting of __tzname array values.
* time/tzset.c (__tzstring): Clean up a bit.

1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>

* posix/regex.c (re_comp): Add cast to char * before gettext calls.

1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
that fd can be bigger than FD_SETSIZE.

1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nscd/grpcache.c: Include <unistd.h>.
* nscd/pwdcache.c: Likewise.

* nis/nis_modify.c: Include <string.h>.
* nis/nis_add.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* posix/runptests.c: Likewise.
* sysdeps/generic/statvfs64.c: Likewise.
* sysdeps/generic/fstatvfs64.c: Likewise.

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

* localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
to match data from Unicode.
Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.

1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/printf.h: Define printf_function and
printf_arginfo_function types using __PMT not __P.
Reported by Marc Lehmann.

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

* assert/test-assert.c: New test.
* assert/test-assert-perr.c: New test.
* assert/Makefile (tests): Add test-assert and test-assert-perr.

1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>

BSD-style SCM_CREDS support.

* sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
SCM_CREDS.
* sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
visible SCM_CREDS packet to what the kernel wants.
* sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
SCM_CREDS packet output by kernel to what users want.

* sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
* sysdeps/unix/sysv/linux/__sendmsg.S: here.
* sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
* sysdeps/unix/sysv/linux/__recvmsg.S: here.

* sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
__sendmsg and __recvmsg to sysdep_routines.
* sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.

1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nscd/grpcache.c: Fix gid pointer handling and debug messages.
* nscd/pwdcache.c: Fix uid pointer handling and debug messages.
* nscd/nscd.c: Check, if pthread_create fails.

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

* stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
format strings.
* stdio-common/bug1.c (main): Likewise.
* stdio-common/bug5.c (main): Likewise.
* stdio-common/tstgetln.c (main): Likewise.
* elf/sprof.c (generate_call_graph): Likewise.
(load_shobj): Likewise.
* posix/runptests.c (main): Likewise.
* string/tst-strlen.c (main): Likewise.

* sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
variable q3.
* sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise

1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* wctype/Versions: Add __towctrans.
Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.

1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>

* grp/initgroups.c (compat_call): Only call dynamically loaded
functions if they are really present.

1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
#ifdef that contains __BEGIN_DECLS.

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

* libio/iofwrite.c: Fix return value when size == 0.

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

* posix/Makefile (distribute): Add annexc.c.
(generated): Add $(objpfx)annexc and $(objpfx)annexc.out.

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

* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
bits/pthreadtypes.h here, and do not clobber headers.

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

1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* timezone/tst-timezone.c: Add tests for tzname variable.

1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makefile [versioning=yes]: Build the mapfiles with a pattern
rule that lists all of them as targets.
(sysd-versions): Depend only on Versions.def.  Write a Makefile
fragment that defines $(vers-libs) based on contents of that file;
then include it.
(lib-noranlib): Depend on lib-mapfiles not sysd-versions.
(lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
Predicate all this on avoid-generated unset as well as versioning.

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

26 years ago[versioning=yes]: Build the mapfiles with a pattern rule that lists all of them as...
Ulrich Drepper [Sat, 4 Jul 1998 10:17:03 +0000 (10:17 +0000)]
[versioning=yes]: Build the mapfiles with a pattern rule that lists all of them as targets. (sysd-versions): Depend only on Versions.def.  Write a Makefile fragment that defines $(vers-libs) based on contents of that file; then include it. (lib-noranlib): Depend on lib-mapfiles not sysd-versions. (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs). Predicate all this on avoid-generated unset as well as versioning.