Don't read sysd-sorted unless sysd-dirs is read.
[glibc.git] / ChangeLog
blobc86980f69520a02a7adde6e218856c4be241efe2
1 1998-11-22  Roland McGrath  <roland@baalperazim.frob.com>
3         * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
4         for the per-thread variables of the main user thread to make it
5         possible to use malloc as soon as _hurd_preinit_hook has been run.
6         For cthreads, copy values to new stack from there.
7         For non-cthreads, malloc threadvar array here and copy from temp space.
8         (init1): No longer initialize threadvars here.
9         (doinit1): Made static void at top level.
10         (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
11         inline a function that uses dynamic auto arrays.
13 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
15         * version.h (VERSION): Bump to 2.0.103.
17         * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
18         same method.
19         * configure.in: Don't define AR and RANLIB here.
21         * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
22         host name res_hconf code.
23         * inet/gethstbynm_r.c: Likewise.
24         * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
25         is defined.  Call res_hconf_init if necessary.  If POSTPROCESS is
26         defined execute the code.
27         * resolv/Makefile (routines): Add res_hconf.
28         (headers): Add res_hconf.h.
29         * resolv/res_hconf.c: Pretty print.
30         * resolv/res_hconf.h: Likewise.
32 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
34         * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
35         definitions.  Reported by Scott Bambrough <scottb@corelcomputer.com>.
37 1998-11-20 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
39         * math/libm-test.c: Raise some epsilons a bit.
41 1998-11-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
43         * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
45 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
47         * Makefile (distribute): Add scripts/gen-sorted.awk.
49 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
51         * posix/regex.c (regex_compile): Handle extra long class names
52         correctly.
54 1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>
56         * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
57         correctly.
59 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
61         * misc/error.c: Undo last change.
63         * ctype/Versions: Add _tolower and _toupper.
65 1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
67         * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
68         POLLNVAL.
70 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
72         * Makeconfig: Add comment to all-subdirs definition.
73         Add rule to generate sysd-sorted.  Include this file and and set
74         subdirs value to $(sorted-subdirs).
75         * scripts/gen-sorted.awk: New file.
76         * Make-dist (+tsrcs): Add Depend.
77         * nscd/Depend: New file.
78         * nss/Depend: New file.
79         * rt/Depend: New file.
81 1998-11-18  Ulrich Drepper  <drepper@cygnus.com>
83         * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
84         passed file descriptor exceeds the size determined by
85         getdtablesize.
87         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
88         from inline version in bits/socket.h.
90         * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
91         inline function only is __USE_EXTERN_INLINES is defined.
93         * time/strftime.c (my_strftime): Make code a bit clearer.
94         Patch by Paul Eggert <eggert@twinsun.com>.
96         * io/Makefile (CFLAGS-ftw.c): Removed.
98         * manual/errno.texi: Change the short text for ENODEV to
99         "No such device".
101 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
103         * io/Makefile (tests): Make sure that the test program has an
104         explicit directory part.
106 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
108         * configure.in: Fix last change.
110 1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
112         * sunrpc/Makefile (routines): Add create_xid.
114         * sunrpc/clnt_tcp.c: Use non-guessable xid.
115         * sunrpc/clnt_udp.c: Likewise.
116         * sunrpc/clnt_unix.c: Likewise.
117         * sunrpc/pmap_rmt.c: Likewise.
118         * sunrpc/create_xid.c: New, create non-guessable xid.
120         * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
121         of select.
122         * sunrpc/svc_unix.c: Use poll instead of select.
124 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
126         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
127         by removing SIG_IGN handler for SIGCHLD if necessary.
128         Patch by H.J. Lu <hjl@lucon.org>.
130         * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
131         of denormalized numbers.
133 1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>
135         * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
136         another parentheses warning, make nano-optimisation.
138         * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
139         saved LR on stack so _mcount works.
140         (_dl_prof_resolve): Likewise.
141         * sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
142         signal handler calling convention.
143         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
144         correct signal handler calling convention---more like x86 linux and
145         mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
147 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
149         * configure.in: Correct allowed makeinfo version.
151 1998-11-17  Philip Blundell  <pb@nexus.co.uk>
153         * sysdeps/generic/bits/mathdef.h: Fix typo.
155 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
157         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
158         under the right name (squish warning).
159         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
161 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
163         * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
164         prevent warnings.
166 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
168         * intl/locale.alias: Change `japanese' alias to match X11R6's.
169         Add `japanese.euc' alias.
171         * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
172         before running makeinfo.
174         * math/Makefile (libm-routines): $(strip) entire value.
176         * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
178 1998-10-24  H.J. Lu  <hjl@gnu.org>
180         * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
181         (_IO_cookie_file): Likewise.
183 1998-11-16  Philip Blundell  <philb@gnu.org>
185         * inet/netinet/icmp6.h: Correct naming of constants.
187 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
189         * sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
190         zero value as uninitialized so that variable can go into .bss.
192         * dirent/opendir-tst1.c: Print error strings to stdout.
194         * sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
195         * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
196         * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
197         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
198         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
200 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
202         * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
203         range.
205 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
207         * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
208         (fwrite_unlocked): Likewise.
210 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
212         * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
213         twice.  Don't bother handling zero size.
214         (fwrite_unlocked): Likewise.
216 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
218         * configure.in: Fix regex for makeinfo version string.
220 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
222         * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
223         warning.
224         * sunrpc/rpc_svcout.c (write_program): Likewise.
226 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
228         * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
230 1998-11-16  Ulrich Drepper  <drepper@cygnus.com
232         * misc/sys/mman.h: Pretty print prototypes.
234 1998-11-15  Ulrich Drepper  <drepper@cygnus.com
236         * misc/error.c (error): Don't use result of strerror_r call directly
237         since at least DEC Unix has a wrong return type.
238         Patch by Johan Danielsson <joda@pdc.kth.se>.
240 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
242         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
243         last change.
245 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
247         * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
248         format, just stop.
250         * version.h (VERSION): Bump to 2.0.102.
252         * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
253         change.
254         * stdio-common/scanf7.c (main): Likewise.
256 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
258         * stdio-common/vfscanf.c: Return EOF for invalid format
259         characters.
261         * version.h (VERSION): Bump to 2.0.101.
263         * Makerules (Versions.all): Generate this file from all Versions.def
264         files.
265         (sysd-versions): Use Versions.all instead of Versions.def.
267 1998-11-13  Philip Blundell  <philb@gnu.org>
269         * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
270         Reported by Scott Bambrough.
272 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
274         * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
276 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
278         * libio/bits/stdio.h: Correct and improve fread_unlocked and
279         fwrite_unlocked optimizations.
281         * time/tzfile.c (__tzfile_read): Set __tzname based on last names
282         in time not to last entries in the file.
283         (__tzfile_compute): Likewise.  Fix for PR libc/863.
285         * timezone/Makefile: Generate GB timezone data for test.
286         * timezone/tst-timezone.c: More tests for DST switching time (disabled
287         for now).
289 1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
291         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
292         d0 from clobber list.
294 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
296         * inet/netinet/in.h: Add a few more IPPROTO_* macros.
298         * libio/Makefile (headers): Add bits/stdio.h.
299         * libio/iofread_u.c: Undefine fread_unlocked before definition.
300         * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
301         * libio/stdio.h: Move optimizations into ...
302         * libio/bits/stdio.h: ...here.  New file.
304         * libio/iofread.c: Pretty print.
306 1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>
308         * sysdeps/gnu/bits/utmpx.h: Protect members of struct
309         __exit_status with `__'.  Rename pad member of struct utmpx to
310         __unused.
311         (RUN_LVL): Define unconditionally.
312         * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
313         __unused.
315 1998-11-12  Philip Blundell  <philb@gnu.org>
317         * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
318         Linux AF_NETLINK sockets (needed since the kernel version is
319         unusable).
320         * sysdeps/unix/sysv/linux/Makefile: Install it.
321         * sysdeps/unix/sysv/linux/Dist: Distribute it.
323 1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
325         * timezone/tst-timezone.c (tests): Add entry for America/Chicago
326         to test for bug in PR libc/863.
328 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
330         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
332         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
333         parameter lazy to do_lazy to avoid clashing with struct member name.
334         Reported by Ralf Baechle <ralf@uni-koblenz.de>.
336 1998-11-10  H.J. Lu  <hjl@gnu.org>
338         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
339         if it is defined in <linux/limits.h>.
341 1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
343         * include/protocols/routed.h: Include the real header with
344         a full path from the top of the source tree.
345         * include/protocols/rwhod.h: Likewise.
346         * include/protocols/talkd.h: Likewise.
347         * include/protocols/timed.h: Likewise.
349         * timezone/Makefile: Don't include z.ZONE files if no_deps
350         is set, not if avoid-generated is set.
352 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
354         * signal/signal.h: Undo last change.  Get definition of timespec
355         if __USE_POSIX199309.
357         * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
358         size_t to prevent gcc warning when using -Wqual-cast.
359         (__strpbrk_c3): Likewise.
360         Suggested by Alan Curry <pacman@cqc.com>.
362 1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>
364         * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
365         unblocked signals are set in the startup masks.
367         * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
368         INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
370         * hurd/hurd/signal.h: Update _hurdsig_init decl.
371         * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
372         INTARRAYSIZE, pass them down to _hurdsig_init.
373         * hurd/hurd.h: Update _hurd_proc_init decl.
375 1998-11-10  Ulrich Drepper  <drepper@cygnus.com>
377         * math/cabs.c: Replace complex by _Complex.
378         * math/cabsf.c: Likewise.
379         * math/cabsl.c: Likewise.
380         * math/cimag.c: Likewise.
381         * math/cimagf.c: Likewise.
382         * math/cimagl.c: Likewise.
383         * math/conj.c: Likewise.
384         * math/conjf.c: Likewise.
385         * math/conjl.c: Likewise.
386         * math/creal.c: Likewise.
387         * math/crealf.c: Likewise.
388         * math/creall.c: Likewise.
390         * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
391         included from math.h and __USE_ISOC9X is defined.
392         * sysdeps/generic/bits/mathdef.h: Likewise.
393         * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
394         * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
395         * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
396         * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
398 1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
400         * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
401         <complex.h>.
402         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
403         * sysdeps/generic/bits/mathdef.h: Likewise.
404         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
405         * sysdeps/powerpc/bits/mathdef.h: Likewise.
406         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
408 1998-11-09  Ulrich Drepper  <drepper@cygnus.com>
410         * extra-lib.mk: Fix typo in last change.
412         * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
413         is needed.
414         Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
415         Don't define `complex' but instead `_Complex'.  The later is the
416         reserved keyword.
417         * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
418         not complex.
420 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
422         * manual/libc.texinfo: Remove colon from category name.
423         * manual/Makefile (dir-add.info): Likewise.
425 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
427         * configure.in: Avoid autoconf bug.
429 1998-10-28  H.J. Lu  <hjl@gnu.org>
431         * posix/getopt.h: Add "__" to arguments in prototypes.
433 1998-11-05  H.J. Lu  <hjl@gnu.org>
435         * libio/iofgets.c (_IO_fgets): Don't report error
436         if something was read in and errno is set to
437         EAGAIN.
438         * libio/iofgets_u.c (fgets_unlocked): Likewise.
440 1998-11-05  Philip Blundell  <philb@gnu.org>
442         * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
443         header; it defines too much.  Provide a local definition of struct
444         sockaddr_pkt and a comment advising against its use.
446 1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
448         * extra-lib.mk: Avoid empty include list.
450 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
452         * extra-lib.mk: Add support for $(lib)-shared-only-routines.
454         * elf/Makefile (libdl-routines): Add dlopenold only if doing
455         versioning.
456         (libdl-shared-only-routines): New variable.
458 1998-11-06  Paul Eggert  <eggert@twinsun.com>
460         Don't invoke localtime_r or gmtime_r unless it's the GNU C
461         library's localtime_r and gmtime_r; there are too many buggy
462         implementations of localtime_r and gmtime_r out there, and
463         it's not worth keeping track of all the different bugs.
465         * time/mktime.c (__EXTENSIONS__): Remove.
466         (<unistd.h>): No need to include.
467         * time/strftime.c: Likewise.
469         * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
470         Remove.
471         (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
472         Base it on localtime unless _LIBC.
474         * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
475         all uses changed.
476         (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
477         Base them on localtime/gmtime if not _LIBC.
479 1998-11-07  Ulrich Drepper  <drepper@cygnus.com>
481         * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
482         file descriptor.  This makes this function actually usable.
483         Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
485 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
487         * math/math.h: Unconditionally include bits/mathdef.h.  Declare
488         long double functions only if __NO_LONG_DOUBLE_MATH is not
489         defined.
490         * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
491         Define __NO_LONG_DOUBLE_MATH.
492         * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
493         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
495         * elf/rtld.c: Add a few __builtin_expects where they will improve
496         a lot.
498 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
500         * version.h (VERSION): Bump to 2.0.100.
502         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
504         * sysdeps/libm-i387/s_fma.S: Optimize a bit.
505         * sysdeps/libm-i387/s_fmaf.S: Likewise.
507 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
509         * libio/genops.c (_IO_least_marker): Add additional parameter
510         end_p replacing fp->_IO_read_end.
511         (save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
512         and _IO_ssize_t instead of int.
513         (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
514         (_IO_switch_to_backup_area): Likewise.  Fix comments.
515         (_IO_seekmark): Undo last change.
516         (_IO_default_pbackfail): Correct use of backup area.
517         * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
519 1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
521         * configure.in: Search for install-info and substitute it.
522         Determine whether install-info is the buggy Debian version
523         that doesn't understand INFO-DIR-SECTION.
524         * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
525         to be substituted.
526         * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
527         install-info the --section argument it needs to work properly.
528         (dir-add.texinfo): Delete target.
529         (dir-add.info): Generate this directly.  Sort entries.  Put a
530         colon at the end of the INFO-DIR-SECTION line.
531         * manual/libc.texinfo: Put a colon at the end of the
532         @dircategory line.
534 1998-11-05  Paul Eggert  <eggert@twinsun.com>
536         * time/mktime.c (__mktime_internal): Adopt the traditional (and
537         problematic) notion of what to do when tm_isdst doesn't match.
539 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
541         * posix/PTESTS: Fix spelling.
543 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
545         * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
546         functions.  Reduce error in computing normalized value by multiplying
547         factor in loop and compute result in one step.
548         Reported by Christian Gafton.
550         * sysdeps/libm-i387/e_hypot.S: New file.
551         * sysdeps/libm-i387/e_hypotf.S: New file.
553 1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
555         * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
557 1998-11-03  H.J. Lu  <hjl@gnu.org>
559         * libio/fileops.c (new_do_write): New function.
560         (_IO_new_do_write): Call new_do_write.
561         (_IO_new_file_xsputn): Likewise.
563         * libio/oldfileops.c (old_do_write): New function.
564         (_IO_old_do_write): Call old_do_write.
565         (_IO_old_file_xsputn): Likewise.
567 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
569         * time/mktime.c (__mktime_internal): Correct last change.  We must
570         stop searching for the right isdst value before stepping to the
571         initial value.
573         * malloc/malloc.c: Make sure calloc really returned zeroed memory.
574         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
576 1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
578         * sysdeps/generic/bits/signum.h: Define signals with their
579         historical numbers when those are in the 1-15 range and
580         consistent across platforms.
581         Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
582         Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
583         appropriately instead of with fake function declarations
584         (would cause link errors).
585         If __USE_UNIX98, define SIG_HOLD.
587 1998-10-29  H.J. Lu  <hjl@gnu.org>
589         * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
590         union only if __USE_POSIX199309 is defined.
592         * misc/sys/select.h (pselect): Declared only if __USE_GNU is
593         defined.
595 1998-11-03  Ulrich Drepper  <drepper@cygnus.com>
597         * time/mktime.c (__mktime_internal): Handle broken down times
598         around the time of the DST switches more correctly.
600 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
602         * elf/Makefile (libdl-routines): Add dlopenold.
603         * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
604         * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
605         is set and bounce otherwise.
606         * elf/dlopen.c: Rename function to __dlopen_check and make version
607         named dlopen.
608         * elf/dlopenold.c: New file.
610 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
612         * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
613         * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
614         * elf/dl-deps.c: ...here.
615         * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
616         new parameter and expect result.  Remove code handling RTLD_GLOBAL.
617         Add return value of _dl_map_object_deps to
618         _dl_main_searchlist->r_nlist.
619         * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
620         If we parameter GLOBAL is nonzero add object and dependencies to
621         the global scope.
622         * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
623         * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
624         Mark all objects as in global scope.
625         * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
627         * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
630         used in macro magic.
632 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
634         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
635         before <sys/socket.h> to make sockaddr_at available to
636         <sys/socket.h>.
638         * posix/glob.h: Remove __P from parameter lists of declarations.
640 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
642         * time/tzset.c (tz_compute): Remove unused parameter timer.
643         Change caller.
645 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
647         * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
649 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
651         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
652         unnecessary test and add cast.
654 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
656         * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
658         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
659         parameter fd.
660         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
662 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
664         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
665         fds_bits member.
666         (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
668 1998-10-31  Richard Henderson  <rth@cygnus.com>
670         * math/Makefile (gmp-objs): Add udiv_qrnnd.
672         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
673         (inline_syscall*): New.
674         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
675         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
677 1998-10-31  Ulrich Drepper  <drepper@cygnus.com>
679         * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
680         avoid ld test generating an unwanted file.
682         * posix/PTESTS: Remove comment about incorrect test (it is correct).
684 1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
686         * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
687         * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
688         * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
689         * sunrpc/rpc/xdr.h: Add INT32 support.
690         * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
692         * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
693         * nis/nis_callback.c: Likewise.
694         * nis/nis_creategroup.c: Likewise.
695         * nis/nis_defaults.c: Likewise.
696         * nis/nis_intern.h: Likewise.
697         * nis/nis_lookup.c: Likewise.
698         * nis/nis_ping.c: Likewise.
699         * nis/nis_print.c: Likewise.
700         * nis/nis_table.c: Likewise.
701         * nis/nis_util.c: Likewise.
702         * nis/nis_xdr.c: Likewise.
703         * nis/rpcsvc/nis.h: Likewise.
704         * nis/rpcsvc/nis.x: Likewise.
705         * nis/rpcsvc/nis_callback.h: Likewise.
706         * nis/rpcsvc/nis_object.x: Likewise.
707         * nis/rpcsvc/nislib.h: Likewise.
709         * nis/rpcsvc/yp.h: Remove casts to (u_long).
710         * nis/rpcsvc/yp_prot.h: Likewise.
711         * nis/rpcsvc/ypupd.h: Likewise.
712         * nis/ypclnt.c: Change %ld to %d in sprintf.
714 1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
716         * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
718 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
720         * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
721         0, __fd_mask is usually not a char.
723 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
725         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
726         compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
727         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
728         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
729         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
730         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
731         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
732         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
734         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
735         compiling on systems without rt_sigaction syscall.
736         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
737         Likewise.
739 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
741         * time/strptime.c (HERE_D_FMT): Fix typo.
742         Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
744 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
746         * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
747         (generate): Add test1.cat and test1.h.
748         (distribute): Add test1.msg.
749         * catgets/test1.msg: New file.
751         * catgets/gencat.c: Do a better job in initializing dynamic
752         memory [PR libc/844].
754 1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>
756         * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
757         internal_function since it is called through a pointer.
758         * iconv/gconv_db.c (free_derivation): Likewise.
759         * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
761         * posix/wordexp.c: Add internal_function to parse_backtick definition.
762         * rt/aio_misc.c: Add internal_function to __aio_free_request,
763         __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
764         definitions.
765         * rt/aio_notify.c: Add internal_function to __aio_notify_only and
766         __aio_notify definitions.
767         * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
769 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
771         * Makerules (build-shlib): Add -O to generate optimized shared
772         objects.
774 1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>
776         * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
777         * sysdeps/libm-i387/e_fmodf.S: Likewise.
778         * sysdeps/libm-i387/e_fmodl.S: Likewise.
779         * sysdeps/libm-i387/s_ilogb.S: Likewise.
780         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
781         * sysdeps/libm-i387/s_logb.S: Likewise.
782         * sysdeps/libm-i387/s_logbf.S: Likewise.
783         * sysdeps/libm-i387/s_remquo.S: Likewise.
784         * sysdeps/libm-i387/s_remquof.S: Likewise.
785         * sysdeps/libm-i387/s_remquol.S: Likewise.
786         * sysdeps/libm-i387/s_significand.S: Likewise.
787         * sysdeps/libm-i387/s_significandf.S: Likewise.
789 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
791         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
792         _llseek.
794 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
796         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
798 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
800         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
801         returns without cleaning up the lock.
802         (printf_unknown): Add label all_done.
804         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
805         kernels in mind when reading /proc/self/fd/FD.
806         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
808         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
810         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
811         _fitoa.
813         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
814         /prof/self/fd/FD first.
815         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
817         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
818         formatted number starting at given position and return pointer to
819         following byte.
820         (_fitoa): Likewise, for long long.
822 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
824         * sysdeps/unix/sysv/linux/bits/sem.h,
825         sysdeps/unix/sysv/linux/bits/ipc.h,
826         sysdeps/unix/sysv/linux/bits/shm.h,
827         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
828         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
829         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
830         so the same bits will be used for the Hurd.
832 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
834         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
835         compiling on systems without rt_sigaction syscall.
837 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
839         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
840         directories as well as add them.
842 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
844         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
845         AF_ECONET sockets as found in recent Linux 2.1 kernels.
846         * sysdeps/unix/sysv/linux/Dist: Distribute it.
847         * sysdeps/unix/sysv/linux/Makefile: Install it.
849 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
851         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
853 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
855         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
856         fds_bits member.
857         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
858         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
859         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
860         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
861         Likewise.
862         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
863         Likewise.
864         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
865         __FD_ISSET): Use it.
866         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
867         __FD_ISSET): Likewise.
869 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
871         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
872         llseek.
874         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
875         Instead call the system call wrapper function using an 64bit argument.
876         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
877         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
878         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
880 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
882         * signal/signal.h: Don't include <time.h> for timespec, add
883         forward declaration.
885         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
886         of __FD_* macros which use __fds_bits.
887         * sysdeps/generic/bits/select.h: Likewise.
888         Reported by Matt McLean <keys@yikes.com>.
890 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
892         * elf/elf.h: Update ARM definitions.
894 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
896         * signal/signal.h: Include bits/sigthread.h only for Unix98.
898 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
900         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
901         define __builtin_expect as a macro substituting to the first
902         argument.
903         * config.h.in: Define HAVE_BUILTIN_EXPECT.
904         * configure.in: Add test for __builtin_expect.
906         * sysdeps/unix/sysv/linux/bits/types.h: Include
907         bits/pthreadtypes.h only not for POSIX 199506.
908         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
909         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
910         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
912 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
914         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
915         * socket/Versions [libc, GLIBC_2.0]: ... to here.
917 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
919         * include/stdio.h: Included <stddef.h> for size_t.
921         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
922         to ...
923         * include/stdio.h: ...here.
924         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
926 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
928         * time/Makefile (tests): Add tst-posixtz.
929         * time/tst-posixtz.c: New file.
931 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
933         * elf/rtld.c (process_envvars): Accept any non-null value of
934         LD_BIND_NOW, as mandated by the ABI.
936 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
938         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
939         __syscall_pread.
940         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
941         __syscall_pwrite.
942         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
943         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
944         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
946         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
947         duplicate entries.
948         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
949         s_pread64 and s_pwrite64.
950         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
952 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
954         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
955         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
956         to __syscall__llseek.
957         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
958         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
959         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
960         __sys_llseek.
962 1998-10-26  Cristian Gafton  <gafton@redhat.com>
964         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
965         and s_setfsuid.
967 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
969         * time/tzset.c (tz_compute): Correct last patch and describe this
970         in a comment.
972 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
974         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
975         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
976         rt_sigaction and rt_sigpending.
977         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
978         for __syscall_* functions.
979         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
981 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
983         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
984         _hurd_dtable_lock, _hurd_intern_fd.
986         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
987         cthread_getspecific, cthread_setspecific, __libc_getspecific.
989         * mach/Versions: Fix typo in last change.
991 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
993         * time/tzset.c (tz_compute): If time to switch to DST is later in
994         the year switch back in the next year.
995         Reported by jwitford@hutch.com.au.
997 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
999         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1000         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1001         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1002         __mach_port_allocate, __mach_port_allocate_name,
1003         __mach_port_insert_right __mutex_trylock, __mutex_lock,
1004         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1005         __task_set_special_port, __task_terminate, __thread_depress_abort,
1006         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
1007         functions are not used outside libc.
1009         * sysdeps/mach/hurd/Versions: New file.
1010         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1011         _cthread_init_routine.  These are set by the Hurd cthreads library.
1012         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
1013         the dynamic linker will not be replaced by the corresponding shared
1014         library routines once they are loaded.
1016 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
1018         * sysdeps/mach/hurd/i386/init-first.c: Only define
1019         __libc_enable_secure if PIC is not defined.
1021 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
1023         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
1024         to recurse into argp.
1026 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1028         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
1029         greater or equal than 199506L.
1031         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
1032         only is __USE_XOPEN.  Otherwise use __fds_bits.
1033         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1034         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1035         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1036         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1037         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1039 1998-10-24  H.J. Lu  <hjl@gnu.org>
1041         * locale/programs/charmap.c (parse_charmap): Accept tok_string
1042         for <code_set_name>.
1044 1998-10-25  H.J. Lu  <hjl@gnu.org>
1046         * locale/programs/ld-ctype.c (ctype_finish): Also check
1047         <space>.
1049 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1051         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1053         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1054         if __USE_POSIX199506 or __USE_UNIX98.
1056 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1058         * string/bits/string2.h: Inline strdup+friends only if
1059         __USE_MISC || __USE_GNU (prevents namespace pollution).
1061 1998-10-24  H.J. Lu  <hjl@gnu.org>
1063         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1064         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1065         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1066         LOCK_NB, LOCK_UN): Likewise.
1067         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1068         LOCK_NB, LOCK_UN): Likewise.
1069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1070         LOCK_NB, LOCK_UN): Likewise.
1071         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1072         LOCK_NB, LOCK_UN): Likewise.
1074 1998-10-24  H.J. Lu  <hjl@gnu.org>
1076         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1078         * libio/rewind.c (rewind): Clear the error.
1080 1998-10-24  H.J. Lu  <hjl@gnu.org>
1082         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1083         "buffer".
1085 1998-10-24  H.J. Lu  <hjl@gnu.org>
1087         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1088         with __need_timeval.
1089         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1090         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1092 1998-10-24  H.J. Lu  <hjl@gnu.org>
1094         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1095         sigqueue): Protect with __USE_POSIX199309.
1097 1998-10-24  H.J. Lu  <hjl@gnu.org>
1099         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1100         __USE_POSIX.
1102 1998-10-24  H.J. Lu  <hjl@gnu.org>
1104         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1105         the kernel file offset.
1106         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1108 1998-10-24  H.J. Lu  <hjl@gnu.org>
1110         * time/tzfile.c (__tzfile_default): Set num_types to 2.
1112 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1114         * rt/aio.h: Move __aio_init to...
1115         * include/aio.h: ...here.
1117 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1119         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1120         definition of O_LARGEFILE.
1122 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1124         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1125         as first argument to statfs.
1127 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1129         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1131 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1133         * malloc/mtrace.c: Include <string.h> for strlen.
1135 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1137         * sysdeps/mach/hurd/bits/environments.h: New file.
1139         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1141         * mach/Versions, hurd/Versions: Add numerous symbols.
1142         Remove libmachuser and libhurduser sections, punt
1143         versioning for those libraries for now.
1145         * misc/Versions: Add reboot here; it exists on all platforms.
1146         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1148 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1150         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1151         macro.
1152         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1153         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1154         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1155         O_NOFOLLOW, O_DIRECT): New macros.
1156         (O_DIRECTORY): Correct definition according to official 2.1.126.
1157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1158         O_NOFOLLOW): New macros.
1160 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1162         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1164         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1165         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1167 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1169         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1170         setfsuid.c, and setfsgid.c.
1171         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1172         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1175         * version.h (VERSION): Bump to 2.0.99.
1177         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1178         ustat definition.
1180         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1181         s_pwrite64.c.
1183         * posix/fnmath.h: Don't redefine __P when used in glibc.
1184         * posix/glob.h: Likewise.
1186         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1187         Patch by Dick Streefland <dick_streefland@tasking.com>.
1189         * stdio-common/tst-ungetc.c: Add more test cases.
1191         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1192         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1193         definitions to ...
1194         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
1195         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1196         * sysdeps/unix/sysv/linux/pathconf.c: New file.
1197         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1198         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1200 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
1202         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1203         <asm/ptrace.h> to define struct pt_regs.
1204         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1205         including <asm/ptrace.h> here.
1207         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1208         C_SYMBOL_NAME macro.
1210 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1212         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1213         end of enumerator list.
1214         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1215         * posix/wordexp.h: Likewise.
1217         * db/db.h: Use __PMT instead of __P in typedefs.
1218         * db/mpool.h: Likewise.
1219         * sysdeps/generic/bits/siginfo.h: Likewise.
1220         * nis/rpcsvc/ypclnt.h: Likewise.
1222 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1224         * libio/genops.c (_IO_seekmark): When switching to backup buffer
1225         make sure all characters from the read buffer are read after
1226         switching back to it.
1228 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1230         * configure.in: Add support for Cygnus GNUPro compilers.
1232 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1234         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1236         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1237         of __P for sa_restorer.
1238         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1239         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1240         kernel_sigaction, old_kernel_sigaction): Likewise.
1242 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1244         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1245         and __syscall_pwrite aliases.
1247         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
1249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1250         improve INLINE_SYSCALL using macro assembler magic.
1252 1998-10-22  H.J. Lu  <hjl@gnu.org>
1254         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1255         sanity check for n.
1256         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1258         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1259         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
1261         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
1262         by VSX-PCT.
1264         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
1266 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
1268         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1269         __ASSEMBLER__.
1271 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
1273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1274         and adjust formats.
1276 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
1278         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
1279         __syscall_* function.
1280         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1281         of calling __syscall_* function.
1282         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1283         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1284         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1285         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1286         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1287         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1288         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1289         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1290         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1291         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1292         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1293         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1294         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1295         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1296         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1297         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1298         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1299         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1300         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1301         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1302         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1303         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1304         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1305         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1306         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1307         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1308         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1309         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1310         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1311         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1312         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1313         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1314         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1315         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1316         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1317         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1318         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1319         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1320         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1321         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1322         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1323         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1326         inline assembler.
1327         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1328         __syscall_* definitions.
1330         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1331         definitions to...
1332         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1333         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1334         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1335         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1336         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1337         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1338         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1340         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1341         Move definition to...
1342         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1343         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1344         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1345         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1346         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1348         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1350         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1351         (sysdep_routines): Remove s_pread64 and s_pwrite64.
1353         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1354         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1355         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1356         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1357         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1358         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1360 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1362         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1363         and bring them in synch.
1364         * sysdeps/unix/siglist.c: Likewise.
1365         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1367 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1369         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1370         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1372         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1373         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1374         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1375         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1376         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1377         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1378         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1379         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1381         s_setregid.
1382         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1383         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1384         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1386 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1388         * sunrpc/rpc_main.c (close_output, close_input): New functions.
1389         (c_output, h_output, s_output, l_output, t_output, svc_output,
1390         clnt_output, mkfile_output): Call them at the end.
1392 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1394         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1395         link command.
1397 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1399         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1400         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1402 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
1404         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1405         s_pwrite64.
1406         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1407         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1408         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1409         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1410         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1412 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1414         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1415         O_DIRECTORY.
1417 1998-10-20  H.J. Lu  <hjl@gnu.org>
1419         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1420         argument types.
1422 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1424         * math/tgmath.h: Make nested function calls work.
1426         * include/ldsodefs.h: Fix typo.
1428         * posix/Makefile (tests): Add tst-preadwrite.
1429         * posix/tst-preadwrite.c: New file.
1431         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1432         sure that descriptor is in any case for a directory.
1434 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1436         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1437         (atan2): Takes two arguments.
1439 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1441         * include/ldsodefs.h: New file.
1443         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1444         Remove change to avoid using _CALL_DL_FCT.
1445         * iconv/gconv_db.c: Likewise.
1446         * iconv/gconv_dl.c: Likewise.
1447         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1448         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1449         * nss/nsswitch.c: Likewise.
1450         * nss/nsswitch.h: Likewise.
1452 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1454         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1455         required libraries.
1456         * login/Makefile (otherlibs): Likewise.
1457         * nscd/Makefile (otherlibs): Likewise.
1458         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1460         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1462         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1464 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1466         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1467         and setfsuid.
1469 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1471         * nscd/connections.c: Fix typos in comments and strings.
1473         * nscd/nscd.conf: Update according to recent changes to nscd.
1475         * nscd/cache.c (prune_cache): Remove wrong comment.
1477 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
1479         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1480         category in copy_posix.
1481         (collate_finish): Don't warn about UNDEFINED not being defined.
1482         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1483         category in copy_posix.
1484         * locale/programs/ld-messages.c (messages_startup): Likewise.
1485         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1486         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1487         * locale/programs/ld-time.c (time_startup): Likewise.
1488         * locale/programs/localedef.c: Move copy_def_list_t definition into
1489         locales.h.  Define copy_posix variable.
1490         (main): Before processing copy list add &copy_posix to copy_list.
1491         * locale/programs/locales.h: Add definition of copy_def_list_t.
1492         * locale/programs/locfile.c: Clear bit for appropriate category in
1493         copy_posix.mask for copy instruction.
1495 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1497         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1498         non-existing file with generic implementation.
1499         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1501 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
1503         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1504         defined.  Avoid using _CALL_DL_FCT if it is not defined.
1505         * iconv/gconv.c: Likewise.
1507 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
1509         * nscd/connections.c (dbs): Define defualt values for timeouts and
1510         set enabled to 0 by default.
1511         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
1512         nscd_run.
1514         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1515         character >= 0x80.
1516         (_nl_C_LC_CTYPE_class32): Likewise.
1517         Reported by HJ Lu.
1519 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1521         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1522         _HURD_THREADVAR_DL_ERROR.
1524         * hurd/Makefile (user-interfaces): Add login, password.
1526         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1528 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
1530         [submitted 1998-08-06]
1531         * mach/Machrules: Create target directory and force re-evaluation
1532         of Makefile to prevent `make' from optimizing away most of the
1533         implicit rules and `vpath' directives.
1535 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1537         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1538         is null, short-circuit to __mach_msg.
1540         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1541         broken out of init1.
1542         (init1) [PIC]: Call it.
1543         (__libc_init_first) [! PIC]: Call it.
1545         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1546         __libc_init_secure.  Instead set __libc_enable_secure here from
1547         the exec flags.
1548         (__libc_enable_secure): New variable it.
1549         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1551 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
1553         * nscd/nscd-client.h: New file, broken out of "nscd.h".
1554         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1555         and #include that.
1556         * nscd/Makefile (distribute): Add nscd-client.h.
1557         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1558         Include "nscd-client.h" instead of "nscd.h"
1560 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
1562         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1563         directory entries when a lstat call fails.
1564         Patch by Colin Plumb <colin@nyx.net>.
1566         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1567         NSS functions.
1568         * resolv/nss_dns/dns-network.c: Likewise.
1570         * grp/Makefile: Don't search for linuxthreads in add-ons, use
1571         have-thread-library to determine whether threads are available.
1572         * pwd/Makefile: Remove wrong comment.
1574         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1575         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1577         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1579         * nss/Versions: Add __nss_hosts_lookup.
1581         * nss/getXXbyYY.c: Remove unneeded assignment.
1583         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1585         Almost complete rewrite of the NSCD to make it smaller, faster,
1586         add more functionnality and make it easier to extend.
1587         * nscd/Makfile (routines): Add nscd_gethst_r.
1588         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1589         * nscd/cache.c: New file.
1590         * nscd/gethstbyad_r.c: New file.
1591         * nscd/gethstbynm2_r.c: New file.
1592         * nscd/hstcache.c: New file.
1593         * nscd/nscd_gethst_r.c: New file.
1594         * nscd/connections.c: Rewritten.  Don't start new thread for every
1595         new connection.  Use a fixed set of threads which handle all
1596         connections and also the cache cleanup.
1597         * nscd/grpcache.c: Rewritten to use generic cache handling functions
1598         in cache.c.
1599         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
1600         for rewrite.  Remove handle_requests function.
1601         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1602         Define new data structure for the new unified cache and the host
1603         database entries.
1604         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1605         databases easily.  Recognize check-files and threads definitions.
1606         * nscd/nscd.conf: Add definition of enable-cache and check-files to
1607         passwd and group definitions.  Add new set of definitions for hosts.
1608         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1609         * nscd/nscd_getpw_r.c: Likewise.
1610         * nscd/nscd_proto.h: Add prototype for host database functions.
1611         * nscd/nscd_stat.c: Rewrite to simplify printing of information
1612         for many databases.
1613         * nscd/dbg_log.c: Remove unnecessary variable initializations.
1614         Global variable debug_flag is renamed to dbg_level.
1615         * nscd/dbg_log.h: Declare set_logfile.
1617 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1619         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1620         O_LARGEFILE back.
1622 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
1624         * time/mktime.c: Some systems require <unistd.h> to be
1625         included before <time.h> for localtime_r to be declared
1626         properly.
1627         * time/strftime.c: Likewise.
1629 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1631         * db/Makefile: Add rule to generate shared object with the soname
1632         from glibc 2.0.
1634         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
1635         available double check to verify it's a directory.
1637         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1638         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1639         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1640         are not generally available.
1641         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1643         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1644         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1645         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1646         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1647         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1648         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1649         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1650         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1651         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1652         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1653         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1654         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1655         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1656         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1657         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1658         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1659         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1660         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1661         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1662         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1663         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1664         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1665         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1666         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1667         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1668         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1669         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1670         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1671         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1672         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1673         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1674         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1675         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1676         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1677         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1678         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1679         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1680         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1682         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1683         s_setresgid, and s_setuid.
1684         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1685         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1686         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1687         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1688         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1689         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1690         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1692 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
1694         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1695         localtime_t declaration on some systems.
1697 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
1699         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1700         -DSTATIC_GCONV.
1701         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
1702         defined.  Avoid using DL_CLL_FCT if it is not defined.
1704 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1706         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1707         Include endian.h unconditionally.  Remove portability goop
1708         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1710 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1712         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1714 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
1716         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1717         again.  Use char[44] to define size of the struct.
1719         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1721 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1723         * string/bits/string2.h (strcmp): Don't cache the result of
1724         __builtin_constant_p in variables, otherwise constant folding
1725         can fail in big functions.
1727 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1729         * string/bits/string2.h: Add prototypes for the new inline
1730         functions.
1732 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
1734         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1735         have all types defined.
1736         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1738 1998-10-08  Paul Eggert  <eggert@twinsun.com>
1740         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1741         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1742         a body that merely expands localtime_r; this works around a
1743         bug in Digital Unix 4.0A and 4.0D.
1745 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
1747         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1748         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1749         __ioctl to __syscall_ioctl and include Linux version of this file.
1750         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1751         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
1752         ioctl calls which handle struct termios.
1753         Based on a patch by Dan Jacobowitz <drow@false.org>.
1755 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
1757         * version.h (VERSION): Bump to 2.0.98.
1759         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1760         here instead of including kernel_termios.h.
1762 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1764         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1765         unnecessary after the changes of 1998-10-12.
1767 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
1769         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1770         parameter format string.
1771         (inline_outw): Likewise.
1773         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1774         string.h to get memcpy prototype and NULL definition.
1776 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1778         * misc/sys/cdefs.h (__THROW): New macro.
1779         * argp/argp.h: Use it to replace the kludgey __P in inline
1780         function definitions.
1781         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1782         * stdlib/stdlib.h: Likewise.
1783         * wcsmbs/wchar.h: Likewise.
1784         * libio/stdio.h: Likewise.
1785         * stdio/stdio.h: Likewise.
1786         * sysdeps/wordsize-64/inttypes.h: Likewise.
1787         * sysdeps/wordsize-32/inttypes.h: Likewise.
1788         * string/argz.h: Likewise.
1789         * io/sys/stat.h: Likewise.
1791 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1793         * Rules (stdio_lim): New variable.
1794         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1795         on Rules and config.make, use $(move-if-change) to avoid unnessary
1796         recompilations, and cleanup command.
1797         (common-generated): Add bits/stdio_lim.st.
1799 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
1801         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1802         variable to prevent warnings from use of modern CPU instructions.
1803         Patch by Richard Henderson <rth@cygnus.com>.
1805         * sysdeps/unix/opendir.c: Test whether NAME is directory before
1806         opening it.
1808 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
1810         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1811         semicolon so that profiling works.
1813 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
1815         * sysdeps/generic/glob.c: #undef mempcpy before #define.
1817         * sysdeps/unix/bsd/clock.c: Use prototype defns.
1819 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
1821         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1822         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1824         * string/bits/string2.h [!_STRING_ARCH_unaligned]
1825         (__mempcpy_small): Add parameter for 1 byte copy and use it.
1826         Reported by Geoff Keating <geoffk@ozemail.com.au>.
1828 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
1830         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1831         it is already defined in <bits/environments.h>.
1833 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
1835         * posix/ptestcases.h: Fix typo.
1837 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1839         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1840         (regexec): Allocate regs.start and regs.end as one block.
1842 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1844         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1845         enum decl.
1847 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
1849         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1850         sigcontext union to ...
1851         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
1852         file.
1853         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1854         version 2.0 kernels.
1856 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
1858         * malloc/mtrace.c (tr_reallochook): Produce better output for real
1859         reallocation case.
1861         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1862         * argp/argp-xinl.c: Likewise.
1864         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1865         Ruffian entry back.
1866         Patch by Christian Gafton.
1868 1998-10-08  Paul Eggert  <eggert@twinsun.com>
1870         * time/mktime.c (__mktime_internal): When the requested time falls
1871         in a spring-forward gap of size DT, return a time that is DT away
1872         from the requested time, preferring a time whose tm_isdst differs
1873         from the requested value.  Bump the max number of probes from 4 to
1874         6 to account for the extra probes needed to discover a
1875         spring-forward gap in the worst case.
1877 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
1879         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1880         of the weird alpha architectures.
1881         Patch by Cristian Gafton <gafton@redhat.com>.
1883 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
1885         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1886         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
1888 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
1890         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1891         (dl_open_worker): Use realloc, not malloc to resize array.
1892         * elf/rtld.c (_dl_initial_searchlist): New variable.
1893         (_dl_main): Copy content of _dl_main_searchlist to
1894         _dl_initial_searchlist.
1895         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1896         _dl_global_scope_alloc.
1897         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1898         * elf/dl-close.c (_dl_close): When removing object with global
1899         scope remove allocated searchlist if no dynamically loaded object
1900         is on it anymore.
1901         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1902         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1904         * malloc/mtrace.c (tr_where): Don't print space in location string,
1905         print it afterwards.  Print better symbol name information.
1907 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1909         * manual/filesys.texi (Setting Permissions): Fix example for
1910         reading umask.
1912 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1914         * elf/sprof.c (load_profdata): Fix typo in error message.
1916 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1918         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1919         flag.
1921 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1923         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1925 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
1927         * version.h (VERSION): Bump to 2.0.97.
1929 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1931         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1932         in definitions of inline stat functions so that they match the
1933         declaration.
1934         * stdlib/stdlib.h: Likewise.
1935         * wcsmbs/wchar.h: Likewise.
1936         * libio/stdio.h: Likewise.
1937         * stdio/stdio.h: Likewise.
1938         * sysdeps/wordsize-64/inttypes.h: Likewise.
1939         * sysdeps/wordsize-32/inttypes.h: Likewise.
1940         * string/argz.h: Likewise.
1941         * argp/argp.h: Likewise.
1943 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
1945         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1946         netinet/in.h.
1948 1998-10-05  Philip Blundell  <philb@gnu.org>
1950         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1951         and constants.  Tidy up formatting a little.
1953         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1954         Move definitions to in.h.
1956 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1958         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1959         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1960         Remove inclusion of <linux/swap.h>.
1962 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1964         * io/sys/stat.h: Use __P in definitions of inline stat functions
1965         so that they match the declaration.
1967 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1969         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1971 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1973         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1974         linux 2.1 version.
1976 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
1978         * sysdeps/arm/dl-machine.h: Fix typo in last change.
1980         * sysdeps/arm/bits/huge_val.h: New file.
1982 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1984         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1986         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1987         define.
1989 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1991         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1992         store result of realloc instead of using BUF.
1994 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1996         * misc/sgtty.h (_SGTTY_H): Correct spelling.
1997         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1999 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2001         * manual/memory.texi (Obstacks): Document
2002         obstack_alloc_failed_handler usage.
2004         * malloc/obstack.h: Enhance comment about
2005         obstack_alloc_failed_handler usage.
2006         * malloc/obstack.c: Likewise.
2008 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2010         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2011         gcc before 2.8 is used.
2013 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
2015         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
2016         from Scott Bambrough.
2018         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
2020         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
2021         include the lock member.
2023 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
2025         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
2027 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
2029         * timezone/zic.c: Update from tzcode1998h.
2030         * timezone/europe: Update from tzdata1998i.
2031         * timezone/southamerica: Likewise.
2033         * sys/types.h: Protect use of long long by __extension__.
2034         * stdlib/stdlib.h: Likewise.
2035         * string/string.h: Likewise.
2036         * sysdeps/i386/bits/byteswap.h: Likewise.
2037         * sysdeps/geeric/bits/byteswap.h: Likewise.
2038         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2039         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2040         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2041         * sysdeps/wordsize-32/inttypes.h: Likewise.
2042         * sysdeps/wordsize-32/stdint.h: Likewise.
2043         * wcsmbs/wchar.h: Likewise.
2045 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2047         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
2048         expression.
2049         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
2050         __strsep): Greatly reduce size of expansion by combining common
2051         expressions.
2052         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2053         inline function.
2054         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2055         by the above definitions.
2057 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
2059         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2060         correct struct ipc_perm definition.
2062 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2064         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2066 1998-09-29  Cristian Gafton  <gafton@redhat.com>
2068         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2069         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
2070         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2071         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2072         Add net/if_shaper.h.
2074 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
2076         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2078         * nis/ypclnt.c: Remove not needed close calls.
2080 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
2082         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
2083         check a bit.  Also close socket of domain client.  Close socket
2084         in IPPORT_RESERVED error case.
2086 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2088         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2089         CMSG_ALIGN (fixes a bug) and correct test for availability of
2090         another entry.
2091         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2092         Linux version.
2093         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2094         availability of another entry.
2095         Patch by ak@muc.de.
2097         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2098         Patch by ak@muc.de.
2100         * libio/libio.h [!__STDC__]: Define const only if not defined.
2102 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2104         * posix/annexc.c (xsystem): New function.  Use it instead of
2105         system.
2107 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2109         * stdlib/longlong.h: Remove #endif for #if removed in last change.
2111 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2113         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2114         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2115         allow using `ut' parameter.
2116         [!emacs]: Define ut_argument, ut_argument_spec, and
2117         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
2118         argument_spec to prototypes and definitions.
2119         (my_strftime): Don't call tzset of ut != 0.
2120         Compute diff as 0 is ut != 0;
2121         [emacs]: Define new emacs_strftime function.
2122         Based on a patch by Paul Eggert.
2124 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2126         * time/strftime.c (my_strftime): When asking for the length of the
2127         subformatted buffer, do not limit the length to look for;
2128         otherwise, we have no reliable way to distinguish between the
2129         empty buffer and an error.
2131 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2133         * math/Makefile (gmp-objs): Add mp_clz_tab.
2135 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
2137         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2138         set them.
2139         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2140         cpus lacking hardware multiply and divide.
2142 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2144         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2145         $(<F), not $(^F).
2147 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2149         * db/btree/bt_delete.c: Fix -Wparentheses warning.
2151 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2153         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2154         $(do-install).
2156 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2158         * debug/catchsegv.sh: Also produce output if clone process died.
2160 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2162         * time/strftime.c (f_wkday): Remove duplicate definition.
2163         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2164         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2165         1998-09-11 fix to this case.
2166         (wkday_len, month_len): Remove these macros; they're no longer needed.
2168 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2170         * time/strftime.c (my_strftime): Don't store past the end of a
2171         zero-sized buffer.
2173 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2175         * time/strftime.c (underlying_strftime):
2176         Set the buffer to a nonzero value before calling
2177         strftime, and check to see whether strftime has set the buffer to zero.
2178         This lets us distinguish between an empty buffer and an error.
2180 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
2182         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
2183         This fix is propagated from tzcode1998g.tar.gz.
2185 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
2187         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2188         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
2189         sys_siglist.  This is handled correctly by the weak_alias macro.
2191 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2193         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2194         of mempcpy.  Reported by Andreas Jaeger.
2196         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
2197         pollute the namespace since the compiler will resolve it inline.
2198         Reported by Florian La Roche <florian@suse.de>.
2200 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
2202         * timezone/private.h: Update from tzcode1998g.
2204         * timezone/africa: Update from tzdata1998h.
2205         * timezone/asia: Likewise.
2206         * timezone/australasia: Likewise.
2207         * timezone/europe: Likewise.
2208         * timezone/northamerica: Likewise.
2209         * timezone/southamerica: Likewise.
2210         * timezone/zone.tab: Likewise.
2212 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2214         * misc/sys/mman.h: New file.
2216         * sysdeps/generic/bits/mman.h: New file.
2217         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2218         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2219         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2220         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2222         * sysdeps/generic/sys/mman.h: Removed.
2223         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2224         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2225         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2226         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2227         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2229         * include/sys/mman.h: Look directly for misc/sys/mman.h.
2230         * misc/Makefile (headers): Add bits/mman.h.
2231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2232         bits/mman.h.
2234         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2235         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2236         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2237         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2238         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2239         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2240         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2241         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2243 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2245         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2246         * sysdeps/mach/alpha/thread_state.h: Likewise.
2247         * sysdeps/mach/i386/sysdep.h: Likewise.
2248         * sysdeps/mach/i386/thread_state.h: Likewise.
2249         * sysdeps/mach/mips/sysdep.h: Likewise.
2250         * sysdeps/mach/mips/thread_state.h: Likewise.
2251         * sysdeps/posix/profil.c: Likewise.
2252         * sysdeps/i386/i586/memcopy.h: Likewise.
2253         * sysdeps/mach/pagecopy.h: Likewise.
2255 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
2257         * libio/stdio.h: Define __need_getopt and include getopt.h to define
2258         getopt stuff.
2259         * posix/unistd.h: Likewise.
2260         * stdio/stdio.h: Likewise.
2261         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
2262         define only getopt and the variables.
2264 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2266         * scripts/test-installation.pl (installation_problem): Don't link
2267         the test program against libdb1.
2269 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
2271         * Makeconfig (all-subdirs): Add db.
2272         * Versions.def: Add definition for libdb1.
2273         * shlib-versions: Add definitions for libdb1.
2274         * db/Makefile (extra-libs): Replace by libdb1.
2275         (libdb-routines): Rename to libdb1-routines.
2276         (headers): Rename to db1-headers.
2277         (distribute): Add $(db1-headers).
2278         (install-others): Define to install symlink libdb.so.NN and the
2279         $(db1-headers).
2280         (CPPFLAGS): Add -DUSE_LIBDB1
2281         Remove rules to build makedb.
2282         * db/Versions: Rename libdb to libdb1.
2283         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
2284         * db/makedb.c: Removed.
2286         * scripts/versions.awk: Recognize digits in library names.
2288         * db/btree/bt_open.c: Fix compiler warnings.
2289         * db/btree/bt_put.c: Likewise.
2290         * db/btree/bt_split.c: Likewise.
2291         * db/hash/hash.c: Likewise.
2292         * db/hash/hash_bigkey.c: Likewise.
2293         * db/recno/rec_close.c: Likewise.
2295         * Makefile: Add localedata/% goal.
2297 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2299         * posix/execvp.c: Don't give up searching the PATH if execve
2300         returns ENOTDIR.
2302 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
2304         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2305         if _dl_fpu_control_set is set.
2306         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2307         * elf/rtld.c: Don't define _dl_fpu_control_set.
2308         * elf/Versions: Remove _dl_fpu_control_set.
2310 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
2312         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2313         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2314         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2315         Correct values of other SA_* macros according to kernel headers.
2317 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2319         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2320         variable l.
2321         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2322         old.
2324 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2326         * elf/ldsodefs.h: Fix typo in comment.
2328 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2330         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2331         char when comparing buffer contents with putback character.
2333 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2335         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2336         Undo last change.
2337         * elf/Versions: Undo last change.  Export _dl_fpu_control and
2338         _dl_fpu_control_set.
2339         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2340         variables.  Include <fpu_control.h>.
2341         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2342         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2343         to indicate that is was seen.
2344         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2345         only if _dl_fpu_control was set and is equal to desired value.
2346         * math/Makefile (aux): Undo last change.
2347         * math/Versions: Export __fpu_control with version GLIBC_2.0.
2349 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2351         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2352         optimized.
2354 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
2356         * string/bits/string2.h: Add mempcpy optimization.
2357         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2358         * intl/localealias.c: Define mempcpy only if not already defined.
2360         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2361         defined.
2363 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2365         * csu/abi-note.S: Emit the note directly instead of defining
2366         a preprocessor macro that's only used once.  Don't include sysdep.h.
2367         * abi-tags: Generalize Solaris entry.
2369 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2371         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2372         Change to array to avoid runtime relocation.
2373         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2375 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2377         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2378         * math/Makefile ($(objpfx)libieee.a): Likewise.
2380 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
2382         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2383         Patch by John Tobey <jtobey@banta-im.com>.
2385 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
2387         * login/Makefile (distribute): Remove pty-internal.h, add
2388         pty-private.h.
2390         * stdlib/tst-strtol.c: Add more checks.
2391         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2393 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
2395         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2396         * elf/elf.h: Add AT_FPUCW.
2397         * elf/Makefile (dl-routines): Add fpu_control.
2398         (elide-routines.os): Add fpu_control.
2399         (rtld-routines): Add fpu_control.
2400         * math/Makefile (aux): Remove fpu_control.
2401         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2402         (_dl_show_auxv): Likewise.
2403         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2404         if different from OS default.
2406         * stdio-common/tstscanf.c: Add test case for (nil).
2408 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
2410         * libio/fileops.c (_IO_new_file_underflow): Before allocating
2411         buffer make sure the pushback buffer is destroyed.
2412         (_IO_new_file_seekoff): Likewise.
2413         If mode==0 quit early with the result.
2414         Clear OEF flag after successful fseek.
2415         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2416         * libio/ftello.c (ftello): Add offset from original buffer if
2417         stream has pushed back characters.
2418         * libio/ftello64.c (ftello64): Likewise.
2419         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2420         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2421         * libio/ioftell.c (_IO_ftell): Likewise.
2422         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2423         and _IO_save_ptr.
2424         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2425         (_IO_default_pbackfail): Only stored push back character in original
2426         buffer if it is the same as the one in the file at this position.
2427         * libio/iofclose.c: Free backup buffer if one is available.
2428         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2429         mode!=0.
2431         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2433         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2435         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2437 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
2439         * login/programs/pt_chown.c (more_help): Correct message that
2440         describes the purpose of the program.
2442         * login/openpty.c: Do not include pty-private.h.
2443         (pts_name): New function.  Return name of slave pseudo terminal in
2444         an allocated buffer if necessary.
2445         (openpty): Use pts_name to get name of the slave end of the pseudo
2446         terminal pair.
2448         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2449         pts_name before return.
2451 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
2453         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2455 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2457         * login/openpty.c: Include pty-private.h instead of
2458         pty-internal.h.
2460 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
2462         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2464 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
2466         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2467         recent ld.so changes.
2468         (elf_machine_runtime_setup): Correct behaviour when profiling.
2470 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
2472         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2473         Patch by John Tobey <jtobey@banta-im.com>.
2475 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
2477         * login/pty-internal.h: Removed.  Moved constants related to the
2478         `grantpt' helper program protocol to ...
2479         * login/pty-private.h: ... here.  New file.
2480         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2481         to make the function work with kernels >= 2.1.115.
2482         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2483         version if using the cloning device fails.
2484         * sysdeps/unix/sysv/linux/grantpt.c: New file.
2485         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2486         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2487         use by Linux specific code.
2488         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2489         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
2490         function.  (grantpt): Use pts_name, check group and permission
2491         mode in addition to owner.  Try to set the owner, group and
2492         permission mode first without invoking the helper program.
2493         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
2494         internationalization support.  Use symbolic constants instead of
2495         hardwired numbers for permission mode.
2496         * sysdeps/unix/bsd/ptsname.c: New file.
2498 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
2500         * posix/wordexp-test.c: Undo last change.
2502         * posix/wordexp.c: Undo last change.
2504 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
2506         * nscd/grpcache.c (save_grp): Partly undo last change.
2508         * nscd/pwdcache.c (save_pwd): Undo last change.
2510 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2512         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2513         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2515 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
2517         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2518         Add profiling support.
2519         (TRAMPOLINE_TEMPLATE): New macro.
2520         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2521         (RTLD_START): Prettify, and set __libc_stack_end properly.
2522         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2523         and check for sym being NULL instead.
2524         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2525         of stack space.
2526         * sysdeps/sparc/sparc64/lshift.S: Likewise.
2527         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2528         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2529         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2530         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2531         MEDANY code model %g4 usage.
2532         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2533         MEDANY code model %g4 usage.
2534         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2535         code model address formation.
2536         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2537         include elf/ldsodefs.h
2538         (DT_SPARC): Remove.
2539         (elf_machine_matches_host): It is now EM_SPARCV9.
2540         (elf_machine_dynamic): Clean up to remove ugly cast.
2541         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2542         new PLT formats.
2543         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2544         Prettify rest of function.
2545         [R_SPARC_COPY]: Check for sym being NULL.
2546         [R_SPARC_32]: Handle it.
2547         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2548         MEDMID code model.
2549         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2550         MEDANY code model.
2551         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2552         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2553         Add profiling support.
2554         (TRAMPOLINE_TEMPLATE): New macro.
2555         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2556         (RTLD_START): Prettify and set __libc_stack_end.
2557         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2558         Define.
2559         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2560         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2561         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2562         unused variable scratch.
2563         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2564         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2565         Declare.
2566         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2567         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
2568         old format kernel sigaction structures.
2569         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2570         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2571         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2572         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2573         ucontext include.
2574         (_JMPBUF_UNWINDS): Define.
2575         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2576         statfs64 structure, which is exactly the same as the normal one.
2577         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2578         of stack.  Use correct syscall trap number.  Add branch prediction
2579         settings to branch instructions.  Remove old MEDANY code model %g4
2580         referneces for non-PIC.
2581         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2582         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2583         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2584         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2586         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2587         __libc_longjmp and __libc_siglongjmp strong aliases.
2588         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2589         Also define to __no__readdir64_decl around readdir.c inclusion.
2590         (__readdir64): Add strong alias.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2592         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2593         Set strong and weak names properly.
2595 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2597         * manual/Makefile (AWK): Default to gawk if standalone.
2599 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2601         * Makefile (distribute): Undo last change.
2602         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2603         for sysdep headers.
2604         (+subdir-headers): Removed, unused.
2606 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2608         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2609         $(do-install).
2611 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2613         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2614         absolute name in $(config-sysdirs), can never happen.
2615         ($(+sysdir_pfx)sysd-rules): Likewise.
2616         * Makeconfig (full-config-sysdirs): Likewise.
2617         (all-Subdirs-files): Prepend $(..).
2619         * configure.in: Don't check for absolute name in $add_ons_pfx, can
2620         not happen.  Let --enable-add-ons=yes work if no add-ons actually
2621         exist.
2623 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2625         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2626         continuations in command.
2628 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2630         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2632 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
2634         * posix/wordexp-test.c: If expansion or substitution occurs
2635         anywhere in a word, the entire word is subject to field-splitting.
2637         * posix/wordexp.c (parse_glob): Look for end of word instead of
2638         end of field when deciding what to glob.
2639         (field_split_word): New function, now the only place where
2640         field-splitting is performed.
2641         (parse_dollars): New parameter - tell the caller if
2642         field-splitting should be performed on this word.
2644         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2645         succeeded (or failed with WRDE_NOSPACE).
2647 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
2649         * posix/wordexp.c (wordexp): Don't convert IFS characters to
2650         blanks.
2652         * posix/wordexp-test.c: Words not the result of expansion or
2653         substitution should remain unchanged.
2655 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
2657         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2658         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2660 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2662         * stdio-common/Makefile: Include Makeconfig so that
2663         $(inst_includedir) is defined.
2665 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2667         * io/pwd.c: Include <mcheck.h>.
2669 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
2671         * nscd/pwdcache.c (save_pwd): Correct copying.
2672         * nscd/grpcache.c (save_grp): Likewise.
2674 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
2676         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2677         (free_pwd): Adjust for this change.
2678         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2679         (free_grp): Adjust for this change.
2681 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
2683         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2685 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
2687         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2688         (install-others): Add bits/stdio_lim.h.
2689         Add rule to install bits/stdio_lim.h.
2691         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2693         * Makefile (distribute): Add include/sys/mman.h.
2695         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2696         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2697         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2699         * grp/initgroups.c: Include stdlib.h.
2700         Patch by Zack Weinberg.
2702 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
2704         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2705         for field-splitting :abc: is correct, and that two fields should
2706         result. Revert tests to reflect this.
2708         * posix/wordexp.c (w_emptyword): Remove function.
2709         (exec_comm): Don't use w_emptyword.
2710         (parse_param): Likewise.
2712 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
2714         * sysdeps/arm/fpu/Dist: Moved to...
2715         * sysdeps/arm/Dist: ...here.
2716         * sysdeps/posix/Dist: Removed.
2717         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2718         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2720 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2722         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2724 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
2726         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2728 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2730         * libc-work/nis/nss_nisplus/nisplus-service.c
2731         (_nss_nisplus_parse_servent): Convert port in network byte order.
2733 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2735         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2736         to provide only malloc and calloc.
2737         * include/stdlib.h: Support the above.
2738         * string/bits/string2.h: Use __need_malloc_and_calloc when
2739         including stdlib.h.
2740         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2742         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2743         * iconvdata/iso646.c: Include <stdlib.h>.
2745 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2747         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2748         * sysdeps/libm-ieee754/w_pow.c: Likewise.
2749         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2750         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2752 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2754         * stdio-common/stdio_lim.h.in: New file.  All parameters
2755         are adjustable at build time.
2756         * Rules: Add a rule to build bits/stdio_lim.h from
2757         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
2758         all subdirectories know how to make the file.  It can't be
2759         in Makerules because then it gets built at top level and the
2760         dependencies are wrong.)
2762         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2763         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2764         stdio_lim.h.
2765         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2766         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2767         * sysdeps/posix/Makefile: Removed.
2768         * sysdeps/posix/mk-stdiolim.c: Removed.
2769         * sysdeps/generic/bits/stdio_lim.h: Removed.
2771 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2773         * argp/argp-help.c: Fixup indentation.
2774         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2775         * resolv/nss_dns/dns-network.c: Likewise.
2776         * resolv/res_send.c: Likewise.
2777         * rt/aio_cancel.c: Likewise.
2778         * rt/aio_misc.c: Likewise.
2780 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2782         * Makefile (install-symbolic-link): Remove the link list file at last.
2783         * Makerules (install-clean-symbolic-link-list): Removed.
2785 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2787         * timezone/tst-timezone.c: Print time in UTC to get consistent
2788         output.
2790 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2792         * elf/rtld.c (_dl_rpath): Removed.
2793         * elf/dl-support.c (_dl_path): Removed.
2794         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2795         (CFLAGS-dl-support.c): Removed.
2797         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
2798         uses changed.
2799         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2800         instead of appending it to the main map's rpath info.
2801         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2802         DT_RPATHs.  This makes it effective again.
2803         (decompose_rpath): Remove second parameter, callers changed.
2804         (fillin_rpath): Allocate enough space in curwd.
2805         (expand_dynamic_string_token): Cope with get_origin returning -1.
2807 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2809         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2810         passwd.adjunct.
2812         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2813         invalid password.
2815 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
2817         * locale/programs/locale.c: Update dates.
2819 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
2821         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
2822         size_t is defined.  Some reordering of definitions to make
2823         maintaining this file in parallel with the linux-specific file easier.
2825 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
2827         * io/pwd.c (main): Add call to mtrace.
2829         * malloc/mtrace.pl: Quote @ in string.
2831 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
2833         * posix/wordexp.c (parse_arith): Fix memory leaks.
2834         (exec_comm): Likewise.
2835         (parse_param): Likewise.
2836         (wordexp): Likewise.
2837         (exec_comm): Reduce number of function return points.
2838         (parse_param): Likewise.
2839         (wordexp): Likewise.
2841 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
2843         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2844         yield three fields, not two.  Test both parameter expansion and
2845         command substitution for correct field-splitting behaviour.
2847         * posix/wordexp.c (w_emptyword): New function.
2848         (parse_param): Use it.
2849         (exec_comm): Likewise, for consistency with the way parse_param
2850         splits fields.
2851         (parse_param): Fix some memory leaks.
2853 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
2855         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2856         Don't mark asm `volatile'.
2857         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2858         from the data cache too.  Assume it isn't in the instruction cache yet.
2859         (__elf_machine_fixup_plt): Clear the modified address from the caches.
2861 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
2863         * sysdeps/generic/segfault.c (install_handler): Install signal
2864         handler with SA_ONSTACK instead of setting the stack flags to
2865         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
2866         defined.
2868 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2870         * signal/signal.h: Fix multiple inclusion guard to cover the
2871         entire file.
2872         * wcsmbs/wchar.h: Remove prototype of internal function
2873         __mbsrtowcs.
2874         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2875         arithmetic on `void *'.
2877 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
2879         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
2881         * posix/wordexp.c (wordexp): Perform word-splitting instead of
2882         field-splitting here.
2883         (wordexp): If out of memory mid-word, free the word (but still
2884         leave pwordexp alone for caller to see).
2885         (parse_param): Allow for zero-length fields (smarter checking of
2886         memory allocation failure).
2887         (w_addword): Convert NULL words to "".
2888         (wordexp): Convert left-over IFS characters to blanks (like bash).
2890 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2892         * configure.in: Use test -f instead of test -e.
2893         Patch by John Tobey <jtobey@banta-im.com>.
2895         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2896         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2897         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2898         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2899         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2900         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2901         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2902         Patches by John Tobey <jtobey@banta-im.com>.
2904         * time/strftime.c (my_strftime): Delay use of *tp values until
2905         latest possible point to allow partly initialized structures
2906         (e.g., from strptime).
2908         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2909         and NATS-SEFI.
2910         Define *-routines variables for new modules.
2911         (distribute): Add .c files for new modules.
2912         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2913         and nats-sefi.h.
2914         Add rules for header generation.
2915         * iconvdata/gconv-modules: Add entries for new modules.
2916         * iconvdata/iso_10367-box.c: New file.
2917         * iconvdata/mac-is.c: New file.
2918         * iconvdata/nats-dano.c: New file.
2919         * iconvdata/nats-sefi.c: New file.
2921 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
2923         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2924         loader if PIC is not defined.
2926 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2928         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2929         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2930         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2931         and ISO_5428.
2932         Define *-routines variables for new modules.
2933         (distribute): Add .c files for new modules.
2934         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2935         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2936         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2937         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2938         Add rules for header generation.
2939         * iconvdata/gconv-modules: Add entries for new modules.
2940         * iconvdata/csn_369103.c: New file.
2941         * iconvdata/cwi.c: New file.
2942         * iconvdata/dec-mcs.c: New file.
2943         * iconvdata/ecma-cyrillic.c: New file.
2944         * iconvdata/gost_19768-74.c: New file.
2945         * iconvdata/greek-ccitt.c: New file.
2946         * iconvdata/greek7-old.c: New file.
2947         * iconvdata/greek7.c: New file.
2948         * iconvdata/inis-8.c: New file.
2949         * iconvdata/inis-cyrillic.c: New file.
2950         * iconvdata/inis.c: New file.
2951         * iconvdata/iso6937-2.c: New file.
2952         * iconvdata/iso_2033.c: New file.
2953         * iconvdata/iso_5427-ext.c: New file.
2954         * iconvdata/iso_5427.c: New file.
2955         * iconvdata/iso_5428.c: New file.
2957         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2958         entries.
2959         Convert U02dd correctly.
2961 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
2963         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2964         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2965         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2966         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2968 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2970         * resolv/res_init.c (res_init): Handle resolv.conf file with only
2971         one nameserver correctly.  Patch by HJ Lu.
2973         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2974         and ANSI_X3.110.
2975         Define *-routines variables for new modules.
2976         (distribute): Add .c files for new modules.
2977         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2978         Add rules for hedaer generation.
2979         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
2980         * iconvdata/ansi_x3.110.c: New file.
2981         * iconvdata/asmo_449.c: New file.
2982         * iconvdata/baltic.c: New file.
2983         * iconvdata/iec_p27-1.c: New file.
2985         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2986         entries.
2987         Convert U02dc correctly.
2989         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2990         * math/atest-exp2.c: Likewise.
2991         * math/atest-sincos.c: Likewise.
2993         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2994         is defined.
2996 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2998         * string/strcoll.c: Optimize a few expressions.
2999         * string/strxfrm.c: Likewise.
3001 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3003         * manual/locale.texi: Fix typos.
3005 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
3007         * stdlib/random_r.c (__setstate_r): Allow call with same state
3008         array as currently used (PR libc/774).
3010         * include/limits.h: Include gcc's header even if this file is
3011         found more than once before it (PR libc/778)
3013         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3014         (sysdep_headers): Remove sys/debugreg.h.
3015         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3016         (sysdep_headers): Add sys/debugreg.h.
3017         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
3018         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
3020         * stdio-common/tmpnam.c: Move local static variable buf to
3021         toplevel and rename to tmpnam_buffer to ease debugging.
3022         Patch by Joe Keane <jgk@jgk.org>.
3023         Optimize s == NULL case a bit.
3025         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
3026         correction.
3028 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
3030         * resolv/res_init.c (res_init): Initialize _res.nscount and
3031         _res.nsaddr.sin_port differently for the can when no loopback
3032         is available to allow immediate timeout in non-networking environments.
3033         Patch by Cristian Gafton <gafton@redhat.com>.
3035 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3037         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
3038         BAR and not EM DASH.
3039         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
3040         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
3041         Fixes PR libc/717.
3043 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
3045         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
3046         for test.
3047         * timezone/tst-timezone.c (tests): Fix typo in last patch.
3049         * time/tzfile.c (__tzfile_read): Handle case when there are no
3050         transitions.  Set __timezone based on computed offset.
3051         * time/tzset.c (tzset_internal): Set __timezone before returning.
3053         * time/tzset.c (tzset_internal): Optimize handling of local string
3054         copy.
3056 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3058         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3059         libc/776).
3061 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3063         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3064         (csqrt_test): Likewise.
3065         * sysdeps/powerpc/bits/fenv.h: Add parens.
3067 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
3069         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3070         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3071         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3073 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
3075         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3076         the special `-1' pointer.
3078 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
3080         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3081         inline.
3083 1998-09-07  Paul Eggert  <eggert@twinsun.com>
3085         * time/mktime.c (__EXTENSIONS__): Define if not defined.
3086         (_REENTRANT): Remove.  It has undesirable consequences in
3087         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
3088         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3089         is what we want.
3090         * time/strftime.c: Likewise.
3092 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3094         * elf/dl-error.c: Fix spelling.
3096 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3098         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3099         * stdio-common/_itoa.c: Likewise.
3100         * stdio-common/printf_fp.c: Likewise.
3101         * stdio-common/vfscanf.c: Likewise.
3102         * wcsmbs/wcstok.c: Likewise.
3103         * sysdeps/generic/glob.c: Likewise.
3104         * posix/getopt.c: Likewise.
3105         * sysdeps/posix/getaddrinfo.c: Likewise.
3106         * posix/wordexp.c: Likewise.
3107         * io/ftw.c: Likewise.
3108         * io/fts.c: Likewise.
3109         * misc/getpass.c: Likewise.
3110         * iconv/gconv_conf.c: Likewise.
3111         * argp/argp-fmtstream.c: Likewise.
3112         * argp/argp-help.c: Likewise.
3113         * elf/dl-load.c: Likewise.
3114         * locale/programs/stringtrans.c: Likewise.
3115         * catgets/gencat.c: Likewise.
3116         * posix/getconf.c: Likewise.
3117         * iconv/gconv_conf.c: Likewise.
3118         * iconv/iconv_prog.c: Likewise.
3120         * string/strcoll.c: Optimize a few expressions.
3121         * string/strxfrm.c: Likewise.
3123 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3125         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3126         level to avoid uninit variable warning.
3128 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3130         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
3131         instead of _dl_default_scope[2] as argument to _dl_init_next.
3133         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3134         C9x macro.
3136 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
3138         Fix compatibility problems introduced in last change.
3139         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3140         defined.
3141         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3142         -DWEAK_GMON_START to CFLAGS-initfini.s.
3144         * elf/dl-object.c (_dl_new_object): Store map address in
3145         _dl_loaded if _dl_loaded is NULL.
3146         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
3148         * sysdeps/generic/setrlimit64.c: Remove stub warning.
3150 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
3152         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3153         quiet.
3154         * db2/btree/bt_cursor.c: Likewise.
3155         * db2/common/db_region.db_c: Likewise.
3156         * db2/common/db_salloc.db_c: Likewise.
3157         * db2/db/db.c: Likewise.
3158         * db2/db/db_rec.c: Likewise.
3159         * db2/hash/hash.c: Likewise.
3160         * db2/hash/hash_page.c: Likewise.
3161         * db2/hash/hash_rec.c: Likewise.
3162         * db2/log/log_findckp.c: Likewise.
3163         * db2/log/log_get.c: Likewise.
3164         * db2/log/log_put.c: Likewise.
3165         * db2/mp/mp_fget.c: Likewise.
3166         * db2/mp/mp_fput.c: Likewise.
3167         * db2/mp/mp_region.c: Likewise.
3168         * stdlib/strtol.c: Likewise.
3169         * string/strcoll.c: Likewise.
3170         * string/strxfrm.c: Likewise.
3171         * argp/argp-help.c: Likewise.
3172         * argp/argp-parse.c: Likewise.
3173         * resolv/res_debug.c: Likewise.
3175 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
3177         * math/tgmath.h (scalb): Only define for __USE_MISC or
3178         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
3180 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3182         * libio/stdio.h: Fix comment.
3184         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3185         __USE_ISOC9X.
3187 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3189         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3191         * elf/dl-open.c: Quiet -Wparentheses warnings.
3192         * iconvdata/johab.c: Likewise.
3193         * iconvdata/uhc.c: Likewise.
3194         * inet/inet_net.c: Likewise.
3195         * io/fts.c: Likewise.
3196         * locale/newlocale.c: Likewise.
3197         * misc/getttyent.c: Likewise.
3198         * misc/mntent_r.c: Likewise.
3199         * misc/ttyslot.c: Likewise.
3200         * nscd/nscd_conf.c: Likewise.
3201         * nss/nsswitch.c: Likewise.
3202         * resolv/gethnamaddr.c: Likewise.
3203         * resolv/nsap_addr.c: Likewise.
3204         * resolv/res_debug.c: Likewise.
3205         * stdio-common/_itoa.c: Likewise.
3206         * stdlib/strtod.c: Likewise.
3207         * string/strverscmp.c: Likewise.
3208         * sunrpc/svc.c: Likewise.
3209         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3210         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3211         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3212         * sysdeps/posix/getaddrinfo.c: Likewise.
3214 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
3216         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3217         for use of global scope.
3218         * elf/dlvsym.c (dlvsym_doit): Likewise.
3220 1998-09-02  Paul Eggert  <eggert@twinsun.com>
3222         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3223         copy the redundant bytes at the end of the format as-is; don't
3224         just copy their first byte and then rescan, as that might get
3225         us an encoding error.
3226         Account correctly for the length of multibyte sequences in the
3227         format.
3229 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
3231         * posix/wordexp-test.c: Add tests for different IFS values.
3232         Change unquoted-newline test so that newline is not in IFS.
3234         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3235         determining IFS characters.  Return WRDE_BADCHAR for unquoted
3236         special characters _except_ if they are separators.
3238 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
3240         * include/tgmath.h: New file.
3242         * libio/stdio.h: Correct reversed #ifs.
3243         Patch by Zack Weinberg.
3245         * manual/creature.texi: Better explain reason for feature select
3246         macros.
3247         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3249 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3251         * include/alloca.h: Add multiple-inclusion guard.
3252         * include/db.h: Likewise.
3253         * include/db_185.h: Likewise.
3254         * include/dlfcn.h: Likewise.
3255         * include/fcntl.h: Likewise.
3256         * include/grp.h: Likewise.
3257         * include/libintl.h: Likewise.
3258         * include/mntent.h: Likewise.
3259         * include/pwd.h: Likewise.
3260         * include/sched.h: Likewise.
3261         * include/search.h: Likewise.
3262         * include/setjmp.h: Likewise.
3263         * include/shadow.h: Likewise.
3264         * include/signal.h: Likewise.
3265         * include/stdio.h: Likewise.
3266         * include/stdlib.h: Likewise.
3267         * include/string.h: Likewise.
3268         * include/termios.h: Likewise.
3269         * include/time.h: Likewise.
3270         * include/ulimit.h: Likewise.
3271         * include/utmp.h: Likewise.
3272         * include/wchar.h: Likewise.
3273         * include/sys/file.h: Likewise.
3274         * include/sys/gmon.h: Likewise.
3275         * include/sys/ioctl.h: Likewise.
3276         * include/sys/mman.h: Likewise.
3277         * include/sys/resource.h: Likewise.
3278         * include/sys/select.h: Likewise.
3279         * include/sys/socket.h: Likewise.
3280         * include/sys/statfs.h: Likewise.
3281         * include/sys/time.h: Likewise.
3282         * include/sys/times.h: Likewise.
3283         * include/sys/wait.h: Likewise.
3285 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
3287         * version.h (VERSION): Bump to 2.0.96.
3289         Rewrite runtime linker to be truly thread-safe.  There is now no
3290         global variable specifying the scope.  We create all needed
3291         scopes at the time the link maps are created.
3292         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3293         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3294         l_symbolic_searchlist, l_scope, and l_local_scope elements in
3295         struct link_map.
3296         * elf/dl-close.c: Rewritten accordingly.
3297         * elf/dl-deps.c: Likewise.
3298         * elf/dl-error.c: Likewise.
3299         * elf/dl-init.c: Likewise.
3300         * elf/dl-load.c: Likewise.
3301         * elf/dl-lookup.c: Likewise.
3302         * elf/dl-object.c: Likewise.
3303         * elf/dl-open.c: Likewise.
3304         * elf/dl-reloc.c: Likewise.
3305         * elf/dl-runtime.c: Likewise.
3306         * elf/dl-support.c: Likewise.
3307         * elf/dl-symbol.c: Likewise.
3308         * elf/dl-version.c: Likewise.
3309         * elf/dlsym.c: Likewise.
3310         * elf/dlvsym.c: Likewise.
3311         * elf/ldsodefs.h: Likewise.
3312         * elf/rtld.c: Likewise.
3313         * iconv/gconv_dl.c: Likewise.
3314         * nss/nsswitch.c: Likewise.
3315         * sysdeps/i386/dl-machine.h: Likewise.
3316         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3318         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3319         Define RTLD_DEFAULT.
3321 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
3323         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3324         __getopt_clean_environment with __environ instead of envp.
3326 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
3328         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3330         * string/argz-extract.c (__argz_extract): Add de-consting cast for
3331         setting results.
3333         * string/argz.h (argz_next): Add de-consting cast for return.
3334         * string/argz-next.c (__argz_next): Likewise.
3336         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3337         Don't add netinet/udp.h, netinet/ip_icmp.h here.
3338         * sysdeps/gnu/Makefile: Do it here instead.
3339         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3340         * sysdeps/gnu/Dist: ... to here.
3342         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3343         sysdeps/unix/sysv/linux/netinet/tcp.h,
3344         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3346 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
3348         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3349         * string/argz-next.c, string/argz-extract.c: Fix defns.
3351 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
3353         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3355         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3356         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3357         * sysdeps/generic/sysd-stdio.c: Likewise.
3359 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
3361         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3362         (_dl_map_object_from_fd): Make NAME argument const.
3363         Remove last parameter in _dl_new_object call.
3364         (print_search_path): Correct construction of composed path name.
3365         (_dl_map_object): Prevent looking at RPATH of the main map twice.
3366         Remove last parameter in _dl_new_object call.
3367         * elf/dl-object.c: Remove last parameter.  Determine whether create
3368         origin entry based on empty realname.  Handle file in root directory
3369         correctly.
3370         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3371         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3372         Remove last parameter in _dl_new_object call.
3373         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3374         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3376 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
3378         * elf/dl-close.c (_dl_close): Add more comments and correct some.
3379         Free l_searchlist and l_dupsearchlist.
3381         * debug/catchsegv.sh: Add one more pair of quotes.
3383 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
3385         * elf/dl-load.c (add_name_to_object): Change return type to void and
3386         make NAME parameter const.  Allocate room for NAME in same memory
3387         block used for l_libname entry.
3388         (_dl_map_object_from_fd): Don't free NAME on failure.
3389         (map_segment): Pass SONAME to add_name_to_object, not a copy.
3390         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
3391         _dl_map_object_from_fd.
3392         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3393         memory block used for l_libname entry.
3394         * elf/dl-close.c: Adjust free()ing for this change.
3396 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
3398         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3400         * malloc/mtrace.c: Add bug report address.  Update email address.
3401         Add more @XXX@ to print correct address size.
3403         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3404         really initialized.
3406         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3407         for munmap call instead of examining phdr again.
3408         Free all malloc()ed strings and arrays.
3410 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
3412         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3413         dl-machine.h.
3414         * sysdeps/powerpc/dl-machine.c: New file.
3415         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3416         files.  Revise ELF_PREFERRED_ADDRESS to take account of
3417         the new mapping information (fixes bug involving huge bloated
3418         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
3419         * sysdeps/powerpc/dl-start.S: New file.
3421         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3422         l_map_end.
3423         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3424         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3425         others.  Call elf_dynamic_do_##reloc only once (to save even more
3426         space).
3427         * elf/link.h: Add new members l_map_start and l_map_end to keep
3428         track of the memory map.
3429         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3430         the executable.
3432 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
3434         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3435         Reported by Andreas Jaeger.
3437         * posix/glob.h: Use __size_t instead of size_t in definitions and
3438         make sure this is defined.
3440 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
3442         * manual/locale.texi: Almost complete rewrite.  Document more functions
3443         and functionality.
3444         * manual/arith.texi: Correct reference.
3445         * manual/string.texi: Pretty printing.
3447         * manual/texinfo.tex: Update from last available version.
3449 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
3451         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3452         invalid password.
3453         (_nss_nis_getpwuid_r): Likewise.
3454         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3456         * inet/rcmd.c: Implement netgroup support.
3457         Patch by Dick Streefland <dick_streefland@tasking.com>.
3459 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3461         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3462         object on the list is removed.  Don't use this code for PIC.
3463         Reported by HJ Lu [PR libc/770].
3465 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
3467         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3469         * include/stdio.h: Add __vsscanf.
3471         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3472         __USE_ISOC9X.
3473         Remove __vsscanf declaration.
3474         Always declare fgetpos and fsetpos.
3476         * math/math.h: Define isinf as macro.
3477         * math/bits/mathcalls.h: Change to declare __isinf all the time.
3478         Don't declare scalb for ISO C 9x.
3480         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
3482         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3484         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3485         sys/ucontext.h.
3487         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3488         macros.
3490 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3492         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3493         Reported by jreising@frequentis.com [PR libc/767].
3495 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3497         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3498         fl.l_start at beginning of function.
3499         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3501 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3503         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3504         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3506         * nscd/nscd.init: Make it work in RedHat systems.
3507         Patch by Christian Gafton.
3509 1998-08-29  Philip Blundell  <philb@gnu.org>
3511         * catgets/Makefile: Don't try to run test programs when
3512         cross-compiling.
3514 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
3516         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3517         Reported by Zack Weinberg.
3519 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3521         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3522         * elf/Makefile (distribute): Remove ldd.sh.in.
3524 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3526         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3527         variable.
3529 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
3531         * sysdeps/i386/register-dump.h: Move to ...
3532         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3534 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
3536         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3537         with load address, not map address.
3538         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3539         parameter and use this value.
3540         * sysdeps/arm/dl-machine.h: Likewise.
3541         * sysdeps/i386/dl-machine.h: Likewise.
3542         * sysdeps/m68k/dl-machine.h: Likewise.
3543         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3544         parameter.
3545         * sysdeps/powerpc/dl-machine.h: Likewise
3546         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3547         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3549 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
3551         * elf/rtld.c (process_envvars): Fix copy&paste error.
3553         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3554         memalign hook.
3555         (realloc_hook_ini): Don't overwrite memalign hook.
3556         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3557         Reported by Philippe Troin <phil@fifi.org>.
3559         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3560         Patch by Philippe Troin <phil@fifi.org>.
3562 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3564         * sysdeps/generic/segfault.c (install_handler): Protect the
3565         non-POSIX signals with #ifdef.
3566         (catch_segfault): Add missing mode parameter for open.
3567         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
3568         other termination signals.
3570 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3572         * debug/Makefile (distribute): Add register-dump.h.
3574 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3576         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3578 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
3580         * elf/Makefile (distribute): Add dl-origin.h.
3581         * sysdeps/generic/dl-origin.h: New file.
3582         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3583         * elf/link.h (struct link_map): Add l_origin field.
3584         * elf/dl-load.c (expand_dynamic_string_token): New function.
3585         (decompose_path): Remove WHERE argument, take link map pointer instead.
3586         Call expand_dynamic_string_token instead of local_strdup to make copy
3587         of rpath.
3588         (_dl_init_paths): Call decompose_path with correct argument.
3589         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3590         not defined.
3591         Check EI_OSABI and EI_ABIVERSION fields in header.
3592         Call _dl_new_object with extra argument.
3593         (_dl_map_object): Call decompose_path with correct argument.
3594         Call expand_dynamic_string_token instead of local_strdup to also
3595         expand DST.
3596         Call _dl_new_object with extra argument.
3597         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3598         but the main one if new argument is nonzero.
3599         * elf/ldsodefs.h: Adjust for _dl_new_object change.
3600         * elf/dl-support.c: Define _dl_origin_path.
3601         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
3602         (dl_main): Call _dl_new_object with extra argument.
3604         * elf/dl-close (_dl_close): Free l_name and l_origin.
3606         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3607         modifier in asm, not c.
3609         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3610         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3612 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
3614         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3615         variable so that map can be freed.
3616         Reported by Philippe Troin <phil@fifi.org>.
3618         * elf/dl-open.c (dl_open_worker): Correct test for extending global
3619         scope array.
3620         Patch by Philippe Troin <phil@fifi.org>.
3622 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
3624         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
3625         Don't call writev() with a 100-element vector.
3626         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3627         return address.
3629         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3630         In particular, set __libc_stack_end.
3631         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3632         undefined.  Fix copyright notice.
3634 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3636         * math/Makefile (gmp-objs): New variable.
3637         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3638         Depend on it.
3639         (tests): Add atest-exp atest-sincos atest-exp2.
3640         (tests-static): Remove atest-exp atest-sincos atest-exp2.
3642 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
3644         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3645         to toplevel.
3646         (_dl_unload_cache): New function.
3647         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3648         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
3649         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
3651         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3652         Correct comment for O_LARGEFILE.
3653         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3654         Change O_LARGEFILE to correct value.
3656 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
3658         * libio/iogetline.c (_IO_getline_info): Don't read anything for
3659         N == 0.  Patch by HJ Lu.
3661 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
3663         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3665 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3667         * argp/argp.h: Use __inline__ not inline.
3669         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3670         an input register as being clobbered.
3671         * sysdeps/i386/memset.c (memset): Likewise.
3672         * sysdeps/i386/bzero.c (__bzero): Likewise.
3673         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3675 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3677         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3678         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3680 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
3682         * debug/catchsegv.sh: Handle text preceding backtrace better.
3683         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
3684         to be installed for other signals than SIGSEGV.
3685         * sysdeps/generic/register-dump.h: New file.
3686         * sysdeps/i386/register-dump.h: New file.
3687         * sysdeps/powerpc/register-dump.h: New file.
3689         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3690         sigcontextinfo.h.
3691         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3693 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
3695         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3697 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
3699         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3700         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3701         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3702         getresuid, getresgid.
3704 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
3706         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
3707         pointer in userland.
3709 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3711         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3712         and fix value.
3714 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3716         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
3717         over arguments Bourne shell compatible.  Don't exit unsuccessfully
3718         if nonelf returns successfully.  Avoid duplicating most of the
3719         script.
3720         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3721         around $file.
3723 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3725         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3726         sys/reg.h.
3727         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3728         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3730 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
3732         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3733         __modify_ldt and modify_ldt.
3734         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3736         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3737         Use orl $-1 instead of movl $-1 to save two bytes.
3738         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3739         Likewise.
3741 1998-08-17  H.J. Lu  <hjl@gnu.org>
3743         * libio/Versions (_IO_do_write, _IO_file_attach,
3744         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3745         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3746         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3747         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3749         * libio/fileops.c (_IO_do_write, _IO_file_attach,
3750         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3751         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3752         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3753         _IO_file_write, _IO_file_xsputn): Change the prefix to
3754         "_IO_new_". Added to GLIBC_2.1.
3756         * libio/libioP.h (_IO_do_write, _IO_file_attach,
3757         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3758         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3759         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3760         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3761         "_IO_new_".
3763         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3764         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3765         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3766         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3767         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3769 1998-08-23  Richard Henderson  <rth@cygnus.com>
3771         * Makeconfig (LDFLAGS): Remove.
3773         * csu/initfini.c: Return to .text before __gmon_start__.
3775         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3776         (STO_MIPS_*): Rename from STO_*.
3777         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3778         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3780         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3781         (main): e3s is negative on zero.
3782         * math/atest-exp2.c: Likewise.
3783         * math/atest-sincos.c: Likewise.
3785 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3787         * Makerules (install): Add comment about absolute paths.
3789 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
3791         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3792         array to NUL to handle maxlen==1 case correctly.
3793         Patch by HJ Lu.
3795 1998-08-23  Richard Henderson  <rth@cygnus.com>
3797         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3798         * sysdeps/alpha/elf/crtend.S: Likewise.
3799         * sysdeps/alpha/elf/start.S: Likewise.
3801         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3802         non-standard pv usage.
3804         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3805         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3806         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3807         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3808         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3809         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3810         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3811         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3812         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3813         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3814         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3816         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3817         a finite non-denormal, deferring to the full IEEE version otherwise.
3819         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3820         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
3821         * sysdeps/alpha/fpu/s_floor.c: New.
3822         * sysdeps/alpha/fpu/s_floorf.c: New.
3823         * sysdeps/alpha/fpu/s_ceil.c: New.
3824         * sysdeps/alpha/fpu/s_ceilf.c: New.
3826 1998-08-22  Philip Blundell  <philb@gnu.org>
3828         * sysdeps/arm/bits/string.h: New file.
3830 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3832         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3833         document it.
3835         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3836         test for recent Linux 2.1.100+ headers.
3838 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3840         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3842 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
3844         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3846 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3848         * Makefile (elf/ldso_install): Put back.  The problem still persists.
3849         * elf/Makefile (ldso_install): Likewise.
3851 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3853         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3854         create weak alias.
3855         * include/db.h: Declare __nss_db_open.
3856         * db2/Versions: Export it.
3858         * db2/makedb.c: Convert to use db2 API.
3859         * nss/nss_db/db-XXX.c: Likewise.
3860         * nss/nss_db/db-netgrp.c: Likewise.
3861         * nss/nss_db/db-alias.c: Likewise.
3862         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3864 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3866         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3867         sys_setresuid, already built automatically (or not).
3868         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3869         instead of __syscall_setresuid and add back setresuid.
3870         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3871         __syscall_setresuid.
3873 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3875         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3877 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
3879         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3880         BASH-ONLY marked region.
3881         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3883 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
3885         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3886         _IO_SYSSEEK fails.
3888         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3890         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3891         element.
3893 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
3895         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3896         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3897         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3898         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3899         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3900         those magic comments, and to use /bin/sh for @BASH@.
3901         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3902         * elf/ldd.sh.in: File removed.
3904 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
3906         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3907         cast them to unsigned long int.
3908         * pwd/putpwent.c (putpwent): Likewise.
3909         Patch by John Tobey <jtobey@banta-im.com>.
3911 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
3913         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3914         _IO_pos_BAD.
3916 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
3918         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3919         _IO_SYSSEEK fails.
3921 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
3923         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3924         Add umount and umount2.
3925         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3926         * sysdeps/unix/sysv/linux/umount.S: New file.
3927         * sysdeps/unix/sysv/linux/umount2.S: New file.
3928         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3929         Define MNT_FORCE.
3931         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3932         Add sys/sendfile.h.
3933         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3934         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3936         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3938         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3939         sendfile.
3941 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
3943         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3944         * elf/ldd.bash.in: Likewise.
3946         * elf/sln.c: Avoid warning for no main prototype.
3948         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3949         O_WRITE.
3950         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3953         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3954         F_GETSIG.
3955         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3956         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3959 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
3961         * sysdeps/arm/fpu/ieee754.h: Move to...
3962         * sysdeps/arm/ieee754.h: ... here.
3964         * sysdeps/arm/__longjmp.S: Put return value in correct register.
3965         Don't set the condition flags unnecessarily.
3966         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
3967         registers correctly.
3969         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3970         (patch from Scott Bambrough).
3972         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3974         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3975         NULL, just call it unconditionally.
3976         (__gmon_start__): Provide stub version as a weak symbol.
3978 1998-07-30  Philip Blundell  <philb@gnu.org>
3980         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3981         by Scott Bambrough)
3983         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3984         like `@' in .type directives.
3986         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3987         * sysdeps/arm/bsd-_setjmp.S: Likewise.
3989         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3991 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3993         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3994         (F_GETOWN): Likewise.
3996         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3997         Linux 2.1.117).
3999 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
4001         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4002         already defined.
4004 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
4006         * include/features.h: Define __USE_EXTERN_INLINES for recent
4007         enough gcc.
4008         * argp/argp.h: Define extern inline functions only if
4009         __USE_EXTERN_INLINES is defined.
4010         * libio/stdio.h: Likewise.
4011         * math/math.h: Likewise.
4012         * stdlib/stdlib.h: Likewise.
4013         * string/argz.h: Likewise.
4014         * sysdeps/generic/bits/sigset.h: Likewise.
4015         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4016         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4017         * sysdeps/wordsize-32/inttypes.h: Likewise.
4018         * sysdeps/wordsize-64/inttypes.h: Likewise.
4019         * wcsmbs/wchar.h: Likewise.
4021         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
4022         to allow compilation without optimization.
4024 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4026         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
4027         more entries.
4028         * nis/nss_compat/compat-initgroups.c: Likewise.
4029         * nis/nss_compat/compat-pwd.c: Likewise.
4030         * nis/nss_compat/compat-spwd.c: Likewise.
4031         * nis/nss_nis/nis-alias.c: Likewise.
4032         * nis/nss_nis/nis-ethers.c: Likewise.
4033         * nis/nss_nis/nis-grp.c: Likewise.
4034         * nis/nss_nis/nis-hosts.c: Likewise.
4035         * nis/nss_nis/nis-initgroups.c: Likewise.
4036         * nis/nss_nis/nis-network.c: Likewise.
4037         * nis/nss_nis/nis-proto.c: Likewise.
4038         * nis/nss_nis/nis-pwd.c: Likewise.
4039         * nis/nss_nis/nis-rpc.c: Likewise.
4040         * nis/nss_nis/nis-service.c: Likewise.
4041         * nis/nss_nis/nis-spwd.c: Likewise.
4043         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
4045         * nis/ypclnt.c: Try binding dir only first time, could be to old.
4047         * nis/yp_xdr.c: Remove 1024 byte limit.
4048         * nis/ypupdate_xdr.c: Likewise.
4050         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
4051         wrong data.
4053 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
4055         * Rules (binaries-static, binaries-shared static pattern rules):
4056         Depend on lib%, not just libc%, from $(link-libc{,-static}).
4058         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4059         this here, overriding Makeconfig generic value so we link against
4060         the RPC libs.
4062 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
4064         * posix/tstgetopt.c (options): Add NULL entry at end
4065         Patch by Adrian Miranda <ade@psg.com>.
4067 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
4069         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
4070         to 9.
4072 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
4074         * elf/elf.h: Add PPC Diab relocations.
4076         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4078 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
4080         * manual/texinfo.tex: Update.
4082 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
4084         * sysdeps/powerpc/backtrace.c: New file.
4086 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
4088         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4089         sigjmp_save.
4090         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4092 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4094         * Makefile (install-symbolic-link): Fix spelling.
4096 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4098         * elf/elf.h (SHT_HIOS): Fix value.
4100 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4102         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4103         part of the expansion, this is undefined by the standard.
4105 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
4107         * posix/getconf.c: Add support for systems with incomplete confname.h.
4109         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4111         * sysdeps/posix/wait3.c: Make it work.
4113 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4115         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4116         (elf/ldso_install): Remove.
4118         * elf/Makefile (distribute): Add sln.c.
4119         (others): Add sln.
4120         (others-static): Add sln.
4121         (install-rootsbin): Add sln.
4122         (others-static): Add sln.
4123         (ldso_install): Remove.
4125 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4127         * Makerules (install-clean-symbolic-link-list): Make phony.
4128         * Makefile (install-symbolic-link): Make phony.  Depend on
4129         subdir_install for parallel makes.
4132 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
4134         * elf/Makefile (distribute): Add sln.c
4136 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
4138         * elf/sln.c: New file.
4140         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4141         (install-clean-symbolic-link-list): New target.
4142         (install): Depend on install-clean-symbolic-link-list.
4143         (make-shlib-link): Changed for $(symbolic-link-list).
4145         * Makefile (install-symbolic-link): New target.
4146         (install): Depend on install-symbolic-link.
4148 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
4150         * include/unistd.h: Protect against multiple inclusion.
4152         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4153         is defined, not is glob is defined.
4154         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4156 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
4158         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4159         xdr_string for ut_line, ut_name and ut_host.
4161 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4163         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4164         /var/mail in accordance with FHS 2.0.
4165         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4167 1998-08-12  Richard Henderson  <rth@cygnus.com>
4169         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4170         Update aliases for cancelation.
4172         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4173         playing with symbol versions.
4175 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4177         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4178         multiple inclusion protection.
4179         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4180         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4181         define all these to 1.
4182         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4184 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4186         * sysdeps/mach/usleep.c: Include <unistd.h>.
4187         (usleep): Return void.
4189 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4191         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4192         decl to inhibit warning in if_freenameindex defn.
4194         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4196         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4198         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4199         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4200         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4201         * sysdeps/mach/usleep.c: Likewise.
4203         * sysdeps/mach/hurd/bind.c (bind): Add a const.
4205         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4206         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4207         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4208         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4209         * sysdeps/mach/usleep.c (usleep): Likewise.
4210         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4211         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4212         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4213         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4215 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4217         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4218         (glob64): Fix typo.
4220         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4221         %p arg to fprintf, since `void *' is the right type already.
4223 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
4225         * sysdeps/mach/hurd/getcwd.c
4226         (_hurd_canonicalize_directory_name_internal): Do not loop forever
4227         for unknown root directories.
4228         (__getcwd): Return NULL when the current root directory could not
4229         be reached.
4231 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
4233         * string/strsignal.c (strsignal): Count real-time signals from zero.
4236 See ChangeLog.8 for earlier changes.