Update.
[glibc.git] / ChangeLog
blob180ccd4347be15ddeec8185fb1ea5df348c1ce0a
1 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3         * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
5         * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
6         undefine errno to get variable.
8         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
9         instead of <unistd.h> for prototype.
10         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12 1998-11-30  Ulrich Drepper  <drepper@cygnus.com>
14         * misc/err.h: Correct comments and use protected attribute keywords.
15         Reported by Joseph Myers <jsm28@cam.ac.uk>.
17 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
19         * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
20         remove tsd stuff from pthreads/cthreads libc sections.
21         Use __libc_tsd_define for MALLOC key.
22         [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
23         no-op, respectively.
24         [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
26         * elf/dl-error.c: Include <bits/libc-tsd.h>.
27         Use __libc_tsd_define for DL_ERROR key.
28         (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
30         * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
31         * sysdeps/generic/bits/libc-tsd.h: New file.
32         * Makefile (distribute): Add bits/libc-tsd.h.
34 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
36         * elf/dl-error.c: Remove kludge to check for ld.so load address.
37         There is no need if weak undefined symbols are not used in ld.so;
38         see linuxthreads/ChangeLog for changes to files
39         linuxthreads/sysdeps/pthread/bits/libc-lock.h and
40         linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
42 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
44         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
46         * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
47         inline functions.
48         * sysdeps/i386/bits/string.h: Likewise.
50 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
52         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
54 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
56         * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
58 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
60         * sysdeps/mach/hurd/dl-sysdep.c: Do not define
61         __hurd_threadvar_max.  Add comment explaining why we define
62         __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
64 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
66         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
67         __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
68         prevent inclusion of Hurd signal handling code.
69         (__libc_write): New function.
70         (_dl_sysdep_output): Removed.  The implementation in
71         `elf/dl-misc.c' now also works for the Hurd.
73 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
75         * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
76         does not use any of malloc/realloc/free anymore.  Include
77         set-hooks.h with <> instead of "".
79 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
81         * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
82         within #ifdef SO_PASSCRED.  Avoids unused var when no SO_PASSCRED.
83         * sunrpc/clnt_unix.c (__msgread): Likewise.
85 1998-11-28  Roland McGrath  <roland@baalperazim.frob.com>
87         * hurd/setuids.c: Renamed to ...
88         * hurd/seteuids.c: this.
89         (setuids): Renamed to seteuids.
90         * hurd/getuids.c: Renamed to ...
91         * hurd/geteuids.c: this.
92         (__getuids): Renamed to geteuids, no aliases.
93         * hurd/hurd.h (geteuids, seteuids): Declare them.
94         * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
95         * hurd/Makefile (routines): Updated.
97 1998-11-29  Ulrich Drepper  <drepper@cygnus.com>
99         * sysdeps/generic/segfault.c (install_handler): Correct test for
100         SEGFAULT_HANDLER=all.
101         Patch by Zack Weinberg.
103 1998-11-28 23:23 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
105         * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
106         $prefix/include that may be clobbered on installation.
108 1998-11-27  Philip Blundell  <pb@nexus.co.uk>
110         Fixes to allow compilation with static NSS:
111         * nss/Makefile: Make explicit the dependency of getent on
112         libnss_files.a.
113         [build_static_nss]: Define $(otherlibs) appropriately.
114         * nss/Depend: Add a dependency on `resolv'.
116 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
118         Partial support for MIPS ISO C 9x exception handling:
119         * sysdeps/mips/fclrexcpt.c: New file.
120         * sysdeps/mips/ftestexcept.c: New file.
121         * sysdeps/mips/fgetexcptflg.c: New file.
122         * sysdeps/mips/fesetround.c: New file.
123         * sysdeps/mips/fegetround.c: New file.
124         * sysdeps/mips/fegetenv.c: New file.
125         * sysdeps/mips/fesetenv.c: New file.
126         * sysdeps/mips/feupdateenv.c: Likewise.
127         * sysdeps/mips/bits/fenv.h: New file.
129 1998-11-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
131         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
132         <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
133         in sync with linux specific version.
135         Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
137         * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
138         errno declaration.
140         * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
141         of calling __syscall_*.
142         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
144         * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
146         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
147         constants, correct values according to Linux 2.1.130.
149         * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
150         * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
151         * sysdeps/unix/sysv/linux/mips/pread.c: New file.
152         * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
154         * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
155         :=.
157         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
159         * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
161         * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
163         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
165         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
166         message, change name of include protection, remove inclusion of
167         <bits/termios.h>.
169         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
170         (old_kernel_sigaction): Define.
171         (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
173         * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
174         the general linux version.
175         * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
177         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
179 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
181         * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
182         endian.
183         * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
184         BYTE_ORDER.
185         * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
186         <bits/endian.h>, make it the same as __BYTE_ORDER.
188 1998-11-27  Ulrich Drepper  <drepper@cygnus.com>
190         * math/math.h: Avoid using long double functions in generic macros
191         if __NO_LONG_DOUBLE_MATH.
193         * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
194         during bootstrapping.
195         * scripts/config.sub: Add Netwinder specific matches.
196         Patch by Scott Bambrough <scottb@corelcomputer.com>.
198 1998-11-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
200         * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
201         if possible.
202         ($(common-objpfx)sysd-sorted): Likewise.
204 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
206         * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
207         local variables t1,t2 only if needed.
209         * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
210         warnings.
211         * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
212         * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
214         * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
215         warning.
217 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
219         * math/math.h: Add brace to correct #if expression.
221 1998-11-26  Philip Blundell  <philb@gnu.org>
223         Undo change of 1998-11-12:
224         * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
226         netlink/netlink.h.
227         * sysdeps/unix/sysv/linux/Dist: Likewise.
229 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
231         * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
233 1998-11-26  Ulrich Drepper  <drepper@cygnus.com>
235         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
236         (elf_machine_got_rel): Remove scope variable.  Use scope from the map.
237         Don't modify _dl_global_scope_end in the end.
238         (__dl_runtime_resolv): Also use scope from the map.
239         * sysdeps/mips/mips64/dl-machine.h: Likewise.
240         * elf/dl-runtime.c: Don't define fixup and profile_fixup if
241         ELF_MACHINE_NO_PLT is defined.
242         * sysdeps/mips/sys/ucontext.h: New file.
243         Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
245 1998-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
247         * sysdeps/generic/pselect.c (__pselect): Change interface,
248         set/restore sigmask.
250         * misc/sys/select.h: Change declaration according to Stevens' Unix
251         Network Programming.
252         * include/sys/select.h (__pselect): Likewise.
253         Reported by <bwelling@anomaly.munge.com> [PR libc/872].
255         * include/fpu_control.h: New file, contains __setfpucw
256         declaration.
258         * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
259         it's an internal symbol.
260         * sysdeps/alpha/fpu/fpu_control.h: Likewise.
261         * sysdeps/arm/fpu/fpu_control.h: Likewise.
262         * sysdeps/i386/fpu_control.h: Likewise.
263         * sysdeps/m68k/fpu_control.h: Likewise.
264         * sysdeps/powerpc/fpu_control.h: Likewise.
265         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
266         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
268 1998-11-25  Ulrich Drepper  <drepper@cygnus.com>
270         * version.h (VERSION): Bump to 2.0.104.
272 1998-11-25  Mark Kettenis  <kettenis@phys.uva.nl>
274         * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
275         around parameter n.
277 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
279         * time/tzfile.c (__tzfile_read): Fix comment.
281 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
283         * Makerules (build-shlib): Pass -O1 down to linker to get
284         optimized shared libraries.
286 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
288         * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
289         file.  Strip "-" from inhibited subdir name.  Combine into a
290         single awk program.
291         ($(common-objpfx)sysd-sorted): Fix sed command.
293 1998-11-25  Roland McGrath  <roland@baalperazim.frob.com>
295         * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
296         Use constant _HURD_THREADVARS_MAX for temporary array size.
298         * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
299         s separator, since $(..) might contain a /.
301 1998-11-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
303         * configure.in (mips): Fix typo (Replace ,, by ;;).
305         * libio/Versions: Clean up entries.
307 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
309         * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
310         and llrint.
312 1998-11-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
314         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed.  There are too
315         many differences between the Linux 2.0 and 2.1 versions of this
316         file and it's too difficult to convert all calls.  The file should
317         only be needed by the ipfw program which has to take care of the
318         correct kernel version and include files.
320         * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
323 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
325         * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
326         Patch by Zack Weinberg.
328         * math/bits/mathcalls.h: Adjust comments.  Remove gamma_r prototype.
330         * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
331         __USE_ISOC9X is defined.  Provide rint optimization.
333 1998-11-21  H.J. Lu  <hjl@gnu.org>
335         * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
336         popen, pclose): Add to GLIBC_2.1.
338         * libio/Makefile (routines): Add oldiopopen and oldpclose.
339         (shared-only-routines): Likewise.
341         * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
342         * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
343         _IO_proc_close): Likewise.
345         * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
346         __old_pclose): New prototypes.
348         * libio/libioP.h (_IO_new_file_jumps): Removed.
349         (_IO_old_proc_jumps): Added.
350         (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
352         * libio/oldiopopen.c: New file.
354         * libio/oldpclose.c: New file.
356 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
358         * nss/Makefile: Build and install getent.
359         * nss/getent.c: New, get entries from administrative database.
361 1998-11-22  Roland McGrath  <roland@baalperazim.frob.com>
363         * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
364         for the per-thread variables of the main user thread to make it
365         possible to use malloc as soon as _hurd_preinit_hook has been run.
366         For cthreads, copy values to new stack from there.
367         For non-cthreads, malloc threadvar array here and copy from temp space.
368         (init1): No longer initialize threadvars here.
369         (doinit1): Made static void at top level.
370         (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
371         inline a function that uses dynamic auto arrays.
373 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
375         * version.h (VERSION): Bump to 2.0.103.
377         * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
378         same method.
379         * configure.in: Don't define AR and RANLIB here.
381         * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
382         host name res_hconf code.
383         * inet/gethstbynm_r.c: Likewise.
384         * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
385         is defined.  Call res_hconf_init if necessary.  If POSTPROCESS is
386         defined execute the code.
387         * resolv/Makefile (routines): Add res_hconf.
388         (headers): Add res_hconf.h.
389         * resolv/res_hconf.c: Pretty print.
390         * resolv/res_hconf.h: Likewise.
392 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
394         * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
395         definitions.  Reported by Scott Bambrough <scottb@corelcomputer.com>.
397 1998-11-20 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
399         * math/libm-test.c: Raise some epsilons a bit.
401 1998-11-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
403         * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
405 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
407         * Makefile (distribute): Add scripts/gen-sorted.awk.
409 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
411         * posix/regex.c (regex_compile): Handle extra long class names
412         correctly.
414 1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>
416         * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
417         correctly.
419 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
421         * misc/error.c: Undo last change.
423         * ctype/Versions: Add _tolower and _toupper.
425 1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
427         * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
428         POLLNVAL.
430 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
432         * Makeconfig: Add comment to all-subdirs definition.
433         Add rule to generate sysd-sorted.  Include this file and and set
434         subdirs value to $(sorted-subdirs).
435         * scripts/gen-sorted.awk: New file.
436         * Make-dist (+tsrcs): Add Depend.
437         * nscd/Depend: New file.
438         * nss/Depend: New file.
439         * rt/Depend: New file.
441 1998-11-18  Ulrich Drepper  <drepper@cygnus.com>
443         * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
444         passed file descriptor exceeds the size determined by
445         getdtablesize.
447         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
448         from inline version in bits/socket.h.
450         * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
451         inline function only is __USE_EXTERN_INLINES is defined.
453         * time/strftime.c (my_strftime): Make code a bit clearer.
454         Patch by Paul Eggert <eggert@twinsun.com>.
456         * io/Makefile (CFLAGS-ftw.c): Removed.
458         * manual/errno.texi: Change the short text for ENODEV to
459         "No such device".
461 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
463         * io/Makefile (tests): Make sure that the test program has an
464         explicit directory part.
466 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
468         * configure.in: Fix last change.
470 1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
472         * sunrpc/Makefile (routines): Add create_xid.
474         * sunrpc/clnt_tcp.c: Use non-guessable xid.
475         * sunrpc/clnt_udp.c: Likewise.
476         * sunrpc/clnt_unix.c: Likewise.
477         * sunrpc/pmap_rmt.c: Likewise.
478         * sunrpc/create_xid.c: New, create non-guessable xid.
480         * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
481         of select.
482         * sunrpc/svc_unix.c: Use poll instead of select.
484 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
486         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
487         by removing SIG_IGN handler for SIGCHLD if necessary.
488         Patch by H.J. Lu <hjl@lucon.org>.
490         * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
491         of denormalized numbers.
493 1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>
495         * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
496         another parentheses warning, make nano-optimisation.
498         * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
499         saved LR on stack so _mcount works.
500         (_dl_prof_resolve): Likewise.
501         * sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
502         signal handler calling convention.
503         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
504         correct signal handler calling convention---more like x86 linux and
505         mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
507 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
509         * configure.in: Correct allowed makeinfo version.
511 1998-11-17  Philip Blundell  <pb@nexus.co.uk>
513         * sysdeps/generic/bits/mathdef.h: Fix typo.
515 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
517         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
518         under the right name (squish warning).
519         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
521 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
523         * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
524         prevent warnings.
526 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
528         * intl/locale.alias: Change `japanese' alias to match X11R6's.
529         Add `japanese.euc' alias.
531         * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
532         before running makeinfo.
534         * math/Makefile (libm-routines): $(strip) entire value.
536         * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
538 1998-10-24  H.J. Lu  <hjl@gnu.org>
540         * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
541         (_IO_cookie_file): Likewise.
543 1998-11-16  Philip Blundell  <philb@gnu.org>
545         * inet/netinet/icmp6.h: Correct naming of constants.
547 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
549         * sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
550         zero value as uninitialized so that variable can go into .bss.
552         * dirent/opendir-tst1.c: Print error strings to stdout.
554         * sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
555         * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
556         * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
557         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
558         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
560 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
562         * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
563         range.
565 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
567         * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
568         (fwrite_unlocked): Likewise.
570 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
572         * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
573         twice.  Don't bother handling zero size.
574         (fwrite_unlocked): Likewise.
576 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
578         * configure.in: Fix regex for makeinfo version string.
580 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
582         * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
583         warning.
584         * sunrpc/rpc_svcout.c (write_program): Likewise.
586 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
588         * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
590 1998-11-16  Ulrich Drepper  <drepper@cygnus.com
592         * misc/sys/mman.h: Pretty print prototypes.
594 1998-11-15  Ulrich Drepper  <drepper@cygnus.com
596         * misc/error.c (error): Don't use result of strerror_r call directly
597         since at least DEC Unix has a wrong return type.
598         Patch by Johan Danielsson <joda@pdc.kth.se>.
600 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
602         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
603         last change.
605 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
607         * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
608         format, just stop.
610         * version.h (VERSION): Bump to 2.0.102.
612         * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
613         change.
614         * stdio-common/scanf7.c (main): Likewise.
616 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
618         * stdio-common/vfscanf.c: Return EOF for invalid format
619         characters.
621         * version.h (VERSION): Bump to 2.0.101.
623         * Makerules (Versions.all): Generate this file from all Versions.def
624         files.
625         (sysd-versions): Use Versions.all instead of Versions.def.
627 1998-11-13  Philip Blundell  <philb@gnu.org>
629         * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
630         Reported by Scott Bambrough.
632 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
634         * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
636 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
638         * libio/bits/stdio.h: Correct and improve fread_unlocked and
639         fwrite_unlocked optimizations.
641         * time/tzfile.c (__tzfile_read): Set __tzname based on last names
642         in time not to last entries in the file.
643         (__tzfile_compute): Likewise.  Fix for PR libc/863.
645         * timezone/Makefile: Generate GB timezone data for test.
646         * timezone/tst-timezone.c: More tests for DST switching time (disabled
647         for now).
649 1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
651         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
652         d0 from clobber list.
654 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
656         * inet/netinet/in.h: Add a few more IPPROTO_* macros.
658         * libio/Makefile (headers): Add bits/stdio.h.
659         * libio/iofread_u.c: Undefine fread_unlocked before definition.
660         * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
661         * libio/stdio.h: Move optimizations into ...
662         * libio/bits/stdio.h: ...here.  New file.
664         * libio/iofread.c: Pretty print.
666 1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>
668         * sysdeps/gnu/bits/utmpx.h: Protect members of struct
669         __exit_status with `__'.  Rename pad member of struct utmpx to
670         __unused.
671         (RUN_LVL): Define unconditionally.
672         * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
673         __unused.
675 1998-11-12  Philip Blundell  <philb@gnu.org>
677         * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
678         Linux AF_NETLINK sockets (needed since the kernel version is
679         unusable).
680         * sysdeps/unix/sysv/linux/Makefile: Install it.
681         * sysdeps/unix/sysv/linux/Dist: Distribute it.
683 1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
685         * timezone/tst-timezone.c (tests): Add entry for America/Chicago
686         to test for bug in PR libc/863.
688 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
690         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
692         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
693         parameter lazy to do_lazy to avoid clashing with struct member name.
694         Reported by Ralf Baechle <ralf@uni-koblenz.de>.
696 1998-11-10  H.J. Lu  <hjl@gnu.org>
698         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
699         if it is defined in <linux/limits.h>.
701 1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
703         * include/protocols/routed.h: Include the real header with
704         a full path from the top of the source tree.
705         * include/protocols/rwhod.h: Likewise.
706         * include/protocols/talkd.h: Likewise.
707         * include/protocols/timed.h: Likewise.
709         * timezone/Makefile: Don't include z.ZONE files if no_deps
710         is set, not if avoid-generated is set.
712 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
714         * signal/signal.h: Undo last change.  Get definition of timespec
715         if __USE_POSIX199309.
717         * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
718         size_t to prevent gcc warning when using -Wqual-cast.
719         (__strpbrk_c3): Likewise.
720         Suggested by Alan Curry <pacman@cqc.com>.
722 1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>
724         * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
725         unblocked signals are set in the startup masks.
727         * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
728         INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
730         * hurd/hurd/signal.h: Update _hurdsig_init decl.
731         * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
732         INTARRAYSIZE, pass them down to _hurdsig_init.
733         * hurd/hurd.h: Update _hurd_proc_init decl.
735 1998-11-10  Ulrich Drepper  <drepper@cygnus.com>
737         * math/cabs.c: Replace complex by _Complex.
738         * math/cabsf.c: Likewise.
739         * math/cabsl.c: Likewise.
740         * math/cimag.c: Likewise.
741         * math/cimagf.c: Likewise.
742         * math/cimagl.c: Likewise.
743         * math/conj.c: Likewise.
744         * math/conjf.c: Likewise.
745         * math/conjl.c: Likewise.
746         * math/creal.c: Likewise.
747         * math/crealf.c: Likewise.
748         * math/creall.c: Likewise.
750         * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
751         included from math.h and __USE_ISOC9X is defined.
752         * sysdeps/generic/bits/mathdef.h: Likewise.
753         * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
754         * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
755         * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
756         * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
758 1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
760         * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
761         <complex.h>.
762         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
763         * sysdeps/generic/bits/mathdef.h: Likewise.
764         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
765         * sysdeps/powerpc/bits/mathdef.h: Likewise.
766         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
768 1998-11-09  Ulrich Drepper  <drepper@cygnus.com>
770         * extra-lib.mk: Fix typo in last change.
772         * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
773         is needed.
774         Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
775         Don't define `complex' but instead `_Complex'.  The later is the
776         reserved keyword.
777         * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
778         not complex.
780 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
782         * manual/libc.texinfo: Remove colon from category name.
783         * manual/Makefile (dir-add.info): Likewise.
785 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
787         * configure.in: Avoid autoconf bug.
789 1998-10-28  H.J. Lu  <hjl@gnu.org>
791         * posix/getopt.h: Add "__" to arguments in prototypes.
793 1998-11-05  H.J. Lu  <hjl@gnu.org>
795         * libio/iofgets.c (_IO_fgets): Don't report error
796         if something was read in and errno is set to
797         EAGAIN.
798         * libio/iofgets_u.c (fgets_unlocked): Likewise.
800 1998-11-05  Philip Blundell  <philb@gnu.org>
802         * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
803         header; it defines too much.  Provide a local definition of struct
804         sockaddr_pkt and a comment advising against its use.
806 1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
808         * extra-lib.mk: Avoid empty include list.
810 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
812         * extra-lib.mk: Add support for $(lib)-shared-only-routines.
814         * elf/Makefile (libdl-routines): Add dlopenold only if doing
815         versioning.
816         (libdl-shared-only-routines): New variable.
818 1998-11-06  Paul Eggert  <eggert@twinsun.com>
820         Don't invoke localtime_r or gmtime_r unless it's the GNU C
821         library's localtime_r and gmtime_r; there are too many buggy
822         implementations of localtime_r and gmtime_r out there, and
823         it's not worth keeping track of all the different bugs.
825         * time/mktime.c (__EXTENSIONS__): Remove.
826         (<unistd.h>): No need to include.
827         * time/strftime.c: Likewise.
829         * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
830         Remove.
831         (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
832         Base it on localtime unless _LIBC.
834         * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
835         all uses changed.
836         (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
837         Base them on localtime/gmtime if not _LIBC.
839 1998-11-07  Ulrich Drepper  <drepper@cygnus.com>
841         * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
842         file descriptor.  This makes this function actually usable.
843         Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
845 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
847         * math/math.h: Unconditionally include bits/mathdef.h.  Declare
848         long double functions only if __NO_LONG_DOUBLE_MATH is not
849         defined.
850         * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
851         Define __NO_LONG_DOUBLE_MATH.
852         * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
853         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
855         * elf/rtld.c: Add a few __builtin_expects where they will improve
856         a lot.
858 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
860         * version.h (VERSION): Bump to 2.0.100.
862         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
864         * sysdeps/libm-i387/s_fma.S: Optimize a bit.
865         * sysdeps/libm-i387/s_fmaf.S: Likewise.
867 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
869         * libio/genops.c (_IO_least_marker): Add additional parameter
870         end_p replacing fp->_IO_read_end.
871         (save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
872         and _IO_ssize_t instead of int.
873         (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
874         (_IO_switch_to_backup_area): Likewise.  Fix comments.
875         (_IO_seekmark): Undo last change.
876         (_IO_default_pbackfail): Correct use of backup area.
877         * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
879 1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
881         * configure.in: Search for install-info and substitute it.
882         Determine whether install-info is the buggy Debian version
883         that doesn't understand INFO-DIR-SECTION.
884         * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
885         to be substituted.
886         * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
887         install-info the --section argument it needs to work properly.
888         (dir-add.texinfo): Delete target.
889         (dir-add.info): Generate this directly.  Sort entries.  Put a
890         colon at the end of the INFO-DIR-SECTION line.
891         * manual/libc.texinfo: Put a colon at the end of the
892         @dircategory line.
894 1998-11-05  Paul Eggert  <eggert@twinsun.com>
896         * time/mktime.c (__mktime_internal): Adopt the traditional (and
897         problematic) notion of what to do when tm_isdst doesn't match.
899 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
901         * posix/PTESTS: Fix spelling.
903 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
905         * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
906         functions.  Reduce error in computing normalized value by multiplying
907         factor in loop and compute result in one step.
908         Reported by Christian Gafton.
910         * sysdeps/libm-i387/e_hypot.S: New file.
911         * sysdeps/libm-i387/e_hypotf.S: New file.
913 1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
915         * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
917 1998-11-03  H.J. Lu  <hjl@gnu.org>
919         * libio/fileops.c (new_do_write): New function.
920         (_IO_new_do_write): Call new_do_write.
921         (_IO_new_file_xsputn): Likewise.
923         * libio/oldfileops.c (old_do_write): New function.
924         (_IO_old_do_write): Call old_do_write.
925         (_IO_old_file_xsputn): Likewise.
927 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
929         * time/mktime.c (__mktime_internal): Correct last change.  We must
930         stop searching for the right isdst value before stepping to the
931         initial value.
933         * malloc/malloc.c: Make sure calloc really returned zeroed memory.
934         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
936 1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
938         * sysdeps/generic/bits/signum.h: Define signals with their
939         historical numbers when those are in the 1-15 range and
940         consistent across platforms.
941         Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
942         Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
943         appropriately instead of with fake function declarations
944         (would cause link errors).
945         If __USE_UNIX98, define SIG_HOLD.
947 1998-10-29  H.J. Lu  <hjl@gnu.org>
949         * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
950         union only if __USE_POSIX199309 is defined.
952         * misc/sys/select.h (pselect): Declared only if __USE_GNU is
953         defined.
955 1998-11-03  Ulrich Drepper  <drepper@cygnus.com>
957         * time/mktime.c (__mktime_internal): Handle broken down times
958         around the time of the DST switches more correctly.
960 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
962         * elf/Makefile (libdl-routines): Add dlopenold.
963         * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
964         * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
965         is set and bounce otherwise.
966         * elf/dlopen.c: Rename function to __dlopen_check and make version
967         named dlopen.
968         * elf/dlopenold.c: New file.
970 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
972         * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
973         * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
974         * elf/dl-deps.c: ...here.
975         * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
976         new parameter and expect result.  Remove code handling RTLD_GLOBAL.
977         Add return value of _dl_map_object_deps to
978         _dl_main_searchlist->r_nlist.
979         * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
980         If we parameter GLOBAL is nonzero add object and dependencies to
981         the global scope.
982         * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
983         * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
984         Mark all objects as in global scope.
985         * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
987         * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
990         used in macro magic.
992 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
994         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
995         before <sys/socket.h> to make sockaddr_at available to
996         <sys/socket.h>.
998         * posix/glob.h: Remove __P from parameter lists of declarations.
1000 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1002         * time/tzset.c (tz_compute): Remove unused parameter timer.
1003         Change caller.
1005 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
1007         * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1009 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1011         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1012         unnecessary test and add cast.
1014 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1016         * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1018         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1019         parameter fd.
1020         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1022 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
1024         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1025         fds_bits member.
1026         (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1028 1998-10-31  Richard Henderson  <rth@cygnus.com>
1030         * math/Makefile (gmp-objs): Add udiv_qrnnd.
1032         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1033         (inline_syscall*): New.
1034         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1035         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1037 1998-10-31  Ulrich Drepper  <drepper@cygnus.com>
1039         * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1040         avoid ld test generating an unwanted file.
1042         * posix/PTESTS: Remove comment about incorrect test (it is correct).
1044 1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1046         * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1047         * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1048         * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1049         * sunrpc/rpc/xdr.h: Add INT32 support.
1050         * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
1052         * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1053         * nis/nis_callback.c: Likewise.
1054         * nis/nis_creategroup.c: Likewise.
1055         * nis/nis_defaults.c: Likewise.
1056         * nis/nis_intern.h: Likewise.
1057         * nis/nis_lookup.c: Likewise.
1058         * nis/nis_ping.c: Likewise.
1059         * nis/nis_print.c: Likewise.
1060         * nis/nis_table.c: Likewise.
1061         * nis/nis_util.c: Likewise.
1062         * nis/nis_xdr.c: Likewise.
1063         * nis/rpcsvc/nis.h: Likewise.
1064         * nis/rpcsvc/nis.x: Likewise.
1065         * nis/rpcsvc/nis_callback.h: Likewise.
1066         * nis/rpcsvc/nis_object.x: Likewise.
1067         * nis/rpcsvc/nislib.h: Likewise.
1069         * nis/rpcsvc/yp.h: Remove casts to (u_long).
1070         * nis/rpcsvc/yp_prot.h: Likewise.
1071         * nis/rpcsvc/ypupd.h: Likewise.
1072         * nis/ypclnt.c: Change %ld to %d in sprintf.
1074 1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1076         * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1078 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1080         * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1081         0, __fd_mask is usually not a char.
1083 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1085         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1086         compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1087         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1088         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1089         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1090         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1091         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1092         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1094         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1095         compiling on systems without rt_sigaction syscall.
1096         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1097         Likewise.
1099 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1101         * time/strptime.c (HERE_D_FMT): Fix typo.
1102         Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1104 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
1106         * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1107         (generate): Add test1.cat and test1.h.
1108         (distribute): Add test1.msg.
1109         * catgets/test1.msg: New file.
1111         * catgets/gencat.c: Do a better job in initializing dynamic
1112         memory [PR libc/844].
1114 1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>
1116         * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1117         internal_function since it is called through a pointer.
1118         * iconv/gconv_db.c (free_derivation): Likewise.
1119         * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1121         * posix/wordexp.c: Add internal_function to parse_backtick definition.
1122         * rt/aio_misc.c: Add internal_function to __aio_free_request,
1123         __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1124         definitions.
1125         * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1126         __aio_notify definitions.
1127         * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1129 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
1131         * Makerules (build-shlib): Add -O to generate optimized shared
1132         objects.
1134 1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>
1136         * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1137         * sysdeps/libm-i387/e_fmodf.S: Likewise.
1138         * sysdeps/libm-i387/e_fmodl.S: Likewise.
1139         * sysdeps/libm-i387/s_ilogb.S: Likewise.
1140         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1141         * sysdeps/libm-i387/s_logb.S: Likewise.
1142         * sysdeps/libm-i387/s_logbf.S: Likewise.
1143         * sysdeps/libm-i387/s_remquo.S: Likewise.
1144         * sysdeps/libm-i387/s_remquof.S: Likewise.
1145         * sysdeps/libm-i387/s_remquol.S: Likewise.
1146         * sysdeps/libm-i387/s_significand.S: Likewise.
1147         * sysdeps/libm-i387/s_significandf.S: Likewise.
1149 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
1151         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1152         _llseek.
1154 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
1156         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1158 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
1160         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1161         returns without cleaning up the lock.
1162         (printf_unknown): Add label all_done.
1164         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1165         kernels in mind when reading /proc/self/fd/FD.
1166         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1168         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1170         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1171         _fitoa.
1173         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1174         /prof/self/fd/FD first.
1175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1177         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
1178         formatted number starting at given position and return pointer to
1179         following byte.
1180         (_fitoa): Likewise, for long long.
1182 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
1184         * sysdeps/unix/sysv/linux/bits/sem.h,
1185         sysdeps/unix/sysv/linux/bits/ipc.h,
1186         sysdeps/unix/sysv/linux/bits/shm.h,
1187         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1188         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1189         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1190         so the same bits will be used for the Hurd.
1192 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
1194         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1195         compiling on systems without rt_sigaction syscall.
1197 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
1199         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1200         directories as well as add them.
1202 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
1204         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
1205         AF_ECONET sockets as found in recent Linux 2.1 kernels.
1206         * sysdeps/unix/sysv/linux/Dist: Distribute it.
1207         * sysdeps/unix/sysv/linux/Makefile: Install it.
1209 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1211         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1213 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1215         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1216         fds_bits member.
1217         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1218         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1219         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1220         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1221         Likewise.
1222         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1223         Likewise.
1224         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1225         __FD_ISSET): Use it.
1226         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1227         __FD_ISSET): Likewise.
1229 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
1231         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1232         llseek.
1234         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1235         Instead call the system call wrapper function using an 64bit argument.
1236         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1237         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1238         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1240 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
1242         * signal/signal.h: Don't include <time.h> for timespec, add
1243         forward declaration.
1245         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1246         of __FD_* macros which use __fds_bits.
1247         * sysdeps/generic/bits/select.h: Likewise.
1248         Reported by Matt McLean <keys@yikes.com>.
1250 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
1252         * elf/elf.h: Update ARM definitions.
1254 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
1256         * signal/signal.h: Include bits/sigthread.h only for Unix98.
1258 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
1260         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1261         define __builtin_expect as a macro substituting to the first
1262         argument.
1263         * config.h.in: Define HAVE_BUILTIN_EXPECT.
1264         * configure.in: Add test for __builtin_expect.
1266         * sysdeps/unix/sysv/linux/bits/types.h: Include
1267         bits/pthreadtypes.h only not for POSIX 199506.
1268         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1269         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1270         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1272 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
1274         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1275         * socket/Versions [libc, GLIBC_2.0]: ... to here.
1277 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1279         * include/stdio.h: Included <stddef.h> for size_t.
1281         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1282         to ...
1283         * include/stdio.h: ...here.
1284         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1286 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
1288         * time/Makefile (tests): Add tst-posixtz.
1289         * time/tst-posixtz.c: New file.
1291 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1293         * elf/rtld.c (process_envvars): Accept any non-null value of
1294         LD_BIND_NOW, as mandated by the ABI.
1296 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1298         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1299         __syscall_pread.
1300         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1301         __syscall_pwrite.
1302         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1303         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1304         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1305         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1306         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
1307         duplicate entries.
1308         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1309         s_pread64 and s_pwrite64.
1310         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1312 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1314         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
1315         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
1316         to __syscall__llseek.
1317         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1318         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1319         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
1320         __sys_llseek.
1322 1998-10-26  Cristian Gafton  <gafton@redhat.com>
1324         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
1325         and s_setfsuid.
1327 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
1329         * time/tzset.c (tz_compute): Correct last patch and describe this
1330         in a comment.
1332 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1334         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
1335         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
1336         rt_sigaction and rt_sigpending.
1337         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
1338         for __syscall_* functions.
1339         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1341 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
1343         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
1344         _hurd_dtable_lock, _hurd_intern_fd.
1346         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
1347         cthread_getspecific, cthread_setspecific, __libc_getspecific.
1349         * mach/Versions: Fix typo in last change.
1351 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1353         * time/tzset.c (tz_compute): If time to switch to DST is later in
1354         the year switch back in the next year.
1355         Reported by jwitford@hutch.com.au.
1357 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
1359         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1360         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1361         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1362         __mach_port_allocate, __mach_port_allocate_name,
1363         __mach_port_insert_right __mutex_trylock, __mutex_lock,
1364         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1365         __task_set_special_port, __task_terminate, __thread_depress_abort,
1366         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
1367         functions are not used outside libc.
1369         * sysdeps/mach/hurd/Versions: New file.
1370         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1371         _cthread_init_routine.  These are set by the Hurd cthreads library.
1372         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
1373         the dynamic linker will not be replaced by the corresponding shared
1374         library routines once they are loaded.
1376 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
1378         * sysdeps/mach/hurd/i386/init-first.c: Only define
1379         __libc_enable_secure if PIC is not defined.
1381 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
1383         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
1384         to recurse into argp.
1386 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1388         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
1389         greater or equal than 199506L.
1391         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
1392         only is __USE_XOPEN.  Otherwise use __fds_bits.
1393         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1394         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1395         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1396         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1397         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1399 1998-10-24  H.J. Lu  <hjl@gnu.org>
1401         * locale/programs/charmap.c (parse_charmap): Accept tok_string
1402         for <code_set_name>.
1404 1998-10-25  H.J. Lu  <hjl@gnu.org>
1406         * locale/programs/ld-ctype.c (ctype_finish): Also check
1407         <space>.
1409 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1411         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1413         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1414         if __USE_POSIX199506 or __USE_UNIX98.
1416 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1418         * string/bits/string2.h: Inline strdup+friends only if
1419         __USE_MISC || __USE_GNU (prevents namespace pollution).
1421 1998-10-24  H.J. Lu  <hjl@gnu.org>
1423         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1424         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1425         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1426         LOCK_NB, LOCK_UN): Likewise.
1427         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1428         LOCK_NB, LOCK_UN): Likewise.
1429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1430         LOCK_NB, LOCK_UN): Likewise.
1431         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1432         LOCK_NB, LOCK_UN): Likewise.
1434 1998-10-24  H.J. Lu  <hjl@gnu.org>
1436         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1438         * libio/rewind.c (rewind): Clear the error.
1440 1998-10-24  H.J. Lu  <hjl@gnu.org>
1442         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1443         "buffer".
1445 1998-10-24  H.J. Lu  <hjl@gnu.org>
1447         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1448         with __need_timeval.
1449         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1450         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1452 1998-10-24  H.J. Lu  <hjl@gnu.org>
1454         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1455         sigqueue): Protect with __USE_POSIX199309.
1457 1998-10-24  H.J. Lu  <hjl@gnu.org>
1459         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1460         __USE_POSIX.
1462 1998-10-24  H.J. Lu  <hjl@gnu.org>
1464         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1465         the kernel file offset.
1466         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1468 1998-10-24  H.J. Lu  <hjl@gnu.org>
1470         * time/tzfile.c (__tzfile_default): Set num_types to 2.
1472 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1474         * rt/aio.h: Move __aio_init to...
1475         * include/aio.h: ...here.
1477 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1479         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1480         definition of O_LARGEFILE.
1482 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1484         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1485         as first argument to statfs.
1487 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1489         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1491 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1493         * malloc/mtrace.c: Include <string.h> for strlen.
1495 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1497         * sysdeps/mach/hurd/bits/environments.h: New file.
1499         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1501         * mach/Versions, hurd/Versions: Add numerous symbols.
1502         Remove libmachuser and libhurduser sections, punt
1503         versioning for those libraries for now.
1505         * misc/Versions: Add reboot here; it exists on all platforms.
1506         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1508 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1510         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1511         macro.
1512         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1514         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1515         O_NOFOLLOW, O_DIRECT): New macros.
1516         (O_DIRECTORY): Correct definition according to official 2.1.126.
1517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1518         O_NOFOLLOW): New macros.
1520 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1522         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1524         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1525         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1527 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1529         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1530         setfsuid.c, and setfsgid.c.
1531         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1532         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1533         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1535         * version.h (VERSION): Bump to 2.0.99.
1537         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1538         ustat definition.
1540         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1541         s_pwrite64.c.
1543         * posix/fnmath.h: Don't redefine __P when used in glibc.
1544         * posix/glob.h: Likewise.
1546         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1547         Patch by Dick Streefland <dick_streefland@tasking.com>.
1549         * stdio-common/tst-ungetc.c: Add more test cases.
1551         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1552         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1553         definitions to ...
1554         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
1555         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1556         * sysdeps/unix/sysv/linux/pathconf.c: New file.
1557         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1558         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1560 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
1562         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1563         <asm/ptrace.h> to define struct pt_regs.
1564         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1565         including <asm/ptrace.h> here.
1567         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1568         C_SYMBOL_NAME macro.
1570 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1572         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1573         end of enumerator list.
1574         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1575         * posix/wordexp.h: Likewise.
1577         * db/db.h: Use __PMT instead of __P in typedefs.
1578         * db/mpool.h: Likewise.
1579         * sysdeps/generic/bits/siginfo.h: Likewise.
1580         * nis/rpcsvc/ypclnt.h: Likewise.
1582 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1584         * libio/genops.c (_IO_seekmark): When switching to backup buffer
1585         make sure all characters from the read buffer are read after
1586         switching back to it.
1588 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1590         * configure.in: Add support for Cygnus GNUPro compilers.
1592 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1594         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1596         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1597         of __P for sa_restorer.
1598         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1599         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1600         kernel_sigaction, old_kernel_sigaction): Likewise.
1602 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1604         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1605         and __syscall_pwrite aliases.
1607         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
1609         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1610         improve INLINE_SYSCALL using macro assembler magic.
1612 1998-10-22  H.J. Lu  <hjl@gnu.org>
1614         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1615         sanity check for n.
1616         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1618         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1619         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
1621         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
1622         by VSX-PCT.
1624         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
1626 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
1628         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1629         __ASSEMBLER__.
1631 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
1633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1634         and adjust formats.
1636 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
1638         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
1639         __syscall_* function.
1640         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1641         of calling __syscall_* function.
1642         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1643         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1644         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1645         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1646         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1647         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1648         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1649         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1650         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1651         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1652         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1653         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1654         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1655         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1656         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1657         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1658         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1659         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1660         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1661         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1662         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1663         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1664         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1665         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1666         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1667         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1668         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1669         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1670         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1671         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1672         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1673         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1674         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1675         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1676         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1677         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1678         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1679         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1680         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1681         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1682         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1683         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1685         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1686         inline assembler.
1687         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1688         __syscall_* definitions.
1690         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1691         definitions to...
1692         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1693         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1694         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1695         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1696         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1697         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1698         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1700         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1701         Move definition to...
1702         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1703         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1704         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1705         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1706         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1707         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1708         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1710         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1711         (sysdep_routines): Remove s_pread64 and s_pwrite64.
1713         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1714         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1715         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1716         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1717         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1718         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1720 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1722         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1723         and bring them in synch.
1724         * sysdeps/unix/siglist.c: Likewise.
1725         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1727 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1729         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1730         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1732         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1733         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1734         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1735         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1736         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1737         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1738         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1739         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1740         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1741         s_setregid.
1742         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1743         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1744         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1746 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1748         * sunrpc/rpc_main.c (close_output, close_input): New functions.
1749         (c_output, h_output, s_output, l_output, t_output, svc_output,
1750         clnt_output, mkfile_output): Call them at the end.
1752 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1754         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1755         link command.
1757 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1759         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1760         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1762 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
1764         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1765         s_pwrite64.
1766         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1767         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1768         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1769         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1770         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1772 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1774         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1775         O_DIRECTORY.
1777 1998-10-20  H.J. Lu  <hjl@gnu.org>
1779         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1780         argument types.
1782 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1784         * math/tgmath.h: Make nested function calls work.
1786         * include/ldsodefs.h: Fix typo.
1788         * posix/Makefile (tests): Add tst-preadwrite.
1789         * posix/tst-preadwrite.c: New file.
1791         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1792         sure that descriptor is in any case for a directory.
1794 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1796         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1797         (atan2): Takes two arguments.
1799 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1801         * include/ldsodefs.h: New file.
1803         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1804         Remove change to avoid using _CALL_DL_FCT.
1805         * iconv/gconv_db.c: Likewise.
1806         * iconv/gconv_dl.c: Likewise.
1807         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1808         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1809         * nss/nsswitch.c: Likewise.
1810         * nss/nsswitch.h: Likewise.
1812 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1814         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1815         required libraries.
1816         * login/Makefile (otherlibs): Likewise.
1817         * nscd/Makefile (otherlibs): Likewise.
1818         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1820         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1822         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1824 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1826         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1827         and setfsuid.
1829 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1831         * nscd/connections.c: Fix typos in comments and strings.
1833         * nscd/nscd.conf: Update according to recent changes to nscd.
1835         * nscd/cache.c (prune_cache): Remove wrong comment.
1837 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
1839         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1840         category in copy_posix.
1841         (collate_finish): Don't warn about UNDEFINED not being defined.
1842         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1843         category in copy_posix.
1844         * locale/programs/ld-messages.c (messages_startup): Likewise.
1845         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1846         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1847         * locale/programs/ld-time.c (time_startup): Likewise.
1848         * locale/programs/localedef.c: Move copy_def_list_t definition into
1849         locales.h.  Define copy_posix variable.
1850         (main): Before processing copy list add &copy_posix to copy_list.
1851         * locale/programs/locales.h: Add definition of copy_def_list_t.
1852         * locale/programs/locfile.c: Clear bit for appropriate category in
1853         copy_posix.mask for copy instruction.
1855 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1857         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1858         non-existing file with generic implementation.
1859         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1861 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1863         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1864         defined.  Avoid using _CALL_DL_FCT if it is not defined.
1865         * iconv/gconv.c: Likewise.
1867 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1869         * nscd/connections.c (dbs): Define defualt values for timeouts and
1870         set enabled to 0 by default.
1871         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
1872         nscd_run.
1874         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1875         character >= 0x80.
1876         (_nl_C_LC_CTYPE_class32): Likewise.
1877         Reported by HJ Lu.
1879 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1881         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1882         _HURD_THREADVAR_DL_ERROR.
1884         * hurd/Makefile (user-interfaces): Add login, password.
1886         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1888 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
1890         [submitted 1998-08-06]
1891         * mach/Machrules: Create target directory and force re-evaluation
1892         of Makefile to prevent `make' from optimizing away most of the
1893         implicit rules and `vpath' directives.
1895 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1897         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1898         is null, short-circuit to __mach_msg.
1900         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1901         broken out of init1.
1902         (init1) [PIC]: Call it.
1903         (__libc_init_first) [! PIC]: Call it.
1905         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1906         __libc_init_secure.  Instead set __libc_enable_secure here from
1907         the exec flags.
1908         (__libc_enable_secure): New variable it.
1909         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1911 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1913         * nscd/nscd-client.h: New file, broken out of "nscd.h".
1914         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1915         and #include that.
1916         * nscd/Makefile (distribute): Add nscd-client.h.
1917         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1918         Include "nscd-client.h" instead of "nscd.h"
1920 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
1922         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1923         directory entries when a lstat call fails.
1924         Patch by Colin Plumb <colin@nyx.net>.
1926         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1927         NSS functions.
1928         * resolv/nss_dns/dns-network.c: Likewise.
1930         * grp/Makefile: Don't search for linuxthreads in add-ons, use
1931         have-thread-library to determine whether threads are available.
1932         * pwd/Makefile: Remove wrong comment.
1934         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1935         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1937         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1939         * nss/Versions: Add __nss_hosts_lookup.
1941         * nss/getXXbyYY.c: Remove unneeded assignment.
1943         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1945         Almost complete rewrite of the NSCD to make it smaller, faster,
1946         add more functionnality and make it easier to extend.
1947         * nscd/Makfile (routines): Add nscd_gethst_r.
1948         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1949         * nscd/cache.c: New file.
1950         * nscd/gethstbyad_r.c: New file.
1951         * nscd/gethstbynm2_r.c: New file.
1952         * nscd/hstcache.c: New file.
1953         * nscd/nscd_gethst_r.c: New file.
1954         * nscd/connections.c: Rewritten.  Don't start new thread for every
1955         new connection.  Use a fixed set of threads which handle all
1956         connections and also the cache cleanup.
1957         * nscd/grpcache.c: Rewritten to use generic cache handling functions
1958         in cache.c.
1959         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
1960         for rewrite.  Remove handle_requests function.
1961         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1962         Define new data structure for the new unified cache and the host
1963         database entries.
1964         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1965         databases easily.  Recognize check-files and threads definitions.
1966         * nscd/nscd.conf: Add definition of enable-cache and check-files to
1967         passwd and group definitions.  Add new set of definitions for hosts.
1968         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1969         * nscd/nscd_getpw_r.c: Likewise.
1970         * nscd/nscd_proto.h: Add prototype for host database functions.
1971         * nscd/nscd_stat.c: Rewrite to simplify printing of information
1972         for many databases.
1973         * nscd/dbg_log.c: Remove unnecessary variable initializations.
1974         Global variable debug_flag is renamed to dbg_level.
1975         * nscd/dbg_log.h: Declare set_logfile.
1977 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1979         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1980         O_LARGEFILE back.
1982 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
1984         * time/mktime.c: Some systems require <unistd.h> to be
1985         included before <time.h> for localtime_r to be declared
1986         properly.
1987         * time/strftime.c: Likewise.
1989 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1991         * db/Makefile: Add rule to generate shared object with the soname
1992         from glibc 2.0.
1994         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
1995         available double check to verify it's a directory.
1997         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1998         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1999         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2000         are not generally available.
2001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2003         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2004         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2005         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2006         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2007         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2008         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2009         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2010         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2011         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2012         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2013         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2014         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2015         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2016         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2017         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2018         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2019         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2020         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2021         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2022         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2023         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2024         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2025         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2026         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2027         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2028         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2029         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2030         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2031         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2032         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2033         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2034         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2035         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2036         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2037         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2038         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2039         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2040         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2042         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2043         s_setresgid, and s_setuid.
2044         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2045         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2046         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2047         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2048         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2049         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2050         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2052 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2054         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2055         localtime_t declaration on some systems.
2057 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
2059         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2060         -DSTATIC_GCONV.
2061         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
2062         defined.  Avoid using DL_CLL_FCT if it is not defined.
2064 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2066         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2067         Include endian.h unconditionally.  Remove portability goop
2068         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2070 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2072         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2074 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
2076         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2077         again.  Use char[44] to define size of the struct.
2079         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2081 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2083         * string/bits/string2.h (strcmp): Don't cache the result of
2084         __builtin_constant_p in variables, otherwise constant folding
2085         can fail in big functions.
2087 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2089         * string/bits/string2.h: Add prototypes for the new inline
2090         functions.
2092 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
2094         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2095         have all types defined.
2096         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2098 1998-10-08  Paul Eggert  <eggert@twinsun.com>
2100         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2101         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2102         a body that merely expands localtime_r; this works around a
2103         bug in Digital Unix 4.0A and 4.0D.
2105 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
2107         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2108         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2109         __ioctl to __syscall_ioctl and include Linux version of this file.
2110         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2111         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
2112         ioctl calls which handle struct termios.
2113         Based on a patch by Dan Jacobowitz <drow@false.org>.
2115 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
2117         * version.h (VERSION): Bump to 2.0.98.
2119         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2120         here instead of including kernel_termios.h.
2122 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2124         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2125         unnecessary after the changes of 1998-10-12.
2127 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
2129         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2130         parameter format string.
2131         (inline_outw): Likewise.
2133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2134         string.h to get memcpy prototype and NULL definition.
2136 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2138         * misc/sys/cdefs.h (__THROW): New macro.
2139         * argp/argp.h: Use it to replace the kludgey __P in inline
2140         function definitions.
2141         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2142         * stdlib/stdlib.h: Likewise.
2143         * wcsmbs/wchar.h: Likewise.
2144         * libio/stdio.h: Likewise.
2145         * stdio/stdio.h: Likewise.
2146         * sysdeps/wordsize-64/inttypes.h: Likewise.
2147         * sysdeps/wordsize-32/inttypes.h: Likewise.
2148         * string/argz.h: Likewise.
2149         * io/sys/stat.h: Likewise.
2151 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2153         * Rules (stdio_lim): New variable.
2154         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2155         on Rules and config.make, use $(move-if-change) to avoid unnessary
2156         recompilations, and cleanup command.
2157         (common-generated): Add bits/stdio_lim.st.
2159 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
2161         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2162         variable to prevent warnings from use of modern CPU instructions.
2163         Patch by Richard Henderson <rth@cygnus.com>.
2165         * sysdeps/unix/opendir.c: Test whether NAME is directory before
2166         opening it.
2168 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
2170         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2171         semicolon so that profiling works.
2173 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
2175         * sysdeps/generic/glob.c: #undef mempcpy before #define.
2177         * sysdeps/unix/bsd/clock.c: Use prototype defns.
2179 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
2181         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2182         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2184         * string/bits/string2.h [!_STRING_ARCH_unaligned]
2185         (__mempcpy_small): Add parameter for 1 byte copy and use it.
2186         Reported by Geoff Keating <geoffk@ozemail.com.au>.
2188 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
2190         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2191         it is already defined in <bits/environments.h>.
2193 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
2195         * posix/ptestcases.h: Fix typo.
2197 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2199         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2200         (regexec): Allocate regs.start and regs.end as one block.
2202 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2204         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2205         enum decl.
2207 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
2209         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2210         sigcontext union to ...
2211         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
2212         file.
2213         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2214         version 2.0 kernels.
2216 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
2218         * malloc/mtrace.c (tr_reallochook): Produce better output for real
2219         reallocation case.
2221         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
2222         * argp/argp-xinl.c: Likewise.
2224         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2225         Ruffian entry back.
2226         Patch by Christian Gafton.
2228 1998-10-08  Paul Eggert  <eggert@twinsun.com>
2230         * time/mktime.c (__mktime_internal): When the requested time falls
2231         in a spring-forward gap of size DT, return a time that is DT away
2232         from the requested time, preferring a time whose tm_isdst differs
2233         from the requested value.  Bump the max number of probes from 4 to
2234         6 to account for the extra probes needed to discover a
2235         spring-forward gap in the worst case.
2237 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
2239         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2240         of the weird alpha architectures.
2241         Patch by Cristian Gafton <gafton@redhat.com>.
2243 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
2245         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2246         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
2248 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
2250         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2251         (dl_open_worker): Use realloc, not malloc to resize array.
2252         * elf/rtld.c (_dl_initial_searchlist): New variable.
2253         (_dl_main): Copy content of _dl_main_searchlist to
2254         _dl_initial_searchlist.
2255         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2256         _dl_global_scope_alloc.
2257         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2258         * elf/dl-close.c (_dl_close): When removing object with global
2259         scope remove allocated searchlist if no dynamically loaded object
2260         is on it anymore.
2261         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2262         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2264         * malloc/mtrace.c (tr_where): Don't print space in location string,
2265         print it afterwards.  Print better symbol name information.
2267 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2269         * manual/filesys.texi (Setting Permissions): Fix example for
2270         reading umask.
2272 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2274         * elf/sprof.c (load_profdata): Fix typo in error message.
2276 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2278         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2279         flag.
2281 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2283         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2285 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
2287         * version.h (VERSION): Bump to 2.0.97.
2289 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2291         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2292         in definitions of inline stat functions so that they match the
2293         declaration.
2294         * stdlib/stdlib.h: Likewise.
2295         * wcsmbs/wchar.h: Likewise.
2296         * libio/stdio.h: Likewise.
2297         * stdio/stdio.h: Likewise.
2298         * sysdeps/wordsize-64/inttypes.h: Likewise.
2299         * sysdeps/wordsize-32/inttypes.h: Likewise.
2300         * string/argz.h: Likewise.
2301         * argp/argp.h: Likewise.
2303 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
2305         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
2306         netinet/in.h.
2308 1998-10-05  Philip Blundell  <philb@gnu.org>
2310         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
2311         and constants.  Tidy up formatting a little.
2313         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
2314         Move definitions to in.h.
2316 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2318         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
2319         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
2320         Remove inclusion of <linux/swap.h>.
2322 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2324         * io/sys/stat.h: Use __P in definitions of inline stat functions
2325         so that they match the declaration.
2327 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2329         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
2331 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2333         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
2334         linux 2.1 version.
2336 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
2338         * sysdeps/arm/dl-machine.h: Fix typo in last change.
2340         * sysdeps/arm/bits/huge_val.h: New file.
2342 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2344         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
2346         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
2347         define.
2349 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2351         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
2352         store result of realloc instead of using BUF.
2354 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2356         * misc/sgtty.h (_SGTTY_H): Correct spelling.
2357         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
2359 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2361         * manual/memory.texi (Obstacks): Document
2362         obstack_alloc_failed_handler usage.
2364         * malloc/obstack.h: Enhance comment about
2365         obstack_alloc_failed_handler usage.
2366         * malloc/obstack.c: Likewise.
2368 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2370         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2371         gcc before 2.8 is used.
2373 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
2375         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
2376         from Scott Bambrough.
2378         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
2380         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
2381         include the lock member.
2383 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
2385         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
2387 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
2389         * timezone/zic.c: Update from tzcode1998h.
2390         * timezone/europe: Update from tzdata1998i.
2391         * timezone/southamerica: Likewise.
2393         * sys/types.h: Protect use of long long by __extension__.
2394         * stdlib/stdlib.h: Likewise.
2395         * string/string.h: Likewise.
2396         * sysdeps/i386/bits/byteswap.h: Likewise.
2397         * sysdeps/geeric/bits/byteswap.h: Likewise.
2398         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2399         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2400         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2401         * sysdeps/wordsize-32/inttypes.h: Likewise.
2402         * sysdeps/wordsize-32/stdint.h: Likewise.
2403         * wcsmbs/wchar.h: Likewise.
2405 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2407         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
2408         expression.
2409         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
2410         __strsep): Greatly reduce size of expansion by combining common
2411         expressions.
2412         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2413         inline function.
2414         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2415         by the above definitions.
2417 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
2419         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2420         correct struct ipc_perm definition.
2422 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2424         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2426 1998-09-29  Cristian Gafton  <gafton@redhat.com>
2428         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2429         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
2430         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2431         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2432         Add net/if_shaper.h.
2434 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
2436         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2438         * nis/ypclnt.c: Remove not needed close calls.
2440 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
2442         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
2443         check a bit.  Also close socket of domain client.  Close socket
2444         in IPPORT_RESERVED error case.
2446 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2448         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2449         CMSG_ALIGN (fixes a bug) and correct test for availability of
2450         another entry.
2451         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2452         Linux version.
2453         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2454         availability of another entry.
2455         Patch by ak@muc.de.
2457         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2458         Patch by ak@muc.de.
2460         * libio/libio.h [!__STDC__]: Define const only if not defined.
2462 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2464         * posix/annexc.c (xsystem): New function.  Use it instead of
2465         system.
2467 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2469         * stdlib/longlong.h: Remove #endif for #if removed in last change.
2471 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2473         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2474         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2475         allow using `ut' parameter.
2476         [!emacs]: Define ut_argument, ut_argument_spec, and
2477         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
2478         argument_spec to prototypes and definitions.
2479         (my_strftime): Don't call tzset of ut != 0.
2480         Compute diff as 0 is ut != 0;
2481         [emacs]: Define new emacs_strftime function.
2482         Based on a patch by Paul Eggert.
2484 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2486         * time/strftime.c (my_strftime): When asking for the length of the
2487         subformatted buffer, do not limit the length to look for;
2488         otherwise, we have no reliable way to distinguish between the
2489         empty buffer and an error.
2491 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2493         * math/Makefile (gmp-objs): Add mp_clz_tab.
2495 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
2497         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2498         set them.
2499         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2500         cpus lacking hardware multiply and divide.
2502 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2504         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2505         $(<F), not $(^F).
2507 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2509         * db/btree/bt_delete.c: Fix -Wparentheses warning.
2511 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2513         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2514         $(do-install).
2516 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2518         * debug/catchsegv.sh: Also produce output if clone process died.
2520 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2522         * time/strftime.c (f_wkday): Remove duplicate definition.
2523         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2524         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2525         1998-09-11 fix to this case.
2526         (wkday_len, month_len): Remove these macros; they're no longer needed.
2528 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2530         * time/strftime.c (my_strftime): Don't store past the end of a
2531         zero-sized buffer.
2533 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2535         * time/strftime.c (underlying_strftime):
2536         Set the buffer to a nonzero value before calling
2537         strftime, and check to see whether strftime has set the buffer to zero.
2538         This lets us distinguish between an empty buffer and an error.
2540 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
2542         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
2543         This fix is propagated from tzcode1998g.tar.gz.
2545 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
2547         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2548         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
2549         sys_siglist.  This is handled correctly by the weak_alias macro.
2551 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2553         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2554         of mempcpy.  Reported by Andreas Jaeger.
2556         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
2557         pollute the namespace since the compiler will resolve it inline.
2558         Reported by Florian La Roche <florian@suse.de>.
2560 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
2562         * timezone/private.h: Update from tzcode1998g.
2564         * timezone/africa: Update from tzdata1998h.
2565         * timezone/asia: Likewise.
2566         * timezone/australasia: Likewise.
2567         * timezone/europe: Likewise.
2568         * timezone/northamerica: Likewise.
2569         * timezone/southamerica: Likewise.
2570         * timezone/zone.tab: Likewise.
2572 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2574         * misc/sys/mman.h: New file.
2576         * sysdeps/generic/bits/mman.h: New file.
2577         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2578         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2579         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2580         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2582         * sysdeps/generic/sys/mman.h: Removed.
2583         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2584         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2585         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2586         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2587         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2589         * include/sys/mman.h: Look directly for misc/sys/mman.h.
2590         * misc/Makefile (headers): Add bits/mman.h.
2591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2592         bits/mman.h.
2594         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2595         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2596         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2597         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2598         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2599         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2600         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2601         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2603 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2605         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2606         * sysdeps/mach/alpha/thread_state.h: Likewise.
2607         * sysdeps/mach/i386/sysdep.h: Likewise.
2608         * sysdeps/mach/i386/thread_state.h: Likewise.
2609         * sysdeps/mach/mips/sysdep.h: Likewise.
2610         * sysdeps/mach/mips/thread_state.h: Likewise.
2611         * sysdeps/posix/profil.c: Likewise.
2612         * sysdeps/i386/i586/memcopy.h: Likewise.
2613         * sysdeps/mach/pagecopy.h: Likewise.
2615 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
2617         * libio/stdio.h: Define __need_getopt and include getopt.h to define
2618         getopt stuff.
2619         * posix/unistd.h: Likewise.
2620         * stdio/stdio.h: Likewise.
2621         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
2622         define only getopt and the variables.
2624 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2626         * scripts/test-installation.pl (installation_problem): Don't link
2627         the test program against libdb1.
2629 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
2631         * Makeconfig (all-subdirs): Add db.
2632         * Versions.def: Add definition for libdb1.
2633         * shlib-versions: Add definitions for libdb1.
2634         * db/Makefile (extra-libs): Replace by libdb1.
2635         (libdb-routines): Rename to libdb1-routines.
2636         (headers): Rename to db1-headers.
2637         (distribute): Add $(db1-headers).
2638         (install-others): Define to install symlink libdb.so.NN and the
2639         $(db1-headers).
2640         (CPPFLAGS): Add -DUSE_LIBDB1
2641         Remove rules to build makedb.
2642         * db/Versions: Rename libdb to libdb1.
2643         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
2644         * db/makedb.c: Removed.
2646         * scripts/versions.awk: Recognize digits in library names.
2648         * db/btree/bt_open.c: Fix compiler warnings.
2649         * db/btree/bt_put.c: Likewise.
2650         * db/btree/bt_split.c: Likewise.
2651         * db/hash/hash.c: Likewise.
2652         * db/hash/hash_bigkey.c: Likewise.
2653         * db/recno/rec_close.c: Likewise.
2655         * Makefile: Add localedata/% goal.
2657 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2659         * posix/execvp.c: Don't give up searching the PATH if execve
2660         returns ENOTDIR.
2662 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
2664         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2665         if _dl_fpu_control_set is set.
2666         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2667         * elf/rtld.c: Don't define _dl_fpu_control_set.
2668         * elf/Versions: Remove _dl_fpu_control_set.
2670 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
2672         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2673         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2674         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2675         Correct values of other SA_* macros according to kernel headers.
2677 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2679         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2680         variable l.
2681         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2682         old.
2684 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2686         * elf/ldsodefs.h: Fix typo in comment.
2688 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2690         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2691         char when comparing buffer contents with putback character.
2693 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2695         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2696         Undo last change.
2697         * elf/Versions: Undo last change.  Export _dl_fpu_control and
2698         _dl_fpu_control_set.
2699         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2700         variables.  Include <fpu_control.h>.
2701         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2702         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2703         to indicate that is was seen.
2704         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2705         only if _dl_fpu_control was set and is equal to desired value.
2706         * math/Makefile (aux): Undo last change.
2707         * math/Versions: Export __fpu_control with version GLIBC_2.0.
2709 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2711         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2712         optimized.
2714 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
2716         * string/bits/string2.h: Add mempcpy optimization.
2717         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2718         * intl/localealias.c: Define mempcpy only if not already defined.
2720         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2721         defined.
2723 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2725         * csu/abi-note.S: Emit the note directly instead of defining
2726         a preprocessor macro that's only used once.  Don't include sysdep.h.
2727         * abi-tags: Generalize Solaris entry.
2729 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2731         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2732         Change to array to avoid runtime relocation.
2733         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2735 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2737         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2738         * math/Makefile ($(objpfx)libieee.a): Likewise.
2740 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
2742         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2743         Patch by John Tobey <jtobey@banta-im.com>.
2745 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
2747         * login/Makefile (distribute): Remove pty-internal.h, add
2748         pty-private.h.
2750         * stdlib/tst-strtol.c: Add more checks.
2751         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2753 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
2755         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2756         * elf/elf.h: Add AT_FPUCW.
2757         * elf/Makefile (dl-routines): Add fpu_control.
2758         (elide-routines.os): Add fpu_control.
2759         (rtld-routines): Add fpu_control.
2760         * math/Makefile (aux): Remove fpu_control.
2761         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2762         (_dl_show_auxv): Likewise.
2763         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2764         if different from OS default.
2766         * stdio-common/tstscanf.c: Add test case for (nil).
2768 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
2770         * libio/fileops.c (_IO_new_file_underflow): Before allocating
2771         buffer make sure the pushback buffer is destroyed.
2772         (_IO_new_file_seekoff): Likewise.
2773         If mode==0 quit early with the result.
2774         Clear OEF flag after successful fseek.
2775         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2776         * libio/ftello.c (ftello): Add offset from original buffer if
2777         stream has pushed back characters.
2778         * libio/ftello64.c (ftello64): Likewise.
2779         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2780         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2781         * libio/ioftell.c (_IO_ftell): Likewise.
2782         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2783         and _IO_save_ptr.
2784         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2785         (_IO_default_pbackfail): Only stored push back character in original
2786         buffer if it is the same as the one in the file at this position.
2787         * libio/iofclose.c: Free backup buffer if one is available.
2788         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2789         mode!=0.
2791         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2793         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2795         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2797 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
2799         * login/programs/pt_chown.c (more_help): Correct message that
2800         describes the purpose of the program.
2802         * login/openpty.c: Do not include pty-private.h.
2803         (pts_name): New function.  Return name of slave pseudo terminal in
2804         an allocated buffer if necessary.
2805         (openpty): Use pts_name to get name of the slave end of the pseudo
2806         terminal pair.
2808         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2809         pts_name before return.
2811 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
2813         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2815 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2817         * login/openpty.c: Include pty-private.h instead of
2818         pty-internal.h.
2820 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
2822         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2824 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
2826         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2827         recent ld.so changes.
2828         (elf_machine_runtime_setup): Correct behaviour when profiling.
2830 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
2832         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2833         Patch by John Tobey <jtobey@banta-im.com>.
2835 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
2837         * login/pty-internal.h: Removed.  Moved constants related to the
2838         `grantpt' helper program protocol to ...
2839         * login/pty-private.h: ... here.  New file.
2840         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2841         to make the function work with kernels >= 2.1.115.
2842         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2843         version if using the cloning device fails.
2844         * sysdeps/unix/sysv/linux/grantpt.c: New file.
2845         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2846         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2847         use by Linux specific code.
2848         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2849         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
2850         function.  (grantpt): Use pts_name, check group and permission
2851         mode in addition to owner.  Try to set the owner, group and
2852         permission mode first without invoking the helper program.
2853         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
2854         internationalization support.  Use symbolic constants instead of
2855         hardwired numbers for permission mode.
2856         * sysdeps/unix/bsd/ptsname.c: New file.
2858 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
2860         * posix/wordexp-test.c: Undo last change.
2862         * posix/wordexp.c: Undo last change.
2864 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
2866         * nscd/grpcache.c (save_grp): Partly undo last change.
2868         * nscd/pwdcache.c (save_pwd): Undo last change.
2870 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2872         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2873         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2875 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
2877         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2878         Add profiling support.
2879         (TRAMPOLINE_TEMPLATE): New macro.
2880         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2881         (RTLD_START): Prettify, and set __libc_stack_end properly.
2882         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2883         and check for sym being NULL instead.
2884         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2885         of stack space.
2886         * sysdeps/sparc/sparc64/lshift.S: Likewise.
2887         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2888         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2889         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2890         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2891         MEDANY code model %g4 usage.
2892         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2893         MEDANY code model %g4 usage.
2894         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2895         code model address formation.
2896         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2897         include elf/ldsodefs.h
2898         (DT_SPARC): Remove.
2899         (elf_machine_matches_host): It is now EM_SPARCV9.
2900         (elf_machine_dynamic): Clean up to remove ugly cast.
2901         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2902         new PLT formats.
2903         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2904         Prettify rest of function.
2905         [R_SPARC_COPY]: Check for sym being NULL.
2906         [R_SPARC_32]: Handle it.
2907         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2908         MEDMID code model.
2909         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2910         MEDANY code model.
2911         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2912         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2913         Add profiling support.
2914         (TRAMPOLINE_TEMPLATE): New macro.
2915         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2916         (RTLD_START): Prettify and set __libc_stack_end.
2917         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2918         Define.
2919         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2920         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2921         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2922         unused variable scratch.
2923         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2924         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2925         Declare.
2926         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2927         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
2928         old format kernel sigaction structures.
2929         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2930         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2931         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2932         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2933         ucontext include.
2934         (_JMPBUF_UNWINDS): Define.
2935         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2936         statfs64 structure, which is exactly the same as the normal one.
2937         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2938         of stack.  Use correct syscall trap number.  Add branch prediction
2939         settings to branch instructions.  Remove old MEDANY code model %g4
2940         referneces for non-PIC.
2941         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2942         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2943         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2944         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2945         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2946         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2947         __libc_longjmp and __libc_siglongjmp strong aliases.
2948         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2949         Also define to __no__readdir64_decl around readdir.c inclusion.
2950         (__readdir64): Add strong alias.
2951         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2952         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2953         Set strong and weak names properly.
2955 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2957         * manual/Makefile (AWK): Default to gawk if standalone.
2959 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2961         * Makefile (distribute): Undo last change.
2962         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2963         for sysdep headers.
2964         (+subdir-headers): Removed, unused.
2966 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2968         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2969         $(do-install).
2971 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2973         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2974         absolute name in $(config-sysdirs), can never happen.
2975         ($(+sysdir_pfx)sysd-rules): Likewise.
2976         * Makeconfig (full-config-sysdirs): Likewise.
2977         (all-Subdirs-files): Prepend $(..).
2979         * configure.in: Don't check for absolute name in $add_ons_pfx, can
2980         not happen.  Let --enable-add-ons=yes work if no add-ons actually
2981         exist.
2983 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2985         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2986         continuations in command.
2988 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2990         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2992 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
2994         * posix/wordexp-test.c: If expansion or substitution occurs
2995         anywhere in a word, the entire word is subject to field-splitting.
2997         * posix/wordexp.c (parse_glob): Look for end of word instead of
2998         end of field when deciding what to glob.
2999         (field_split_word): New function, now the only place where
3000         field-splitting is performed.
3001         (parse_dollars): New parameter - tell the caller if
3002         field-splitting should be performed on this word.
3004         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3005         succeeded (or failed with WRDE_NOSPACE).
3007 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
3009         * posix/wordexp.c (wordexp): Don't convert IFS characters to
3010         blanks.
3012         * posix/wordexp-test.c: Words not the result of expansion or
3013         substitution should remain unchanged.
3015 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
3017         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3018         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3020 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3022         * stdio-common/Makefile: Include Makeconfig so that
3023         $(inst_includedir) is defined.
3025 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3027         * io/pwd.c: Include <mcheck.h>.
3029 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
3031         * nscd/pwdcache.c (save_pwd): Correct copying.
3032         * nscd/grpcache.c (save_grp): Likewise.
3034 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
3036         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3037         (free_pwd): Adjust for this change.
3038         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3039         (free_grp): Adjust for this change.
3041 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
3043         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3045 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
3047         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3048         (install-others): Add bits/stdio_lim.h.
3049         Add rule to install bits/stdio_lim.h.
3051         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3053         * Makefile (distribute): Add include/sys/mman.h.
3055         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3056         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3057         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3059         * grp/initgroups.c: Include stdlib.h.
3060         Patch by Zack Weinberg.
3062 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
3064         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3065         for field-splitting :abc: is correct, and that two fields should
3066         result. Revert tests to reflect this.
3068         * posix/wordexp.c (w_emptyword): Remove function.
3069         (exec_comm): Don't use w_emptyword.
3070         (parse_param): Likewise.
3072 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
3074         * sysdeps/arm/fpu/Dist: Moved to...
3075         * sysdeps/arm/Dist: ...here.
3076         * sysdeps/posix/Dist: Removed.
3077         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3078         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3080 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
3082         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3084 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
3086         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3088 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3090         * libc-work/nis/nss_nisplus/nisplus-service.c
3091         (_nss_nisplus_parse_servent): Convert port in network byte order.
3093 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3095         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3096         to provide only malloc and calloc.
3097         * include/stdlib.h: Support the above.
3098         * string/bits/string2.h: Use __need_malloc_and_calloc when
3099         including stdlib.h.
3100         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3102         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3103         * iconvdata/iso646.c: Include <stdlib.h>.
3105 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3107         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3108         * sysdeps/libm-ieee754/w_pow.c: Likewise.
3109         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3110         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3112 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3114         * stdio-common/stdio_lim.h.in: New file.  All parameters
3115         are adjustable at build time.
3116         * Rules: Add a rule to build bits/stdio_lim.h from
3117         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
3118         all subdirectories know how to make the file.  It can't be
3119         in Makerules because then it gets built at top level and the
3120         dependencies are wrong.)
3122         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3123         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3124         stdio_lim.h.
3125         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3126         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3127         * sysdeps/posix/Makefile: Removed.
3128         * sysdeps/posix/mk-stdiolim.c: Removed.
3129         * sysdeps/generic/bits/stdio_lim.h: Removed.
3131 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3133         * argp/argp-help.c: Fixup indentation.
3134         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3135         * resolv/nss_dns/dns-network.c: Likewise.
3136         * resolv/res_send.c: Likewise.
3137         * rt/aio_cancel.c: Likewise.
3138         * rt/aio_misc.c: Likewise.
3140 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3142         * Makefile (install-symbolic-link): Remove the link list file at last.
3143         * Makerules (install-clean-symbolic-link-list): Removed.
3145 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3147         * timezone/tst-timezone.c: Print time in UTC to get consistent
3148         output.
3150 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3152         * elf/rtld.c (_dl_rpath): Removed.
3153         * elf/dl-support.c (_dl_path): Removed.
3154         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3155         (CFLAGS-dl-support.c): Removed.
3157         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
3158         uses changed.
3159         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3160         instead of appending it to the main map's rpath info.
3161         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3162         DT_RPATHs.  This makes it effective again.
3163         (decompose_rpath): Remove second parameter, callers changed.
3164         (fillin_rpath): Allocate enough space in curwd.
3165         (expand_dynamic_string_token): Cope with get_origin returning -1.
3167 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3169         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3170         passwd.adjunct.
3172         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3173         invalid password.
3175 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
3177         * locale/programs/locale.c: Update dates.
3179 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
3181         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
3182         size_t is defined.  Some reordering of definitions to make
3183         maintaining this file in parallel with the linux-specific file easier.
3185 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
3187         * io/pwd.c (main): Add call to mtrace.
3189         * malloc/mtrace.pl: Quote @ in string.
3191 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
3193         * posix/wordexp.c (parse_arith): Fix memory leaks.
3194         (exec_comm): Likewise.
3195         (parse_param): Likewise.
3196         (wordexp): Likewise.
3197         (exec_comm): Reduce number of function return points.
3198         (parse_param): Likewise.
3199         (wordexp): Likewise.
3201 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
3203         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3204         yield three fields, not two.  Test both parameter expansion and
3205         command substitution for correct field-splitting behaviour.
3207         * posix/wordexp.c (w_emptyword): New function.
3208         (parse_param): Use it.
3209         (exec_comm): Likewise, for consistency with the way parse_param
3210         splits fields.
3211         (parse_param): Fix some memory leaks.
3213 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
3215         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3216         Don't mark asm `volatile'.
3217         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3218         from the data cache too.  Assume it isn't in the instruction cache yet.
3219         (__elf_machine_fixup_plt): Clear the modified address from the caches.
3221 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
3223         * sysdeps/generic/segfault.c (install_handler): Install signal
3224         handler with SA_ONSTACK instead of setting the stack flags to
3225         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
3226         defined.
3228 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3230         * signal/signal.h: Fix multiple inclusion guard to cover the
3231         entire file.
3232         * wcsmbs/wchar.h: Remove prototype of internal function
3233         __mbsrtowcs.
3234         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3235         arithmetic on `void *'.
3237 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
3239         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
3241         * posix/wordexp.c (wordexp): Perform word-splitting instead of
3242         field-splitting here.
3243         (wordexp): If out of memory mid-word, free the word (but still
3244         leave pwordexp alone for caller to see).
3245         (parse_param): Allow for zero-length fields (smarter checking of
3246         memory allocation failure).
3247         (w_addword): Convert NULL words to "".
3248         (wordexp): Convert left-over IFS characters to blanks (like bash).
3250 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3252         * configure.in: Use test -f instead of test -e.
3253         Patch by John Tobey <jtobey@banta-im.com>.
3255         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3256         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3257         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3258         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3259         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3260         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3261         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3262         Patches by John Tobey <jtobey@banta-im.com>.
3264         * time/strftime.c (my_strftime): Delay use of *tp values until
3265         latest possible point to allow partly initialized structures
3266         (e.g., from strptime).
3268         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3269         and NATS-SEFI.
3270         Define *-routines variables for new modules.
3271         (distribute): Add .c files for new modules.
3272         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3273         and nats-sefi.h.
3274         Add rules for header generation.
3275         * iconvdata/gconv-modules: Add entries for new modules.
3276         * iconvdata/iso_10367-box.c: New file.
3277         * iconvdata/mac-is.c: New file.
3278         * iconvdata/nats-dano.c: New file.
3279         * iconvdata/nats-sefi.c: New file.
3281 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
3283         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3284         loader if PIC is not defined.
3286 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3288         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3289         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3290         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3291         and ISO_5428.
3292         Define *-routines variables for new modules.
3293         (distribute): Add .c files for new modules.
3294         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3295         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3296         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3297         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
3298         Add rules for header generation.
3299         * iconvdata/gconv-modules: Add entries for new modules.
3300         * iconvdata/csn_369103.c: New file.
3301         * iconvdata/cwi.c: New file.
3302         * iconvdata/dec-mcs.c: New file.
3303         * iconvdata/ecma-cyrillic.c: New file.
3304         * iconvdata/gost_19768-74.c: New file.
3305         * iconvdata/greek-ccitt.c: New file.
3306         * iconvdata/greek7-old.c: New file.
3307         * iconvdata/greek7.c: New file.
3308         * iconvdata/inis-8.c: New file.
3309         * iconvdata/inis-cyrillic.c: New file.
3310         * iconvdata/inis.c: New file.
3311         * iconvdata/iso6937-2.c: New file.
3312         * iconvdata/iso_2033.c: New file.
3313         * iconvdata/iso_5427-ext.c: New file.
3314         * iconvdata/iso_5427.c: New file.
3315         * iconvdata/iso_5428.c: New file.
3317         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
3318         entries.
3319         Convert U02dd correctly.
3321 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
3323         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
3324         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3325         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
3326         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
3328 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3330         * resolv/res_init.c (res_init): Handle resolv.conf file with only
3331         one nameserver correctly.  Patch by HJ Lu.
3333         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
3334         and ANSI_X3.110.
3335         Define *-routines variables for new modules.
3336         (distribute): Add .c files for new modules.
3337         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
3338         Add rules for hedaer generation.
3339         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
3340         * iconvdata/ansi_x3.110.c: New file.
3341         * iconvdata/asmo_449.c: New file.
3342         * iconvdata/baltic.c: New file.
3343         * iconvdata/iec_p27-1.c: New file.
3345         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
3346         entries.
3347         Convert U02dc correctly.
3349         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
3350         * math/atest-exp2.c: Likewise.
3351         * math/atest-sincos.c: Likewise.
3353         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
3354         is defined.
3356 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3358         * string/strcoll.c: Optimize a few expressions.
3359         * string/strxfrm.c: Likewise.
3361 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3363         * manual/locale.texi: Fix typos.
3365 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
3367         * stdlib/random_r.c (__setstate_r): Allow call with same state
3368         array as currently used (PR libc/774).
3370         * include/limits.h: Include gcc's header even if this file is
3371         found more than once before it (PR libc/778)
3373         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3374         (sysdep_headers): Remove sys/debugreg.h.
3375         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3376         (sysdep_headers): Add sys/debugreg.h.
3377         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
3378         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
3380         * stdio-common/tmpnam.c: Move local static variable buf to
3381         toplevel and rename to tmpnam_buffer to ease debugging.
3382         Patch by Joe Keane <jgk@jgk.org>.
3383         Optimize s == NULL case a bit.
3385         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
3386         correction.
3388 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
3390         * resolv/res_init.c (res_init): Initialize _res.nscount and
3391         _res.nsaddr.sin_port differently for the can when no loopback
3392         is available to allow immediate timeout in non-networking environments.
3393         Patch by Cristian Gafton <gafton@redhat.com>.
3395 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3397         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
3398         BAR and not EM DASH.
3399         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
3400         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
3401         Fixes PR libc/717.
3403 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
3405         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
3406         for test.
3407         * timezone/tst-timezone.c (tests): Fix typo in last patch.
3409         * time/tzfile.c (__tzfile_read): Handle case when there are no
3410         transitions.  Set __timezone based on computed offset.
3411         * time/tzset.c (tzset_internal): Set __timezone before returning.
3413         * time/tzset.c (tzset_internal): Optimize handling of local string
3414         copy.
3416 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3418         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3419         libc/776).
3421 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3423         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3424         (csqrt_test): Likewise.
3425         * sysdeps/powerpc/bits/fenv.h: Add parens.
3427 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
3429         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3430         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3431         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3433 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
3435         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3436         the special `-1' pointer.
3438 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
3440         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3441         inline.
3443 1998-09-07  Paul Eggert  <eggert@twinsun.com>
3445         * time/mktime.c (__EXTENSIONS__): Define if not defined.
3446         (_REENTRANT): Remove.  It has undesirable consequences in
3447         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
3448         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3449         is what we want.
3450         * time/strftime.c: Likewise.
3452 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3454         * elf/dl-error.c: Fix spelling.
3456 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3458         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3459         * stdio-common/_itoa.c: Likewise.
3460         * stdio-common/printf_fp.c: Likewise.
3461         * stdio-common/vfscanf.c: Likewise.
3462         * wcsmbs/wcstok.c: Likewise.
3463         * sysdeps/generic/glob.c: Likewise.
3464         * posix/getopt.c: Likewise.
3465         * sysdeps/posix/getaddrinfo.c: Likewise.
3466         * posix/wordexp.c: Likewise.
3467         * io/ftw.c: Likewise.
3468         * io/fts.c: Likewise.
3469         * misc/getpass.c: Likewise.
3470         * iconv/gconv_conf.c: Likewise.
3471         * argp/argp-fmtstream.c: Likewise.
3472         * argp/argp-help.c: Likewise.
3473         * elf/dl-load.c: Likewise.
3474         * locale/programs/stringtrans.c: Likewise.
3475         * catgets/gencat.c: Likewise.
3476         * posix/getconf.c: Likewise.
3477         * iconv/gconv_conf.c: Likewise.
3478         * iconv/iconv_prog.c: Likewise.
3480         * string/strcoll.c: Optimize a few expressions.
3481         * string/strxfrm.c: Likewise.
3483 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3485         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3486         level to avoid uninit variable warning.
3488 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3490         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
3491         instead of _dl_default_scope[2] as argument to _dl_init_next.
3493         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3494         C9x macro.
3496 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
3498         Fix compatibility problems introduced in last change.
3499         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3500         defined.
3501         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3502         -DWEAK_GMON_START to CFLAGS-initfini.s.
3504         * elf/dl-object.c (_dl_new_object): Store map address in
3505         _dl_loaded if _dl_loaded is NULL.
3506         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
3508         * sysdeps/generic/setrlimit64.c: Remove stub warning.
3510 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
3512         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3513         quiet.
3514         * db2/btree/bt_cursor.c: Likewise.
3515         * db2/common/db_region.db_c: Likewise.
3516         * db2/common/db_salloc.db_c: Likewise.
3517         * db2/db/db.c: Likewise.
3518         * db2/db/db_rec.c: Likewise.
3519         * db2/hash/hash.c: Likewise.
3520         * db2/hash/hash_page.c: Likewise.
3521         * db2/hash/hash_rec.c: Likewise.
3522         * db2/log/log_findckp.c: Likewise.
3523         * db2/log/log_get.c: Likewise.
3524         * db2/log/log_put.c: Likewise.
3525         * db2/mp/mp_fget.c: Likewise.
3526         * db2/mp/mp_fput.c: Likewise.
3527         * db2/mp/mp_region.c: Likewise.
3528         * stdlib/strtol.c: Likewise.
3529         * string/strcoll.c: Likewise.
3530         * string/strxfrm.c: Likewise.
3531         * argp/argp-help.c: Likewise.
3532         * argp/argp-parse.c: Likewise.
3533         * resolv/res_debug.c: Likewise.
3535 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
3537         * math/tgmath.h (scalb): Only define for __USE_MISC or
3538         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
3540 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3542         * libio/stdio.h: Fix comment.
3544         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3545         __USE_ISOC9X.
3547 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3549         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3551         * elf/dl-open.c: Quiet -Wparentheses warnings.
3552         * iconvdata/johab.c: Likewise.
3553         * iconvdata/uhc.c: Likewise.
3554         * inet/inet_net.c: Likewise.
3555         * io/fts.c: Likewise.
3556         * locale/newlocale.c: Likewise.
3557         * misc/getttyent.c: Likewise.
3558         * misc/mntent_r.c: Likewise.
3559         * misc/ttyslot.c: Likewise.
3560         * nscd/nscd_conf.c: Likewise.
3561         * nss/nsswitch.c: Likewise.
3562         * resolv/gethnamaddr.c: Likewise.
3563         * resolv/nsap_addr.c: Likewise.
3564         * resolv/res_debug.c: Likewise.
3565         * stdio-common/_itoa.c: Likewise.
3566         * stdlib/strtod.c: Likewise.
3567         * string/strverscmp.c: Likewise.
3568         * sunrpc/svc.c: Likewise.
3569         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3570         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3571         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3572         * sysdeps/posix/getaddrinfo.c: Likewise.
3574 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
3576         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3577         for use of global scope.
3578         * elf/dlvsym.c (dlvsym_doit): Likewise.
3580 1998-09-02  Paul Eggert  <eggert@twinsun.com>
3582         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3583         copy the redundant bytes at the end of the format as-is; don't
3584         just copy their first byte and then rescan, as that might get
3585         us an encoding error.
3586         Account correctly for the length of multibyte sequences in the
3587         format.
3589 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
3591         * posix/wordexp-test.c: Add tests for different IFS values.
3592         Change unquoted-newline test so that newline is not in IFS.
3594         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3595         determining IFS characters.  Return WRDE_BADCHAR for unquoted
3596         special characters _except_ if they are separators.
3598 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
3600         * include/tgmath.h: New file.
3602         * libio/stdio.h: Correct reversed #ifs.
3603         Patch by Zack Weinberg.
3605         * manual/creature.texi: Better explain reason for feature select
3606         macros.
3607         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3609 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3611         * include/alloca.h: Add multiple-inclusion guard.
3612         * include/db.h: Likewise.
3613         * include/db_185.h: Likewise.
3614         * include/dlfcn.h: Likewise.
3615         * include/fcntl.h: Likewise.
3616         * include/grp.h: Likewise.
3617         * include/libintl.h: Likewise.
3618         * include/mntent.h: Likewise.
3619         * include/pwd.h: Likewise.
3620         * include/sched.h: Likewise.
3621         * include/search.h: Likewise.
3622         * include/setjmp.h: Likewise.
3623         * include/shadow.h: Likewise.
3624         * include/signal.h: Likewise.
3625         * include/stdio.h: Likewise.
3626         * include/stdlib.h: Likewise.
3627         * include/string.h: Likewise.
3628         * include/termios.h: Likewise.
3629         * include/time.h: Likewise.
3630         * include/ulimit.h: Likewise.
3631         * include/utmp.h: Likewise.
3632         * include/wchar.h: Likewise.
3633         * include/sys/file.h: Likewise.
3634         * include/sys/gmon.h: Likewise.
3635         * include/sys/ioctl.h: Likewise.
3636         * include/sys/mman.h: Likewise.
3637         * include/sys/resource.h: Likewise.
3638         * include/sys/select.h: Likewise.
3639         * include/sys/socket.h: Likewise.
3640         * include/sys/statfs.h: Likewise.
3641         * include/sys/time.h: Likewise.
3642         * include/sys/times.h: Likewise.
3643         * include/sys/wait.h: Likewise.
3645 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
3647         * version.h (VERSION): Bump to 2.0.96.
3649         Rewrite runtime linker to be truly thread-safe.  There is now no
3650         global variable specifying the scope.  We create all needed
3651         scopes at the time the link maps are created.
3652         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3653         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3654         l_symbolic_searchlist, l_scope, and l_local_scope elements in
3655         struct link_map.
3656         * elf/dl-close.c: Rewritten accordingly.
3657         * elf/dl-deps.c: Likewise.
3658         * elf/dl-error.c: Likewise.
3659         * elf/dl-init.c: Likewise.
3660         * elf/dl-load.c: Likewise.
3661         * elf/dl-lookup.c: Likewise.
3662         * elf/dl-object.c: Likewise.
3663         * elf/dl-open.c: Likewise.
3664         * elf/dl-reloc.c: Likewise.
3665         * elf/dl-runtime.c: Likewise.
3666         * elf/dl-support.c: Likewise.
3667         * elf/dl-symbol.c: Likewise.
3668         * elf/dl-version.c: Likewise.
3669         * elf/dlsym.c: Likewise.
3670         * elf/dlvsym.c: Likewise.
3671         * elf/ldsodefs.h: Likewise.
3672         * elf/rtld.c: Likewise.
3673         * iconv/gconv_dl.c: Likewise.
3674         * nss/nsswitch.c: Likewise.
3675         * sysdeps/i386/dl-machine.h: Likewise.
3676         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3678         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3679         Define RTLD_DEFAULT.
3681 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
3683         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3684         __getopt_clean_environment with __environ instead of envp.
3686 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
3688         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3690         * string/argz-extract.c (__argz_extract): Add de-consting cast for
3691         setting results.
3693         * string/argz.h (argz_next): Add de-consting cast for return.
3694         * string/argz-next.c (__argz_next): Likewise.
3696         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3697         Don't add netinet/udp.h, netinet/ip_icmp.h here.
3698         * sysdeps/gnu/Makefile: Do it here instead.
3699         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3700         * sysdeps/gnu/Dist: ... to here.
3702         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3703         sysdeps/unix/sysv/linux/netinet/tcp.h,
3704         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3706 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
3708         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3709         * string/argz-next.c, string/argz-extract.c: Fix defns.
3711 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
3713         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3715         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3716         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3717         * sysdeps/generic/sysd-stdio.c: Likewise.
3719 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
3721         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3722         (_dl_map_object_from_fd): Make NAME argument const.
3723         Remove last parameter in _dl_new_object call.
3724         (print_search_path): Correct construction of composed path name.
3725         (_dl_map_object): Prevent looking at RPATH of the main map twice.
3726         Remove last parameter in _dl_new_object call.
3727         * elf/dl-object.c: Remove last parameter.  Determine whether create
3728         origin entry based on empty realname.  Handle file in root directory
3729         correctly.
3730         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3731         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3732         Remove last parameter in _dl_new_object call.
3733         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3734         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3736 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
3738         * elf/dl-close.c (_dl_close): Add more comments and correct some.
3739         Free l_searchlist and l_dupsearchlist.
3741         * debug/catchsegv.sh: Add one more pair of quotes.
3743 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
3745         * elf/dl-load.c (add_name_to_object): Change return type to void and
3746         make NAME parameter const.  Allocate room for NAME in same memory
3747         block used for l_libname entry.
3748         (_dl_map_object_from_fd): Don't free NAME on failure.
3749         (map_segment): Pass SONAME to add_name_to_object, not a copy.
3750         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
3751         _dl_map_object_from_fd.
3752         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3753         memory block used for l_libname entry.
3754         * elf/dl-close.c: Adjust free()ing for this change.
3756 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
3758         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3760         * malloc/mtrace.c: Add bug report address.  Update email address.
3761         Add more @XXX@ to print correct address size.
3763         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3764         really initialized.
3766         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3767         for munmap call instead of examining phdr again.
3768         Free all malloc()ed strings and arrays.
3770 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
3772         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3773         dl-machine.h.
3774         * sysdeps/powerpc/dl-machine.c: New file.
3775         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3776         files.  Revise ELF_PREFERRED_ADDRESS to take account of
3777         the new mapping information (fixes bug involving huge bloated
3778         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
3779         * sysdeps/powerpc/dl-start.S: New file.
3781         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3782         l_map_end.
3783         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3784         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3785         others.  Call elf_dynamic_do_##reloc only once (to save even more
3786         space).
3787         * elf/link.h: Add new members l_map_start and l_map_end to keep
3788         track of the memory map.
3789         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3790         the executable.
3792 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
3794         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3795         Reported by Andreas Jaeger.
3797         * posix/glob.h: Use __size_t instead of size_t in definitions and
3798         make sure this is defined.
3800 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
3802         * manual/locale.texi: Almost complete rewrite.  Document more functions
3803         and functionality.
3804         * manual/arith.texi: Correct reference.
3805         * manual/string.texi: Pretty printing.
3807         * manual/texinfo.tex: Update from last available version.
3809 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
3811         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3812         invalid password.
3813         (_nss_nis_getpwuid_r): Likewise.
3814         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3816         * inet/rcmd.c: Implement netgroup support.
3817         Patch by Dick Streefland <dick_streefland@tasking.com>.
3819 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3821         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3822         object on the list is removed.  Don't use this code for PIC.
3823         Reported by HJ Lu [PR libc/770].
3825 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
3827         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3829         * include/stdio.h: Add __vsscanf.
3831         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3832         __USE_ISOC9X.
3833         Remove __vsscanf declaration.
3834         Always declare fgetpos and fsetpos.
3836         * math/math.h: Define isinf as macro.
3837         * math/bits/mathcalls.h: Change to declare __isinf all the time.
3838         Don't declare scalb for ISO C 9x.
3840         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
3842         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3844         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3845         sys/ucontext.h.
3847         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3848         macros.
3850 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3852         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3853         Reported by jreising@frequentis.com [PR libc/767].
3855 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3857         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3858         fl.l_start at beginning of function.
3859         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3861 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3863         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3864         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3866         * nscd/nscd.init: Make it work in RedHat systems.
3867         Patch by Christian Gafton.
3869 1998-08-29  Philip Blundell  <philb@gnu.org>
3871         * catgets/Makefile: Don't try to run test programs when
3872         cross-compiling.
3874 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3876         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3877         Reported by Zack Weinberg.
3879 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3881         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3882         * elf/Makefile (distribute): Remove ldd.sh.in.
3884 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3886         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3887         variable.
3889 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
3891         * sysdeps/i386/register-dump.h: Move to ...
3892         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3894 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
3896         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3897         with load address, not map address.
3898         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3899         parameter and use this value.
3900         * sysdeps/arm/dl-machine.h: Likewise.
3901         * sysdeps/i386/dl-machine.h: Likewise.
3902         * sysdeps/m68k/dl-machine.h: Likewise.
3903         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3904         parameter.
3905         * sysdeps/powerpc/dl-machine.h: Likewise
3906         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3907         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3909 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
3911         * elf/rtld.c (process_envvars): Fix copy&paste error.
3913         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3914         memalign hook.
3915         (realloc_hook_ini): Don't overwrite memalign hook.
3916         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3917         Reported by Philippe Troin <phil@fifi.org>.
3919         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3920         Patch by Philippe Troin <phil@fifi.org>.
3922 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3924         * sysdeps/generic/segfault.c (install_handler): Protect the
3925         non-POSIX signals with #ifdef.
3926         (catch_segfault): Add missing mode parameter for open.
3927         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
3928         other termination signals.
3930 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3932         * debug/Makefile (distribute): Add register-dump.h.
3934 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3936         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3938 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
3940         * elf/Makefile (distribute): Add dl-origin.h.
3941         * sysdeps/generic/dl-origin.h: New file.
3942         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3943         * elf/link.h (struct link_map): Add l_origin field.
3944         * elf/dl-load.c (expand_dynamic_string_token): New function.
3945         (decompose_path): Remove WHERE argument, take link map pointer instead.
3946         Call expand_dynamic_string_token instead of local_strdup to make copy
3947         of rpath.
3948         (_dl_init_paths): Call decompose_path with correct argument.
3949         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3950         not defined.
3951         Check EI_OSABI and EI_ABIVERSION fields in header.
3952         Call _dl_new_object with extra argument.
3953         (_dl_map_object): Call decompose_path with correct argument.
3954         Call expand_dynamic_string_token instead of local_strdup to also
3955         expand DST.
3956         Call _dl_new_object with extra argument.
3957         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3958         but the main one if new argument is nonzero.
3959         * elf/ldsodefs.h: Adjust for _dl_new_object change.
3960         * elf/dl-support.c: Define _dl_origin_path.
3961         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
3962         (dl_main): Call _dl_new_object with extra argument.
3964         * elf/dl-close (_dl_close): Free l_name and l_origin.
3966         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3967         modifier in asm, not c.
3969         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3970         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3972 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
3974         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3975         variable so that map can be freed.
3976         Reported by Philippe Troin <phil@fifi.org>.
3978         * elf/dl-open.c (dl_open_worker): Correct test for extending global
3979         scope array.
3980         Patch by Philippe Troin <phil@fifi.org>.
3982 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
3984         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
3985         Don't call writev() with a 100-element vector.
3986         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3987         return address.
3989         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3990         In particular, set __libc_stack_end.
3991         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3992         undefined.  Fix copyright notice.
3994 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3996         * math/Makefile (gmp-objs): New variable.
3997         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3998         Depend on it.
3999         (tests): Add atest-exp atest-sincos atest-exp2.
4000         (tests-static): Remove atest-exp atest-sincos atest-exp2.
4002 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
4004         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4005         to toplevel.
4006         (_dl_unload_cache): New function.
4007         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4008         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
4009         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
4011         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4012         Correct comment for O_LARGEFILE.
4013         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4014         Change O_LARGEFILE to correct value.
4016 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
4018         * libio/iogetline.c (_IO_getline_info): Don't read anything for
4019         N == 0.  Patch by HJ Lu.
4021 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
4023         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4025 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
4027         * argp/argp.h: Use __inline__ not inline.
4029         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4030         an input register as being clobbered.
4031         * sysdeps/i386/memset.c (memset): Likewise.
4032         * sysdeps/i386/bzero.c (__bzero): Likewise.
4033         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4035 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4037         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4038         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4040 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
4042         * debug/catchsegv.sh: Handle text preceding backtrace better.
4043         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
4044         to be installed for other signals than SIGSEGV.
4045         * sysdeps/generic/register-dump.h: New file.
4046         * sysdeps/i386/register-dump.h: New file.
4047         * sysdeps/powerpc/register-dump.h: New file.
4049         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4050         sigcontextinfo.h.
4051         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4053 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
4055         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4057 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
4059         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4060         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4061         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4062         getresuid, getresgid.
4064 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
4066         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
4067         pointer in userland.
4069 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4071         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4072         and fix value.
4074 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4076         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
4077         over arguments Bourne shell compatible.  Don't exit unsuccessfully
4078         if nonelf returns successfully.  Avoid duplicating most of the
4079         script.
4080         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4081         around $file.
4083 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4085         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4086         sys/reg.h.
4087         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4088         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4090 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
4092         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4093         __modify_ldt and modify_ldt.
4094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4096         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4097         Use orl $-1 instead of movl $-1 to save two bytes.
4098         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4099         Likewise.
4101 1998-08-17  H.J. Lu  <hjl@gnu.org>
4103         * libio/Versions (_IO_do_write, _IO_file_attach,
4104         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4105         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4106         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4107         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4109         * libio/fileops.c (_IO_do_write, _IO_file_attach,
4110         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4111         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4112         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4113         _IO_file_write, _IO_file_xsputn): Change the prefix to
4114         "_IO_new_". Added to GLIBC_2.1.
4116         * libio/libioP.h (_IO_do_write, _IO_file_attach,
4117         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4118         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4119         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4120         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4121         "_IO_new_".
4123         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4124         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4125         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4126         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4127         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4129 1998-08-23  Richard Henderson  <rth@cygnus.com>
4131         * Makeconfig (LDFLAGS): Remove.
4133         * csu/initfini.c: Return to .text before __gmon_start__.
4135         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4136         (STO_MIPS_*): Rename from STO_*.
4137         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4138         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
4140         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4141         (main): e3s is negative on zero.
4142         * math/atest-exp2.c: Likewise.
4143         * math/atest-sincos.c: Likewise.
4145 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4147         * Makerules (install): Add comment about absolute paths.
4149 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
4151         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4152         array to NUL to handle maxlen==1 case correctly.
4153         Patch by HJ Lu.
4155 1998-08-23  Richard Henderson  <rth@cygnus.com>
4157         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4158         * sysdeps/alpha/elf/crtend.S: Likewise.
4159         * sysdeps/alpha/elf/start.S: Likewise.
4161         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4162         non-standard pv usage.
4164         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4165         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4166         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4167         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4168         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4169         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4170         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4171         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4172         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4173         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4174         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4176         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4177         a finite non-denormal, deferring to the full IEEE version otherwise.
4179         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4180         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
4181         * sysdeps/alpha/fpu/s_floor.c: New.
4182         * sysdeps/alpha/fpu/s_floorf.c: New.
4183         * sysdeps/alpha/fpu/s_ceil.c: New.
4184         * sysdeps/alpha/fpu/s_ceilf.c: New.
4186 1998-08-22  Philip Blundell  <philb@gnu.org>
4188         * sysdeps/arm/bits/string.h: New file.
4190 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4192         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4193         document it.
4195         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4196         test for recent Linux 2.1.100+ headers.
4198 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4200         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4202 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
4204         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4206 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4208         * Makefile (elf/ldso_install): Put back.  The problem still persists.
4209         * elf/Makefile (ldso_install): Likewise.
4211 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4213         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4214         create weak alias.
4215         * include/db.h: Declare __nss_db_open.
4216         * db2/Versions: Export it.
4218         * db2/makedb.c: Convert to use db2 API.
4219         * nss/nss_db/db-XXX.c: Likewise.
4220         * nss/nss_db/db-netgrp.c: Likewise.
4221         * nss/nss_db/db-alias.c: Likewise.
4222         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4224 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4226         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4227         sys_setresuid, already built automatically (or not).
4228         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4229         instead of __syscall_setresuid and add back setresuid.
4230         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4231         __syscall_setresuid.
4233 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4235         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4237 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
4239         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4240         BASH-ONLY marked region.
4241         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4243 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
4245         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4246         _IO_SYSSEEK fails.
4248         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4250         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
4251         element.
4253 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
4255         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4256         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4257         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4258         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4259         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4260         those magic comments, and to use /bin/sh for @BASH@.
4261         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4262         * elf/ldd.sh.in: File removed.
4264 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
4266         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4267         cast them to unsigned long int.
4268         * pwd/putpwent.c (putpwent): Likewise.
4269         Patch by John Tobey <jtobey@banta-im.com>.
4271 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
4273         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4274         _IO_pos_BAD.
4276 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
4278         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4279         _IO_SYSSEEK fails.
4281 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
4283         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4284         Add umount and umount2.
4285         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4286         * sysdeps/unix/sysv/linux/umount.S: New file.
4287         * sysdeps/unix/sysv/linux/umount2.S: New file.
4288         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4289         Define MNT_FORCE.
4291         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4292         Add sys/sendfile.h.
4293         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4294         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4296         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4299         sendfile.
4301 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
4303         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
4304         * elf/ldd.bash.in: Likewise.
4306         * elf/sln.c: Avoid warning for no main prototype.
4308         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
4309         O_WRITE.
4310         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4313         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
4314         F_GETSIG.
4315         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4316         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4319 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
4321         * sysdeps/arm/fpu/ieee754.h: Move to...
4322         * sysdeps/arm/ieee754.h: ... here.
4324         * sysdeps/arm/__longjmp.S: Put return value in correct register.
4325         Don't set the condition flags unnecessarily.
4326         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
4327         registers correctly.
4329         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
4330         (patch from Scott Bambrough).
4332         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
4334         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
4335         NULL, just call it unconditionally.
4336         (__gmon_start__): Provide stub version as a weak symbol.
4338 1998-07-30  Philip Blundell  <philb@gnu.org>
4340         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
4341         by Scott Bambrough)
4343         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
4344         like `@' in .type directives.
4346         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
4347         * sysdeps/arm/bsd-_setjmp.S: Likewise.
4349         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
4351 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4353         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
4354         (F_GETOWN): Likewise.
4356         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
4357         Linux 2.1.117).
4359 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
4361         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4362         already defined.
4364 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
4366         * include/features.h: Define __USE_EXTERN_INLINES for recent
4367         enough gcc.
4368         * argp/argp.h: Define extern inline functions only if
4369         __USE_EXTERN_INLINES is defined.
4370         * libio/stdio.h: Likewise.
4371         * math/math.h: Likewise.
4372         * stdlib/stdlib.h: Likewise.
4373         * string/argz.h: Likewise.
4374         * sysdeps/generic/bits/sigset.h: Likewise.
4375         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4376         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4377         * sysdeps/wordsize-32/inttypes.h: Likewise.
4378         * sysdeps/wordsize-64/inttypes.h: Likewise.
4379         * wcsmbs/wchar.h: Likewise.
4381         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
4382         to allow compilation without optimization.
4384 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4386         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
4387         more entries.
4388         * nis/nss_compat/compat-initgroups.c: Likewise.
4389         * nis/nss_compat/compat-pwd.c: Likewise.
4390         * nis/nss_compat/compat-spwd.c: Likewise.
4391         * nis/nss_nis/nis-alias.c: Likewise.
4392         * nis/nss_nis/nis-ethers.c: Likewise.
4393         * nis/nss_nis/nis-grp.c: Likewise.
4394         * nis/nss_nis/nis-hosts.c: Likewise.
4395         * nis/nss_nis/nis-initgroups.c: Likewise.
4396         * nis/nss_nis/nis-network.c: Likewise.
4397         * nis/nss_nis/nis-proto.c: Likewise.
4398         * nis/nss_nis/nis-pwd.c: Likewise.
4399         * nis/nss_nis/nis-rpc.c: Likewise.
4400         * nis/nss_nis/nis-service.c: Likewise.
4401         * nis/nss_nis/nis-spwd.c: Likewise.
4403         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
4405         * nis/ypclnt.c: Try binding dir only first time, could be to old.
4407         * nis/yp_xdr.c: Remove 1024 byte limit.
4408         * nis/ypupdate_xdr.c: Likewise.
4410         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
4411         wrong data.
4413 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
4415         * Rules (binaries-static, binaries-shared static pattern rules):
4416         Depend on lib%, not just libc%, from $(link-libc{,-static}).
4418         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4419         this here, overriding Makeconfig generic value so we link against
4420         the RPC libs.
4422 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
4424         * posix/tstgetopt.c (options): Add NULL entry at end
4425         Patch by Adrian Miranda <ade@psg.com>.
4427 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
4429         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
4430         to 9.
4432 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
4434         * elf/elf.h: Add PPC Diab relocations.
4436         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4438 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
4440         * manual/texinfo.tex: Update.
4442 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
4444         * sysdeps/powerpc/backtrace.c: New file.
4446 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
4448         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4449         sigjmp_save.
4450         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4452 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4454         * Makefile (install-symbolic-link): Fix spelling.
4456 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4458         * elf/elf.h (SHT_HIOS): Fix value.
4460 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4462         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4463         part of the expansion, this is undefined by the standard.
4465 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
4467         * posix/getconf.c: Add support for systems with incomplete confname.h.
4469         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4471         * sysdeps/posix/wait3.c: Make it work.
4473 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4475         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4476         (elf/ldso_install): Remove.
4478         * elf/Makefile (distribute): Add sln.c.
4479         (others): Add sln.
4480         (others-static): Add sln.
4481         (install-rootsbin): Add sln.
4482         (others-static): Add sln.
4483         (ldso_install): Remove.
4485 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4487         * Makerules (install-clean-symbolic-link-list): Make phony.
4488         * Makefile (install-symbolic-link): Make phony.  Depend on
4489         subdir_install for parallel makes.
4492 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
4494         * elf/Makefile (distribute): Add sln.c
4496 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
4498         * elf/sln.c: New file.
4500         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4501         (install-clean-symbolic-link-list): New target.
4502         (install): Depend on install-clean-symbolic-link-list.
4503         (make-shlib-link): Changed for $(symbolic-link-list).
4505         * Makefile (install-symbolic-link): New target.
4506         (install): Depend on install-symbolic-link.
4508 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
4510         * include/unistd.h: Protect against multiple inclusion.
4512         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4513         is defined, not is glob is defined.
4514         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4516 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
4518         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4519         xdr_string for ut_line, ut_name and ut_host.
4521 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4523         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4524         /var/mail in accordance with FHS 2.0.
4525         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4527 1998-08-12  Richard Henderson  <rth@cygnus.com>
4529         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4530         Update aliases for cancelation.
4532         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4533         playing with symbol versions.
4535 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4537         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4538         multiple inclusion protection.
4539         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4540         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4541         define all these to 1.
4542         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4544 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4546         * sysdeps/mach/usleep.c: Include <unistd.h>.
4547         (usleep): Return void.
4549 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4551         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4552         decl to inhibit warning in if_freenameindex defn.
4554         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4556         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4558         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4559         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4560         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4561         * sysdeps/mach/usleep.c: Likewise.
4563         * sysdeps/mach/hurd/bind.c (bind): Add a const.
4565         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4566         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4567         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4568         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4569         * sysdeps/mach/usleep.c (usleep): Likewise.
4570         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4571         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4572         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4573         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4575 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4577         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4578         (glob64): Fix typo.
4580         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4581         %p arg to fprintf, since `void *' is the right type already.
4583 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
4585         * sysdeps/mach/hurd/getcwd.c
4586         (_hurd_canonicalize_directory_name_internal): Do not loop forever
4587         for unknown root directories.
4588         (__getcwd): Return NULL when the current root directory could not
4589         be reached.
4591 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
4593         * string/strsignal.c (strsignal): Count real-time signals from zero.
4596 See ChangeLog.8 for earlier changes.