platform/upstream/glibc.git
25 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.

25 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.

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

25 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.

25 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.

25 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.

25 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 +.

25 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.

25 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.

25 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.

25 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>.

25 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.

25 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.

25 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.

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

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

25 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.

25 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>

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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>.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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>

25 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.

25 years ago* sysdeps/unix/sysv/linux/m68k/Versions: New file.
Andreas Schwab [Fri, 3 Jul 1998 05:37:32 +0000 (05:37 +0000)]
* sysdeps/unix/sysv/linux/m68k/Versions: New file.

Fri Jul  3 14:35:55 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/Versions: New file.

25 years agoUpdate.
Ulrich Drepper [Thu, 2 Jul 1998 22:51:40 +0000 (22:51 +0000)]
Update.

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

* Makeconfig: Define list of subdirs as all-subdirs and make subdirs
a copy.
* Makefile: Add rules to generate map files.
(distribute): Remove libc.map, add Versions.def and versions.awk.
* Makerules: Change rules to find map files on common-objpfx.
* elf/Makefile: Likewise.
* md5-crypt/Makefile: Likewise.
* nis/Makefile (libnsl-map): Remove.
* Versions.def: New file.
* versions.awk: New file.
* argp/Versions: New file.
* assert/Versions: New file.
* catgets/Versions: New file.
* csu/Versions: New file.
* ctype/Versions: New file.
* db/Versions: New file.
* debug/Versions: New file.
* dirent/Versions: New file.
* elf/Versions: New file.
* gmon/Versions: New file.
* grp/Versions: New file.
* hesiod/Versions: New file.
* hurd/Versions: New file.
* iconv/Versions: New file.
* inet/Versions: New file.
* intl/Versions: New file.
* io/Versions: New file.
* libio/Versions: New file.
* linuxthreads/Versions: New file.
* locale/Versions: New file.
* login/Versions: New file.
* malloc/Versions: New file.
* math/Versions: New file.
* md5-crypt/Versions: New file.
* misc/Versions: New file.
* nis/Versions: New file.
* nss/Versions: New file.
* posix/Versions: New file.
* pwd/Versions: New file.
* resolv/Versions: New file.
* resource/Versions: New file.
* rt/Versions: New file.
* setjmp/Versions: New file.
* shadow/Versions: New file.
* signal/Versions: New file.
* socket/Versions: New file.
* stdio/Versions: New file.
* stdio-common/Versions: New file.
* stdlib/Versions: New file.
* streams/Versions: New file.
* string/Versions: New file.
* sunrpc/Versions: New file.
* sysdeps/alpha/Versions: New file.
* sysdeps/alpha/fpu/Versions: New file.
* sysdeps/i386/Versions: New file.
* sysdeps/sparc/Versions: New file.
* sysdeps/unix/sysv/Versions: New file.
* sysdeps/unix/sysv/linux/Versions: New file.
* sysdeps/unix/sysv/linux/alpha/Versions: New file.
* sysdeps/unix/sysv/linux/i386/Versions: New file.
* sysdeps/unix/sysv/linux/mips/Versions: New file.
* sysvipc/Versions: New file.
* termios/Versions: New file.
* time/Versions: New file.
* wcsmbs/Versions: New file.
* wctype/Versions: New file.
* libc.map: Removed.
* db/libdb.map: Removed.
* elf/libdl.map: Removed.
* hesiod/libnss_hesiod.map: Removed.
* hurd/libhurduser.map: Removed.
* hurd/libmachuser.map: Removed.
* linuxthreads/libpthread.map: Removed.
* locale/libBrokenLocale.map: Removed.
* login/libutil.map: Removed.
* math/libm.map: Removed.
* md5-crypt/libcrypt.map: Removed.
* nis/libnsl.map: Removed.
* nis/libnsl_compat.map: Removed.
* nis/libnss_nis.map: Removed.
* nis/libnss_nisplus.map: Removed.
* nss/libnss_db.map: Removed.
* nss/libnss_files.map: Removed.
* resolv/libnss_dns.map: Removed.
* resolv/libresolv.map: Removed.
* rt/librt.map: Removed.

* elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
Fix typos.

* elf/rtld.c (process_dl_debug): Recognize 'all'.
(process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.

* sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
correct size.

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
in comment.

25 years agoUpdate.
Ulrich Drepper [Wed, 1 Jul 1998 11:30:38 +0000 (11:30 +0000)]
Update.

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

* nscd/nscd.c: Include unistd.h.

25 years agoUpdate.
Ulrich Drepper [Wed, 1 Jul 1998 09:34:02 +0000 (09:34 +0000)]
Update.

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

* math/libm-test.c: Adjust delta for indentities1_test because gcc
became cleverer.

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

* resolv/inet_addr.c (inet_aton): Define variable base only if needed.

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

* scripts/test-installation.pl: Include <stdio.h> in test program
to make it strictly conforming.

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

* sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
not a strong alias.
* sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.

25 years ago(inet_aton): Define variable base only if needed.
Ulrich Drepper [Wed, 1 Jul 1998 09:15:10 +0000 (09:15 +0000)]
(inet_aton): Define variable base only if needed.

25 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
Andreas Schwab [Wed, 1 Jul 1998 01:42:09 +0000 (01:42 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,

not a strong alias.
1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
not a strong alias.

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

26 years agoUpdate.
Ulrich Drepper [Tue, 30 Jun 1998 13:22:33 +0000 (13:22 +0000)]
Update.

26 years agoUpdate.
Ulrich Drepper [Tue, 30 Jun 1998 12:18:36 +0000 (12:18 +0000)]
Update.

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

* posix/Makefile (headers): Remove bits/pthreadtypes.h.
* sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
bits/pthreadtypes.h.

26 years agoUpdate.
Ulrich Drepper [Tue, 30 Jun 1998 12:09:42 +0000 (12:09 +0000)]
Update.

1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>

* include/aio.h: New file.
* posix/Makefile (distribute): Add bits/pthreadtypes.h.
(tests): Build and run annexc program.
* posix/annexc.c: New file.
* posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
* rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
* rt/aio_misc.c: Include limits.h.
* rt/aio_notify.c: Include errno.h.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
Define size_t.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
kernel doesn't do this.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
__USE_LARGEFILE64 is defined.
* sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
* sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
if requested.
* sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.

* stdlib/isomac.c: Avoid include_next warning.

26 years agoUpdate.
Ulrich Drepper [Mon, 29 Jun 1998 12:44:22 +0000 (12:44 +0000)]
Update.

1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>

* argp/argp.h: Use __PMT instead of __P for function pointer.
* iconv/gconv.h: Likewise.
* io/fts.h: Likewise.
* io/ftw.h: Likewise.
* libio/libio.h: Likewise.
* malloc/mcheck.h: Likewise.
* misc/search.h: Likewise.
* posix/glob.h: Likewise.
* resolv/resolv.h: Likewise.
* signal/signal.h: Likewise.
* stdlib/stdlib.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.

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

* Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.

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

* posix/wordexp.c (parse_param): Fix memory leak.

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

* libc.map: Export _IO_ftrylockfile.

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

* sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
__get[pu]id.

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

* elf/dl-misc.c (_dl_debug_message): Don't cache the pid.

* elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
same search list twice.

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

* login/programs/utmpd.c (handle_requests): Set and use maximal fd
used to optimize loop/select.

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

* sysdeps/generic/init-first.c: Don't define __libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/arm/init-first.c: Likewise.
* posix/getopt_init.c: Don't use __libc_pid.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* libc.map: Remove __libc_uid and __libc_pid.

26 years agoUpdate.
Ulrich Drepper [Sun, 28 Jun 1998 18:50:22 +0000 (18:50 +0000)]
Update.

* sunrpc/rtime.c (rtime): Use poll instead of select.

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

26 years agoUpdate.
Ulrich Drepper [Sun, 28 Jun 1998 09:50:12 +0000 (09:50 +0000)]
Update.

* sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
* sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
* sunrpc/clnt_udp.c (clntudp_call): Likewise.
Patches from FreeBSD current.

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

26 years agoUpdate.
Ulrich Drepper [Sat, 27 Jun 1998 17:19:20 +0000 (17:19 +0000)]
Update.

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

* nscd/connections.c (handle_new_request): Handle POLLHUP
correctly.
(close_sockets): Correct parameter to dbg_log.

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
(elf_machine_fixup_plt): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(__syscall_getpagesize): Add

26 years ago(handle_new_request): Handle POLLHUP correctly. (close_sockets): Correct parameter...
Ulrich Drepper [Sat, 27 Jun 1998 17:16:24 +0000 (17:16 +0000)]
(handle_new_request): Handle POLLHUP correctly. (close_sockets): Correct parameter to dbg_log.

26 years agoUpdate.
Richard Henderson [Sat, 27 Jun 1998 15:18:16 +0000 (15:18 +0000)]
Update.

1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>

        * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
        Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
        (elf_machine_fixup_plt): Likewise.
        * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
_dl_pagesize not set, use system call to always get correct answer.
        * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
        (__syscall_getpagesize): Add

26 years agoCleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
Richard Henderson [Sat, 27 Jun 1998 15:14:39 +0000 (15:14 +0000)]
Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.

26 years agoUpdate.
Ulrich Drepper [Sat, 27 Jun 1998 14:49:36 +0000 (14:49 +0000)]
Update.

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

* resolv/res_send.c (res_send): Fix typo.

26 years agoTypos.
Ulrich Drepper [Sat, 27 Jun 1998 13:39:37 +0000 (13:39 +0000)]
Typos.

1998-06-25  Andi Kleen <ak@muc.de>
* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.

26 years agoUpdate.
Ulrich Drepper [Sat, 27 Jun 1998 13:29:37 +0000 (13:29 +0000)]
Update.

1998-06-25    Andi Kleen <ak@muc.de>

* inet/rcmd.c (rcmd): Change to use __poll instead of select.
* resolv/res_send.c (res_send): Likewise.

26 years agoUpdate.
Ulrich Drepper [Sat, 27 Jun 1998 13:16:32 +0000 (13:16 +0000)]
Update.

* sysdeps/unix/sysv/linux/poll.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Sat, 27 Jun 1998 13:02:56 +0000 (13:02 +0000)]
Update.

1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.

26 years agoUpdate.
Ulrich Drepper [Sat, 27 Jun 1998 09:52:12 +0000 (09:52 +0000)]
Update.

1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>

* math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
* math/atest-exp2.c (exp_mpn, main): Likewise.
* math/atest-sincos.c (main): Likewise.

* resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
base handling away from strtoul.  Always reset errno.

* sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.

* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
_dl_profile_map if _dl_name_match_p.
(RTLD_START): Fix .prologue.  Set __libc_stack_end.
* sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.

* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
as early-clobber.

* sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
* sysdeps/libm-ieee754/e_exp10f.c: Likewise.
* sysdeps/libm-ieee754/e_exp10l.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 22:59:42 +0000 (22:59 +0000)]
Update.

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

* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe
code.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 22:47:20 +0000 (22:47 +0000)]
Update.

1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nis_call.c: Don't copy server structure.
* nis/nis_intern.h: Remove unused entries.
* nis/nis_table.c: Rewrite __create_ib_request.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 20:53:31 +0000 (20:53 +0000)]
Update.

* manager.c (pthread_exited): If thread is not detached put it on
special list.
(pthread_handle_free): If thread is not on list with living threads
search on list with detached threads.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 15:39:59 +0000 (15:39 +0000)]
Update.

* misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
* misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 14:47:05 +0000 (14:47 +0000)]
Update.

1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Check for -fexceptions.
* config.make.in: Define exceptions, not no-exceptions.
* misc/sys/cdefs.h: Define __PMS.  When using modern g++ define
__P to use throw().
* misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
$(exceptions).
* stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
* misc/search.h: Use __PMS in tsearch, tfind, tdelete, twalk, tdestroy,
lfind, and lsearch prototpypes.
* stdlib/stdlib.h: Likewise for bsearch and qsort.

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

* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.

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

* Makefile (remove-old-headers): Make phony.

* configure.in: Substitute @old_glibc_headers@.

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

* libc.map: Remove __libc_uid.

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

* manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
typos.

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

* libc.map: Add Alpha-specific io function from protected namespace.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 10:15:45 +0000 (10:15 +0000)]
Update.

* pthread.c: Move PID of manager for global variable in structure

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 10:15:28 +0000 (10:15 +0000)]
Update.

Patches by Xavier Leroy.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 10:03:25 +0000 (10:03 +0000)]
Update.

* sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Correct
for new definition of pthread_rwlock_t.

26 years agoUpdate.
Ulrich Drepper [Fri, 26 Jun 1998 09:51:29 +0000 (09:51 +0000)]
Update.

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

* spinlock.c: Correct test whether to compile
__pthread_compare_and_swap or not.

26 years agoUpdate.
Ulrich Drepper [Thu, 25 Jun 1998 19:44:22 +0000 (19:44 +0000)]
Update.

1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
* locale/Makefile: Define locale-CPPFLAGS instead of redefining
CPPFLAGS.

* libc.map: Export __sigaction.

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

* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
(from Linux 2.1.107).

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

* nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
position when file was opened here.
Reported by Howard Chu <hyc@platinum.com>.

* sysdeps/generic/glob.c: Also protect FNM_* macros from being
undefined in a second inclusion.

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

* sysdeps/mach/hurd/i386/Makefile: New file.
* sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
__libc_init_secure.
(_hurd_stack_setup): Renamed
from __libc_init_first.
(__libc_init_first): New function.
* sysdeps/mach/hurd/i386/static-start.S: New file.

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

* sysdeps/mach/hurd/i386/init-first.c

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

* grp/initgroups.c: Use _CALL_DL_FCT.

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

* elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.

26 years agoUpdate.
Ulrich Drepper [Thu, 25 Jun 1998 19:36:12 +0000 (19:36 +0000)]
Update.

* sysdeps/pthread/pthread.h: Likewise.
* sysdeps/i386/pt-machine.h: When compiling for i686 don't test for
xchgcmp instruction, it is available.

26 years agoFinish user stack support. Change locking code to be safe in situations with differe...
Ulrich Drepper [Thu, 25 Jun 1998 19:36:00 +0000 (19:36 +0000)]
Finish user stack support.  Change locking code to be safe in situations with different priorities.

1998-06-25 19:27  Ulrich Drepper  <drepper@cygnus.com>

* attr.c: Finish user stack support.  Change locking code to be safe
in situations with different priorities.
* cancel.c: Likewise.
* condvar.c: Likewise.
* internals.h: Likewise.
* join.c: Likewise.
* manager.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* ptlongjmp.c: Likewise.
* queue.h: Likewise.
* rwlock.c: Likewise.
* semaphore.c: Likewise.
* semaphore.h: Likewise.
* signals.c: Likewise.
* spinlock.c: Likewise.
* spinlock.h: Likewise.
Patches by Xavier leroy.

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

* sysdeps/pthread/pthread.h: Make [sg]et_stacksize and
[sg]et_stackaddr prototypes always available.

* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_THREAD_ATTR_STACKSIZE and _POSIX_THREAD_ATTR_STACKADDR.

26 years agoUpdate.
Ulrich Drepper [Wed, 24 Jun 1998 17:43:22 +0000 (17:43 +0000)]
Update.

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

* manager.c (pthread_free): Undo patch from 980430.
Reported by David Wragg <dpw@doc.ic.ac.uk>.

26 years agoUpdate.
Ulrich Drepper [Tue, 23 Jun 1998 09:16:39 +0000 (09:16 +0000)]
Update.

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

* manual/terminal.texi (Pseudo-Terminals): Correct typos.

26 years agoUpdate.
Ulrich Drepper [Tue, 23 Jun 1998 09:06:34 +0000 (09:06 +0000)]
Update.

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

* config.make.in: Remove LDAP support.
* nss/Makefile: Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 22 Jun 1998 17:08:51 +0000 (17:08 +0000)]
Update.

1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.

1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>

* mach/Makefile: Change `mv' invocations to `mv -f'.
* mach/Machrules: Likewise.

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

* config.make.in (old-glibc-headers): Add it.

* configure.in: Add test for glibc 2.0.x headers.

* Makefile (headers2_0): New variable - contains so far only
Linux/Intel glibc 2.0.x headers.
(remove-old-headers): New rule to remove headers from glibc 2.0.x.
(install): Depend on remove-old-headers.

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

* sysdeps/generic/ftruncate.c: Define function as __ftruncate and
make ftruncate a weak alias.
* sysdeps/mach/hurd/ftruncate.c: Really define function as
__ftruncate.
* sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
(truncate): Fix function defenition to match prototype.

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

* manual/terminal.texi: Document ttyname_r, getpt, grantpt,
unlockpt, ptsname, ptsname_r, openpty and forkpty.

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

* sysdeps/generic/glob.c: Make it possible to include glob.h
before loading glob.c.
Reported by Felix von Leitner <leitner@math.fu-berlin.de>.

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

* nscd/connections.c: Use poll() instead of select().

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

* sysdeps/generic/Dist: Fix typo.

1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nis_add.c: Avoid unnecessary strlen () calls.
* nis/nis_addmember.c: Likewise.
* nis/nis_call.c: Likewise.
* nis/nis_creategroup.c: Likewise.
* nis/nis_destroygroup.c: Likewise.
* nis/nis_findserv.c: Likewise.
* nis/nis_ismember.c: Likewise.
* nis/nis_print.c: Likewise.
* nis/nis_print_group_entry.c: Likewise.
* nis/nis_removemember.c: Likewise.
* nis/nis_verifygroup.c: Likewise.
* nis/ypclnt.c: Likewise.

* nis/nis_file.c: Close file handles.

* nis/nis_callback.c: Fix typo.

26 years agoUpdate.
Ulrich Drepper [Fri, 19 Jun 1998 13:01:35 +0000 (13:01 +0000)]
Update.

1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/Makefile: Add nis-initgroups and compat-initgroups.
* nis/libnss_compat.map: Add _nss_compat_initgroups.
* nis/libnss_nis.map: Add _nss_nis_initgroups.
* nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
* nis/nss_nis/nis-initgroups.c: Likewise.
* libc-work/nss/nsswitch.c: Rename nss_lookup_function to
__nss_lookup_function and make it public.
* grp/initgroups.c: Rewrite, to use initgroups function from NSS
module if exists, else use old method.

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

* nss/getXXbyYY_r.c (lookup_function): Correct return in type
definition.
* nss/getXXent_r.c (set_function, end_function, get_function):
Likewise.  Reported by Thorsten Kukuk.

* sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.

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

* sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1998-06-16 and distribute kernel_termios.h.

* nis/Makefile (distribute): Add nis_xdr.h.

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

* sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
kernels that don't have sigaltstack.

26 years agoUpdate.
Ulrich Drepper [Fri, 19 Jun 1998 11:09:14 +0000 (11:09 +0000)]
Update.

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

* sysdeps/generic/bits/sem.h: Don't define union semun.

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

* sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
here.
* sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
definition here.

26 years agoUpdate.
Ulrich Drepper [Thu, 18 Jun 1998 21:50:38 +0000 (21:50 +0000)]
Update.

1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>

* signal/signal.h: Add prototype for __sigaltstack.
* sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
Remove sigstack entry.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
* sysdeps/unix/sysv/linux/sigstack.c: New file.

* sysdeps/i386/backtrace.c: Add casts.

26 years agoUpdate.
Ulrich Drepper [Thu, 18 Jun 1998 19:55:01 +0000 (19:55 +0000)]
Update.

1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>

* intl/dcgettext.c: use complete type name.
* intl/hash-string.h: Likewise.

* intl/localealias.c: Undo patch from 1998-04-29.
* intl/l10nflist.c: Likewise.
* intl/loadinfo.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 18 Jun 1998 17:29:11 +0000 (17:29 +0000)]
Update.

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

* sysdeps/i386/elf/start.S (_start): Ensure correct alignment.

26 years agoUpdate.
Ulrich Drepper [Thu, 18 Jun 1998 16:51:12 +0000 (16:51 +0000)]
Update.

1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
_dl_mcount, _dl_mcount_wrapper.
* elf/Makefile (routines): Add dl-profstub.
* elf/dl-profstub.c: New file.
* elf/dl-support.c: Don't define _dl_profile_map.
* elf/rtld.c: Likewise.
* elf/dlfcn.h: Define DL_CALL_FCT macro.
* elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
Define _CALL_DL_FCT.
* iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
loaded object.
* iconv/gconv_db.c: Likewise.
* iconv/skeleton.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* nss/nsswitch.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 18 Jun 1998 12:33:44 +0000 (12:33 +0000)]
Update.

1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
* sysdeps/libm-i387/e_scalbf.S: Likewise.
* sysdeps/libm-i387/e_scalbl.S: Likewise.

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

* stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
longestdbl.

26 years agoUpdate.
Ulrich Drepper [Thu, 18 Jun 1998 10:33:29 +0000 (10:33 +0000)]
Update.

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

* iconvdata/Makefile (modules): Add MACINTOSH.
(MACINTOSH-routines): New variable.
(distribute): Add macintosh.c.
(awk-generated-headers): Add macintosh.h.
Add rule for macintosh.h generation.
* iconvdata/gconv-modules: Add definitions for MACINTOSH.
* iconvdata/macintosh.c: New file.

26 years agoUpdate.
Ulrich Drepper [Wed, 17 Jun 1998 23:38:21 +0000 (23:38 +0000)]
Update.

* stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.

26 years agoUpdate.
Ulrich Drepper [Wed, 17 Jun 1998 22:55:57 +0000 (22:55 +0000)]
Update.

* stdlib/strtod.c (str_to_mpn): Fix extending of n array which
only should happen for cy != 0.

26 years agoUpdate.
Ulrich Drepper [Wed, 17 Jun 1998 17:59:25 +0000 (17:59 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
glob.h.

26 years agoUpdate.
Ulrich Drepper [Wed, 17 Jun 1998 10:24:52 +0000 (10:24 +0000)]
Update.

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

* sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
to compare stack addresses.

26 years agoUpdate.
Ulrich Drepper [Wed, 17 Jun 1998 10:18:04 +0000 (10:18 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
defining prototypes.

26 years agoUpdate.
Ulrich Drepper [Tue, 16 Jun 1998 16:30:14 +0000 (16:30 +0000)]
Update.

1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>

* sysdeps/sparc/sparc32/dl-machine.h
(elf_machine_fixup_plt): During rtld bootstrap, always perform
flushes as the kernel will emulate it when the underlying cpu does
not implement flush.

* sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
* sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.

* sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
trampoline code.

* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
(__clone): Branch to label .Lerror not __clone_syscall_error.
(.Lerror): Fixup EINVAL setting.
* sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(__syscall_getgroups, __syscall_setgroups): Add.

* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__sigaction): Member name is k_sa_handler.  Use memcpy to copy
around sa_mask data.

* math/math.h: Include bits/nan.h when compiling for ISO C 9x.

26 years agoUpdate.
Ulrich Drepper [Tue, 16 Jun 1998 12:37:30 +0000 (12:37 +0000)]
Update.

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

* string/Makefile: Make sure test-ffs does not use builtins.

26 years agoUpdate.
Ulrich Drepper [Tue, 16 Jun 1998 11:43:48 +0000 (11:43 +0000)]
Update.

1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/svc.c: Check for NULL pointer.

* nis/libnsl.map: Add public NIS+ xdr functions.

* nis/rpcsvc/nis_callback.h: New file.
* nis/rpcsvc/nis.h: Move xdr_* functions from here ...
* nis/nis_xdr.h: ... here.

* nis/nis_add.c: Use internal _xdr_* functions, check for NULL
pointers, use NIS+ defines where possible.
* nis/nis_cache.c: Likewise.
* nis/nis_cache2_xdr.c: Likewise.
* nis/nis_call.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_clone_dir.c: Likewise.
* nis/nis_clone_obj.c: Likewise.
* nis/nis_clone_res.c: Likewise.
* nis/nis_creategroup.c: Likewise.
* nis/nis_file.c: Likewise.
* nis/nis_free.c: Likewise.
* nis/nis_getservlist.c: Likewise.
* nis/nis_local_names.c: likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_print.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_removemember.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_table.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/nis_verifygroup.c: Likewise.
* nis/nis_xdr.c: Likewise.
* nis/nis_callback.c: Likewise, and move xdr functions from here ...
* nis/nis_xdr.c: ... to here.

26 years agoUpdate.
Ulrich Drepper [Mon, 15 Jun 1998 18:12:05 +0000 (18:12 +0000)]
Update.

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

* iconvdata/ksc5601.h: Clean up a bit.

1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
and process incoming data.
* sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
fragments as invalid.
Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.

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

Removal of duplicates like "the the".
* manual/time.texi (TZ Variable): Likewise.
* manual/users.texi (Manipulating the Database): Likewise.
* manual/sysinfo.texi (Filesystem handling): Likewise.
* manual/signal.texi (Signaling Yourself): Likewise.
* manual/message.texi (Message Translation): Likewise.
(Common Usage): Likewise.
* manual/llio.texi: Likewise.
* manual/arith.texi (Old-style number conversion): Likewise.
* manual/argp.texi (Argp): Likewise.
(Argp Parsers): Likewise.
(Argp Help Filtering): Likewise.

* hesiod/README.hesiod: Correct typo.

* manual/llio.texi: Correct typos.
* manual/sysinfo.texi: Likewise.

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

* rt/aio.h: Rename __op to __operation for g++.

1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
script.
* iconvdata/gen-8bit-gap-1.sh: Likewise.
* iconvdata/gen-8bit.sh: Clean up sed script.

* iconvdata/Makefile: Remove all PERL conditionals; build all
the modules all the time.  Export AWK.
(gen-8bit-gap): Delete setting of PERL.
(gen-8bit-gap-1): Likewise.
(perl-generated-headers): Renamed awk-generated-headers.

* iconvdata/gap.pl: Removed.
* iconvdata/gaptab.pl: Removed.
* iconvdata/gap.awk: New file.
* iconvdata/gaptab.awk: New file.

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

* sysdeps/generic/Dist: Add errno-loc.c.

* sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
__new_* functions.

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

* stdio-common/bug12.c: New test for fread()/fseek().
* stdio-common/Makefile (tests): Add bug12.

26 years agoUpdate.
Ulrich Drepper [Mon, 15 Jun 1998 14:55:03 +0000 (14:55 +0000)]
Update.

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

* Makefile: Add more dependecies for running tests.
Reported by HJ Lu.

26 years agoUpdate.
Ulrich Drepper [Mon, 15 Jun 1998 10:29:49 +0000 (10:29 +0000)]
Update.

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

* sysdeps/generic/elf/backtracesyms.c: Make array elements
constant.
* sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
* debug/execinfo.h: Update declaration.

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

* sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
* sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
* debug/execinfo.h: Update declaration.

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

* manual/llio.texi: Fix spelling.
* manual/sysinfo.texi: Fix spelling.

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

* misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
alias for old name.  Put this on __libc_subfreeres.
* misc/search.h: Declare it.

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

* string/bits/string2.h (strcmp): Add missing parens around macro
parameters.