Update.
[glibc.git] / ChangeLog
blobf241c1fa6cea3fbaaf59f16a046505411e523d3b
1 1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>
3         * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
4         correctly.
6 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
8         * misc/error.c: Undo last change.
10         * ctype/Versions: Add _tolower and _toupper.
12 1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
14         * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
15         POLLNVAL.
17 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
19         * Makeconfig: Add comment to all-subdirs definition.
20         Add rule to generate sysd-sorted.  Include this file and and set
21         subdirs value to $(sorted-subdirs).
22         * scripts/gen-sorted.awk: New file.
23         * Make-dist (+tsrcs): Add Depend.
24         * nscd/Depend: New file.
25         * nss/Depend: New file.
26         * rt/Depend: New file.
28 1998-11-18  Ulrich Drepper  <drepper@cygnus.com>
30         * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
31         passed file descriptor exceeds the size determined by
32         getdtablesize.
34         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
35         from inline version in bits/socket.h.
37         * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
38         inline function only is __USE_EXTERN_INLINES is defined.
40         * time/strftime.c (my_strftime): Make code a bit clearer.
41         Patch by Paul Eggert <eggert@twinsun.com>.
43         * io/Makefile (CFLAGS-ftw.c): Removed.
45         * manual/errno.texi: Change the short text for ENODEV to
46         "No such device".
48 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
50         * io/Makefile (tests): Make sure that the test program has an
51         explicit directory part.
53 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
55         * configure.in: Fix last change.
57 1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
59         * sunrpc/Makefile (routines): Add create_xid.
61         * sunrpc/clnt_tcp.c: Use non-guessable xid.
62         * sunrpc/clnt_udp.c: Likewise.
63         * sunrpc/clnt_unix.c: Likewise.
64         * sunrpc/pmap_rmt.c: Likewise.
65         * sunrpc/create_xid.c: New, create non-guessable xid.
67         * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
68         of select.
69         * sunrpc/svc_unix.c: Use poll instead of select.
71 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
73         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
74         by removing SIG_IGN handler for SIGCHLD if necessary.
75         Patch by H.J. Lu <hjl@lucon.org>.
77         * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
78         of denormalized numbers.
80 1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>
82         * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
83         another parentheses warning, make nano-optimisation.
85         * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
86         saved LR on stack so _mcount works.
87         (_dl_prof_resolve): Likewise.
88         * sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
89         signal handler calling convention.
90         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
91         correct signal handler calling convention---more like x86 linux and
92         mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
94 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
96         * configure.in: Correct allowed makeinfo version.
98 1998-11-17  Philip Blundell  <pb@nexus.co.uk>
100         * sysdeps/generic/bits/mathdef.h: Fix typo.
102 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
104         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
105         under the right name (squish warning).
106         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
108 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
110         * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
111         prevent warnings.
113 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
115         * intl/locale.alias: Change `japanese' alias to match X11R6's.
116         Add `japanese.euc' alias.
118         * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
119         before running makeinfo.
121         * math/Makefile (libm-routines): $(strip) entire value.
123         * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
125 1998-10-24  H.J. Lu  <hjl@gnu.org>
127         * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
128         (_IO_cookie_file): Likewise.
130 1998-11-16  Philip Blundell  <philb@gnu.org>
132         * inet/netinet/icmp6.h: Correct naming of constants.
134 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
136         * sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
137         zero value as uninitialized so that variable can go into .bss.
139         * dirent/opendir-tst1.c: Print error strings to stdout.
141         * sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
142         * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
143         * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
144         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
145         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
147 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
149         * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
150         range.
152 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
154         * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
155         (fwrite_unlocked): Likewise.
157 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
159         * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
160         twice.  Don't bother handling zero size.
161         (fwrite_unlocked): Likewise.
163 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
165         * configure.in: Fix regex for makeinfo version string.
167 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
169         * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
170         warning.
171         * sunrpc/rpc_svcout.c (write_program): Likewise.
173 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
175         * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
177 1998-11-16  Ulrich Drepper  <drepper@cygnus.com
179         * misc/sys/mman.h: Pretty print prototypes.
181 1998-11-15  Ulrich Drepper  <drepper@cygnus.com
183         * misc/error.c (error): Don't use result of strerror_r call directly
184         since at least DEC Unix has a wrong return type.
185         Patch by Johan Danielsson <joda@pdc.kth.se>.
187 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
189         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
190         last change.
192 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
194         * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
195         format, just stop.
197         * version.h (VERSION): Bump to 2.0.102.
199         * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
200         change.
201         * stdio-common/scanf7.c (main): Likewise.
203 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
205         * stdio-common/vfscanf.c: Return EOF for invalid format
206         characters.
208         * version.h (VERSION): Bump to 2.0.101.
210         * Makerules (Versions.all): Generate this file from all Versions.def
211         files.
212         (sysd-versions): Use Versions.all instead of Versions.def.
214 1998-11-13  Philip Blundell  <philb@gnu.org>
216         * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
217         Reported by Scott Bambrough.
219 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
221         * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
223 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
225         * libio/bits/stdio.h: Correct and improve fread_unlocked and
226         fwrite_unlocked optimizations.
228         * time/tzfile.c (__tzfile_read): Set __tzname based on last names
229         in time not to last entries in the file.
230         (__tzfile_compute): Likewise.  Fix for PR libc/863.
232         * timezone/Makefile: Generate GB timezone data for test.
233         * timezone/tst-timezone.c: More tests for DST switching time (disabled
234         for now).
236 1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
238         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
239         d0 from clobber list.
241 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
243         * inet/netinet/in.h: Add a few more IPPROTO_* macros.
245         * libio/Makefile (headers): Add bits/stdio.h.
246         * libio/iofread_u.c: Undefine fread_unlocked before definition.
247         * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
248         * libio/stdio.h: Move optimizations into ...
249         * libio/bits/stdio.h: ...here.  New file.
251         * libio/iofread.c: Pretty print.
253 1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>
255         * sysdeps/gnu/bits/utmpx.h: Protect members of struct
256         __exit_status with `__'.  Rename pad member of struct utmpx to
257         __unused.
258         (RUN_LVL): Define unconditionally.
259         * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
260         __unused.
262 1998-11-12  Philip Blundell  <philb@gnu.org>
264         * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
265         Linux AF_NETLINK sockets (needed since the kernel version is
266         unusable).
267         * sysdeps/unix/sysv/linux/Makefile: Install it.
268         * sysdeps/unix/sysv/linux/Dist: Distribute it.
270 1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
272         * timezone/tst-timezone.c (tests): Add entry for America/Chicago
273         to test for bug in PR libc/863.
275 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
277         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
279         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
280         parameter lazy to do_lazy to avoid clashing with struct member name.
281         Reported by Ralf Baechle <ralf@uni-koblenz.de>.
283 1998-11-10  H.J. Lu  <hjl@gnu.org>
285         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
286         if it is defined in <linux/limits.h>.
288 1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
290         * include/protocols/routed.h: Include the real header with
291         a full path from the top of the source tree.
292         * include/protocols/rwhod.h: Likewise.
293         * include/protocols/talkd.h: Likewise.
294         * include/protocols/timed.h: Likewise.
296         * timezone/Makefile: Don't include z.ZONE files if no_deps
297         is set, not if avoid-generated is set.
299 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
301         * signal/signal.h: Undo last change.  Get definition of timespec
302         if __USE_POSIX199309.
304         * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
305         size_t to prevent gcc warning when using -Wqual-cast.
306         (__strpbrk_c3): Likewise.
307         Suggested by Alan Curry <pacman@cqc.com>.
309 1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>
311         * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
312         unblocked signals are set in the startup masks.
314         * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
315         INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
317         * hurd/hurd/signal.h: Update _hurdsig_init decl.
318         * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
319         INTARRAYSIZE, pass them down to _hurdsig_init.
320         * hurd/hurd.h: Update _hurd_proc_init decl.
322 1998-11-10  Ulrich Drepper  <drepper@cygnus.com>
324         * math/cabs.c: Replace complex by _Complex.
325         * math/cabsf.c: Likewise.
326         * math/cabsl.c: Likewise.
327         * math/cimag.c: Likewise.
328         * math/cimagf.c: Likewise.
329         * math/cimagl.c: Likewise.
330         * math/conj.c: Likewise.
331         * math/conjf.c: Likewise.
332         * math/conjl.c: Likewise.
333         * math/creal.c: Likewise.
334         * math/crealf.c: Likewise.
335         * math/creall.c: Likewise.
337         * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
338         included from math.h and __USE_ISOC9X is defined.
339         * sysdeps/generic/bits/mathdef.h: Likewise.
340         * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
341         * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
342         * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
343         * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
345 1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
347         * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
348         <complex.h>.
349         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
350         * sysdeps/generic/bits/mathdef.h: Likewise.
351         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
352         * sysdeps/powerpc/bits/mathdef.h: Likewise.
353         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
355 1998-11-09  Ulrich Drepper  <drepper@cygnus.com>
357         * extra-lib.mk: Fix typo in last change.
359         * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
360         is needed.
361         Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
362         Don't define `complex' but instead `_Complex'.  The later is the
363         reserved keyword.
364         * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
365         not complex.
367 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
369         * manual/libc.texinfo: Remove colon from category name.
370         * manual/Makefile (dir-add.info): Likewise.
372 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
374         * configure.in: Avoid autoconf bug.
376 1998-10-28  H.J. Lu  <hjl@gnu.org>
378         * posix/getopt.h: Add "__" to arguments in prototypes.
380 1998-11-05  H.J. Lu  <hjl@gnu.org>
382         * libio/iofgets.c (_IO_fgets): Don't report error
383         if something was read in and errno is set to
384         EAGAIN.
385         * libio/iofgets_u.c (fgets_unlocked): Likewise.
387 1998-11-05  Philip Blundell  <philb@gnu.org>
389         * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
390         header; it defines too much.  Provide a local definition of struct
391         sockaddr_pkt and a comment advising against its use.
393 1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
395         * extra-lib.mk: Avoid empty include list.
397 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
399         * extra-lib.mk: Add support for $(lib)-shared-only-routines.
401         * elf/Makefile (libdl-routines): Add dlopenold only if doing
402         versioning.
403         (libdl-shared-only-routines): New variable.
405 1998-11-06  Paul Eggert  <eggert@twinsun.com>
407         Don't invoke localtime_r or gmtime_r unless it's the GNU C
408         library's localtime_r and gmtime_r; there are too many buggy
409         implementations of localtime_r and gmtime_r out there, and
410         it's not worth keeping track of all the different bugs.
412         * time/mktime.c (__EXTENSIONS__): Remove.
413         (<unistd.h>): No need to include.
414         * time/strftime.c: Likewise.
416         * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
417         Remove.
418         (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
419         Base it on localtime unless _LIBC.
421         * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
422         all uses changed.
423         (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
424         Base them on localtime/gmtime if not _LIBC.
426 1998-11-07  Ulrich Drepper  <drepper@cygnus.com>
428         * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
429         file descriptor.  This makes this function actually usable.
430         Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
432 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
434         * math/math.h: Unconditionally include bits/mathdef.h.  Declare
435         long double functions only if __NO_LONG_DOUBLE_MATH is not
436         defined.
437         * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
438         Define __NO_LONG_DOUBLE_MATH.
439         * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
440         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
442         * elf/rtld.c: Add a few __builtin_expects where they will improve
443         a lot.
445 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
447         * version.h (VERSION): Bump to 2.0.100.
449         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
451         * sysdeps/libm-i387/s_fma.S: Optimize a bit.
452         * sysdeps/libm-i387/s_fmaf.S: Likewise.
454 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
456         * libio/genops.c (_IO_least_marker): Add additional parameter
457         end_p replacing fp->_IO_read_end.
458         (save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
459         and _IO_ssize_t instead of int.
460         (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
461         (_IO_switch_to_backup_area): Likewise.  Fix comments.
462         (_IO_seekmark): Undo last change.
463         (_IO_default_pbackfail): Correct use of backup area.
464         * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
466 1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
468         * configure.in: Search for install-info and substitute it.
469         Determine whether install-info is the buggy Debian version
470         that doesn't understand INFO-DIR-SECTION.
471         * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
472         to be substituted.
473         * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
474         install-info the --section argument it needs to work properly.
475         (dir-add.texinfo): Delete target.
476         (dir-add.info): Generate this directly.  Sort entries.  Put a
477         colon at the end of the INFO-DIR-SECTION line.
478         * manual/libc.texinfo: Put a colon at the end of the
479         @dircategory line.
481 1998-11-05  Paul Eggert  <eggert@twinsun.com>
483         * time/mktime.c (__mktime_internal): Adopt the traditional (and
484         problematic) notion of what to do when tm_isdst doesn't match.
486 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
488         * posix/PTESTS: Fix spelling.
490 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
492         * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
493         functions.  Reduce error in computing normalized value by multiplying
494         factor in loop and compute result in one step.
495         Reported by Christian Gafton.
497         * sysdeps/libm-i387/e_hypot.S: New file.
498         * sysdeps/libm-i387/e_hypotf.S: New file.
500 1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
502         * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
504 1998-11-03  H.J. Lu  <hjl@gnu.org>
506         * libio/fileops.c (new_do_write): New function.
507         (_IO_new_do_write): Call new_do_write.
508         (_IO_new_file_xsputn): Likewise.
510         * libio/oldfileops.c (old_do_write): New function.
511         (_IO_old_do_write): Call old_do_write.
512         (_IO_old_file_xsputn): Likewise.
514 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
516         * time/mktime.c (__mktime_internal): Correct last change.  We must
517         stop searching for the right isdst value before stepping to the
518         initial value.
520         * malloc/malloc.c: Make sure calloc really returned zeroed memory.
521         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
523 1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
525         * sysdeps/generic/bits/signum.h: Define signals with their
526         historical numbers when those are in the 1-15 range and
527         consistent across platforms.
528         Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
529         Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
530         appropriately instead of with fake function declarations
531         (would cause link errors).
532         If __USE_UNIX98, define SIG_HOLD.
534 1998-10-29  H.J. Lu  <hjl@gnu.org>
536         * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
537         union only if __USE_POSIX199309 is defined.
539         * misc/sys/select.h (pselect): Declared only if __USE_GNU is
540         defined.
542 1998-11-03  Ulrich Drepper  <drepper@cygnus.com>
544         * time/mktime.c (__mktime_internal): Handle broken down times
545         around the time of the DST switches more correctly.
547 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
549         * elf/Makefile (libdl-routines): Add dlopenold.
550         * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
551         * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
552         is set and bounce otherwise.
553         * elf/dlopen.c: Rename function to __dlopen_check and make version
554         named dlopen.
555         * elf/dlopenold.c: New file.
557 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
559         * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
560         * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
561         * elf/dl-deps.c: ...here.
562         * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
563         new parameter and expect result.  Remove code handling RTLD_GLOBAL.
564         Add return value of _dl_map_object_deps to
565         _dl_main_searchlist->r_nlist.
566         * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
567         If we parameter GLOBAL is nonzero add object and dependencies to
568         the global scope.
569         * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
570         * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
571         Mark all objects as in global scope.
572         * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
574         * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
577         used in macro magic.
579 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
581         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
582         before <sys/socket.h> to make sockaddr_at available to
583         <sys/socket.h>.
585         * posix/glob.h: Remove __P from parameter lists of declarations.
587 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
589         * time/tzset.c (tz_compute): Remove unused parameter timer.
590         Change caller.
592 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
594         * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
596 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
598         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
599         unnecessary test and add cast.
601 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
603         * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
605         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
606         parameter fd.
607         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
609 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
611         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
612         fds_bits member.
613         (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
615 1998-10-31  Richard Henderson  <rth@cygnus.com>
617         * math/Makefile (gmp-objs): Add udiv_qrnnd.
619         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
620         (inline_syscall*): New.
621         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
622         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
624 1998-10-31  Ulrich Drepper  <drepper@cygnus.com>
626         * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
627         avoid ld test generating an unwanted file.
629         * posix/PTESTS: Remove comment about incorrect test (it is correct).
631 1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
633         * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
634         * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
635         * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
636         * sunrpc/rpc/xdr.h: Add INT32 support.
637         * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
639         * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
640         * nis/nis_callback.c: Likewise.
641         * nis/nis_creategroup.c: Likewise.
642         * nis/nis_defaults.c: Likewise.
643         * nis/nis_intern.h: Likewise.
644         * nis/nis_lookup.c: Likewise.
645         * nis/nis_ping.c: Likewise.
646         * nis/nis_print.c: Likewise.
647         * nis/nis_table.c: Likewise.
648         * nis/nis_util.c: Likewise.
649         * nis/nis_xdr.c: Likewise.
650         * nis/rpcsvc/nis.h: Likewise.
651         * nis/rpcsvc/nis.x: Likewise.
652         * nis/rpcsvc/nis_callback.h: Likewise.
653         * nis/rpcsvc/nis_object.x: Likewise.
654         * nis/rpcsvc/nislib.h: Likewise.
656         * nis/rpcsvc/yp.h: Remove casts to (u_long).
657         * nis/rpcsvc/yp_prot.h: Likewise.
658         * nis/rpcsvc/ypupd.h: Likewise.
659         * nis/ypclnt.c: Change %ld to %d in sprintf.
661 1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
663         * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
665 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
667         * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
668         0, __fd_mask is usually not a char.
670 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
672         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
673         compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
674         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
675         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
676         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
677         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
678         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
679         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
681         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
682         compiling on systems without rt_sigaction syscall.
683         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
684         Likewise.
686 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
688         * time/strptime.c (HERE_D_FMT): Fix typo.
689         Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
691 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
693         * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
694         (generate): Add test1.cat and test1.h.
695         (distribute): Add test1.msg.
696         * catgets/test1.msg: New file.
698         * catgets/gencat.c: Do a better job in initializing dynamic
699         memory [PR libc/844].
701 1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>
703         * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
704         internal_function since it is called through a pointer.
705         * iconv/gconv_db.c (free_derivation): Likewise.
706         * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
708         * posix/wordexp.c: Add internal_function to parse_backtick definition.
709         * rt/aio_misc.c: Add internal_function to __aio_free_request,
710         __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
711         definitions.
712         * rt/aio_notify.c: Add internal_function to __aio_notify_only and
713         __aio_notify definitions.
714         * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
716 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
718         * Makerules (build-shlib): Add -O to generate optimized shared
719         objects.
721 1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>
723         * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
724         * sysdeps/libm-i387/e_fmodf.S: Likewise.
725         * sysdeps/libm-i387/e_fmodl.S: Likewise.
726         * sysdeps/libm-i387/s_ilogb.S: Likewise.
727         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
728         * sysdeps/libm-i387/s_logb.S: Likewise.
729         * sysdeps/libm-i387/s_logbf.S: Likewise.
730         * sysdeps/libm-i387/s_remquo.S: Likewise.
731         * sysdeps/libm-i387/s_remquof.S: Likewise.
732         * sysdeps/libm-i387/s_remquol.S: Likewise.
733         * sysdeps/libm-i387/s_significand.S: Likewise.
734         * sysdeps/libm-i387/s_significandf.S: Likewise.
736 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
738         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
739         _llseek.
741 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
743         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
745 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
747         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
748         returns without cleaning up the lock.
749         (printf_unknown): Add label all_done.
751         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
752         kernels in mind when reading /proc/self/fd/FD.
753         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
755         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
757         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
758         _fitoa.
760         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
761         /prof/self/fd/FD first.
762         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
764         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
765         formatted number starting at given position and return pointer to
766         following byte.
767         (_fitoa): Likewise, for long long.
769 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
771         * sysdeps/unix/sysv/linux/bits/sem.h,
772         sysdeps/unix/sysv/linux/bits/ipc.h,
773         sysdeps/unix/sysv/linux/bits/shm.h,
774         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
775         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
776         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
777         so the same bits will be used for the Hurd.
779 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
781         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
782         compiling on systems without rt_sigaction syscall.
784 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
786         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
787         directories as well as add them.
789 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
791         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
792         AF_ECONET sockets as found in recent Linux 2.1 kernels.
793         * sysdeps/unix/sysv/linux/Dist: Distribute it.
794         * sysdeps/unix/sysv/linux/Makefile: Install it.
796 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
798         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
800 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
802         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
803         fds_bits member.
804         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
805         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
806         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
807         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
808         Likewise.
809         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
810         Likewise.
811         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
812         __FD_ISSET): Use it.
813         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
814         __FD_ISSET): Likewise.
816 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
818         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
819         llseek.
821         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
822         Instead call the system call wrapper function using an 64bit argument.
823         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
824         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
825         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
827 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
829         * signal/signal.h: Don't include <time.h> for timespec, add
830         forward declaration.
832         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
833         of __FD_* macros which use __fds_bits.
834         * sysdeps/generic/bits/select.h: Likewise.
835         Reported by Matt McLean <keys@yikes.com>.
837 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
839         * elf/elf.h: Update ARM definitions.
841 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
843         * signal/signal.h: Include bits/sigthread.h only for Unix98.
845 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
847         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
848         define __builtin_expect as a macro substituting to the first
849         argument.
850         * config.h.in: Define HAVE_BUILTIN_EXPECT.
851         * configure.in: Add test for __builtin_expect.
853         * sysdeps/unix/sysv/linux/bits/types.h: Include
854         bits/pthreadtypes.h only not for POSIX 199506.
855         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
856         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
857         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
859 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
861         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
862         * socket/Versions [libc, GLIBC_2.0]: ... to here.
864 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
866         * include/stdio.h: Included <stddef.h> for size_t.
868         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
869         to ...
870         * include/stdio.h: ...here.
871         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
873 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
875         * time/Makefile (tests): Add tst-posixtz.
876         * time/tst-posixtz.c: New file.
878 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
880         * elf/rtld.c (process_envvars): Accept any non-null value of
881         LD_BIND_NOW, as mandated by the ABI.
883 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
885         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
886         __syscall_pread.
887         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
888         __syscall_pwrite.
889         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
890         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
891         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
892         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
893         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
894         duplicate entries.
895         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
896         s_pread64 and s_pwrite64.
897         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
899 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
901         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
902         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
903         to __syscall__llseek.
904         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
905         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
906         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
907         __sys_llseek.
909 1998-10-26  Cristian Gafton  <gafton@redhat.com>
911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
912         and s_setfsuid.
914 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
916         * time/tzset.c (tz_compute): Correct last patch and describe this
917         in a comment.
919 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
921         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
922         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
923         rt_sigaction and rt_sigpending.
924         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
925         for __syscall_* functions.
926         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
928 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
930         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
931         _hurd_dtable_lock, _hurd_intern_fd.
933         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
934         cthread_getspecific, cthread_setspecific, __libc_getspecific.
936         * mach/Versions: Fix typo in last change.
938 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
940         * time/tzset.c (tz_compute): If time to switch to DST is later in
941         the year switch back in the next year.
942         Reported by jwitford@hutch.com.au.
944 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
946         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
947         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
948         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
949         __mach_port_allocate, __mach_port_allocate_name,
950         __mach_port_insert_right __mutex_trylock, __mutex_lock,
951         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
952         __task_set_special_port, __task_terminate, __thread_depress_abort,
953         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
954         functions are not used outside libc.
956         * sysdeps/mach/hurd/Versions: New file.
957         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
958         _cthread_init_routine.  These are set by the Hurd cthreads library.
959         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
960         the dynamic linker will not be replaced by the corresponding shared
961         library routines once they are loaded.
963 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
965         * sysdeps/mach/hurd/i386/init-first.c: Only define
966         __libc_enable_secure if PIC is not defined.
968 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
970         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
971         to recurse into argp.
973 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
975         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
976         greater or equal than 199506L.
978         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
979         only is __USE_XOPEN.  Otherwise use __fds_bits.
980         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
981         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
982         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
983         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
984         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
986 1998-10-24  H.J. Lu  <hjl@gnu.org>
988         * locale/programs/charmap.c (parse_charmap): Accept tok_string
989         for <code_set_name>.
991 1998-10-25  H.J. Lu  <hjl@gnu.org>
993         * locale/programs/ld-ctype.c (ctype_finish): Also check
994         <space>.
996 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
998         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1000         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1001         if __USE_POSIX199506 or __USE_UNIX98.
1003 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1005         * string/bits/string2.h: Inline strdup+friends only if
1006         __USE_MISC || __USE_GNU (prevents namespace pollution).
1008 1998-10-24  H.J. Lu  <hjl@gnu.org>
1010         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1011         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1012         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1013         LOCK_NB, LOCK_UN): Likewise.
1014         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1015         LOCK_NB, LOCK_UN): Likewise.
1016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1017         LOCK_NB, LOCK_UN): Likewise.
1018         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1019         LOCK_NB, LOCK_UN): Likewise.
1021 1998-10-24  H.J. Lu  <hjl@gnu.org>
1023         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1025         * libio/rewind.c (rewind): Clear the error.
1027 1998-10-24  H.J. Lu  <hjl@gnu.org>
1029         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1030         "buffer".
1032 1998-10-24  H.J. Lu  <hjl@gnu.org>
1034         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1035         with __need_timeval.
1036         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1037         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1039 1998-10-24  H.J. Lu  <hjl@gnu.org>
1041         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1042         sigqueue): Protect with __USE_POSIX199309.
1044 1998-10-24  H.J. Lu  <hjl@gnu.org>
1046         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1047         __USE_POSIX.
1049 1998-10-24  H.J. Lu  <hjl@gnu.org>
1051         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1052         the kernel file offset.
1053         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1055 1998-10-24  H.J. Lu  <hjl@gnu.org>
1057         * time/tzfile.c (__tzfile_default): Set num_types to 2.
1059 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1061         * rt/aio.h: Move __aio_init to...
1062         * include/aio.h: ...here.
1064 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1066         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1067         definition of O_LARGEFILE.
1069 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1071         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1072         as first argument to statfs.
1074 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1076         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1078 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1080         * malloc/mtrace.c: Include <string.h> for strlen.
1082 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1084         * sysdeps/mach/hurd/bits/environments.h: New file.
1086         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1088         * mach/Versions, hurd/Versions: Add numerous symbols.
1089         Remove libmachuser and libhurduser sections, punt
1090         versioning for those libraries for now.
1092         * misc/Versions: Add reboot here; it exists on all platforms.
1093         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1095 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1097         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1098         macro.
1099         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1101         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1102         O_NOFOLLOW, O_DIRECT): New macros.
1103         (O_DIRECTORY): Correct definition according to official 2.1.126.
1104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1105         O_NOFOLLOW): New macros.
1107 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1109         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1111         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1112         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1114 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1116         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1117         setfsuid.c, and setfsgid.c.
1118         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1119         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1120         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1122         * version.h (VERSION): Bump to 2.0.99.
1124         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1125         ustat definition.
1127         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1128         s_pwrite64.c.
1130         * posix/fnmath.h: Don't redefine __P when used in glibc.
1131         * posix/glob.h: Likewise.
1133         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1134         Patch by Dick Streefland <dick_streefland@tasking.com>.
1136         * stdio-common/tst-ungetc.c: Add more test cases.
1138         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1139         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1140         definitions to ...
1141         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
1142         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1143         * sysdeps/unix/sysv/linux/pathconf.c: New file.
1144         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1145         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1147 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
1149         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1150         <asm/ptrace.h> to define struct pt_regs.
1151         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1152         including <asm/ptrace.h> here.
1154         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1155         C_SYMBOL_NAME macro.
1157 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1159         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1160         end of enumerator list.
1161         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1162         * posix/wordexp.h: Likewise.
1164         * db/db.h: Use __PMT instead of __P in typedefs.
1165         * db/mpool.h: Likewise.
1166         * sysdeps/generic/bits/siginfo.h: Likewise.
1167         * nis/rpcsvc/ypclnt.h: Likewise.
1169 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1171         * libio/genops.c (_IO_seekmark): When switching to backup buffer
1172         make sure all characters from the read buffer are read after
1173         switching back to it.
1175 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1177         * configure.in: Add support for Cygnus GNUPro compilers.
1179 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1181         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1183         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1184         of __P for sa_restorer.
1185         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1186         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1187         kernel_sigaction, old_kernel_sigaction): Likewise.
1189 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1191         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1192         and __syscall_pwrite aliases.
1194         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
1196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1197         improve INLINE_SYSCALL using macro assembler magic.
1199 1998-10-22  H.J. Lu  <hjl@gnu.org>
1201         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1202         sanity check for n.
1203         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1205         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1206         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
1208         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
1209         by VSX-PCT.
1211         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
1213 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
1215         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1216         __ASSEMBLER__.
1218 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
1220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1221         and adjust formats.
1223 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
1225         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
1226         __syscall_* function.
1227         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1228         of calling __syscall_* function.
1229         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1230         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1231         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1232         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1233         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1234         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1235         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1236         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1237         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1238         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1239         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1240         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1241         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1242         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1243         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1244         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1245         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1246         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1247         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1248         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1249         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1250         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1251         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1252         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1253         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1254         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1255         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1256         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1257         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1258         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1259         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1260         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1261         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1262         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1263         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1264         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1265         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1266         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1267         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1268         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1269         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1270         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1273         inline assembler.
1274         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1275         __syscall_* definitions.
1277         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1278         definitions to...
1279         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1280         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1281         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1282         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1283         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1284         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1285         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1287         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1288         Move definition to...
1289         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1290         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1291         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1292         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1293         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1294         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1295         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1297         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1298         (sysdep_routines): Remove s_pread64 and s_pwrite64.
1300         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1301         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1302         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1303         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1304         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1305         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1307 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1309         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1310         and bring them in synch.
1311         * sysdeps/unix/siglist.c: Likewise.
1312         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1314 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1316         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1317         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1319         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1320         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1321         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1322         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1323         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1324         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1325         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1326         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1327         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1328         s_setregid.
1329         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1330         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1331         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1333 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1335         * sunrpc/rpc_main.c (close_output, close_input): New functions.
1336         (c_output, h_output, s_output, l_output, t_output, svc_output,
1337         clnt_output, mkfile_output): Call them at the end.
1339 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1341         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1342         link command.
1344 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1346         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1347         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1349 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
1351         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1352         s_pwrite64.
1353         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1354         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1355         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1356         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1357         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1359 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1361         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1362         O_DIRECTORY.
1364 1998-10-20  H.J. Lu  <hjl@gnu.org>
1366         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1367         argument types.
1369 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1371         * math/tgmath.h: Make nested function calls work.
1373         * include/ldsodefs.h: Fix typo.
1375         * posix/Makefile (tests): Add tst-preadwrite.
1376         * posix/tst-preadwrite.c: New file.
1378         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1379         sure that descriptor is in any case for a directory.
1381 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1383         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1384         (atan2): Takes two arguments.
1386 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1388         * include/ldsodefs.h: New file.
1390         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1391         Remove change to avoid using _CALL_DL_FCT.
1392         * iconv/gconv_db.c: Likewise.
1393         * iconv/gconv_dl.c: Likewise.
1394         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1395         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1396         * nss/nsswitch.c: Likewise.
1397         * nss/nsswitch.h: Likewise.
1399 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1401         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1402         required libraries.
1403         * login/Makefile (otherlibs): Likewise.
1404         * nscd/Makefile (otherlibs): Likewise.
1405         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1407         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1409         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1411 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1413         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1414         and setfsuid.
1416 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1418         * nscd/connections.c: Fix typos in comments and strings.
1420         * nscd/nscd.conf: Update according to recent changes to nscd.
1422         * nscd/cache.c (prune_cache): Remove wrong comment.
1424 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
1426         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1427         category in copy_posix.
1428         (collate_finish): Don't warn about UNDEFINED not being defined.
1429         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1430         category in copy_posix.
1431         * locale/programs/ld-messages.c (messages_startup): Likewise.
1432         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1433         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1434         * locale/programs/ld-time.c (time_startup): Likewise.
1435         * locale/programs/localedef.c: Move copy_def_list_t definition into
1436         locales.h.  Define copy_posix variable.
1437         (main): Before processing copy list add &copy_posix to copy_list.
1438         * locale/programs/locales.h: Add definition of copy_def_list_t.
1439         * locale/programs/locfile.c: Clear bit for appropriate category in
1440         copy_posix.mask for copy instruction.
1442 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1444         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1445         non-existing file with generic implementation.
1446         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1448 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1450         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1451         defined.  Avoid using _CALL_DL_FCT if it is not defined.
1452         * iconv/gconv.c: Likewise.
1454 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1456         * nscd/connections.c (dbs): Define defualt values for timeouts and
1457         set enabled to 0 by default.
1458         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
1459         nscd_run.
1461         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1462         character >= 0x80.
1463         (_nl_C_LC_CTYPE_class32): Likewise.
1464         Reported by HJ Lu.
1466 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1468         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1469         _HURD_THREADVAR_DL_ERROR.
1471         * hurd/Makefile (user-interfaces): Add login, password.
1473         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1475 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
1477         [submitted 1998-08-06]
1478         * mach/Machrules: Create target directory and force re-evaluation
1479         of Makefile to prevent `make' from optimizing away most of the
1480         implicit rules and `vpath' directives.
1482 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1484         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1485         is null, short-circuit to __mach_msg.
1487         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1488         broken out of init1.
1489         (init1) [PIC]: Call it.
1490         (__libc_init_first) [! PIC]: Call it.
1492         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1493         __libc_init_secure.  Instead set __libc_enable_secure here from
1494         the exec flags.
1495         (__libc_enable_secure): New variable it.
1496         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1498 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1500         * nscd/nscd-client.h: New file, broken out of "nscd.h".
1501         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1502         and #include that.
1503         * nscd/Makefile (distribute): Add nscd-client.h.
1504         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1505         Include "nscd-client.h" instead of "nscd.h"
1507 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
1509         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1510         directory entries when a lstat call fails.
1511         Patch by Colin Plumb <colin@nyx.net>.
1513         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1514         NSS functions.
1515         * resolv/nss_dns/dns-network.c: Likewise.
1517         * grp/Makefile: Don't search for linuxthreads in add-ons, use
1518         have-thread-library to determine whether threads are available.
1519         * pwd/Makefile: Remove wrong comment.
1521         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1522         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1524         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1526         * nss/Versions: Add __nss_hosts_lookup.
1528         * nss/getXXbyYY.c: Remove unneeded assignment.
1530         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1532         Almost complete rewrite of the NSCD to make it smaller, faster,
1533         add more functionnality and make it easier to extend.
1534         * nscd/Makfile (routines): Add nscd_gethst_r.
1535         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1536         * nscd/cache.c: New file.
1537         * nscd/gethstbyad_r.c: New file.
1538         * nscd/gethstbynm2_r.c: New file.
1539         * nscd/hstcache.c: New file.
1540         * nscd/nscd_gethst_r.c: New file.
1541         * nscd/connections.c: Rewritten.  Don't start new thread for every
1542         new connection.  Use a fixed set of threads which handle all
1543         connections and also the cache cleanup.
1544         * nscd/grpcache.c: Rewritten to use generic cache handling functions
1545         in cache.c.
1546         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
1547         for rewrite.  Remove handle_requests function.
1548         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1549         Define new data structure for the new unified cache and the host
1550         database entries.
1551         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1552         databases easily.  Recognize check-files and threads definitions.
1553         * nscd/nscd.conf: Add definition of enable-cache and check-files to
1554         passwd and group definitions.  Add new set of definitions for hosts.
1555         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1556         * nscd/nscd_getpw_r.c: Likewise.
1557         * nscd/nscd_proto.h: Add prototype for host database functions.
1558         * nscd/nscd_stat.c: Rewrite to simplify printing of information
1559         for many databases.
1560         * nscd/dbg_log.c: Remove unnecessary variable initializations.
1561         Global variable debug_flag is renamed to dbg_level.
1562         * nscd/dbg_log.h: Declare set_logfile.
1564 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1566         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1567         O_LARGEFILE back.
1569 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
1571         * time/mktime.c: Some systems require <unistd.h> to be
1572         included before <time.h> for localtime_r to be declared
1573         properly.
1574         * time/strftime.c: Likewise.
1576 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1578         * db/Makefile: Add rule to generate shared object with the soname
1579         from glibc 2.0.
1581         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
1582         available double check to verify it's a directory.
1584         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1585         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1586         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1587         are not generally available.
1588         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1590         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1591         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1592         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1593         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1594         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1595         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1596         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1597         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1598         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1599         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1600         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1601         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1602         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1603         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1604         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1605         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1606         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1607         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1608         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1609         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1610         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1611         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1612         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1613         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1614         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1615         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1616         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1617         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1618         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1619         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1620         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1621         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1622         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1623         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1624         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1625         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1626         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1627         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1629         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1630         s_setresgid, and s_setuid.
1631         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1632         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1633         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1634         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1635         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1636         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1637         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1639 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1641         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1642         localtime_t declaration on some systems.
1644 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
1646         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1647         -DSTATIC_GCONV.
1648         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
1649         defined.  Avoid using DL_CLL_FCT if it is not defined.
1651 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1653         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1654         Include endian.h unconditionally.  Remove portability goop
1655         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1657 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1659         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1661 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
1663         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1664         again.  Use char[44] to define size of the struct.
1666         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1668 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1670         * string/bits/string2.h (strcmp): Don't cache the result of
1671         __builtin_constant_p in variables, otherwise constant folding
1672         can fail in big functions.
1674 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1676         * string/bits/string2.h: Add prototypes for the new inline
1677         functions.
1679 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
1681         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1682         have all types defined.
1683         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1685 1998-10-08  Paul Eggert  <eggert@twinsun.com>
1687         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1688         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1689         a body that merely expands localtime_r; this works around a
1690         bug in Digital Unix 4.0A and 4.0D.
1692 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
1694         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1695         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1696         __ioctl to __syscall_ioctl and include Linux version of this file.
1697         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1698         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
1699         ioctl calls which handle struct termios.
1700         Based on a patch by Dan Jacobowitz <drow@false.org>.
1702 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
1704         * version.h (VERSION): Bump to 2.0.98.
1706         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1707         here instead of including kernel_termios.h.
1709 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1711         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1712         unnecessary after the changes of 1998-10-12.
1714 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
1716         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1717         parameter format string.
1718         (inline_outw): Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1721         string.h to get memcpy prototype and NULL definition.
1723 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1725         * misc/sys/cdefs.h (__THROW): New macro.
1726         * argp/argp.h: Use it to replace the kludgey __P in inline
1727         function definitions.
1728         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1729         * stdlib/stdlib.h: Likewise.
1730         * wcsmbs/wchar.h: Likewise.
1731         * libio/stdio.h: Likewise.
1732         * stdio/stdio.h: Likewise.
1733         * sysdeps/wordsize-64/inttypes.h: Likewise.
1734         * sysdeps/wordsize-32/inttypes.h: Likewise.
1735         * string/argz.h: Likewise.
1736         * io/sys/stat.h: Likewise.
1738 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1740         * Rules (stdio_lim): New variable.
1741         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1742         on Rules and config.make, use $(move-if-change) to avoid unnessary
1743         recompilations, and cleanup command.
1744         (common-generated): Add bits/stdio_lim.st.
1746 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
1748         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1749         variable to prevent warnings from use of modern CPU instructions.
1750         Patch by Richard Henderson <rth@cygnus.com>.
1752         * sysdeps/unix/opendir.c: Test whether NAME is directory before
1753         opening it.
1755 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
1757         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1758         semicolon so that profiling works.
1760 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
1762         * sysdeps/generic/glob.c: #undef mempcpy before #define.
1764         * sysdeps/unix/bsd/clock.c: Use prototype defns.
1766 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
1768         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1769         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1771         * string/bits/string2.h [!_STRING_ARCH_unaligned]
1772         (__mempcpy_small): Add parameter for 1 byte copy and use it.
1773         Reported by Geoff Keating <geoffk@ozemail.com.au>.
1775 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
1777         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1778         it is already defined in <bits/environments.h>.
1780 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
1782         * posix/ptestcases.h: Fix typo.
1784 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1786         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1787         (regexec): Allocate regs.start and regs.end as one block.
1789 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1791         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1792         enum decl.
1794 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
1796         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1797         sigcontext union to ...
1798         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
1799         file.
1800         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1801         version 2.0 kernels.
1803 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
1805         * malloc/mtrace.c (tr_reallochook): Produce better output for real
1806         reallocation case.
1808         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1809         * argp/argp-xinl.c: Likewise.
1811         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1812         Ruffian entry back.
1813         Patch by Christian Gafton.
1815 1998-10-08  Paul Eggert  <eggert@twinsun.com>
1817         * time/mktime.c (__mktime_internal): When the requested time falls
1818         in a spring-forward gap of size DT, return a time that is DT away
1819         from the requested time, preferring a time whose tm_isdst differs
1820         from the requested value.  Bump the max number of probes from 4 to
1821         6 to account for the extra probes needed to discover a
1822         spring-forward gap in the worst case.
1824 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
1826         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1827         of the weird alpha architectures.
1828         Patch by Cristian Gafton <gafton@redhat.com>.
1830 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
1832         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1833         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
1835 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
1837         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1838         (dl_open_worker): Use realloc, not malloc to resize array.
1839         * elf/rtld.c (_dl_initial_searchlist): New variable.
1840         (_dl_main): Copy content of _dl_main_searchlist to
1841         _dl_initial_searchlist.
1842         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1843         _dl_global_scope_alloc.
1844         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1845         * elf/dl-close.c (_dl_close): When removing object with global
1846         scope remove allocated searchlist if no dynamically loaded object
1847         is on it anymore.
1848         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1849         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1851         * malloc/mtrace.c (tr_where): Don't print space in location string,
1852         print it afterwards.  Print better symbol name information.
1854 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1856         * manual/filesys.texi (Setting Permissions): Fix example for
1857         reading umask.
1859 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1861         * elf/sprof.c (load_profdata): Fix typo in error message.
1863 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1865         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1866         flag.
1868 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1870         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1872 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
1874         * version.h (VERSION): Bump to 2.0.97.
1876 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1878         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1879         in definitions of inline stat functions so that they match the
1880         declaration.
1881         * stdlib/stdlib.h: Likewise.
1882         * wcsmbs/wchar.h: Likewise.
1883         * libio/stdio.h: Likewise.
1884         * stdio/stdio.h: Likewise.
1885         * sysdeps/wordsize-64/inttypes.h: Likewise.
1886         * sysdeps/wordsize-32/inttypes.h: Likewise.
1887         * string/argz.h: Likewise.
1888         * argp/argp.h: Likewise.
1890 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
1892         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1893         netinet/in.h.
1895 1998-10-05  Philip Blundell  <philb@gnu.org>
1897         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1898         and constants.  Tidy up formatting a little.
1900         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1901         Move definitions to in.h.
1903 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1905         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1906         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1907         Remove inclusion of <linux/swap.h>.
1909 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1911         * io/sys/stat.h: Use __P in definitions of inline stat functions
1912         so that they match the declaration.
1914 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1916         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1918 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1920         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1921         linux 2.1 version.
1923 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
1925         * sysdeps/arm/dl-machine.h: Fix typo in last change.
1927         * sysdeps/arm/bits/huge_val.h: New file.
1929 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1931         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1933         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1934         define.
1936 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1938         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1939         store result of realloc instead of using BUF.
1941 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1943         * misc/sgtty.h (_SGTTY_H): Correct spelling.
1944         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1946 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1948         * manual/memory.texi (Obstacks): Document
1949         obstack_alloc_failed_handler usage.
1951         * malloc/obstack.h: Enhance comment about
1952         obstack_alloc_failed_handler usage.
1953         * malloc/obstack.c: Likewise.
1955 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1957         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1958         gcc before 2.8 is used.
1960 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
1962         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
1963         from Scott Bambrough.
1965         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1967         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1968         include the lock member.
1970 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
1972         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1974 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
1976         * timezone/zic.c: Update from tzcode1998h.
1977         * timezone/europe: Update from tzdata1998i.
1978         * timezone/southamerica: Likewise.
1980         * sys/types.h: Protect use of long long by __extension__.
1981         * stdlib/stdlib.h: Likewise.
1982         * string/string.h: Likewise.
1983         * sysdeps/i386/bits/byteswap.h: Likewise.
1984         * sysdeps/geeric/bits/byteswap.h: Likewise.
1985         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1986         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1987         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1988         * sysdeps/wordsize-32/inttypes.h: Likewise.
1989         * sysdeps/wordsize-32/stdint.h: Likewise.
1990         * wcsmbs/wchar.h: Likewise.
1992 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1994         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1995         expression.
1996         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1997         __strsep): Greatly reduce size of expansion by combining common
1998         expressions.
1999         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2000         inline function.
2001         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2002         by the above definitions.
2004 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
2006         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2007         correct struct ipc_perm definition.
2009 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2011         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2013 1998-09-29  Cristian Gafton  <gafton@redhat.com>
2015         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2016         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
2017         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2018         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2019         Add net/if_shaper.h.
2021 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
2023         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2025         * nis/ypclnt.c: Remove not needed close calls.
2027 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
2029         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
2030         check a bit.  Also close socket of domain client.  Close socket
2031         in IPPORT_RESERVED error case.
2033 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2035         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2036         CMSG_ALIGN (fixes a bug) and correct test for availability of
2037         another entry.
2038         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2039         Linux version.
2040         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2041         availability of another entry.
2042         Patch by ak@muc.de.
2044         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2045         Patch by ak@muc.de.
2047         * libio/libio.h [!__STDC__]: Define const only if not defined.
2049 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2051         * posix/annexc.c (xsystem): New function.  Use it instead of
2052         system.
2054 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2056         * stdlib/longlong.h: Remove #endif for #if removed in last change.
2058 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2060         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2061         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2062         allow using `ut' parameter.
2063         [!emacs]: Define ut_argument, ut_argument_spec, and
2064         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
2065         argument_spec to prototypes and definitions.
2066         (my_strftime): Don't call tzset of ut != 0.
2067         Compute diff as 0 is ut != 0;
2068         [emacs]: Define new emacs_strftime function.
2069         Based on a patch by Paul Eggert.
2071 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2073         * time/strftime.c (my_strftime): When asking for the length of the
2074         subformatted buffer, do not limit the length to look for;
2075         otherwise, we have no reliable way to distinguish between the
2076         empty buffer and an error.
2078 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2080         * math/Makefile (gmp-objs): Add mp_clz_tab.
2082 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
2084         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2085         set them.
2086         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2087         cpus lacking hardware multiply and divide.
2089 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2091         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2092         $(<F), not $(^F).
2094 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2096         * db/btree/bt_delete.c: Fix -Wparentheses warning.
2098 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2100         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2101         $(do-install).
2103 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2105         * debug/catchsegv.sh: Also produce output if clone process died.
2107 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2109         * time/strftime.c (f_wkday): Remove duplicate definition.
2110         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2111         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2112         1998-09-11 fix to this case.
2113         (wkday_len, month_len): Remove these macros; they're no longer needed.
2115 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2117         * time/strftime.c (my_strftime): Don't store past the end of a
2118         zero-sized buffer.
2120 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2122         * time/strftime.c (underlying_strftime):
2123         Set the buffer to a nonzero value before calling
2124         strftime, and check to see whether strftime has set the buffer to zero.
2125         This lets us distinguish between an empty buffer and an error.
2127 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
2129         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
2130         This fix is propagated from tzcode1998g.tar.gz.
2132 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
2134         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2135         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
2136         sys_siglist.  This is handled correctly by the weak_alias macro.
2138 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2140         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2141         of mempcpy.  Reported by Andreas Jaeger.
2143         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
2144         pollute the namespace since the compiler will resolve it inline.
2145         Reported by Florian La Roche <florian@suse.de>.
2147 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
2149         * timezone/private.h: Update from tzcode1998g.
2151         * timezone/africa: Update from tzdata1998h.
2152         * timezone/asia: Likewise.
2153         * timezone/australasia: Likewise.
2154         * timezone/europe: Likewise.
2155         * timezone/northamerica: Likewise.
2156         * timezone/southamerica: Likewise.
2157         * timezone/zone.tab: Likewise.
2159 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2161         * misc/sys/mman.h: New file.
2163         * sysdeps/generic/bits/mman.h: New file.
2164         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2165         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2166         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2167         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2169         * sysdeps/generic/sys/mman.h: Removed.
2170         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2171         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2172         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2173         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2174         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2176         * include/sys/mman.h: Look directly for misc/sys/mman.h.
2177         * misc/Makefile (headers): Add bits/mman.h.
2178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2179         bits/mman.h.
2181         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2182         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2183         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2184         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2185         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2186         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2187         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2188         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2190 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2192         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2193         * sysdeps/mach/alpha/thread_state.h: Likewise.
2194         * sysdeps/mach/i386/sysdep.h: Likewise.
2195         * sysdeps/mach/i386/thread_state.h: Likewise.
2196         * sysdeps/mach/mips/sysdep.h: Likewise.
2197         * sysdeps/mach/mips/thread_state.h: Likewise.
2198         * sysdeps/posix/profil.c: Likewise.
2199         * sysdeps/i386/i586/memcopy.h: Likewise.
2200         * sysdeps/mach/pagecopy.h: Likewise.
2202 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
2204         * libio/stdio.h: Define __need_getopt and include getopt.h to define
2205         getopt stuff.
2206         * posix/unistd.h: Likewise.
2207         * stdio/stdio.h: Likewise.
2208         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
2209         define only getopt and the variables.
2211 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2213         * scripts/test-installation.pl (installation_problem): Don't link
2214         the test program against libdb1.
2216 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
2218         * Makeconfig (all-subdirs): Add db.
2219         * Versions.def: Add definition for libdb1.
2220         * shlib-versions: Add definitions for libdb1.
2221         * db/Makefile (extra-libs): Replace by libdb1.
2222         (libdb-routines): Rename to libdb1-routines.
2223         (headers): Rename to db1-headers.
2224         (distribute): Add $(db1-headers).
2225         (install-others): Define to install symlink libdb.so.NN and the
2226         $(db1-headers).
2227         (CPPFLAGS): Add -DUSE_LIBDB1
2228         Remove rules to build makedb.
2229         * db/Versions: Rename libdb to libdb1.
2230         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
2231         * db/makedb.c: Removed.
2233         * scripts/versions.awk: Recognize digits in library names.
2235         * db/btree/bt_open.c: Fix compiler warnings.
2236         * db/btree/bt_put.c: Likewise.
2237         * db/btree/bt_split.c: Likewise.
2238         * db/hash/hash.c: Likewise.
2239         * db/hash/hash_bigkey.c: Likewise.
2240         * db/recno/rec_close.c: Likewise.
2242         * Makefile: Add localedata/% goal.
2244 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2246         * posix/execvp.c: Don't give up searching the PATH if execve
2247         returns ENOTDIR.
2249 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
2251         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2252         if _dl_fpu_control_set is set.
2253         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2254         * elf/rtld.c: Don't define _dl_fpu_control_set.
2255         * elf/Versions: Remove _dl_fpu_control_set.
2257 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
2259         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2260         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2261         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2262         Correct values of other SA_* macros according to kernel headers.
2264 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2266         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2267         variable l.
2268         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2269         old.
2271 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2273         * elf/ldsodefs.h: Fix typo in comment.
2275 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2277         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2278         char when comparing buffer contents with putback character.
2280 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2282         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2283         Undo last change.
2284         * elf/Versions: Undo last change.  Export _dl_fpu_control and
2285         _dl_fpu_control_set.
2286         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2287         variables.  Include <fpu_control.h>.
2288         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2289         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2290         to indicate that is was seen.
2291         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2292         only if _dl_fpu_control was set and is equal to desired value.
2293         * math/Makefile (aux): Undo last change.
2294         * math/Versions: Export __fpu_control with version GLIBC_2.0.
2296 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2298         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2299         optimized.
2301 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
2303         * string/bits/string2.h: Add mempcpy optimization.
2304         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2305         * intl/localealias.c: Define mempcpy only if not already defined.
2307         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2308         defined.
2310 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2312         * csu/abi-note.S: Emit the note directly instead of defining
2313         a preprocessor macro that's only used once.  Don't include sysdep.h.
2314         * abi-tags: Generalize Solaris entry.
2316 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2318         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2319         Change to array to avoid runtime relocation.
2320         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2322 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2324         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2325         * math/Makefile ($(objpfx)libieee.a): Likewise.
2327 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
2329         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2330         Patch by John Tobey <jtobey@banta-im.com>.
2332 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
2334         * login/Makefile (distribute): Remove pty-internal.h, add
2335         pty-private.h.
2337         * stdlib/tst-strtol.c: Add more checks.
2338         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2340 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
2342         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2343         * elf/elf.h: Add AT_FPUCW.
2344         * elf/Makefile (dl-routines): Add fpu_control.
2345         (elide-routines.os): Add fpu_control.
2346         (rtld-routines): Add fpu_control.
2347         * math/Makefile (aux): Remove fpu_control.
2348         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2349         (_dl_show_auxv): Likewise.
2350         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2351         if different from OS default.
2353         * stdio-common/tstscanf.c: Add test case for (nil).
2355 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
2357         * libio/fileops.c (_IO_new_file_underflow): Before allocating
2358         buffer make sure the pushback buffer is destroyed.
2359         (_IO_new_file_seekoff): Likewise.
2360         If mode==0 quit early with the result.
2361         Clear OEF flag after successful fseek.
2362         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2363         * libio/ftello.c (ftello): Add offset from original buffer if
2364         stream has pushed back characters.
2365         * libio/ftello64.c (ftello64): Likewise.
2366         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2367         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2368         * libio/ioftell.c (_IO_ftell): Likewise.
2369         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2370         and _IO_save_ptr.
2371         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2372         (_IO_default_pbackfail): Only stored push back character in original
2373         buffer if it is the same as the one in the file at this position.
2374         * libio/iofclose.c: Free backup buffer if one is available.
2375         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2376         mode!=0.
2378         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2380         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2382         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2384 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
2386         * login/programs/pt_chown.c (more_help): Correct message that
2387         describes the purpose of the program.
2389         * login/openpty.c: Do not include pty-private.h.
2390         (pts_name): New function.  Return name of slave pseudo terminal in
2391         an allocated buffer if necessary.
2392         (openpty): Use pts_name to get name of the slave end of the pseudo
2393         terminal pair.
2395         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2396         pts_name before return.
2398 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
2400         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2402 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2404         * login/openpty.c: Include pty-private.h instead of
2405         pty-internal.h.
2407 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
2409         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2411 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
2413         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2414         recent ld.so changes.
2415         (elf_machine_runtime_setup): Correct behaviour when profiling.
2417 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
2419         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2420         Patch by John Tobey <jtobey@banta-im.com>.
2422 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
2424         * login/pty-internal.h: Removed.  Moved constants related to the
2425         `grantpt' helper program protocol to ...
2426         * login/pty-private.h: ... here.  New file.
2427         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2428         to make the function work with kernels >= 2.1.115.
2429         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2430         version if using the cloning device fails.
2431         * sysdeps/unix/sysv/linux/grantpt.c: New file.
2432         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2433         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2434         use by Linux specific code.
2435         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2436         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
2437         function.  (grantpt): Use pts_name, check group and permission
2438         mode in addition to owner.  Try to set the owner, group and
2439         permission mode first without invoking the helper program.
2440         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
2441         internationalization support.  Use symbolic constants instead of
2442         hardwired numbers for permission mode.
2443         * sysdeps/unix/bsd/ptsname.c: New file.
2445 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
2447         * posix/wordexp-test.c: Undo last change.
2449         * posix/wordexp.c: Undo last change.
2451 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
2453         * nscd/grpcache.c (save_grp): Partly undo last change.
2455         * nscd/pwdcache.c (save_pwd): Undo last change.
2457 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2459         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2460         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2462 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
2464         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2465         Add profiling support.
2466         (TRAMPOLINE_TEMPLATE): New macro.
2467         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2468         (RTLD_START): Prettify, and set __libc_stack_end properly.
2469         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2470         and check for sym being NULL instead.
2471         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2472         of stack space.
2473         * sysdeps/sparc/sparc64/lshift.S: Likewise.
2474         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2475         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2476         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2477         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2478         MEDANY code model %g4 usage.
2479         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2480         MEDANY code model %g4 usage.
2481         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2482         code model address formation.
2483         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2484         include elf/ldsodefs.h
2485         (DT_SPARC): Remove.
2486         (elf_machine_matches_host): It is now EM_SPARCV9.
2487         (elf_machine_dynamic): Clean up to remove ugly cast.
2488         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2489         new PLT formats.
2490         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2491         Prettify rest of function.
2492         [R_SPARC_COPY]: Check for sym being NULL.
2493         [R_SPARC_32]: Handle it.
2494         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2495         MEDMID code model.
2496         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2497         MEDANY code model.
2498         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2499         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2500         Add profiling support.
2501         (TRAMPOLINE_TEMPLATE): New macro.
2502         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2503         (RTLD_START): Prettify and set __libc_stack_end.
2504         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2505         Define.
2506         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2507         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2508         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2509         unused variable scratch.
2510         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2511         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2512         Declare.
2513         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2514         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
2515         old format kernel sigaction structures.
2516         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2517         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2518         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2519         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2520         ucontext include.
2521         (_JMPBUF_UNWINDS): Define.
2522         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2523         statfs64 structure, which is exactly the same as the normal one.
2524         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2525         of stack.  Use correct syscall trap number.  Add branch prediction
2526         settings to branch instructions.  Remove old MEDANY code model %g4
2527         referneces for non-PIC.
2528         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2529         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2530         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2531         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2533         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2534         __libc_longjmp and __libc_siglongjmp strong aliases.
2535         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2536         Also define to __no__readdir64_decl around readdir.c inclusion.
2537         (__readdir64): Add strong alias.
2538         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2539         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2540         Set strong and weak names properly.
2542 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2544         * manual/Makefile (AWK): Default to gawk if standalone.
2546 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2548         * Makefile (distribute): Undo last change.
2549         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2550         for sysdep headers.
2551         (+subdir-headers): Removed, unused.
2553 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2555         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2556         $(do-install).
2558 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2560         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2561         absolute name in $(config-sysdirs), can never happen.
2562         ($(+sysdir_pfx)sysd-rules): Likewise.
2563         * Makeconfig (full-config-sysdirs): Likewise.
2564         (all-Subdirs-files): Prepend $(..).
2566         * configure.in: Don't check for absolute name in $add_ons_pfx, can
2567         not happen.  Let --enable-add-ons=yes work if no add-ons actually
2568         exist.
2570 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2572         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2573         continuations in command.
2575 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2577         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2579 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
2581         * posix/wordexp-test.c: If expansion or substitution occurs
2582         anywhere in a word, the entire word is subject to field-splitting.
2584         * posix/wordexp.c (parse_glob): Look for end of word instead of
2585         end of field when deciding what to glob.
2586         (field_split_word): New function, now the only place where
2587         field-splitting is performed.
2588         (parse_dollars): New parameter - tell the caller if
2589         field-splitting should be performed on this word.
2591         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2592         succeeded (or failed with WRDE_NOSPACE).
2594 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
2596         * posix/wordexp.c (wordexp): Don't convert IFS characters to
2597         blanks.
2599         * posix/wordexp-test.c: Words not the result of expansion or
2600         substitution should remain unchanged.
2602 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
2604         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2605         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2607 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2609         * stdio-common/Makefile: Include Makeconfig so that
2610         $(inst_includedir) is defined.
2612 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2614         * io/pwd.c: Include <mcheck.h>.
2616 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
2618         * nscd/pwdcache.c (save_pwd): Correct copying.
2619         * nscd/grpcache.c (save_grp): Likewise.
2621 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
2623         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2624         (free_pwd): Adjust for this change.
2625         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2626         (free_grp): Adjust for this change.
2628 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
2630         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2632 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
2634         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2635         (install-others): Add bits/stdio_lim.h.
2636         Add rule to install bits/stdio_lim.h.
2638         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2640         * Makefile (distribute): Add include/sys/mman.h.
2642         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2643         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2644         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2646         * grp/initgroups.c: Include stdlib.h.
2647         Patch by Zack Weinberg.
2649 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
2651         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2652         for field-splitting :abc: is correct, and that two fields should
2653         result. Revert tests to reflect this.
2655         * posix/wordexp.c (w_emptyword): Remove function.
2656         (exec_comm): Don't use w_emptyword.
2657         (parse_param): Likewise.
2659 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
2661         * sysdeps/arm/fpu/Dist: Moved to...
2662         * sysdeps/arm/Dist: ...here.
2663         * sysdeps/posix/Dist: Removed.
2664         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2665         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2667 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2669         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2671 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
2673         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2675 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2677         * libc-work/nis/nss_nisplus/nisplus-service.c
2678         (_nss_nisplus_parse_servent): Convert port in network byte order.
2680 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2682         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2683         to provide only malloc and calloc.
2684         * include/stdlib.h: Support the above.
2685         * string/bits/string2.h: Use __need_malloc_and_calloc when
2686         including stdlib.h.
2687         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2689         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2690         * iconvdata/iso646.c: Include <stdlib.h>.
2692 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2694         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2695         * sysdeps/libm-ieee754/w_pow.c: Likewise.
2696         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2697         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2699 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2701         * stdio-common/stdio_lim.h.in: New file.  All parameters
2702         are adjustable at build time.
2703         * Rules: Add a rule to build bits/stdio_lim.h from
2704         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
2705         all subdirectories know how to make the file.  It can't be
2706         in Makerules because then it gets built at top level and the
2707         dependencies are wrong.)
2709         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2710         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2711         stdio_lim.h.
2712         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2713         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2714         * sysdeps/posix/Makefile: Removed.
2715         * sysdeps/posix/mk-stdiolim.c: Removed.
2716         * sysdeps/generic/bits/stdio_lim.h: Removed.
2718 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2720         * argp/argp-help.c: Fixup indentation.
2721         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2722         * resolv/nss_dns/dns-network.c: Likewise.
2723         * resolv/res_send.c: Likewise.
2724         * rt/aio_cancel.c: Likewise.
2725         * rt/aio_misc.c: Likewise.
2727 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2729         * Makefile (install-symbolic-link): Remove the link list file at last.
2730         * Makerules (install-clean-symbolic-link-list): Removed.
2732 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2734         * timezone/tst-timezone.c: Print time in UTC to get consistent
2735         output.
2737 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2739         * elf/rtld.c (_dl_rpath): Removed.
2740         * elf/dl-support.c (_dl_path): Removed.
2741         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2742         (CFLAGS-dl-support.c): Removed.
2744         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
2745         uses changed.
2746         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2747         instead of appending it to the main map's rpath info.
2748         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2749         DT_RPATHs.  This makes it effective again.
2750         (decompose_rpath): Remove second parameter, callers changed.
2751         (fillin_rpath): Allocate enough space in curwd.
2752         (expand_dynamic_string_token): Cope with get_origin returning -1.
2754 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2756         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2757         passwd.adjunct.
2759         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2760         invalid password.
2762 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
2764         * locale/programs/locale.c: Update dates.
2766 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
2768         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
2769         size_t is defined.  Some reordering of definitions to make
2770         maintaining this file in parallel with the linux-specific file easier.
2772 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
2774         * io/pwd.c (main): Add call to mtrace.
2776         * malloc/mtrace.pl: Quote @ in string.
2778 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
2780         * posix/wordexp.c (parse_arith): Fix memory leaks.
2781         (exec_comm): Likewise.
2782         (parse_param): Likewise.
2783         (wordexp): Likewise.
2784         (exec_comm): Reduce number of function return points.
2785         (parse_param): Likewise.
2786         (wordexp): Likewise.
2788 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
2790         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2791         yield three fields, not two.  Test both parameter expansion and
2792         command substitution for correct field-splitting behaviour.
2794         * posix/wordexp.c (w_emptyword): New function.
2795         (parse_param): Use it.
2796         (exec_comm): Likewise, for consistency with the way parse_param
2797         splits fields.
2798         (parse_param): Fix some memory leaks.
2800 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
2802         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2803         Don't mark asm `volatile'.
2804         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2805         from the data cache too.  Assume it isn't in the instruction cache yet.
2806         (__elf_machine_fixup_plt): Clear the modified address from the caches.
2808 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
2810         * sysdeps/generic/segfault.c (install_handler): Install signal
2811         handler with SA_ONSTACK instead of setting the stack flags to
2812         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
2813         defined.
2815 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2817         * signal/signal.h: Fix multiple inclusion guard to cover the
2818         entire file.
2819         * wcsmbs/wchar.h: Remove prototype of internal function
2820         __mbsrtowcs.
2821         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2822         arithmetic on `void *'.
2824 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
2826         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
2828         * posix/wordexp.c (wordexp): Perform word-splitting instead of
2829         field-splitting here.
2830         (wordexp): If out of memory mid-word, free the word (but still
2831         leave pwordexp alone for caller to see).
2832         (parse_param): Allow for zero-length fields (smarter checking of
2833         memory allocation failure).
2834         (w_addword): Convert NULL words to "".
2835         (wordexp): Convert left-over IFS characters to blanks (like bash).
2837 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2839         * configure.in: Use test -f instead of test -e.
2840         Patch by John Tobey <jtobey@banta-im.com>.
2842         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2843         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2844         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2845         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2846         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2847         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2848         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2849         Patches by John Tobey <jtobey@banta-im.com>.
2851         * time/strftime.c (my_strftime): Delay use of *tp values until
2852         latest possible point to allow partly initialized structures
2853         (e.g., from strptime).
2855         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2856         and NATS-SEFI.
2857         Define *-routines variables for new modules.
2858         (distribute): Add .c files for new modules.
2859         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2860         and nats-sefi.h.
2861         Add rules for header generation.
2862         * iconvdata/gconv-modules: Add entries for new modules.
2863         * iconvdata/iso_10367-box.c: New file.
2864         * iconvdata/mac-is.c: New file.
2865         * iconvdata/nats-dano.c: New file.
2866         * iconvdata/nats-sefi.c: New file.
2868 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
2870         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2871         loader if PIC is not defined.
2873 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2875         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2876         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2877         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2878         and ISO_5428.
2879         Define *-routines variables for new modules.
2880         (distribute): Add .c files for new modules.
2881         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2882         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2883         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2884         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2885         Add rules for header generation.
2886         * iconvdata/gconv-modules: Add entries for new modules.
2887         * iconvdata/csn_369103.c: New file.
2888         * iconvdata/cwi.c: New file.
2889         * iconvdata/dec-mcs.c: New file.
2890         * iconvdata/ecma-cyrillic.c: New file.
2891         * iconvdata/gost_19768-74.c: New file.
2892         * iconvdata/greek-ccitt.c: New file.
2893         * iconvdata/greek7-old.c: New file.
2894         * iconvdata/greek7.c: New file.
2895         * iconvdata/inis-8.c: New file.
2896         * iconvdata/inis-cyrillic.c: New file.
2897         * iconvdata/inis.c: New file.
2898         * iconvdata/iso6937-2.c: New file.
2899         * iconvdata/iso_2033.c: New file.
2900         * iconvdata/iso_5427-ext.c: New file.
2901         * iconvdata/iso_5427.c: New file.
2902         * iconvdata/iso_5428.c: New file.
2904         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2905         entries.
2906         Convert U02dd correctly.
2908 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
2910         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2911         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2912         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2913         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2915 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2917         * resolv/res_init.c (res_init): Handle resolv.conf file with only
2918         one nameserver correctly.  Patch by HJ Lu.
2920         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2921         and ANSI_X3.110.
2922         Define *-routines variables for new modules.
2923         (distribute): Add .c files for new modules.
2924         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2925         Add rules for hedaer generation.
2926         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
2927         * iconvdata/ansi_x3.110.c: New file.
2928         * iconvdata/asmo_449.c: New file.
2929         * iconvdata/baltic.c: New file.
2930         * iconvdata/iec_p27-1.c: New file.
2932         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2933         entries.
2934         Convert U02dc correctly.
2936         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2937         * math/atest-exp2.c: Likewise.
2938         * math/atest-sincos.c: Likewise.
2940         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2941         is defined.
2943 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2945         * string/strcoll.c: Optimize a few expressions.
2946         * string/strxfrm.c: Likewise.
2948 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2950         * manual/locale.texi: Fix typos.
2952 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
2954         * stdlib/random_r.c (__setstate_r): Allow call with same state
2955         array as currently used (PR libc/774).
2957         * include/limits.h: Include gcc's header even if this file is
2958         found more than once before it (PR libc/778)
2960         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2961         (sysdep_headers): Remove sys/debugreg.h.
2962         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2963         (sysdep_headers): Add sys/debugreg.h.
2964         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2965         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2967         * stdio-common/tmpnam.c: Move local static variable buf to
2968         toplevel and rename to tmpnam_buffer to ease debugging.
2969         Patch by Joe Keane <jgk@jgk.org>.
2970         Optimize s == NULL case a bit.
2972         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2973         correction.
2975 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
2977         * resolv/res_init.c (res_init): Initialize _res.nscount and
2978         _res.nsaddr.sin_port differently for the can when no loopback
2979         is available to allow immediate timeout in non-networking environments.
2980         Patch by Cristian Gafton <gafton@redhat.com>.
2982 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2984         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2985         BAR and not EM DASH.
2986         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2987         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2988         Fixes PR libc/717.
2990 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
2992         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2993         for test.
2994         * timezone/tst-timezone.c (tests): Fix typo in last patch.
2996         * time/tzfile.c (__tzfile_read): Handle case when there are no
2997         transitions.  Set __timezone based on computed offset.
2998         * time/tzset.c (tzset_internal): Set __timezone before returning.
3000         * time/tzset.c (tzset_internal): Optimize handling of local string
3001         copy.
3003 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3005         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3006         libc/776).
3008 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3010         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3011         (csqrt_test): Likewise.
3012         * sysdeps/powerpc/bits/fenv.h: Add parens.
3014 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
3016         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3017         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3018         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3020 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
3022         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3023         the special `-1' pointer.
3025 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
3027         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3028         inline.
3030 1998-09-07  Paul Eggert  <eggert@twinsun.com>
3032         * time/mktime.c (__EXTENSIONS__): Define if not defined.
3033         (_REENTRANT): Remove.  It has undesirable consequences in
3034         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
3035         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3036         is what we want.
3037         * time/strftime.c: Likewise.
3039 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3041         * elf/dl-error.c: Fix spelling.
3043 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3045         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3046         * stdio-common/_itoa.c: Likewise.
3047         * stdio-common/printf_fp.c: Likewise.
3048         * stdio-common/vfscanf.c: Likewise.
3049         * wcsmbs/wcstok.c: Likewise.
3050         * sysdeps/generic/glob.c: Likewise.
3051         * posix/getopt.c: Likewise.
3052         * sysdeps/posix/getaddrinfo.c: Likewise.
3053         * posix/wordexp.c: Likewise.
3054         * io/ftw.c: Likewise.
3055         * io/fts.c: Likewise.
3056         * misc/getpass.c: Likewise.
3057         * iconv/gconv_conf.c: Likewise.
3058         * argp/argp-fmtstream.c: Likewise.
3059         * argp/argp-help.c: Likewise.
3060         * elf/dl-load.c: Likewise.
3061         * locale/programs/stringtrans.c: Likewise.
3062         * catgets/gencat.c: Likewise.
3063         * posix/getconf.c: Likewise.
3064         * iconv/gconv_conf.c: Likewise.
3065         * iconv/iconv_prog.c: Likewise.
3067         * string/strcoll.c: Optimize a few expressions.
3068         * string/strxfrm.c: Likewise.
3070 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3072         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3073         level to avoid uninit variable warning.
3075 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3077         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
3078         instead of _dl_default_scope[2] as argument to _dl_init_next.
3080         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3081         C9x macro.
3083 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
3085         Fix compatibility problems introduced in last change.
3086         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3087         defined.
3088         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3089         -DWEAK_GMON_START to CFLAGS-initfini.s.
3091         * elf/dl-object.c (_dl_new_object): Store map address in
3092         _dl_loaded if _dl_loaded is NULL.
3093         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
3095         * sysdeps/generic/setrlimit64.c: Remove stub warning.
3097 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
3099         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3100         quiet.
3101         * db2/btree/bt_cursor.c: Likewise.
3102         * db2/common/db_region.db_c: Likewise.
3103         * db2/common/db_salloc.db_c: Likewise.
3104         * db2/db/db.c: Likewise.
3105         * db2/db/db_rec.c: Likewise.
3106         * db2/hash/hash.c: Likewise.
3107         * db2/hash/hash_page.c: Likewise.
3108         * db2/hash/hash_rec.c: Likewise.
3109         * db2/log/log_findckp.c: Likewise.
3110         * db2/log/log_get.c: Likewise.
3111         * db2/log/log_put.c: Likewise.
3112         * db2/mp/mp_fget.c: Likewise.
3113         * db2/mp/mp_fput.c: Likewise.
3114         * db2/mp/mp_region.c: Likewise.
3115         * stdlib/strtol.c: Likewise.
3116         * string/strcoll.c: Likewise.
3117         * string/strxfrm.c: Likewise.
3118         * argp/argp-help.c: Likewise.
3119         * argp/argp-parse.c: Likewise.
3120         * resolv/res_debug.c: Likewise.
3122 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
3124         * math/tgmath.h (scalb): Only define for __USE_MISC or
3125         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
3127 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3129         * libio/stdio.h: Fix comment.
3131         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3132         __USE_ISOC9X.
3134 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3136         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3138         * elf/dl-open.c: Quiet -Wparentheses warnings.
3139         * iconvdata/johab.c: Likewise.
3140         * iconvdata/uhc.c: Likewise.
3141         * inet/inet_net.c: Likewise.
3142         * io/fts.c: Likewise.
3143         * locale/newlocale.c: Likewise.
3144         * misc/getttyent.c: Likewise.
3145         * misc/mntent_r.c: Likewise.
3146         * misc/ttyslot.c: Likewise.
3147         * nscd/nscd_conf.c: Likewise.
3148         * nss/nsswitch.c: Likewise.
3149         * resolv/gethnamaddr.c: Likewise.
3150         * resolv/nsap_addr.c: Likewise.
3151         * resolv/res_debug.c: Likewise.
3152         * stdio-common/_itoa.c: Likewise.
3153         * stdlib/strtod.c: Likewise.
3154         * string/strverscmp.c: Likewise.
3155         * sunrpc/svc.c: Likewise.
3156         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3157         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3158         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3159         * sysdeps/posix/getaddrinfo.c: Likewise.
3161 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
3163         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3164         for use of global scope.
3165         * elf/dlvsym.c (dlvsym_doit): Likewise.
3167 1998-09-02  Paul Eggert  <eggert@twinsun.com>
3169         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3170         copy the redundant bytes at the end of the format as-is; don't
3171         just copy their first byte and then rescan, as that might get
3172         us an encoding error.
3173         Account correctly for the length of multibyte sequences in the
3174         format.
3176 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
3178         * posix/wordexp-test.c: Add tests for different IFS values.
3179         Change unquoted-newline test so that newline is not in IFS.
3181         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3182         determining IFS characters.  Return WRDE_BADCHAR for unquoted
3183         special characters _except_ if they are separators.
3185 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
3187         * include/tgmath.h: New file.
3189         * libio/stdio.h: Correct reversed #ifs.
3190         Patch by Zack Weinberg.
3192         * manual/creature.texi: Better explain reason for feature select
3193         macros.
3194         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3196 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3198         * include/alloca.h: Add multiple-inclusion guard.
3199         * include/db.h: Likewise.
3200         * include/db_185.h: Likewise.
3201         * include/dlfcn.h: Likewise.
3202         * include/fcntl.h: Likewise.
3203         * include/grp.h: Likewise.
3204         * include/libintl.h: Likewise.
3205         * include/mntent.h: Likewise.
3206         * include/pwd.h: Likewise.
3207         * include/sched.h: Likewise.
3208         * include/search.h: Likewise.
3209         * include/setjmp.h: Likewise.
3210         * include/shadow.h: Likewise.
3211         * include/signal.h: Likewise.
3212         * include/stdio.h: Likewise.
3213         * include/stdlib.h: Likewise.
3214         * include/string.h: Likewise.
3215         * include/termios.h: Likewise.
3216         * include/time.h: Likewise.
3217         * include/ulimit.h: Likewise.
3218         * include/utmp.h: Likewise.
3219         * include/wchar.h: Likewise.
3220         * include/sys/file.h: Likewise.
3221         * include/sys/gmon.h: Likewise.
3222         * include/sys/ioctl.h: Likewise.
3223         * include/sys/mman.h: Likewise.
3224         * include/sys/resource.h: Likewise.
3225         * include/sys/select.h: Likewise.
3226         * include/sys/socket.h: Likewise.
3227         * include/sys/statfs.h: Likewise.
3228         * include/sys/time.h: Likewise.
3229         * include/sys/times.h: Likewise.
3230         * include/sys/wait.h: Likewise.
3232 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
3234         * version.h (VERSION): Bump to 2.0.96.
3236         Rewrite runtime linker to be truly thread-safe.  There is now no
3237         global variable specifying the scope.  We create all needed
3238         scopes at the time the link maps are created.
3239         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3240         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3241         l_symbolic_searchlist, l_scope, and l_local_scope elements in
3242         struct link_map.
3243         * elf/dl-close.c: Rewritten accordingly.
3244         * elf/dl-deps.c: Likewise.
3245         * elf/dl-error.c: Likewise.
3246         * elf/dl-init.c: Likewise.
3247         * elf/dl-load.c: Likewise.
3248         * elf/dl-lookup.c: Likewise.
3249         * elf/dl-object.c: Likewise.
3250         * elf/dl-open.c: Likewise.
3251         * elf/dl-reloc.c: Likewise.
3252         * elf/dl-runtime.c: Likewise.
3253         * elf/dl-support.c: Likewise.
3254         * elf/dl-symbol.c: Likewise.
3255         * elf/dl-version.c: Likewise.
3256         * elf/dlsym.c: Likewise.
3257         * elf/dlvsym.c: Likewise.
3258         * elf/ldsodefs.h: Likewise.
3259         * elf/rtld.c: Likewise.
3260         * iconv/gconv_dl.c: Likewise.
3261         * nss/nsswitch.c: Likewise.
3262         * sysdeps/i386/dl-machine.h: Likewise.
3263         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3265         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3266         Define RTLD_DEFAULT.
3268 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
3270         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3271         __getopt_clean_environment with __environ instead of envp.
3273 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
3275         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3277         * string/argz-extract.c (__argz_extract): Add de-consting cast for
3278         setting results.
3280         * string/argz.h (argz_next): Add de-consting cast for return.
3281         * string/argz-next.c (__argz_next): Likewise.
3283         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3284         Don't add netinet/udp.h, netinet/ip_icmp.h here.
3285         * sysdeps/gnu/Makefile: Do it here instead.
3286         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3287         * sysdeps/gnu/Dist: ... to here.
3289         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3290         sysdeps/unix/sysv/linux/netinet/tcp.h,
3291         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3293 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
3295         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3296         * string/argz-next.c, string/argz-extract.c: Fix defns.
3298 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
3300         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3302         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3303         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3304         * sysdeps/generic/sysd-stdio.c: Likewise.
3306 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
3308         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3309         (_dl_map_object_from_fd): Make NAME argument const.
3310         Remove last parameter in _dl_new_object call.
3311         (print_search_path): Correct construction of composed path name.
3312         (_dl_map_object): Prevent looking at RPATH of the main map twice.
3313         Remove last parameter in _dl_new_object call.
3314         * elf/dl-object.c: Remove last parameter.  Determine whether create
3315         origin entry based on empty realname.  Handle file in root directory
3316         correctly.
3317         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3318         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3319         Remove last parameter in _dl_new_object call.
3320         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3321         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3323 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
3325         * elf/dl-close.c (_dl_close): Add more comments and correct some.
3326         Free l_searchlist and l_dupsearchlist.
3328         * debug/catchsegv.sh: Add one more pair of quotes.
3330 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
3332         * elf/dl-load.c (add_name_to_object): Change return type to void and
3333         make NAME parameter const.  Allocate room for NAME in same memory
3334         block used for l_libname entry.
3335         (_dl_map_object_from_fd): Don't free NAME on failure.
3336         (map_segment): Pass SONAME to add_name_to_object, not a copy.
3337         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
3338         _dl_map_object_from_fd.
3339         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3340         memory block used for l_libname entry.
3341         * elf/dl-close.c: Adjust free()ing for this change.
3343 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
3345         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3347         * malloc/mtrace.c: Add bug report address.  Update email address.
3348         Add more @XXX@ to print correct address size.
3350         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3351         really initialized.
3353         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3354         for munmap call instead of examining phdr again.
3355         Free all malloc()ed strings and arrays.
3357 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
3359         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3360         dl-machine.h.
3361         * sysdeps/powerpc/dl-machine.c: New file.
3362         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3363         files.  Revise ELF_PREFERRED_ADDRESS to take account of
3364         the new mapping information (fixes bug involving huge bloated
3365         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
3366         * sysdeps/powerpc/dl-start.S: New file.
3368         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3369         l_map_end.
3370         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3371         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3372         others.  Call elf_dynamic_do_##reloc only once (to save even more
3373         space).
3374         * elf/link.h: Add new members l_map_start and l_map_end to keep
3375         track of the memory map.
3376         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3377         the executable.
3379 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
3381         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3382         Reported by Andreas Jaeger.
3384         * posix/glob.h: Use __size_t instead of size_t in definitions and
3385         make sure this is defined.
3387 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
3389         * manual/locale.texi: Almost complete rewrite.  Document more functions
3390         and functionality.
3391         * manual/arith.texi: Correct reference.
3392         * manual/string.texi: Pretty printing.
3394         * manual/texinfo.tex: Update from last available version.
3396 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
3398         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3399         invalid password.
3400         (_nss_nis_getpwuid_r): Likewise.
3401         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3403         * inet/rcmd.c: Implement netgroup support.
3404         Patch by Dick Streefland <dick_streefland@tasking.com>.
3406 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3408         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3409         object on the list is removed.  Don't use this code for PIC.
3410         Reported by HJ Lu [PR libc/770].
3412 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
3414         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3416         * include/stdio.h: Add __vsscanf.
3418         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3419         __USE_ISOC9X.
3420         Remove __vsscanf declaration.
3421         Always declare fgetpos and fsetpos.
3423         * math/math.h: Define isinf as macro.
3424         * math/bits/mathcalls.h: Change to declare __isinf all the time.
3425         Don't declare scalb for ISO C 9x.
3427         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
3429         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3431         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3432         sys/ucontext.h.
3434         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3435         macros.
3437 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3439         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3440         Reported by jreising@frequentis.com [PR libc/767].
3442 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3444         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3445         fl.l_start at beginning of function.
3446         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3448 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3450         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3451         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3453         * nscd/nscd.init: Make it work in RedHat systems.
3454         Patch by Christian Gafton.
3456 1998-08-29  Philip Blundell  <philb@gnu.org>
3458         * catgets/Makefile: Don't try to run test programs when
3459         cross-compiling.
3461 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3463         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3464         Reported by Zack Weinberg.
3466 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3468         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3469         * elf/Makefile (distribute): Remove ldd.sh.in.
3471 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3473         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3474         variable.
3476 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
3478         * sysdeps/i386/register-dump.h: Move to ...
3479         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3481 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
3483         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3484         with load address, not map address.
3485         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3486         parameter and use this value.
3487         * sysdeps/arm/dl-machine.h: Likewise.
3488         * sysdeps/i386/dl-machine.h: Likewise.
3489         * sysdeps/m68k/dl-machine.h: Likewise.
3490         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3491         parameter.
3492         * sysdeps/powerpc/dl-machine.h: Likewise
3493         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3494         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3496 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
3498         * elf/rtld.c (process_envvars): Fix copy&paste error.
3500         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3501         memalign hook.
3502         (realloc_hook_ini): Don't overwrite memalign hook.
3503         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3504         Reported by Philippe Troin <phil@fifi.org>.
3506         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3507         Patch by Philippe Troin <phil@fifi.org>.
3509 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3511         * sysdeps/generic/segfault.c (install_handler): Protect the
3512         non-POSIX signals with #ifdef.
3513         (catch_segfault): Add missing mode parameter for open.
3514         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
3515         other termination signals.
3517 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3519         * debug/Makefile (distribute): Add register-dump.h.
3521 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3523         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3525 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
3527         * elf/Makefile (distribute): Add dl-origin.h.
3528         * sysdeps/generic/dl-origin.h: New file.
3529         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3530         * elf/link.h (struct link_map): Add l_origin field.
3531         * elf/dl-load.c (expand_dynamic_string_token): New function.
3532         (decompose_path): Remove WHERE argument, take link map pointer instead.
3533         Call expand_dynamic_string_token instead of local_strdup to make copy
3534         of rpath.
3535         (_dl_init_paths): Call decompose_path with correct argument.
3536         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3537         not defined.
3538         Check EI_OSABI and EI_ABIVERSION fields in header.
3539         Call _dl_new_object with extra argument.
3540         (_dl_map_object): Call decompose_path with correct argument.
3541         Call expand_dynamic_string_token instead of local_strdup to also
3542         expand DST.
3543         Call _dl_new_object with extra argument.
3544         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3545         but the main one if new argument is nonzero.
3546         * elf/ldsodefs.h: Adjust for _dl_new_object change.
3547         * elf/dl-support.c: Define _dl_origin_path.
3548         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
3549         (dl_main): Call _dl_new_object with extra argument.
3551         * elf/dl-close (_dl_close): Free l_name and l_origin.
3553         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3554         modifier in asm, not c.
3556         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3557         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3559 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
3561         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3562         variable so that map can be freed.
3563         Reported by Philippe Troin <phil@fifi.org>.
3565         * elf/dl-open.c (dl_open_worker): Correct test for extending global
3566         scope array.
3567         Patch by Philippe Troin <phil@fifi.org>.
3569 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
3571         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
3572         Don't call writev() with a 100-element vector.
3573         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3574         return address.
3576         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3577         In particular, set __libc_stack_end.
3578         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3579         undefined.  Fix copyright notice.
3581 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3583         * math/Makefile (gmp-objs): New variable.
3584         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3585         Depend on it.
3586         (tests): Add atest-exp atest-sincos atest-exp2.
3587         (tests-static): Remove atest-exp atest-sincos atest-exp2.
3589 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
3591         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3592         to toplevel.
3593         (_dl_unload_cache): New function.
3594         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3595         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
3596         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
3598         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3599         Correct comment for O_LARGEFILE.
3600         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3601         Change O_LARGEFILE to correct value.
3603 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
3605         * libio/iogetline.c (_IO_getline_info): Don't read anything for
3606         N == 0.  Patch by HJ Lu.
3608 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
3610         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3612 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3614         * argp/argp.h: Use __inline__ not inline.
3616         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3617         an input register as being clobbered.
3618         * sysdeps/i386/memset.c (memset): Likewise.
3619         * sysdeps/i386/bzero.c (__bzero): Likewise.
3620         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3622 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3624         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3625         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3627 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
3629         * debug/catchsegv.sh: Handle text preceding backtrace better.
3630         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
3631         to be installed for other signals than SIGSEGV.
3632         * sysdeps/generic/register-dump.h: New file.
3633         * sysdeps/i386/register-dump.h: New file.
3634         * sysdeps/powerpc/register-dump.h: New file.
3636         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3637         sigcontextinfo.h.
3638         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3640 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
3642         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3644 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
3646         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3647         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3648         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3649         getresuid, getresgid.
3651 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
3653         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
3654         pointer in userland.
3656 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3658         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3659         and fix value.
3661 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3663         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
3664         over arguments Bourne shell compatible.  Don't exit unsuccessfully
3665         if nonelf returns successfully.  Avoid duplicating most of the
3666         script.
3667         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3668         around $file.
3670 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3672         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3673         sys/reg.h.
3674         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3675         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3677 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
3679         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3680         __modify_ldt and modify_ldt.
3681         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3683         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3684         Use orl $-1 instead of movl $-1 to save two bytes.
3685         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3686         Likewise.
3688 1998-08-17  H.J. Lu  <hjl@gnu.org>
3690         * libio/Versions (_IO_do_write, _IO_file_attach,
3691         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3692         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3693         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3694         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3696         * libio/fileops.c (_IO_do_write, _IO_file_attach,
3697         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3698         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3699         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3700         _IO_file_write, _IO_file_xsputn): Change the prefix to
3701         "_IO_new_". Added to GLIBC_2.1.
3703         * libio/libioP.h (_IO_do_write, _IO_file_attach,
3704         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3705         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3706         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3707         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3708         "_IO_new_".
3710         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3711         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3712         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3713         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3714         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3716 1998-08-23  Richard Henderson  <rth@cygnus.com>
3718         * Makeconfig (LDFLAGS): Remove.
3720         * csu/initfini.c: Return to .text before __gmon_start__.
3722         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3723         (STO_MIPS_*): Rename from STO_*.
3724         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3725         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3727         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3728         (main): e3s is negative on zero.
3729         * math/atest-exp2.c: Likewise.
3730         * math/atest-sincos.c: Likewise.
3732 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3734         * Makerules (install): Add comment about absolute paths.
3736 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
3738         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3739         array to NUL to handle maxlen==1 case correctly.
3740         Patch by HJ Lu.
3742 1998-08-23  Richard Henderson  <rth@cygnus.com>
3744         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3745         * sysdeps/alpha/elf/crtend.S: Likewise.
3746         * sysdeps/alpha/elf/start.S: Likewise.
3748         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3749         non-standard pv usage.
3751         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3752         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3753         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3754         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3755         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3756         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3757         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3758         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3759         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3760         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3761         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3763         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3764         a finite non-denormal, deferring to the full IEEE version otherwise.
3766         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3767         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
3768         * sysdeps/alpha/fpu/s_floor.c: New.
3769         * sysdeps/alpha/fpu/s_floorf.c: New.
3770         * sysdeps/alpha/fpu/s_ceil.c: New.
3771         * sysdeps/alpha/fpu/s_ceilf.c: New.
3773 1998-08-22  Philip Blundell  <philb@gnu.org>
3775         * sysdeps/arm/bits/string.h: New file.
3777 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3779         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3780         document it.
3782         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3783         test for recent Linux 2.1.100+ headers.
3785 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3787         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3789 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
3791         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3793 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3795         * Makefile (elf/ldso_install): Put back.  The problem still persists.
3796         * elf/Makefile (ldso_install): Likewise.
3798 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3800         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3801         create weak alias.
3802         * include/db.h: Declare __nss_db_open.
3803         * db2/Versions: Export it.
3805         * db2/makedb.c: Convert to use db2 API.
3806         * nss/nss_db/db-XXX.c: Likewise.
3807         * nss/nss_db/db-netgrp.c: Likewise.
3808         * nss/nss_db/db-alias.c: Likewise.
3809         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3811 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3813         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3814         sys_setresuid, already built automatically (or not).
3815         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3816         instead of __syscall_setresuid and add back setresuid.
3817         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3818         __syscall_setresuid.
3820 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3822         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3824 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
3826         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3827         BASH-ONLY marked region.
3828         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3830 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
3832         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3833         _IO_SYSSEEK fails.
3835         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3837         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3838         element.
3840 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
3842         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3843         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3844         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3845         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3846         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3847         those magic comments, and to use /bin/sh for @BASH@.
3848         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3849         * elf/ldd.sh.in: File removed.
3851 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
3853         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3854         cast them to unsigned long int.
3855         * pwd/putpwent.c (putpwent): Likewise.
3856         Patch by John Tobey <jtobey@banta-im.com>.
3858 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
3860         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3861         _IO_pos_BAD.
3863 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
3865         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3866         _IO_SYSSEEK fails.
3868 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
3870         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3871         Add umount and umount2.
3872         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3873         * sysdeps/unix/sysv/linux/umount.S: New file.
3874         * sysdeps/unix/sysv/linux/umount2.S: New file.
3875         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3876         Define MNT_FORCE.
3878         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3879         Add sys/sendfile.h.
3880         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3881         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3883         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3885         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3886         sendfile.
3888 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
3890         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3891         * elf/ldd.bash.in: Likewise.
3893         * elf/sln.c: Avoid warning for no main prototype.
3895         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3896         O_WRITE.
3897         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3900         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3901         F_GETSIG.
3902         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3903         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3904         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3906 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
3908         * sysdeps/arm/fpu/ieee754.h: Move to...
3909         * sysdeps/arm/ieee754.h: ... here.
3911         * sysdeps/arm/__longjmp.S: Put return value in correct register.
3912         Don't set the condition flags unnecessarily.
3913         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
3914         registers correctly.
3916         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3917         (patch from Scott Bambrough).
3919         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3921         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3922         NULL, just call it unconditionally.
3923         (__gmon_start__): Provide stub version as a weak symbol.
3925 1998-07-30  Philip Blundell  <philb@gnu.org>
3927         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3928         by Scott Bambrough)
3930         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3931         like `@' in .type directives.
3933         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3934         * sysdeps/arm/bsd-_setjmp.S: Likewise.
3936         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3938 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3940         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3941         (F_GETOWN): Likewise.
3943         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3944         Linux 2.1.117).
3946 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
3948         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3949         already defined.
3951 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
3953         * include/features.h: Define __USE_EXTERN_INLINES for recent
3954         enough gcc.
3955         * argp/argp.h: Define extern inline functions only if
3956         __USE_EXTERN_INLINES is defined.
3957         * libio/stdio.h: Likewise.
3958         * math/math.h: Likewise.
3959         * stdlib/stdlib.h: Likewise.
3960         * string/argz.h: Likewise.
3961         * sysdeps/generic/bits/sigset.h: Likewise.
3962         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3963         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3964         * sysdeps/wordsize-32/inttypes.h: Likewise.
3965         * sysdeps/wordsize-64/inttypes.h: Likewise.
3966         * wcsmbs/wchar.h: Likewise.
3968         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3969         to allow compilation without optimization.
3971 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3973         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3974         more entries.
3975         * nis/nss_compat/compat-initgroups.c: Likewise.
3976         * nis/nss_compat/compat-pwd.c: Likewise.
3977         * nis/nss_compat/compat-spwd.c: Likewise.
3978         * nis/nss_nis/nis-alias.c: Likewise.
3979         * nis/nss_nis/nis-ethers.c: Likewise.
3980         * nis/nss_nis/nis-grp.c: Likewise.
3981         * nis/nss_nis/nis-hosts.c: Likewise.
3982         * nis/nss_nis/nis-initgroups.c: Likewise.
3983         * nis/nss_nis/nis-network.c: Likewise.
3984         * nis/nss_nis/nis-proto.c: Likewise.
3985         * nis/nss_nis/nis-pwd.c: Likewise.
3986         * nis/nss_nis/nis-rpc.c: Likewise.
3987         * nis/nss_nis/nis-service.c: Likewise.
3988         * nis/nss_nis/nis-spwd.c: Likewise.
3990         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3992         * nis/ypclnt.c: Try binding dir only first time, could be to old.
3994         * nis/yp_xdr.c: Remove 1024 byte limit.
3995         * nis/ypupdate_xdr.c: Likewise.
3997         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3998         wrong data.
4000 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
4002         * Rules (binaries-static, binaries-shared static pattern rules):
4003         Depend on lib%, not just libc%, from $(link-libc{,-static}).
4005         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4006         this here, overriding Makeconfig generic value so we link against
4007         the RPC libs.
4009 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
4011         * posix/tstgetopt.c (options): Add NULL entry at end
4012         Patch by Adrian Miranda <ade@psg.com>.
4014 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
4016         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
4017         to 9.
4019 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
4021         * elf/elf.h: Add PPC Diab relocations.
4023         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4025 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
4027         * manual/texinfo.tex: Update.
4029 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
4031         * sysdeps/powerpc/backtrace.c: New file.
4033 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
4035         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4036         sigjmp_save.
4037         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4039 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4041         * Makefile (install-symbolic-link): Fix spelling.
4043 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4045         * elf/elf.h (SHT_HIOS): Fix value.
4047 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4049         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4050         part of the expansion, this is undefined by the standard.
4052 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
4054         * posix/getconf.c: Add support for systems with incomplete confname.h.
4056         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4058         * sysdeps/posix/wait3.c: Make it work.
4060 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4062         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4063         (elf/ldso_install): Remove.
4065         * elf/Makefile (distribute): Add sln.c.
4066         (others): Add sln.
4067         (others-static): Add sln.
4068         (install-rootsbin): Add sln.
4069         (others-static): Add sln.
4070         (ldso_install): Remove.
4072 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4074         * Makerules (install-clean-symbolic-link-list): Make phony.
4075         * Makefile (install-symbolic-link): Make phony.  Depend on
4076         subdir_install for parallel makes.
4079 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
4081         * elf/Makefile (distribute): Add sln.c
4083 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
4085         * elf/sln.c: New file.
4087         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4088         (install-clean-symbolic-link-list): New target.
4089         (install): Depend on install-clean-symbolic-link-list.
4090         (make-shlib-link): Changed for $(symbolic-link-list).
4092         * Makefile (install-symbolic-link): New target.
4093         (install): Depend on install-symbolic-link.
4095 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
4097         * include/unistd.h: Protect against multiple inclusion.
4099         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4100         is defined, not is glob is defined.
4101         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4103 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
4105         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4106         xdr_string for ut_line, ut_name and ut_host.
4108 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4110         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4111         /var/mail in accordance with FHS 2.0.
4112         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4114 1998-08-12  Richard Henderson  <rth@cygnus.com>
4116         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4117         Update aliases for cancelation.
4119         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4120         playing with symbol versions.
4122 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4124         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4125         multiple inclusion protection.
4126         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4127         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4128         define all these to 1.
4129         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4131 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4133         * sysdeps/mach/usleep.c: Include <unistd.h>.
4134         (usleep): Return void.
4136 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4138         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4139         decl to inhibit warning in if_freenameindex defn.
4141         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4143         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4145         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4146         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4147         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4148         * sysdeps/mach/usleep.c: Likewise.
4150         * sysdeps/mach/hurd/bind.c (bind): Add a const.
4152         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4153         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4154         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4155         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4156         * sysdeps/mach/usleep.c (usleep): Likewise.
4157         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4158         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4159         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4160         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4162 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4164         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4165         (glob64): Fix typo.
4167         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4168         %p arg to fprintf, since `void *' is the right type already.
4170 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
4172         * sysdeps/mach/hurd/getcwd.c
4173         (_hurd_canonicalize_directory_name_internal): Do not loop forever
4174         for unknown root directories.
4175         (__getcwd): Return NULL when the current root directory could not
4176         be reached.
4178 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
4180         * string/strsignal.c (strsignal): Count real-time signals from zero.
4183 See ChangeLog.8 for earlier changes.