Update.
[glibc.git] / ChangeLog
blobe78451a71f6b8298c3677091e7a0fb9bfdad90b7
1 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
3         * Makerules: Undo last change.
4         * csu/Makefile: Define before-compile at the right place.
6         * aclocal.m4: Remove a.out file created by assembler test.
8         * set-init.c: Find set-hooks.h using <...>.
10         Update to db 2.3.10.
11         * db2/Makefile: Update.
12         * db2/db.h: Likewise.
13         * db2/db_185.h: Likewise.
14         * db2/db_int.h: Likewise.
15         * db2/btree/bt_close.c: Likewise.
16         * db2/btree/bt_conv.c: Likewise.
17         * db2/btree/bt_cursor.c: Likewise.
18         * db2/btree/bt_put.c: Likewise.
19         * db2/btree/bt_rec.c: Likewise.
20         * db2/btree/bt_recno.c: Likewise.
21         * db2/btree/btree.src: Likewise.
22         * db2/btree/btree_auto.c: Likewise.
23         * db2/clib/getlong.c: Likewise.
24         * db2/db/db.c: Likewise.
25         * db2/db/db_auto.c: Likewise.
26         * db2/db/db_conv.c: Likewise.
27         * db2/db/db_pr.c: Likewise.
28         * db2/db/db_ret.c: Likewise.
29         * db2/db/db_thread.c: Likewise.
30         * db2/hash/hash.c: Likewise.
31         * db2/hash/hash_auto.c: Likewise.
32         * db2/hash/hash_conv.c: Likewise.
33         * db2/hash/hash_dup.c: Likewise.
34         * db2/hash/hash_func.c: Likewise.
35         * db2/hash/hash_page.c: Likewise.
36         * db2/hash/hash_rec.c: Likewise.
37         * db2/include/btree.h: Likewise.
38         * db2/include/btree_ext.h: Likewise.
39         * db2/include/db.h.src: Likewise.
40         * db2/include/db_185.h.src: Likewise.
41         * db2/include/db_cxx.h: Likewise.
42         * db2/include/db_ext.h: Likewise.
43         * db2/include/db_int.h.src: Likewise.
44         * db2/include/db_page.h: Likewise.
45         * db2/include/db_shash.h: Likewise.
46         * db2/include/lock.h: Likewise.
47         * db2/include/log.h: Likewise.
48         * db2/include/log_ext.h: Likewise.
49         * db2/include/mp.h: Likewise.
50         * db2/include/shqueue.h: Likewise.
51         * db2/include/txn.h: Likewise.
52         * db2/lock/lock.c: Likewise.
53         * db2/lock/lock_deadlock.c: Likewise.
54         * db2/log/log.c: Likewise.
55         * db2/log/log_archive.c: Likewise.
56         * db2/log/log_auto.c: Likewise.
57         * db2/log/log_get.c: Likewise.
58         * db2/log/log_put.c: Likewise.
59         * db2/log/log_register.c: Likewise.
60         * db2/mp/mp_bh.c: Likewise.
61         * db2/mp/mp_fget.c: Likewise.
62         * db2/mp/mp_fopen.c: Likewise.
63         * db2/mp/mp_fput.c: Likewise.
64         * db2/mp/mp_fset.c: Likewise.
65         * db2/mp/mp_open.c: Likewise.
66         * db2/mutex/mutex.c: Likewise.
67         * db2/os/db_os_dir.c: Likewise.
68         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
69         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
70         * db2/progs/db_dump185/db_dump185.c: Likewise.
71         * db2/progs/db_load/db_load.c: Likewise.
72         * db2/progs/db_recover/db_recover.c: Likewise.
73         * db2/txn/txn.c: Likewise.
74         * db2/txn/txn_auto.c: Likewise.
76         * elf/link.h: Define struct libname_list outside struct link_map
77         to not confuse C++ compilers.
79         * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
80         __USE_UNIX98.
81         * manual/creature.texi: Explain this.
83         * libc.map: Add new functions.
85         * libio/Makefile (routines): Add fseeko and ftello.
86         * libio/ftello.c: New file.
87         * libio/fseeko.c: New file.
88         * libio/stdio.h: Add prototypes for new functions.
89         * manual/stdio.texi: Document fseeko and ftello.
91         * posix/Makefile (routines): Add pread and pwrite.
92         * sysdeps/posix/pread.c: New file.
93         * sysdeps/posix/pwrite.c: New file.
94         * sysdeps/stub/pread.c: New file.
95         * sysdeps/stub/pwrite.c: New file.
96         * posix/unistd.h: Add prototypes for pread and pwrite.
97         Pretty print header.
98         Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
99         Declare ctermid and cuserid if __USE_UNIX98.
100         (swab): Change to take void * arguments.
101         * string/swab.c: Change parameter to void *.
102         * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
103         already happened.
104         * manual/llio.texi: Document pread and pwrite.
106         * string/strings.h: Don't simply include string.h.  Define BSD
107         functions according to Unix98.
108         * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
109         * sunrpc/clnt_simp.c: Likewise.
111         * malloc/Makefile (aux): Add set-freeres.
112         * malloc/mtrace.c: Define function release_libc_mem which calls the
113         __libc_subfreeres handler.
114         (mtrace): Register release_libc_mem.
115         * malloc/set-freeres.c: New file.
117         * intl/dcgettext.c: Define free_mem function and add to
118         __libc_subfreeres list.
119         * intl/finddomain.c: Likewise.
120         * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
121         and mmap_size.  Add prototype for _nl_unloaded_domain.
122         * intl/loadmsgcat.c: Define new function _nl_unload_domain.
123         (_nl_load_domain): Store informaiton about mmap use and file size.
124         * intl/localealias.c (read_alias_file): Optimize locale alias file
125         reading by avoid frequen mallocs.
126         Define free_mem function and add to __libc_subfreeres list.
128         * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
129         undeletable.
130         Add prototype for _nl_unload_locale.
131         * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
132         * locale/C-ctype: Likewise.
133         * locale/C-messages: Likewise.
134         * locale/C-monetary: Likewise.
135         * locale/C-numeric: Likewise.
136         * locale/C-time: Likewise.
137         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
138         MAX_USAGE_COUNT and UNDELETABLE.
139         (free_mem): New function.  Add it to __libc_subfreeres list.
140         * locale/loadlocale.c: Define _nl_unload_locale function.
142         * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
144         * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
145         correctly
146         Define free_mem function and add to __libc_subfreeres list.
148         * locale/programs/localedef.c (options): short form os verbose is v.
149         Reported by Andreas Jaeger.
151         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
152         header is used in some others as well for historical reasons.
154         * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
156         * string/bits/string2.h: Add missing braces and optimize strcmp a
157         bit more.
158         * sysdeps/i386/i486/bits/string.h: Likewise.
160         * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
161         Pretty print.
163         * sysdeps/mach/hurd/cthreads.c: Add copyright text.
165         * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
167         * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
169         * time/time.h: Pretty print.
171 1997-09-29  Paul Eggert  <eggert@twinsun.com>
173         * time/strftime.c: Synchronize with GNU Emacs strftime.c.
174         (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
175         (gmtime_r, localtime_r): Undef before defining.
176         (iso_week_days): Use __inline__, not inline.
178 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
180         * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
181         __ieee754_exp2{,l,f}.
182         * sysdeps/m68k/fpu/s_exp2.c: Likewise.
183         * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
184         * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
186 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
188         * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
189         section read-only, it contains relocations.
190         * elf/sofini.c (__FRAME_END__): Likewise.
192 1997-09-29 03:08  Ulrich Drepper  <drepper@cygnus.com>
194         * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
195         __strpbrk_cg, __strstr_cg): Optimize even more.  No spill register
196         needed.  Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
198 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
200         * nis/nis_call.c (__do_niscall2): Fix return code, add missing
201           break in switch case.
203         * nis/nis_mkdir.c: Fix return codes to match Solaris version.
204         * nis/nis_rmdir.c: Likewise.
206         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
207         for C++.
209 1997-09-28 04:32  Ulrich Drepper  <drepper@cygnus.com>
211         * configure.in: Fix typo.
212         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
214 1997-09-25 20:14  Philip Blundell  <Philip.Blundell@pobox.com>
216         * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
217         * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
219 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
221         * Makeconfig (extra-objs): Depend in before-compile.
223         * configure.in: Locate Perl and substitute with complete path.
224         * config.make.in: Add PERL for substitution.
225         * elf/Makefile (routines): Add dl-addr.
226         * elf/dladdr.c: Move the real code into ...
227         * elf/dl-addr.c: New file.
228         * elf/link.h: Add prototype for _dl_addr.
230         * elf/dladdr.c (dladdr): Change address argument to be const.
231         * elf/dlfcn.h: Likewise.
233         * locale/C_name.c: Add _nl_POSIX_name.
234         * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
235         * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
236         (_nl_remove_locale): Free name of data set.
237         * locale/setlocale.c (clever_copy): Remove.
238         (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
239         (setname): Only remove old name when it is for category LC_ALL.
241         Change malloc, free, realloc, and memalign hooks for glibc to take
242         another parameter indicating the location of the caller.
243         * malloc/malloc.c: Change hook functions and variables.
244         * malloc/malloc.h: Likewise.
245         * malloc/mcheck.c: Likewise.  Make sure later hooked function also
246         get the original caller address.
247         * malloc/mtrace.c: Likewise.
248         (tr_where): If no information in _mtrace_file is given use the
249         information about the caller.
250         * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
251         Add rules to install mtrace.pl after rewriting.
252         * malloc/mtrace.pl: New file.  Based on the old AWK script but
253         with extended functionality.
254         * malloc/mtrace.awk: Removed.
256         * po/fr.po: New version.
258         * string/Makefile: Do use builtins for tester.c and inl-tester.c.
259         * string/tester.c: Rewrite.  Split in many small functions to not
260         exceed gcc's limits.
262         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
264 1997-09-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
266         * string/bits/string2.h (__stpcpy_small): Don't use casts as
267         lvalues.
269 1997-09-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
271         * manual/time.texi (Formatting Date and Time): Clarify
272         explanation of strftime flags a bit.
273         Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
275 1997-09-25 00:13  David S. Miller  <davem@tanya.rutgers.edu>
277         * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
278         Fix typo, it is FLT_MANT_DIG.
280 1997-09-24 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
282         * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
284 1997-08-27 08:10  H.J. Lu  <hjl@gnu.ai.mit.edu>
286         * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
288         * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
289         _IO_MTSAFE_IO is undefined.
291 1997-09-24 23:27  Richard Henderson  <rth@cygnus.com>
293         * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
294         lookup the value of the target symbol ourselves and call the new
295         elf_machine_fixup_plt.  This kills the ELF_FIXUP_RETURN_VALUE hack.
296         (profile_fixup): Likewise, but don't fix up the plt.
297         * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
298         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
299         (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
300         * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
301         (ELF_MACHINE_JMP_SLOT): Renamed.
302         (elf_machine_fixup_plt): New function.
303         * sysdeps/m68k/dl-machine.h: Likewise.
304         * sysdeps/powerpc/dl-machine.h: Likewise.
305         (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
306         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
307         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
308         * sysdeps/stub/dl-machine.h: Update, sorta.
310         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
311         (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
312         both normal and profile code.
313         (elf_machine_rela): Handle r_addend for .got and .plt too.
315 1997-09-25 00:23  Ulrich Drepper  <drepper@cygnus.com>
317         * elf/dl-profile.c: Correct implementation.
319         * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
321         * locale/setlocale.c: Rewrite a bit for more clarity.
323         * math/Makefile (libm-calls): Add w_exp2.
324         * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
325         * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
326         * sysdeps/libm-i387/s_exp2f.S: Likewise.
327         * sysdeps/libm-i387/s_exp2l.S: Likewise.
328         * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
330         * string/bits/string2.h (__strcpy_small): Optimize.
331         (__stpcpy_small): Likewise.
332         (strncpy): Use variable for dest argument since it's used more than
333         once.
334         (strncat): Likewise.
335         (strcmp): Add optimization for this function.
336         * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
337         (__strcpy_small): Optimize.
338         (__stpcpy_small): Likewise.
339         (__stpcpy_c): Correctly use __mempcpy_* macros.
340         (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
341         byte following last copied.
342         (strncat): Use variable for dest argument since it's used more than
343         once.
344         (strcmp): Add optimization for this function.
346         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
347         .text and .previous to select correct section.
349 1997-09-23 19:56  Philip Blundell  <Philip.Blundell@pobox.com>
351         * configure.in: Add `--disable-versioning' option to suppress the
352         use of symbol versions even if binutils claims to support it.
354 1997-09-24 20:10  Philip Blundell  <Philip.Blundell@pobox.com>
356         * csu/Makefile (before-compile): Don't try to build abi-tags.h if
357         not using ELF.
359 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
361         * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
362         the frame unwind info section.
364         * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
365         the frame unwind info.
367         * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
369         * configure.in: Check whether gcc supports DWARF2 unwind info.
371         * libc.map: Export frame handling tables.
373 1997-09-10 06:56  Geoff Keating  <geoffk@ozemail.com.au>
375         * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
376         Use the size of the kernel's termios structure for ioctls.
378         * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
380         * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
381         of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
382         routines, because gcc has them as internals.
384         * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
385         CFLAGS-.os.
387         * sysdeps/powerpc/bzero.S: New file.
388         * sysdeps/powerpc/strcat.c: New file.
389         * sysdeps/powerpc/strcpy.S: New file.
390         * sysdeps/powerpc/stpcpy.S: New file.
392         * math/Makefile: Add atest_exp2, test-reduce.
393         * math/atest_exp2.c: New file.
394         * math/test-reduce.c: New file.
395         * sysdeps/libm-ieee754/Dist: New file.
396         * sysdeps/libm-ieee754/s_exp2.c: New file.
397         * sysdeps/libm-ieee754/s_exp2f.c: New file.
398         * sysdeps/libm-ieee754/t_exp2.h: New file.
399         * sysdeps/libm-ieee754/t_exp2f.h: New file.
400         * math/libm-test.c (exp2_test): Add some more tests.
402         * Rules: Use empty.os instead of empty.o, since it gets linked into
403         libc.so...
404         * configure.in: Add --disable-static to disable building .a files.
405         * config.make.in: Substitute the new variable.
406         * Makeconfig: Don't build .o files if not building .a files.
408         * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
409         (profile_fixup): Likewise.
411 1997-09-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
413         * posix/globtest.c (main): Change to directory passed as first
414         argument.
416         * posix/globtest.sh: Don't cd before running the program, instead
417         pass testdir as argument, so that $common_objpfx remains valid.
419 1997-09-23 18:01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
421         * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
423         * nis/nis_findserver.c: Save latest working sockaddr_in.
425 1997-09-17 22:07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
427         * configure.in: Automatically determine whether as and ld are the
428         GNU versions.
429         (options):  --with-gnu-{as,ld,binutils} replaced by
430         single option --with-binutils=PATH specifying a -B option to gcc.
431         * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
432         LIBC_PROG_BINUTILS.
434         * configure.in: Allow the user to force configuration for
435         unsupported platforms with an undocumented option.
437 1997-09-22 16:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
439         * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
440         return loopback address only if there is no other interface.
442         * nis/Makefile: Add nis_callback libnsl-routines.
444         * nis/nis_add.c: Use new __do_niscall* interface.
445         * nis/nis_cache.c: Likewise.
446         * nis/nis_checkpoint.c: Likewise.
447         * nis/nis_lookup.c: Likewise.
448         * nis/nis_mkdir.c: Likewise.
449         * nis/nis_modify.c: Likewise.
450         * nis/nis_ping.c: Likewise.
451         * nis/nis_remove.c: Likewise.
452         * nis/nis_rmdir.c: Likewise.
453         * nis/nis_server.c: Likewise.
454         * nis/nis_util.c: Likewise.
456         * nis/rpcsvc/nis.h: Make C++ safe.
458         * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
459         of variables.
461         * nis/nis_findserv.c: Make thread safe.
463         * nis/nis_call.c: Add support for callback, Fix use of variables.
464         * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
465         ALL_RESULTS.
466         * nis/nis_callback.c: New, callback functions.
467         * nis/nis_intern.h: Add callback declarations.
469 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
471         * string/bits/string2.h: Fix logic in preprocessor directive.
472         (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
473         const, to save a cast and a possible warning.
475 1997-09-22 04:12  Ulrich Drepper  <drepper@cygnus.com>
477         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
478         memory in xadd not %1.
480 1997-09-21 13:56  Ulrich Drepper  <drepper@cygnus.com>
482         * manual/maint.texi (Supported Configurations): Add SPARC64 to
483         list of supported platforms.
485 1997-09-21 03:19  Ulrich Drepper  <drepper@cygnus.com>
487         * libio/libio.h: More libstdc++ cleanups.  Define _IO_USE_DTOA if
488         _G_HAVE_PRINTF_FP is not defined.
489         * libio/strops.c: Undo patch of 1997-07-08 02:18.  Must find a
490         different solution for the problem.
492         * misc/search.h [__USE_GNU]: Define comparison_fn_t.
493         * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
494         not defined.
495         Fix typo.  Pretty print inline functions.
497         * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
498         Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
500 1997-09-20 16:45  Ulrich Drepper  <drepper@cygnus.com>
502         * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
503         HES_DOMAIN environment variable.
504         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
506         * hesiod/README.hesiod: A bit of information about Hesiod and how
507         to use it.  Written by Mark Kettenis <kettenis@phys.uva.nl>.
509 1997-09-20 05:15  Ulrich Drepper  <drepper@cygnus.com>
511         * manual/maint.texi: Update requirement list.
513         * io/ftw.h: Don't use parameter names from global namespace in
514         prototypes.
516         * stdlib/strtol.c: If used outside glibc handle broken systems
517         which have character classification functions which are not 8-bit
518         clean gracefully.  Patch by Bruno Haible <haible@ilog.fr>.
520 1997-09-19 21:42  David S. Miller  <davem@tanya.rutgers.edu>
522         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
523         a long long int.
525 1997-09-19 15:12  H.J. Lu  <hjl@gnu.ai.mit.edu>
527         * posix/Makefile (test-srcs): New, set to globtest.
529 1997-09-20 00:24  Ulrich Drepper  <drepper@cygnus.com>
531         * manual/filesys.texi: Document ftw, nftw and needed data types.
533 1997-09-19 12:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
535         * sysdeps/i386/i486/bits/string.h: Fix typo.
537 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
539         * io/ftwtest.c (cb): Print level.
540         * io/ftwtest-sh: Updated for ftwtest.c change.
542         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
543         compilers.
544         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
546         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
547         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
549 1997-09-18 13:30  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
551         * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
552         additional argument.
553         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
554         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
555         * sysdeps/stub/init-first.c: Likewise.
557 1997-09-18 03:16  Ulrich Drepper  <drepper@cygnus.com>
559         * manual/search.texi: Document lsearch, lfind, the hsearch and
560         tsearch functions.
562 1997-09-18 00:04  Ulrich Drepper  <drepper@cygnus.com>
564         * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
565         if the table is full and we *really* have to enter a new entry.
567 1997-09-17 19:44  Ulrich Drepper  <drepper@cygnus.com>
569         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
570         of hack for handling flush opcode.
571         Patch by Richard Henderson <rth@cygnus.com>.
573 1997-09-16 23:48  Ulrich Drepper  <drepper@cygnus.com>
575         * libio/fileops.c: Define __set_errno if necessary.
576         * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
578 1997-09-16 22:03  Ulrich Drepper  <drepper@cygnus.com>
580         * string/Makefile (headers): Instead bits/string2.h.
581         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
583 1997-09-16 13:31  David S. Miller  <davem@tanya.rutgers.edu>
585         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
587 1997-09-16 17:42  Ulrich Drepper  <drepper@cygnus.com>
589         * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
590         as of type __fdset *.
591         * sysdeps/i386/bits/select.h: Likewise.
592         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
594 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
596         * hesiod/hesiod.c: Don't use and define cistrcmp.  We have
597         strcasecmp.
598         (hesiod_init): Use of HES_DOMAIN need not be protected by
599         __secure_getenv.
600         (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
601         stpcpy.
603         * string/Makefile (noinl-tester-ENV): New variable to make
604         strerror test pass.
605         (CFLAGS-noinl-tester): Make sure we test the correct functions.
607         * sysdeps/stub/atomicity.h: Fix typo.
608         Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
610         * manual/string.texi: Document strnlen and mempcpy.
611         Tell a bit more about the locale dependence of strcasecmp and
612         strncasecmp.
614         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
615         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
616         value type to long int.
617         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
618         types.
619         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
620         Patches by David S. Miller <davem@jenolan.rutgers.edu>.
622 1997-09-16 02:14  Ulrich Drepper  <drepper@cygnus.com>
624         Implementation of Hesiod NSS module by Mark Kettenis.
625         * hesiod/Makefile: New file.
626         * hesiod/hesiod.c: New file.
627         * hesiod/hesiod.h: New file.
628         * hesiod/hesiod_p.h: New file.
629         * hesiod/libnss_hesiod.map: New file.
630         * hesiod/nss_hesiod/hesiod-grp.c: New file.
631         * hesiod/nss_hesiod/hesiod-pwd.c: New file.
632         * hesiod/nss_hesiod/hesiod-service.c: New file.
633         * sysdeps/unix/inet/Subdirs: Add hesiod.
635         * shlib-versions: Add version number for libnss_hesiod.
637         * libio/iolibio.h: Remove definition of _IO_* macros.
638         * libio/fileops.c: Define close, fstat, lseek, read, and write as
639         macros to use __ protected versions.  Use those functions instead
640         of _IO_* functions.
641         * libio/iopopen.c: Define _IO_close to close.
643         * manual/math.texi: Explain the use of the optimizing inline
644         functions.
645         Describe rand_r function and tell about SysV RNGs in introduction.
647         * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
648         variable.
650         * string/Makefile (tests): Add noinl-tester.
651         * string/noinl-tester.c: New file.
652         * string/tester.c: Add more stpcpy tests for constant arguments for
653         all short lengths.
655         * string/string.h: Always declare __bzero.
656         Describe __NO_STRING_INLINES.
657         Always include <bits/string.h>.
658         * string/bits/string2.h: Add warning about direct use.
659         Change __strcpy_small and __stpcpy_small implementation to use
660         macros and provide alternative for platforms which cannot do
661         unaligned stores.
662         * sysdeps/i386/bits/string.h: Don't define anything is
663         __NO_STRING_INLINES is defined.
664         * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
665         __stpcpy_small implementation to use macros and provide
666         alternative for platforms which cannot do unaligned stores.
667         * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
668         * sysdeps/generic/bzero.c: Likewise.
669         * sysdeps/i386/bzero.c: Likewise.
670         * sysdeps/i386/i586/bzero.S: Likewise.
671         * sysdeps/vax/bzero.s: Likewise.
673         * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
674         * sysdeps/i386/bits/select.h: Likewise.
676         * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
677         constraints a bit.
678         Don't define and test for _BITS_MATHINLINE_H.  Emit warning if used
679         directly and not through math.h.
681         * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
682         to char to get better code.  Fix typo.
683         * sysdeps/stub/atomicity.h: Fix typo.
685 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
687         * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
689 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
691         * string/bits/string2.h: Add prototypes to avoid warning.
693 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
695         * string/bits/string2.h (strsep): Fix handling of empty REJECT.
696         (__strsep_1c): Handle NULL and empty string.
697         (__strsep_g): Likewise.
699 1997-09-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
701         * catgets/Makefile (extra-objs): Set this instead of generated.
703         * md5-crypt/Makefile (extra-objs): Add all object file variants of
704         onlymd5-entry.
706 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
708         * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
709         change.
711 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
713         * sysdeps/m68k/m68020/atomicity.h: New file.
715 1997-09-15 05:11  Ulrich Drepper  <drepper@cygnus.com>
717         * posix/Makefile (distribute): Add globtest.c and globtest.sh.
718         Compile and run globtest if not cross-compiling.
719         * posix/globtest.c: New file.
720         * posix/globtest.sh: New file.
721         * posix/glob.c: Pretty print preprocessor stuff.
722         (glob_in_dir): If PATTERN is not really a pattern still check
723         whether it is a real file in the current directory and return
724         error if not.
725         Reported by Eugene Mamchits <eugin@ips.ras.ru>.
727         * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
728         * libio/ioseekoff.c (_IO_seekoff): Likewise.
729         * libio/ioseekpos.c (_IO_seekpos): Likewise.
731 1997-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
733         * configure.in: Prevent configuration for unsupported platforms.
735 1997-09-13 04:07  Ulrich Drepper  <drepper@cygnus.com>
737         * elf/rtld.c (dl_main): Make sure we always have a file argument by
738         testing for < 2 arguments after recognizing the options.
740 1997-09-12 11:47  Fila Kolodny  <fila@ibi.com>
742         * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
743         (__strsep_g): Likewise.
745 1997-09-11 17:32  Ulrich Drepper  <drepper@cygnus.com>
747         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
748         Patch by David S. Miller <davem@jenolan.rutgers.edu>.
750 1997-09-11 04:36  Ulrich Drepper  <drepper@cygnus.com>
752         * db2/db_int.h: Define __set_errno if not yet available.
753         * db2/btree/bt_rec.c: Use __set_errno to set errno value.
754         * db2/clib/getlong.c: Likewise.
755         * db2/db185/db185.c: Likewise.
756         * db2/db185/db185_int.h: Likewise.
757         * db2/dbm/dbm.c: Likewise.
758         * db2/lock/lock_deadlock.c: Likewise.
759         * db2/log/log_archive.c: Likewise.
761         * elf/dl-profile.c: Implement mcount function.
763         * gmon/gmon.c: Use __profil not profil because of namespace pollution.
764         * gmon/mcount.c: Remove BSD kernel code.
765         Use compare&swap instruction if possible to change state variable.
766         Optimize frompc folding.
767         * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
768         * sysdeps/i386/i486/atomicity.h: New file.
769         * sysdeps/stub/atomicity.h: New file.
770         * sysdeps/mach/hurd/profil.c: Define function as __profil and make
771         profil weak alias.
772         * sysdeps/posix/profil.c: Likewise.
774         * string/bits/string2.h: New file.
775         * include/bits/string2.h: New file.
776         * string/Makefile (routines): Add mempcpy.
777         (tests): Add inl-tester.
778         Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
779         * sysdeps/generic/mempcpy.c: New file.
780         * sysdeps/generic/memccpy.c: Undef function name to enable definition
781         as macro.
782         * sysdeps/generic/memchr.c: Likewise.
783         * sysdeps/generic/memcmp.c: Likewise.
784         * sysdeps/generic/memmem.c: Likewise.
785         * sysdeps/generic/memmove.c: Likewise.
786         * sysdeps/generic/strcat.c: Likewise.
787         * sysdeps/generic/strchr.c: Likewise.
788         * sysdeps/generic/strcmp.c: Likewise.
789         * sysdeps/generic/strcpy.c: Likewise.
790         * sysdeps/generic/strcspn.c: Likewise.
791         * sysdeps/generic/strlen.c: Likewise.
792         * sysdeps/generic/strncat.c: Likewise.
793         * sysdeps/generic/strncmp.c: Likewise.
794         * sysdeps/generic/strncpy.c: Likewise.
795         * sysdeps/generic/strpbrk.c: Likewise.
796         * sysdeps/generic/strrchr.c: Likewise.
797         * sysdeps/generic/strsep.c: Likewise.
798         * sysdeps/generic/strspn.c: Likewise.
799         * sysdeps/generic/strstr.c: Likewise.
800         * sysdeps/generic/strtok.c: Likewise.
801         * sysdeps/generic/strtok_r.c: Likewise.
802         * sysdeps/i386/memset.c: Likewise.
803         * sysdeps/i386/bits/string.h: Correct a few types and constraints.
804         * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
805         * string/stratcliff.c: Undefine __USE_STRING_INLINES.
806         * string/tst-strlen.c: Likewise.
807         * string/string.h: Add prototype for mempcpy.  Include bits/string2.h
808         header always if optimizing.
809         * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
810         yet defined.
811         * intl/l10nflist.c: Likewise.
813         * string/tester.c: Add copyright and make little cleanups.
815         * inet/test_ifindex.c: Change type of ni variable to unsigned int.
817         * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
818         of fields map_collection_max and map_collection_act to size_t.
820         * nss/libnss_files.map: Group entries.
822         * posix/unistd.h: Add prototype for __setpgid and __profil.
824         * sysdeps/generic/crypt.h: Declare __crypt_r.
826         * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
828         * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
829         isless, islessequal, islessgreater, isunordered): Optimize a bit.
831         * sysdeps/stub/ftruncate.c: Include missing header for prototype.
832         * sysdeps/stub/getdents.c: Likewise.
833         * sysdeps/stub/reboot.c: Likewise.
834         * sysdeps/stub/swapon.c: Likewise.
835         * sysdeps/stub/syscall.c: Likewise.
836         * sysdeps/stub/ualarm.c: Likewise.
837         * sysdeps/stub/usleep.c: Likewise.
839         * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
840         if SIOGIFINDEX and SIOGIFNAME are not defined.
842         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
843         according to recent kernel changes.
845 1997-09-10 21:32  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
847         * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
848         the installed name of the startup code.
849         (common-generated): Add version.mk.
850         * Makefile (distclean-1): Add glibcbug.
851         * Makerules: Replace -lgcc by $(gnulib).
852         * catgets/Makefile (generated): Add xmalloc.o.
853         * csu/Makefile (generated): Replace align.h and end.h by defs.h to
854         match the generated file.
855         * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
856         (realclean): Changed to remove chapters-incl[12].
857         * po/Makefile (realclean): New rule to remove the generated .mo files.
858         * time/Makefile: Only include zonefile dependencies if $(no_deps) is
859         not true to avoid make clean failure when directory time doesn't exist
860         yet.
861         (generated): Add tzselect.
863         * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
864         * stdio/internals.c (flushbuf): Likewise.
865         * stdio/linewrap.c (lwupdate): Likewise.
866         * stdio/memstream.c (enlarge_buffer): Likewise.
867         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
868         * time/tzset.c (compute_change): Likewise.
869         * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
870         is defined.
871         * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
872         functions.
873         * sysdeps/stub/init-posix.c: Likewise.
874         * sysdeps/stub/profil.c: Likewise.
875         * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
876         reduce gcc warning noise.
877         * stdio/glue.c (_filbuf, _flsbuf): Likewise.
878         * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
879         * stdio/vasprintf.c (enlarge_buffer): Likewise.
880         * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
881         __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
882         __stdio_reopen): Likewise.
883         * sysdeps/posix/defs.c (_cleanup): Likewise.
884         * time/offtime.c (__offtime): Add cast.
886         * posix/getopt.c: Don't use text_set_element if not defined.
888         * configure.in: Provide a check for underscores before user labels
889         that works even when the compiler used for building doesn't work
890         (like when there is no C library).  Use the old way if the compiler
891         works.
893 1997-09-10 05:08  David S. Miller  <davem@caip.rutgers.edu>
895         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
896         'T' not 't' on SparcLinux.
897         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
899         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
900         _longjmp and siglongjmp.
902 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
904         * libio/stdio.h: Add format attributes to the extra printf and
905         scanf like functions.
906         * stdio/stdio.h: Likewise.
908 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
910         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
911         Print tablename_val, not tablename_len.
913         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
914         Use sprintf instead of sprintf, the string always fits.
915         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
916         Likewise.
917         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
918         Likewise.
919         * nis/nss_nisplus/nisplus-proto.c
920         (_nss_nisplus_getprotobynumber_r): Likewise.
921         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
922         Likewise.
923         * nis/nss_nisplus/nisplus-service.c
924         (_nss_nisplus_getservbynumber_r): Likewise.
926         * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
927         __stpcpy, __stpncpy and __strdup instead of public names.
928         * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
929         Likewise.
930         * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
931         * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
932         Likewise.
933         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
934         Likewise.
935         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
936         Likewise.
937         (_nss_create_tablename): Likewise.
938         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
939         Likewise.
940         (_nss_create_tablename): Likewise.
941         * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
942         Likewise.
943         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
944         Likewise.
945         (_nss_create_tablename): Likewise.
946         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
947         Likewise.
948         (_nss_create_tablename): Likewise.
949         * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
950         Likewise.
952         * libc.map: Export __stpcpy and __strdup.
954 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
956         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
957         CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
958         precision.
960 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
962         * include/rpc/auth_des.h: New file.
964 1997-09-09  Paul Eggert  <eggert@twinsun.com>
966         * time/mktime.c (__mktime_internal): Declare sec_requested even if
967         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
968         for time_t overflow.
970 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
972         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
973         Reported by Erik Troan <ewt@redhat.com>.
975         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
976         * elf/dl-open.c: Likewise.
978 1997-09-07 17:09  Richard Henderson  <rth@cygnus.com>
980         * sysdeps/alpha/Makefile: Kill setjmp_aux.
981         * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
982         * sysdeps/alpha/__longjmp.c: Remove.
983         * sysdeps/alpha/setjmp_aux.c: Remove.
984         * sysdeps/alpha/__longjmp.S: New file.
985         * sysdeps/alpha/bsd-_setjmp.S: Stub out.
986         * sysdeps/alpha/bsd-setjmp.S: Likewise.
987         * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
988         Move _setjmp and setjmp from bsd-*.S.
990 1997-09-06  20:20  Ulrich Drepper  <drepper@cygnus.com>
992         * include/rpc/auth.h: New file.
993         * include/rpc/auth_unix.h: New file.
995 1997-09-06  Paul Eggert  <eggert@twinsun.com>
997         Fix gmtime so that it reports leap seconds when TZ
998         indicates that leap seconds are desired.
1000         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1001         (gmtime): Put after gmtime_r, to help the compiler inline.
1002         (__tz_convert): New decl.
1003         (gmtime_r): Use __tz_convert instead of __offtime,
1004         so that leap seconds are handled correctly.
1006         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1007         are now unnecessary.
1008         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1009         __tzset_lock): Remove extern decls that are now unnecessary.
1010         (localtime_internal): Moved to __tz_convert in tzset.c.
1011         so that localtime and gmtime can both use it easily.
1012         (localtime): Put after localtime_r, to help the compiler inline.
1013         (localtime_r): Use __tz_convert instead of localtime_internal.
1015         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1016         decl.
1018         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1020         * time/tzset.c (<errno.h>): Include.
1021         (_tmbuf): New decl.
1022         (__tzfile_compute): New function.
1023         (tz_compute): Renamed from __tz_compute.  No longer extern.
1024         Remove redundant call to tzset_internal.
1025         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1026         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1027         (__tz_convert): New function, containing functionality of old
1028         localtime_internal function, plus locking and optional UTC.
1030 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1032         * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1033         string, just use UTC without leap seconds.  This is for compatibility
1034         with the Olson code.
1036 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1038         * time/tzset.c (__tzname_max): Lock tz data structures before
1039         invoking tzset_internal.
1041         * time/tzfile.c: Define compute_tzname_max statically.
1043 1997-09-07 10:57  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1045         * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
1046         * nis/nis_intern.h: Likewise.
1047         * nis/nss_nis/nis-publickey.c: Likewise.
1048         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1049         * nis/ypclnt.c: Likewise.
1051         * sunrpc/auth_des.c: Don't dereference NULL pointer,
1052         initialize ad->ad_timediff.
1054         * sunrpc/auth_none.c: Don't define our own prototypes, use the one
1055         from the header files.
1056         * sunrpc/auth_unix.c: Likewise.
1057         * sunrpc/clnt_raw.c: Likewise.
1058         * sunrpc/clnt_tcp.c: Likewise.
1059         * sunrpc/rpc_cmsg.c: Likewise.
1061         * sunrpc/key_call.c: Fix signal handling.
1063         * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
1064         or we will get a deadlock with NIS+.
1066         * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
1067         HAVE_SECURE_RPC.
1069 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1071         * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1072         __FD_ISSET): Use correct casts to address array correctly.
1073         Reported by urbanw@cs.umu.se.
1075 1997-09-07 05:07  Ulrich Drepper  <drepper@cygnus.com>
1077         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1078         * elf/dl-open.c: Likewise.
1079         * sysdeps/i386/memset.c: Undefine memset in case the header with the
1080         optimized functions is included.
1081         Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
1083         * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
1084         strsep): Use register for second parameter.
1085         * sysdeps/i386/i486/bits/string.h: Likewise.
1086         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1088 1997-09-03 09:48  Geoff Keating  <geoffk@ozemail.com.au>
1090         * math/libm-test.c: Change various tolerances to match what the
1091         tested routines can actually provide.
1093         * math/Makefile: Add new tests.
1094         * math/atest-sincos.c: New file.
1095         * math/atest-exp.c: New file.
1097         * csu/Makefile: Give initfini.s and initfiniS.s their own
1098         CFLAGS-* macros so they can be overridden.
1099         * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
1100         initfiniS.s to use -fpic instead of -fPIC, because the sed script
1101         breaks otherwise.
1103         * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
1104         efficiency.
1106         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1107         Don't use register 0, to let _mcount be in a shared object.
1109         * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
1110         Generally clean up.  Suppress some code we don't need when relocating
1111         ld.so.
1112         * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
1113         appropriate to suppress gcc warning.
1114         * resolv/res_send.c: Suppress warning.
1115         * sunrpc/xdr_sizeof.c: Suppress warning.
1117         * FAQ: Add ppc-linux.
1118         * manual/maint.texi: Add ppc-linux.  Explain that gcc can't build it
1119         yet.
1121         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
1122         current kernels.
1124 1997-08-15 07:45  Geoff Keating  <geoffk@ozemail.com.au>
1126         * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
1127         * sysdeps/i386/machine-gmon.h: Correct typo.
1129         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
1130         kernel.
1132         * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
1133         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
1134         sysdeps/linux/dl-sysdep.c.
1136         * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
1137         * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
1138         * sysdeps/powerpc/ppc-mcount: New file.
1140         The following are mostly changes to allow profiling:
1141         * sysdeps/powerpc/add_n.S: Added.
1142         * sysdeps/powerpc/add_n.s: Removed.
1143         * sysdeps/powerpc/addmul_1.S: Added.
1144         * sysdeps/powerpc/addmul_1.s: Removed.
1145         * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
1146         * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
1147         * sysdeps/powerpc/lshift.S: Added.
1148         * sysdeps/powerpc/lshift.s: Removed.
1149         * sysdeps/powerpc/memset.S: Added.
1150         * sysdeps/powerpc/memset.s: Removed.
1151         * sysdeps/powerpc/mul_1.S: Added.
1152         * sysdeps/powerpc/mul_1.s: Removed.
1153         * sysdeps/powerpc/rshift.S: Added.
1154         * sysdeps/powerpc/rshift.s: Removed.
1155         * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
1156         * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
1157         * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
1158         * sysdeps/powerpc/strchr.S: Added.
1159         * sysdeps/powerpc/strchr.s: Removed.
1160         * sysdeps/powerpc/strcmp.S: Added.
1161         * sysdeps/powerpc/strcmp.s: Removed.
1162         * sysdeps/powerpc/strlen.S: Added.
1163         * sysdeps/powerpc/strlen.s: Removed.
1164         * sysdeps/powerpc/sub_n.S: Added.
1165         * sysdeps/powerpc/sub_n.s: Removed.
1166         * sysdeps/powerpc/submul_1.S: Added.
1167         * sysdeps/powerpc/submul_1.s: Removed.
1168         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
1169         * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
1170         * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
1171         * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
1172         various bugs. Document that it isn't tested.
1173         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
1174         sysdeps/unix/_exit.S.
1175         * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
1176         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
1177         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
1178         to make assembler (possibly) more portable, allow profiling, etc.
1180 1997-09-05 03:15  Ulrich Drepper  <drepper@cygnus.com>
1182         * Makefile (subdirs): Reorganize order so that nss follows add-ons.
1183         * config.make.in (LDAP): Add.
1184         * configure.in: Prepare for ldap add-on.
1185         * shlib-versions: Add version numbers for ldap NSS module.
1186         * nss/Makefile: Add rules to build ldap NSS module.
1188         * db/btree/bt_page.c (__bt_free): Update meta data information.
1190         Update db from db-2.3.6.
1191         * db2/db.h: Updated.
1192         * db2/btree/bt_close.c: Updated.
1193         * db2/btree/bt_compare.c: Updated.
1194         * db2/btree/bt_conv.c: Updated.
1195         * db2/btree/bt_cursor.c: Updated.
1196         * db2/btree/bt_delete.c: Updated.
1197         * db2/btree/bt_put.c: Updated.
1198         * db2/btree/bt_rec.c: Updated.
1199         * db2/btree/bt_recno.c: Updated.
1200         * db2/btree/bt_search.c: Updated.
1201         * db2/btree/bt_split.c: Updated.
1202         * db2/btree/bt_stat.c: Updated.
1203         * db2/common/db_appinit.c: Updated.
1204         * db2/common/db_apprec.c: Updated.
1205         * db2/common/db_byteorder.c: Updated.
1206         * db2/common/db_err.c: Updated.
1207         * db2/common/db_region.c: Updated.
1208         * db2/db/db.c: Updated.
1209         * db2/db/db_conv.c: Updated.
1210         * db2/db/db_dup.c: Updated.
1211         * db2/db/db_pr.c: Updated.
1212         * db2/db/db_ret.c: Updated.
1213         * db2/db185/db185.c: Updated.
1214         * db2/dbm/dbm.c: Updated.
1215         * db2/hash/hash_dup.c: Updated.
1216         * db2/include/db_am.h: Updated.
1217         * db2/include/db_page.h: Updated.
1218         * db2/include/mp.h: Updated.
1219         * db2/include/queue.h: Updated.
1220         * db2/log/log.c: Updated.
1221         * db2/log/log_findckp.c: Updated.
1222         * db2/log/log_get.c: Updated.
1223         * db2/log/log_rec.c: Updated.
1224         * db2/mp/mp_bh.c: Updated.
1225         * db2/mp/mp_fopen.c: Updated.
1226         * db2/mp/mp_pr.c: Updated.
1227         * db2/mp/mp_sync.c: Updated.
1228         * db2/mutex/x86.gcc: Updated.
1229         * db2/os/db_os_dir.c: Updated.
1230         * db2/os/db_os_fid.c: Updated.
1231         * db2/progs/db_archive/db_archive.c: Updated.
1232         * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
1233         * db2/progs/db_deadlock/db_deadlock.c: Updated.
1234         * db2/progs/db_dump/db_dump.c: Updated.
1235         * db2/progs/db_dump185/db_dump185.c: Updated.
1236         * db2/progs/db_load/db_load.c: Updated.
1237         * db2/progs/db_printlog/db_printlog.c: Updated.
1238         * db2/progs/db_recover/db_recover.c: Updated.
1239         * db2/progs/db_stat/db_stat.c: Updated.
1240         * db2/txn/txn.c: Updated.
1241         * db2/txn/txn_rec.c: Updated.
1243         * db2/Makefile: Add rule to build db_printlog.
1244         * db2/config.h: Don't include endian.h and don't define
1245         WORDS_BIGENDIAN.  Only define HAVE_ENDIAN_H.
1247         * elf/dl-open.c (_dl_open): Make thread-safe.
1248         * elf/dl-close.c (_dl_close): Likewise.
1249         * elf/dlclose.c: Pretty print.
1250         * elf/dl-version.c (make_string): Use __strdup not strdup.
1251         (find_needed): Don't use l_searchlist of _dl_loaded, use the
1252         l_next list.
1253         * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
1255         * manual/math.texi: Add note about == and != for FP values.
1256         * manual/message.texi: Mention problems with relative paths and
1257         binstextdomain.
1258         * manual/string.texi: Mark strdupa and strndupa correctly as macros.
1260         * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
1261         * sunrpc/rpc_cout.c: Avoid needless races around return value.
1263         * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
1265         Update from tzdata-1997h.
1266         * time/africa: Updated.
1267         * time/europe: Updated.
1268         * time/iso3166.tab: Updated.
1269         * time/northamerica: Updated.
1270         * time/southamerica: Updated.
1271         * time/zone.tab: Updated.
1273 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
1275         * sysdeps/alpha/w_sqrt.S: Removed.
1276         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
1277         and build a version that is as fast as possible given the constraint.
1279 1997-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1281         * manual/maint.texi: Document some defaults for configuration
1282         parameters.
1284 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1286         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1287         * termios/termios.h: Change prototype accordingly.
1288         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1290 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1292         * libio/stdfiles.c (_libio_using_thunks): Define if
1293         _G_USING_THUNKS is defined.
1295         * libio/_G_config.h: Moved to ...
1296         * sysdeps/generic/_G_config.h: ...here.
1298         * sysdeps/unix/sysv/linux/_G_config.h: New,
1299         Add vtable thunks support.
1301 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1303         * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
1304         efficient code (together with a change in gcc).
1306         * Makeconfig (pic-ccflag): New variable.
1307         (CFLAGS-.os): Use it instead of hardcoding -fPIC.
1309 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1311         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
1312         _dl_start instead of a local label, to avoid getting an unreadable
1313         label name.
1315 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1317         * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
1318         libdb.so.
1320         * Makeconfig (dbobjdir): Use db2.
1322 1997-08-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1324         * manual/maint.texi (Porting to Unix): Update description of the
1325         implementation of Unix system calls.
1326         (Contributors): Use real umlaut in tege's name.
1328 1997-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1330         * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
1331         _IEEE_LIBM.
1332         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1333         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1335 1997-08-29 21:45  Ulrich Drepper  <drepper@cygnus.com>
1337         * sunrpc/auth_des.c: New file.  Copied from former secure_rpc add-on.
1338         * sunrpc/authdes_prot.c: New file.  Likewise.
1339         * sunrpc/des.h: New file.  Likewise.
1340         * sunrpc/des_crypt.c: New file.  Likewise.
1341         * sunrpc/des_soft.c: New file.  Likewise.
1342         * sunrpc/key_call.c: New file.  Likewise.
1343         * sunrpc/key_prot.c: New file.  Likewise.
1344         * sunrpc/netname.c: New file.  Likewise.
1345         * sunrpc/openchild.c: New file.  Likewise.
1346         * sunrpc/rtime.c: New file.  Likewise.
1347         * sunrpc/svc_auth.c: New file.  Likewise.
1348         * sunrpc/svcauth_des.c: New file.  Likewise.
1349         * sunrpc/xcrypt.c: New file.  Likewise.
1350         * sunrpc/rpc/auth.h: New file.  Likewise.
1351         * sunrpc/rpc/auth_des.h: New file.  Likewise.
1352         * sunrpc/rpc/des_crypt.h: New file.  Likewise.
1353         * sunrpc/rpc/key_prot.h: New file.  Likewise.
1354         * sunrpc/rpcsvc/key_prot.x: New file.  Likewise.
1355         * sysdeps/generic/svc_auth.h: Removed.
1356         * sysdeps/generic/rpc/auth.h: Removed.
1357         * sysdeps/generic/rpc/auth_des.h: Removed.
1358         * sysdeps/stub/des_impl.c: New file.  Stub version for DES.
1359         * sunrpc/Makefile (rpcsvc): Add keyprot.x.
1360         (headers): Add des_crypt.h and key_prot.h.
1361         (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
1362         key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
1363         (distribute): Add des.h.
1365         * db2/Makefile: Add all headers and other files to distribute.
1366         (others): Add db_printlog.
1368         * sysdeps/mach/hurd/Dist: Add net/* headers.
1369         * sysdeps/mach/hurd/mips/Dist: New file.
1370         * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
1371         * sysdeps/sparc/Dist: Add sys/trap.h.
1372         * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
1373         * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
1374         * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
1375         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
1376         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
1378         Add previously missing assembler files for PPC.
1379         * sysdeps/powerpc/add_n.s: New file.
1380         * sysdeps/powerpc/addmul_1.s: New file.
1381         * sysdeps/powerpc/lshift.s: New file.
1382         * sysdeps/powerpc/memset.s: New file.
1383         * sysdeps/powerpc/mul_1.s: New file.
1384         * sysdeps/powerpc/rshift.s: New file.
1385         * sysdeps/powerpc/strchr.s: New file.
1386         * sysdeps/powerpc/strcmp.s: New file.
1387         * sysdeps/powerpc/sub_n.s: New file.
1388         * sysdeps/powerpc/submul_1.s: New file.
1390 1997-08-28 18:42  Thorsten Kukuk  <kukuk@uni-paderborn.de>
1392         * nis/nis_server.c: Rewritten to fix a lot of bugs.
1394 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1396         * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
1397         variables.
1399 1997-08-29 02:36  Ulrich Drepper  <drepper@cygnus.com>
1401         * Makefile (version-info.h): Use ISO form for the date.
1403         * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
1404         (struct catalog_obj): Add lock field.
1405         (__open_catalog): Remove second parameter from prototype.
1406         * catgets/catgets.c (catopen): Initialize lock field.
1407         (catgets): Don't pass second parameter to __open_catalog.
1408         * catgets/gencat.c: Initialize lock field and don't pass second
1409         parameter to __open_catalog.
1410         * catgets/open_catalog.c (__open_catalog): Decide about use of
1411         path by examining path in struct, not based on extra argument.
1412         Acquire a the lock before trying to load the catalog and release
1413         it before returning.
1415         * csu/Makefile (abi-tag.h): Make sure target directory exists.
1417         * io/Makefile (headers): Add bits/poll.h.
1418         * io/sys/poll.h: Remove definitions of POLL* constants.
1419         Include <bits/poll.h>.
1420         * sysdeps/generic/bits/poll.h: New file.
1421         * sysdeps/unix/sysv/linux/bits/poll.h: New file.
1422         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
1423         * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
1424         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
1426         * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
1428         * malloc/obstack.c: Add casts to keep very verbose compilers on
1429         64bit machine quiet.
1431         * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
1433 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1435         * catgets/catgets.c (catopen): Correctly determine length of string
1436         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1438 1997-08-27 23:19  Richard Henderson  <rth@cygnus.com>
1440         * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
1441         default macro to track down arguments from stack start.
1442         (_dl_sysdep_start): Use it.
1443         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
1444         providing a special DL_FIND_ARG_COMPONENTS and including the next
1445         file up the line.
1447         * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
1448         * sysdeps/powerpc/e_sqrtf.c: Likewise.
1449         * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
1450         the double precision version.
1451         * sysdeps/powerpc/s_fabsf.S: Likewise.
1452         * sysdeps/powerpc/s_isnanf.S: Likewise.
1454 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
1456         * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>.  Somebody
1457         should update this to use the new db API.
1458         * nss/nss_db/db-netgrp.c: Likewise.
1459         * nss/nss_db/db-alias.c: Likewise.
1460         * db2/Makefile: Makefile for db-2.x in glibc.
1462 1997-08-27 21:20  Ulrich Drepper  <drepper@cygnus.com>
1464         * csu/Makefile (before-compile): New goal.  Make sure abi-tag.h
1465         is generated.
1466         [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
1468         * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
1469         -D__USE_STRING_INLINES.
1470         * string/string.f: Move strnlen optimization after inclusion of
1471         <bits/string.h>.  Include <bits/string.h> only if __USE_STRING_INLINES
1472         is defined.
1473         * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
1474         in <bits/string.h>.
1475         * sysdeps/generic/memset.c: Likewise.
1476         * sysdeps/i386/string.h: i386 optimized string functions.
1477         * sysdeps/i386/i486string.h: i486+ optimized string functions.
1479         * Makefile (subdirs): Change db to db2.
1480         * shlib-versions: Bump libdb verion number to 3.
1481         * include/db.h: Include from db2 directory.
1482         * include/db_185.h: New file.
1483         * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
1484         to provide spinlock information for db2.
1485         * sysdeps/m68k/m68020/Makefile: New file.  Likewise.
1486         * sysdeps/sparc/Makefile: New file.  Likewise.
1487         * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
1488         Add -DHAVE_LLSEEK.
1489         * db2/config.h: Hand-edited config file for db2 in glibc.
1490         * db2/compat.h: New file from db-2.3.4.
1491         * db2/db.h: Likewise.
1492         * db2/db_185.h: Likewise.
1493         * db2/db_int.h: Likewise.
1494         * db2/makedb.c: Likewise.
1495         * db2/btree/bt_close.c: Likewise.
1496         * db2/btree/bt_compare.c: Likewise.
1497         * db2/btree/bt_conv.c: Likewise.
1498         * db2/btree/bt_cursor.c: Likewise.
1499         * db2/btree/bt_delete.c: Likewise.
1500         * db2/btree/bt_open.c: Likewise.
1501         * db2/btree/bt_page.c: Likewise.
1502         * db2/btree/bt_put.c: Likewise.
1503         * db2/btree/bt_rec.c: Likewise.
1504         * db2/btree/bt_recno.c: Likewise.
1505         * db2/btree/btree_auto.c: Likewise.
1506         * db2/btree/bt_rsearch.c: Likewise.
1507         * db2/btree/bt_search.c: Likewise.
1508         * db2/btree/bt_split.c: Likewise.
1509         * db2/btree/bt_stat.c: Likewise.
1510         * db2/btree/btree.src: Likewise.
1511         * db2/common/db_appinit.c: Likewise.
1512         * db2/common/db_err.c: Likewise.
1513         * db2/common/db_byteorder.c: Likewise.
1514         * db2/common/db_apprec.c: Likewise.
1515         * db2/common/db_salloc.c: Likewise.
1516         * db2/common/db_log2.c: Likewise.
1517         * db2/common/db_region.c: Likewise.
1518         * db2/common/db_shash.c: Likewise.
1519         * db2/db/db.c: Likewise.
1520         * db2/db/db.src: Likewise.
1521         * db2/db/db_conv.c: Likewise.
1522         * db2/db/db_dispatch.c: Likewise.
1523         * db2/db/db_dup.c: Likewise.
1524         * db2/db/db_overflow.c: Likewise.
1525         * db2/db/db_pr.c: Likewise.
1526         * db2/db/db_rec.c: Likewise.
1527         * db2/db/db_ret.c: Likewise.
1528         * db2/db/db_thread.c: Likewise.
1529         * db2/db/db_auto.c: Likewise.
1530         * db2/db185/db185.c: Likewise.
1531         * db2/db185/db185_int.h: Likewise.
1532         * db2/dbm/dbm.c: Likewise.
1533         * db2/hash/hash.c: Likewise.
1534         * db2/hash/hash.src: Likewise.
1535         * db2/hash/hash_page.c: Likewise.
1536         * db2/hash/hash_conv.c: Likewise.
1537         * db2/hash/hash_debug.c: Likewise.
1538         * db2/hash/hash_stat.c: Likewise.
1539         * db2/hash/hash_rec.c: Likewise.
1540         * db2/hash/hash_dup.c: Likewise.
1541         * db2/hash/hash_func.c: Likewise.
1542         * db2/hash/hash_auto.c: Likewise.
1543         * db2/include/mp.h: Likewise.
1544         * db2/include/btree.h: Likewise.
1545         * db2/include/db.h.src: Likewise.
1546         * db2/include/db_int.h.src: Likewise.
1547         * db2/include/db_shash.h: Likewise.
1548         * db2/include/db_swap.h: Likewise.
1549         * db2/include/db_185.h.src: Likewise.
1550         * db2/include/txn.h: Likewise.
1551         * db2/include/db_am.h: Likewise.
1552         * db2/include/shqueue.h: Likewise.
1553         * db2/include/hash.h: Likewise.
1554         * db2/include/db_dispatch.h: Likewise.
1555         * db2/include/lock.h: Likewise.
1556         * db2/include/db_page.h: Likewise.
1557         * db2/include/log.h: Likewise.
1558         * db2/include/db_auto.h: Likewise.
1559         * db2/include/btree_auto.h: Likewise.
1560         * db2/include/hash_auto.h: Likewise.
1561         * db2/include/log_auto.h: Likewise.
1562         * db2/include/txn_auto.h: Likewise.
1563         * db2/include/db_ext.h: Likewise.
1564         * db2/include/btree_ext.h: Likewise.
1565         * db2/include/clib_ext.h: Likewise.
1566         * db2/include/common_ext.h: Likewise.
1567         * db2/include/hash_ext.h: Likewise.
1568         * db2/include/lock_ext.h: Likewise.
1569         * db2/include/log_ext.h: Likewise.
1570         * db2/include/mp_ext.h: Likewise.
1571         * db2/include/mutex_ext.h: Likewise.
1572         * db2/include/os_ext.h: Likewise.
1573         * db2/include/txn_ext.h: Likewise.
1574         * db2/include/cxx_int.h: Likewise.
1575         * db2/include/db_cxx.h: Likewise.
1576         * db2/include/queue.h: Likewise.
1577         * db2/lock/lock.c: Likewise.
1578         * db2/lock/lock_conflict.c: Likewise.
1579         * db2/lock/lock_util.c: Likewise.
1580         * db2/lock/lock_deadlock.c: Likewise.
1581         * db2/log/log.c: Likewise.
1582         * db2/log/log_get.c: Likewise.
1583         * db2/log/log.src: Likewise.
1584         * db2/log/log_compare.c: Likewise.
1585         * db2/log/log_put.c: Likewise.
1586         * db2/log/log_rec.c: Likewise.
1587         * db2/log/log_archive.c: Likewise.
1588         * db2/log/log_register.c: Likewise.
1589         * db2/log/log_auto.c: Likewise.
1590         * db2/log/log_findckp.c: Likewise.
1591         * db2/mp/mp_bh.c: Likewise.
1592         * db2/mp/mp_fget.c: Likewise.
1593         * db2/mp/mp_fopen.c: Likewise.
1594         * db2/mp/mp_fput.c: Likewise.
1595         * db2/mp/mp_fset.c: Likewise.
1596         * db2/mp/mp_open.c: Likewise.
1597         * db2/mp/mp_region.c: Likewise.
1598         * db2/mp/mp_pr.c: Likewise.
1599         * db2/mp/mp_sync.c: Likewise.
1600         * db2/mutex/68020.gcc: Likewise.
1601         * db2/mutex/mutex.c: Likewise.
1602         * db2/mutex/README: Likewise.
1603         * db2/mutex/x86.gcc: Likewise.
1604         * db2/mutex/sparc.gcc: Likewise.
1605         * db2/mutex/uts4.cc.s: Likewise.
1606         * db2/mutex/alpha.dec: Likewise.
1607         * db2/mutex/alpha.gcc: Likewise.
1608         * db2/mutex/parisc.gcc: Likewise.
1609         * db2/mutex/parisc.hp: Likewise.
1610         * db2/os/db_os_abs.c: Likewise.
1611         * db2/os/db_os_dir.c: Likewise.
1612         * db2/os/db_os_fid.c: Likewise.
1613         * db2/os/db_os_lseek.c: Likewise.
1614         * db2/os/db_os_mmap.c: Likewise.
1615         * db2/os/db_os_open.c: Likewise.
1616         * db2/os/db_os_rw.c: Likewise.
1617         * db2/os/db_os_sleep.c: Likewise.
1618         * db2/os/db_os_stat.c: Likewise.
1619         * db2/os/db_os_unlink.c: Likewise.
1620         * db2/txn/txn.c: Likewise.
1621         * db2/txn/txn.src: Likewise.
1622         * db2/txn/txn_rec.c: Likewise.
1623         * db2/txn/txn_auto.c: Likewise.
1624         * db2/clib/getlong.c: Likewise.
1625         * db2/progs/db_archive/db_archive.c: Likewise.
1626         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1627         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1628         * db2/progs/db_dump/db_dump.c: Likewise.
1629         * db2/progs/db_dump185/db_dump185.c: Likewise.
1630         * db2/progs/db_load/db_load.c: Likewise.
1631         * db2/progs/db_printlog/db_printlog.c: Likewise.
1632         * db2/progs/db_recover/db_recover.c: Likewise.
1633         * db2/progs/db_stat/db_stat.c: Likewise.
1635         * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
1637         * po/de.po, po/sv.po: Update from 2.0.5 translations.
1639         * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
1641         * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
1642         as const.
1643         * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
1644         * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
1645         * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
1647 1997-08-27 18:47  Ulrich Drepper  <drepper@cygnus.com>
1649         * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
1650         Reported by Benjamin Kosnik <bkoz@cygnus.com>.
1652 1997-08-27 02:27  Roland McGrath  <roland@baalperazim.frob.com>
1654         * abi-tags: New file.
1655         * csu/Makefile (distribute): Remove abi-tag.h.
1656         ($(objpfx)abi-tag.h): New target.
1657         * Makefile (distribute): Add abi-tags.
1658         * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
1659         * sysdeps/mach/hurd/abi-tag.h: File removed.
1660         * sysdeps/stub/abi-tag.h: File removed.
1662 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1664         * sysdeps/unix/make-syscalls.sh: Change output so that it
1665         generates compilation rules only for the currently selected object
1666         suffixes.
1668 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1670         * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
1671         section to avoid confusing the compiler.
1672         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1673         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1674         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1675         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
1676         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1678         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
1679         relocation instead of a constant to avoid text relocation.
1680         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
1681         (RTLD_START): Declare global labels as functions and add size
1682         directive.
1684 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1686         * sysdeps/i386/bits/select.h: Correct assembler versions to work even
1687         for descriptors >= 32.
1689         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1690         is used __alloca is not defined to __builtin_alloca and so might
1691         not be available.
1692         Reported by Uwe Ohse <uwe@ohse.de>.
1694         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1695         way if gcc is not used and so dev_t is an array.
1696         Reported by Uwe Ohse <uwe@ohse.de>.
1698 1997-08-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1700         * manual/libc.texinfo: Reorder chapters to match logical order.
1702 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1704         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1705         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1706         with g++ internal symbols.
1707         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1709 1997-08-24  Miles Bader  <miles@gnu.ai.mit.edu>
1711         * string/argz.h: Add missing __END_DECLS.
1713 1997-08-24 12:24  Ulrich Drepper  <drepper@cygnus.com>
1715         * configure.in (INSTALL): Quote `$'.
1717         * libc.map: Add __xpg_basename.
1719         * csu/Makefile (initfini.s): Disable optimization.
1721         * elf/dl-deps.c: Implement handling of DT_FILTER.
1723         * elf/dl-load.c (_dl_init_paths): Add error check.
1725         * intl/finddomain.c (_nl_find_domain): Correct comment.
1726         * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
1728         * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
1729         Change extern inline functions to work correctly in C++.
1731         * locale/iso-4217.def: Update for more recent ISO 4217 version.
1733         * locale/loadlocale.c (_nl_load_locale): Add cast.
1735         * manual/message.texi: Finish gettext section.
1737         * posix/getopt_init.c: Don't use relative #include path.
1738         (__getopt_clean_environment): Change function to take pointer to
1739         environment as argument.  Optimize generation of test string a bit.
1740         * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
1741         with additional argument.
1743         * poisx/glob.c: Add prototype for next_brace_sub.
1745         * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
1746         vector.
1748         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
1749         to not generate relocation entry.  Suggested by Richard Henderson.
1750         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
1751         (elf_machine_runtime_setup): Add .aligns.
1753         * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
1755         * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
1756         1997-08-14 03:14.  gcc 2.7.2* is really broken in some aspects.
1758         * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
1759         * sysdeps/standalone/i960/i960ca.h: Likewise.
1761 1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>
1763         * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
1764         undocumented test addition in _dl_map_object.
1766         Support ET_EXEC versions of ld.so, for debugging at least:
1768         * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
1769         called despite the DT_SONAME != NULL test, segfaulting.  Simplify
1770         the code here as well.
1771         * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
1772         (_dl_setup_hash): Likewise for hash tables.
1773         * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
1774         * elf/rtld.c (_dl_start): Likewise for rpath.
1775         (_dl_rtld_libname2): New variable.
1776         (dl_main): Use it to add an soname for ourselves when we don't have
1777         one of our own.  Base it on the target's .interp.
1778         (dl_main): Again, skip printing of objects that don't have strtabs.
1780         Sparc 32 merge:
1782         * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
1783         (fixup): Simplify code.  Use ELF_FIXUP_RETURN_VALUE.
1784         (profile_fixup): Likewise, though this still needs fixing for
1785         Sparc32 and PPC.
1786         * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
1787         to ELF_FIXUP_RETURN_VALUE.
1789         * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
1790         Fix up _dl_start_user to handle _dl_skip_args properly.
1791         Use _dl_hwcap to determine if "flush" is available/needed.
1793         * sysdeps/sparc/configure.in: Remove.  It doesn't actually do
1794         anything anymore, and what it did do is done somewhere else.
1795         * sysdeps/sparc/configure: Likewise.
1797         * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
1799         * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
1801         * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
1802         in divrem expansions.
1804         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
1805         definitions for assembly syntax differences.
1807         * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
1808         "system".  Use %g2,%g3 instead.  Use new local label macro.
1809         * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
1810         and LOC for proper assembly headers/footers.
1811         * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
1812         * sysdeps/sparc/sparc32/alloca.S: Likewise.
1813         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1814         * sysdeps/sparc/sparc32/lshift.S: Likewise.
1815         * sysdeps/sparc/sparc32/mul_1.S: Likewise.
1816         * sysdeps/sparc/sparc32/rshift.S: Likewise.
1817         * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
1818         * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
1819         * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
1820         * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
1821         * sysdeps/sparc/sparc32/sub_n.S: Likewise.
1822         * sysdeps/sparc/sparc32/submul_1.S: Likewise.
1823         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
1824         * sysdeps/sparc/sparc32/umul.S: Likewise.
1825         * sysdeps/sparc/sparc32/divrem.m4: Likewise.
1826         * sysdeps/sparc/sparc32/rem.S: Regenerate.
1827         * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
1828         * sysdeps/sparc/sparc32/udiv.S: Regenerate.
1829         * sysdeps/sparc/sparc32/urem.S: Regenerate.
1831         * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
1832         * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
1833         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
1834         * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
1835         * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
1836         * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
1838         * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
1839         * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
1840         * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
1842         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
1843         Clean up PIC code.
1845         * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
1846         from the sparc64 version.
1847         * sysdeps/sparc/sparc32/elf/start.c: Removed.
1849         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
1850         assembly based on the sparc64 version.
1852         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh.  Use proper syntax
1853         for manipulating %fsr.
1854         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
1855         be the default.
1857         * elf/elf.h (HWCAP_SPARC_*): New definitions.
1858         * elf/rtld.c (_dl_hwcap): New variable.
1859         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
1861         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
1862         Attempt to get hold of the page size based on what we might have
1863         been told at startup time in _dl_pagesize.  This will be obsolete
1864         when I finish the kernel hooks for a proper sysconf(), stay tuned.
1866         Sparc 64 merge:
1868         * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
1869         Figure out the right thing to return based on the .plt format.
1871         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
1873         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
1874         Should have been 64-bits wide.
1876         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
1877         optimize for branch delay slot usage.
1879 1997-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1881         * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
1882         change.
1884 1997-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1886         * math/libm-test.c (identities): Change epsilon.
1888         * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
1889         fabsf, fabsl, __fabsl.
1891 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
1893         * catgets/catgets.c (catclose): Use __munmap instead of munmap.
1894         * catgets/gencat.c (read_input_file): Fix typo.
1896         * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
1898         * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
1899         executed (e.g., when it is a static binary).
1901         * intl/bindtextdomain.c: Use strdup in glibc.  Correct comment.
1902         * intl/dcgettext.c: Likewise.
1903         * intl/dgettext.c: Likewise.
1904         * intl/explodename.c: Likewise.
1905         * intl/finddomain.c: Likewise.
1906         * intl/gettext.c: Likewise.
1907         * intl/gettext.h: Likewise.
1908         * intl/hash-string.h: Likewise.
1909         * intl/l10nflist.c: Likewise.
1910         * intl/libintl.h: Likewise.
1911         * intl/loadinfo.h: Likewise.
1912         * intl/loadmsgcat.c: Likewise.
1913         * intl/localealias.c: Likewise.
1914         * intl/textdomain.c: Likewise.
1916         Unify libio sources with code in libg++.
1917         * libio/fcloseall.c: Update and reformat copyright.  Protect use
1918         of weak_alias.  Use _IO_* thread macros instead of __libc_*.
1919         * libio/feof.c: Likewise.
1920         * libio/feof_u.c: Likewise.
1921         * libio/ferror.c: Likewise.
1922         * libio/ferror_u.c: Likewise.
1923         * libio/fgetc.c: Likewise.
1924         * libio/filedoalloc.c: Likewise.
1925         * libio/fileno.c: Likewise.
1926         * libio/fileops.c: Likewise.
1927         * libio/fputc.c: Likewise.
1928         * libio/fputc_u.c: Likewise.
1929         * libio/freopen.c: Likewise.
1930         * libio/fseek.c: Likewise.
1931         * libio/genops.c: Likewise.
1932         * libio/getc.c: Likewise.
1933         * libio/getc_u.c: Likewise.
1934         * libio/getchar.c: Likewise.
1935         * libio/getchar_u.c: Likewise.
1936         * libio/iofclose.c: Likewise.
1937         * libio/iofdopen.c: Likewise.
1938         * libio/iofflush.c: Likewise.
1939         * libio/iofflush_u.c: Likewise.
1940         * libio/iofgetpos.c: Likewise.
1941         * libio/iofgets.c: Likewise.
1942         * libio/iofopen.c: Likewise.
1943         * libio/iofopncook.c: Likewise.
1944         * libio/iofprintf.c: Likewise.
1945         * libio/iofputs.c: Likewise.
1946         * libio/iofread.c: Likewise.
1947         * libio/iofsetpos.c: Likewise.
1948         * libio/ioftell.c: Likewise.
1949         * libio/iofwrite.c: Likewise.
1950         * libio/iogetdelim.c: Likewise.
1951         * libio/iogetline.c: Likewise.
1952         * libio/iogets.c: Likewise.
1953         * libio/iopadn.c: Likewise.
1954         * libio/iopopen.c: Likewise.
1955         * libio/ioputs.c: Likewise.
1956         * libio/ioseekoff.c: Likewise.
1957         * libio/ioseekpos.c: Likewise.
1958         * libio/iosetbuffer.c: Likewise.
1959         * libio/iosetvbuf.c: Likewise.
1960         * libio/iosprintf.c: Likewise.
1961         * libio/ioungetc.c: Likewise.
1962         * libio/iovdprintf.c: Likewise.
1963         * libio/iovsprintf.c: Likewise.
1964         * libio/iovsscanf.c: Likewise.
1965         * libio/libio.h: Likewise.
1966         * libio/libioP.h: Likewise.
1967         * libio/obprintf.c: Likewise.
1968         * libio/pclose.c: Likewise.
1969         * libio/peekc.c: Likewise.
1970         * libio/putc.c: Likewise.
1971         * libio/putchar.c: Likewise.
1972         * libio/rewind.c: Likewise.
1973         * libio/setbuf.c: Likewise.
1974         * libio/setlinebuf.c: Likewise.
1975         * libio/stdfiles.c: Likewise.
1976         * libio/stdio.c: Likewise.
1977         * libio/strfile.h: Likewise.
1978         * libio/strops.c: Likewise.
1979         * libio/vasprintf.c: Likewise.
1980         * libio/vscanf.c: Likewise.
1981         * libio/vsnprintf.c: Likewise.
1983         * manual/libc.texinfo: Add menu entries for chapter on message
1984         translation.
1985         * manual/locale.texi: Correct next entry in @node for new chapter.
1986         * manual/search.texi: Likewise for previous link.
1987         * manual/message.texi: New file.
1988         * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
1989         setenv, unsetenv, and clearenv.
1990         * manual/string.texi: Fix typos.  Patch by Jim Meyering.
1992         * math/Makefile (test-longdouble-yes): Enable.  We want long double
1993         tests now.
1995         Crusade against strcat.
1996         * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
1997         * stdlib/canonicalize.c: Likewise.
1999         * posix/glob.h: Define __const if necessary.  Use __const in all
2000         prototypes.
2002         * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
2003         GNU packages.
2005         * posix/wordexp.c: Completely reworked buffer handling for much
2006         better performance.  Patch by Tim Waugh.
2008         * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
2009         it must be socklen_t.
2011         * sysdeps/libm-i387/e_remainder.S: Pretty print.
2012         * sysdeps/libm-i387/e_remainderf.S: Likewise.
2013         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
2014         * sysdeps/libm-i387/s_cexp.S: Little optimization.
2015         * sysdeps/libm-i387/s_cexpl.S: Likewise.
2016         * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
2018 1997-08-18 15:21  Ulrich Drepper  <drepper@cygnus.com>
2020         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
2021         in cleanup code.
2023 1997-08-17  Paul Eggert  <eggert@twinsun.com>
2025         * tzset.c (__tzset_internal): Fix memory leak when the user
2026         specifies a TZ value that uses a default rule file.
2027         Do not assume US DST rules when the user specifies
2028         that there is no DST.
2030 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2032         * inet/getnameinfo.c: Tidy up.
2033         * sysdeps/posix/getaddrinfo.c: Likewise.
2035         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
2036         using stub code.
2037         (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
2038         (if_nameindex): Use alloca() rather than malloc(); use
2039         SIOCGIFCOUNT ioctl if the kernel supports it.
2041 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2043         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
2044         they operate on internal kernel structures and have no place in a
2045         user header.
2047 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2049         * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
2050         (build-shlib): Filter them out of $^.
2052 1997-08-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2054         * elf/dl-error.c (_dl_signal_error): Fix error message.
2056 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
2058         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
2059         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
2061 1997-08-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2063         * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
2064         to avoid conflict with PO files.
2065         * Makerules: Likewise.
2066         * Rules: Likewise.
2067         * elf/Makefile: Likewise.
2068         * extra-lib.mk: Likewise.
2069         * gmon/Makefile: Likewise.
2070         * nis/Makefile: Likewise.
2071         * nss/Makefile: Likewise.
2072         * resolv/Makefile: Likewise.
2073         * rpm/Makefile: Likewise.
2074         * sunrpc/Makefile: Likewise.
2075         * sysdeps/sparc/elf/Makefile: Likewise.
2076         * sysdeps/sparc64/elf/Makefile: Likewise.
2077         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
2078         (ASFLAGS-.os): Renamed from as-FLAGS.os.
2080 1997-08-14 03:14  Ulrich Drepper  <drepper@cygnus.com>
2082         * elf/dl-minimal.c: Don't use relative #include paths.
2083         (malloc): Don't try to initialize _dl_pagesize, it already is.
2084         (__sigjmp_save, longjmp): Reformat.
2086         * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
2087         show content of auxiliary array.
2088         (_dl_sysdep_start): Remember start of auxiliary vector.
2089         * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
2090         * elf/link.h: Add prototype for _dl_show_auxv.
2091         * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
2092         is present.
2094         * libio/iofdopen.c: Better prepare for use in libstdc++.
2095         * libio/iofflush.c: Likewise.
2096         * libio/iofgetpos.c: Likewise.
2097         * libio/iofgets.c: Likewise.
2098         * libio/iofopen.c: Likewise.
2099         * libio/iofputs.c: Likewise.
2100         * libio/iofread.c: Likewise.
2101         * libio/iofsetpos.c: Likewise.
2102         * libio/ioftell.c: Likewise.
2103         * libio/iofwrite.c: Likewise.
2104         * libio/iogetdelim.c: Likewise.
2105         * libio/iogets.c: Likewise.
2106         * libio/iopopen.c: Likewise.
2107         * libio/ioputs.c: Likewise.
2108         * libio/iosetbuffer.c: Likewise.
2109         * libio/iosetvbuf.c: Likewise.
2110         * libio/ioungetc.c: Likewise.
2111         * libio/iovsprintf.c: Likewise.
2112         * libio/iovsscanf.c: Likewise.
2114         * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
2115         place.
2117         * manual/math.texi: Add comment to sincos decsription to say it's a
2118         GNU extension.
2119         Fix description of random function.
2121         * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
2122         * posix/glob.c: Likewise.  Handle stupid system headers on SunOS.
2123         Add casts for all __alloca calls.
2124         * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
2125         Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
2126         Patches by Paul D. Smith <psmith@BayNetworks.COM>.
2128         * stdio-common/_itoa.c: Don't use relateive #include paths.
2130         * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
2131         gcc 2.7.
2132         (atan): Loading 1.0 from memory does not pay off.
2133         (asinh): Fix typo.
2135 1997-08-13 09:44  Philip Blundell  <Philip.Blundell@pobox.com>
2137         * sysdeps/stub/accept.c: Use socklen_t where necessary.
2138         * sysdeps/stub/bind.c: Likewise.
2139         * sysdeps/stub/connect.c: Likewise.
2140         * sysdeps/stub/getsockname.c: Likewise.
2141         * sysdeps/stub/getsockopt.c: Likewise.
2142         * sysdeps/stub/recvfrom.c: Likewise.
2143         * sysdeps/stub/sendto.c: Likewise.
2144         * sysdeps/stub/setsockopt.c: Likewise.
2146 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2148         * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
2149         types.
2151 1997-08-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2153         * math/libm-test.c (cbrt_test): Add epsilon for long double to
2154         `cbrt (-0.001)'.
2156 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2158         * sysdeps/stub/bits/string.h: Fix comment.
2160 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2162         * elf/Makefile (routines): Remove dl-version.
2163         (dl-routines): Add it here instead.  This removes dead code from
2164         libc.so.
2166 1997-08-12 17:17  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2168         * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
2169         macros to encapsulate pthread_atfork's functionality.
2170         * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
2171         functions, registered via thread_atfork in the initialization
2172         routine or via thread_atfork_static in global scope.  This
2173         ensures a consistent state of all locks across fork().
2175 1997-08-11 23:00:32 1997  Mark Kettenis  <kettenis@phys.uva.nl>
2177         * login/programs/xtmp.c (compare_entry):
2178         Partially undo patch made by Klaus Espenlaub.  There
2179         was no xtmp/utmp typo.  Added comment to cclarify this.
2180         * login/programs/xtmp.h: Likewise.
2182         * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
2183         Patch by Paul D. Smith <psmith@BayNetworks.COM>.
2185 1997-08-12 13:51  Ulrich Drepper  <drepper@cygnus.com>
2187         * login/getutid.c: Rename to __getutid and make getutid and getutxid
2188         weak aliases.
2189         Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
2191 1997-08-11 23:55  Ulrich Drepper  <drepper@cygnus.com>
2193         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2194         Add bits/mman.h.
2196 1997-08-11 08:51:21 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2198         * stdlib/fmtmsg.c (fmtmsg): Add static to
2199         __libc_once_define macro.
2201         * libc.map (__progname_full, __progname): Added.
2203 1997-08-04 08:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2205         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
2206         if SIOGIFINDEX is not defined.
2207         (if_indextoname): Initialize "result" to NULL.
2208         (if_nametoindex, if_nameindex): Fix ENOSYS setting.
2210 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
2212         Sparc ISO C 9x exception handling:
2213         * sysdeps/sparc/fpu/bits/mathdef.h: New file.
2214         * sysdeps/sparc/fpu/fclrexcpt.c: New file.
2215         * sysdeps/sparc/fpu/fegetenv.c: New file.
2216         * sysdeps/sparc/fpu/fegetround.c: New file.
2217         * sysdeps/sparc/fpu/feholdexcpt.c: New file.
2218         * sysdeps/sparc/fpu/fesetenv.c: New file.
2219         * sysdeps/sparc/fpu/fesetround.c: New file.
2220         * sysdeps/sparc/fpu/feupdateenv.c: New file.
2221         * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
2222         * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
2223         * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
2224         * sysdeps/sparc/fpu/ftestexcept.c: New file.
2225         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
2226         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
2228 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
2230         Sparc64 merge:
2231         * configure.in: Change up subdirectories, rename sparc8->sparcv8.
2233         * csu/Makefile: Nuke need-nopic-initfini bits.  The problem was
2234         that sparc64 ld did not recognize pic relocs at all.
2236         * elf/dl-deps.c: Include <string.h>.
2237         * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
2238         directly instead of the DT names to get them from.
2239         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
2240         from ELF_DYNAMIC_DO_REL{,A}.  Define a second version that accounts
2241         for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
2242         the case on the Sparc.
2244         * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
2245         Elf32_Ver* bits.  The linker does not even know to differentiate
2246         between the word sizes.  Someone should examine this and figure
2247         out what the proper sizes of things should be for 64-bit hosts
2248         before the sparc64 libraries are distributed.
2250         * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
2251         on the same machine.
2253         Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
2254         rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
2255         sysdeps/sparc/sparc64.  Same for sysdeps/unix/sysv/linux/sparc.
2257         * sysdeps/sparc/Implies: Do ieee754 here.
2258         * sysdeps/sparc/configure.in: Move from sparc32/.
2259         * sysdeps/sparc/sparc32/Implies: Do wordsize here.
2260         * sysdeps/sparc/sparc64/Implies: Likewise.
2262         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
2263         Use uninitialized .got to find load address instead of AT_BASE, as
2264         the later does not exist when running ld.so directly.
2266         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
2267         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2269         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
2271         * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
2272         and s_signbitl for stdio.
2273         * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
2274         nopic_initfini.
2276         * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
2277         * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
2278         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
2279         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
2280         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
2281         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
2282         and setjmp entry points.
2284         * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
2286         * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
2287         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
2289         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
2290         Fix sa_flags size for sparc64; add sa_restorer for kernel.
2292         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
2293         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2294         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2297         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
2299 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
2301         * login/login.c (login): Check for correct return value of
2302         utmpname.
2304 1997-08-11 16:49  Ulrich Drepper  <drepper@cygnus.com>
2306         * time/tzset.c (__tzset_internal): Correctly handle TZ strings
2307         following incorrect old POSIX specs.
2308         Patch by Paul Eggert <eggert@twinsun.com>.
2310         * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
2311         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2312         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2313         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2314         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2315         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2316         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2317         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2318         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2320 1997-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2322         * manual/math.texi: Define the macros @mul and @infinity and use
2323         them to format the multiplication and infinity signs.
2324         (FP Comparison Functions): Use @code, not @math, for C code
2325         examples.
2327 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
2329         * Makeconfig: Define build-programs to no if not set and $(config-os)
2330         is none.
2331         * Makerules (+depfiles): Don't add $(others) if not build-programs.
2332         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
2333         and $(install-sbin) if not build-programs.
2334         * Makefile (subdirs): Remove login.
2335         * sysdeps/mach/hurd/Subdirs: Add login.
2336         * sysdeps/unix/Subdirs: Add login.
2338         * sysdeps/generic/sys/mman.h: Test feature macros before defining
2339         non-POSIX things.  Add MAP_FAILED.
2340         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2341         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2342         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2343         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2344         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
2345         but bits/mman.h.  Test feature macros before definitions non-POSIX
2346         functions.
2347         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
2348         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
2349         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
2350         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
2351         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
2352         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
2353         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
2354         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
2355         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2356         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2357         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2358         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2359         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
2360         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
2362         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
2363         with MAP_FAILED and not -1.
2364         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2365         * elf/dl-minimal.c (malloc): Likewise.
2366         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
2367         * locale/loadlocale.c (_nl_load_locale): Likewise.
2368         * locale/programs/localedef.c: Likewise.
2369         * malloc/malloc.c (mmap_chunk): Likewise.
2370         (new_heap): Likewise.
2371         * string/stratcliff.c: Likewise.
2372         * string/tester.c: Add tests for stpcpy.
2374         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
2376         * gmon/sys/gmon.h: Add prototype for write_profiling.
2378         * elf/dl-profile.c: Add descriptions and implement reading of
2379         existing data in profiling file.
2380         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
2381         lib profiling data.
2383         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
2384         parameter for class.
2386         * inet/inet_ntoa.c: Make once control variable static.
2387         Correctly handle case where key cannot be retrieved.
2388         * inet/Makefile (tests): Add tst-ntoa.
2389         * inet/tst-ntoa.c: New file.
2391         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
2392         ctime_r.
2393         Mention that tzname values must not be changed.
2395         * manual/users.texi: Document UTMP/WTMP handling functions.
2396         Mainly written by Mark Kettenis.
2398         * math/libm-test.c (cbrt_test): Add test for number with aboslute
2399         value < 1.0.
2401         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
2402         failed with EGAIN return NSS_STATUS_TRYAGAIN.
2403         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2405         * sysdeps/generic/bits/utmp.h: Pretty print.
2407         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
2408         * sysdeps/i386/i586/stpcpy.S: New file.
2409         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
2410         these are less efficient than i486/i386 versions.
2412         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
2413         version from libm-ieee754 be compiled since the later is not needed.
2414         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
2415         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
2416         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
2417         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
2418         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
2419         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
2420         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
2421         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
2422         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
2423         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
2424         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
2426         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
2427         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
2428         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
2430         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
2431         little bug.
2433         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
2434         msg_iovlen of type int.
2436         * time/tzfile.c: Change return type of __tzstring to char *.
2437         * time/tzset.c: Likewise.  Change definition of __tzstring.
2439         * time/tzset.c: Interpret no DST information in user provided time
2440         zone specification as it is meant: no DST.
2441         Patch by Paul Eggert <eggert@twinsun.com>.
2443 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
2445         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
2446         (_dl_map_object_from_fd): Use add_name_to_object.
2447         (_dl_map_object): If an object's SONAME is used to resolve a
2448         dependency, add it to the list of the object's names.
2450         * inet/getnameinfo.c: Make `domain' non-const.
2452         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
2454         * math/test-fenv.c (feenv_nomask_test): Don't execute if
2455         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
2456         sets errno to ENOSYS.
2458         * sysdeps/powerpc/dl-machine.h: Print proper error message on
2459         unknown reloc type (rather than using assert).
2461         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
2462         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
2464 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
2466         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
2467         (feclearexcept): New optimising macro.
2468         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
2469         (FE_ENABLED_ENV): Add.
2470         (FE_NONIEEE_ENV): Add.
2471         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
2472         __fe_nonieee_env; delete __fe_nomask_env.
2473         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
2474         gets implemented in the kernel).
2476         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
2477         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
2478         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
2480         * io/ftw.c: Don't compare holes in structures.
2481         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
2482         macros to `int', because otherwise it might be `long long' which
2483         the calling code is probably not expecting.
2485         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
2486         document the existence of some more.
2488         * sysdeps/powerpc/s_llrint.c: New file.
2489         * sysdeps/powerpc/s_lrint.c: New file.
2490         * sysdeps/powerpc/s_llround.c: New file.
2491         * sysdeps/powerpc/s_lround.c: New file.
2493         * sysdeps/powerpc/s_sqrt.c: New file.
2494         * sysdeps/powerpc/s_sqrtf.c: New file.
2495         * sysdeps/powerpc/w_sqrt.s: New empty file.
2496         * sysdeps/powerpc/w_sqrtf.s: New empty file.
2497         * sysdeps/powerpc/t_sqrt.c: New file.
2498         * sysdeps/powerpc/test-arithf.c: New file.
2499         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
2500         routines.  Add test-arithf to test programs.
2502         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
2504         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
2505         and possibly faster (or possibly slower, depending on input).
2507 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
2509         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
2510         macros.
2511         * sysdeps/powerpc/s_rint.c: New file.
2513 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
2515         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
2516         * sysdeps/powerpc/Dist: Add quad_float.h.
2517         * sysdeps/powerpc/q_dtoq.c: New file.
2518         * sysdeps/powerpc/q_itoq.c: New file.
2519         * sysdeps/powerpc/q_lltoq.c: New file.
2520         * sysdeps/powerpc/q_neg.c: New file.
2521         * sysdeps/powerpc/q_qtoi.c: New file.
2522         * sysdeps/powerpc/q_qtoll.c: New file.
2523         * sysdeps/powerpc/q_qtos.c: New file.
2524         * sysdeps/powerpc/q_qtou.c: New file.
2525         * sysdeps/powerpc/q_qtoull.c: New file.
2526         * sysdeps/powerpc/q_stoq.c: New file.
2527         * sysdeps/powerpc/q_ulltoq.c: New file.
2528         * sysdeps/powerpc/q_utoq.c: New file.
2529         * sysdeps/powerpc/quad_float.h: New file.
2530         * sysdeps/powerpc/test-arith.c: New file.
2532         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
2533         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
2534         require a stack frame.
2535         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
2537 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
2539         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
2540         fesetenv_register): Add 'volatile'.
2541         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
2542         constants to use with them.
2543         * sysdeps/powerpc/s_copysign.S: New file.
2544         * sysdeps/powerpc/s_copysignf.s: New file.
2545         * sysdeps/powerpc/s_fabs.S: New file.
2546         * sysdeps/powerpc/s_fabsf.s: New file.
2547         * sysdeps/powerpc/s_isnan.c: New file.
2548         * sysdeps/powerpc/s_isnanf.s: New file.
2549         * sysdeps/powerpc/s_rintf.c: New file.
2551         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
2552         bit in the FPSCR, not the enable bit.
2553         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
2554         * sysdeps/powerpc/fclrexcpt.c: Correct.
2555         * sysdeps/powerpc/fsetexcptflag.c: Correct.
2556         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
2557         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
2559         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
2561         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
2562         explaining some reentrancy issues with lazy PLT entries.
2564 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
2566         * login/logout.c (logout): utmpname returns -1 on error.
2568         * login/libutil.map: Remove updwtmp.
2570         * login/getutline.c: Rename getutline to __getutline and make
2571         getutline a weak alias.  Make getutxline a weak alias for
2572         __getutline.
2573         * login/getutid.c: Rename getutid to __getutid and make getutid a
2574         weak alias.  Make getutxid a weak alias for __getutid.
2575         * libc.map: Add getutxid, getutxline.
2577         * login/utmpname.c (__utmpname): Reset backend right after backend
2578         endutent call.
2579         * login/utmp_file.c: Reordered functions.  Remove unecessary
2580         header files.
2581         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
2582         point the file is guaranteed to be open (assert!).
2583         (getutid_r_file, getutline_r_file): Remove check for validity of file
2584         descriptor.  At this point the file is guaranteed to be open.
2585         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
2586         updwtmp_file): Do not wait when unlocking file.
2587         * login/utmp_daemon.c: General cleanup and a bit of reordering.
2588         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
2589         At this point the socket is guaranteed to be open (assert!).
2590         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
2591         valid.  At this point the socket is guaranteed to be open (assert!).
2592         * login/getutline_r.c: Remove unnecessary header files.
2593         (__getutline_r): Do not call backend setutent.
2594         * login/getutid_r.c: Remove unnecessary header files.
2595         (__getutid_r): Do not call backend setutent.
2596         * login/getutent_r.c: Remove unneccesary header files.
2597         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
2598         getutline_r_unknown.
2599         (setutent_unknown): Only set file backend if setutent for the file
2600         backend was successful.
2601         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
2602         of __setutent.  Report failure if no backend was selected.
2603         (getutid_r_unknown): New function.
2604         (getutline_r_unknown): New function.
2605         (__endutent): Reset backend.  This makes sure all backends are checked
2606         on the next setutent call.
2608 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2610         * nis_cache.c: Replace dummy functions.
2612         * libc.map: Add xdr_sizeof symbol.
2614         * sunrpc/Makefile: Add xdr_sizeof to routines.
2615         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
2616         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
2618 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2620         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
2622 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2624         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
2625         right place.
2627 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2629         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
2630         PC's in long long to avoid overflow.
2632 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2634         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
2635         New macros.
2637 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2639         * nis/Makefile (headers): Remove bits/nislib.h.
2641 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
2643         * sysdeps/mach/hurd/Subdirs: Add login.
2645 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
2647         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
2648         the preferred block size.
2650         * login/programs/database.c (store_state_entry): Don't compile if
2651         there is no ut_type field.
2652         (store_state_entry, store_process_entry): Use the ut_tv field
2653         for timestamps if supported.
2655         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
2657         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
2658         field for timestamps if supported.
2660         * login/programs/xtmp.h: Fix xtmp/utmp typo.
2662         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
2664         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
2665         * sysdeps/stub/send.c (send): Likewise.
2666         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
2667         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
2668         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
2670 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
2672         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
2673         tidy up formatting.
2675         * Makefile (subdirs): Remove `login'.
2676         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
2677         for Unix systems.
2679 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2681         * sysdeps/generic/bits/utmpx.h: New file.
2683         * sysdeps/mach/hurd/Dist: Add some files.
2684         * sysdeps/mips/Dist: Likewise.
2685         * sysdeps/mips/mips64/Dist: Likewise.
2686         * sysdeps/sparc/Dist: Likewise.
2687         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
2689         * sysdeps/mips/mipsel/Dist: New file.
2690         * sysdeps/sparc64/elf/Dist: New file.
2691         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
2693 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2695         * libc.map: Add missing symbols.
2697 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2699         * manual/socket.texi: Correct typos.
2701         * manual/math.texi: Correct typos.
2703         * manual/time.texi (Formatting Date and Time): Likewise.
2705 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2707         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
2708         (_mcleanup): Use write_gmon.
2709         (write_profiling): This function can be safely called at any time
2710         to write a current histogram without interfering with ongoing
2711         profiling.
2713         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
2715 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2717         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
2718         not be vm_deallocated; it's a stack buffer.
2719         (profil_vm_deallocate): Delete prototype.
2720         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
2721         inclusion.
2722         * sysdeps/mach/hurd/Makefile
2723         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
2724         this rule.
2726         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
2727         from profile_waiter.
2728         (profile_waiter): Use fetch_samples.
2729         (profil): When turning off profiling, fetch the last bunch of
2730         samples before disabling PC sampling.
2731         (fetch_samples): Add prototype.
2733 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2735         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
2736         source included by profil.c instead of trying to use
2737         before-compile grot.
2739 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2741         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
2742         after releasing lock.  Use special RPC stubs and avoid assert,
2743         thus making this function entirely independent of the threadvar
2744         mechanism and of cthreads.
2745         (lock): Convert to be a spin lock instead of a mutex, so that the
2746         waiter thread need not use cthreads.  Use a fork prepare hook
2747         instead of _hurd_fork_locks to make sure we are clean before
2748         forking.
2749         (fork_profil_child): Renamed from fork_profil.
2750         (profil_reply_port): New variable.
2751         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
2752         stubs made by special hacks.
2753         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
2754         source files that profil.c needs if we are in the gmon directory.
2756         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
2757         cthreads bug that hasn't existed for two years.
2759 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
2761         * locale/programs/localedef.c (main): Set bit in avail for those
2762         categories which are successfully read.
2763         * locale/programs/locfile.c (check_all_categories): Don't check
2764         categories if they are not available.
2765         (write_all_categories): Don't write categories if they are not
2766         available.
2768         * login/setutent_r.c (setutent_unknown): Change return type to
2769         int and return result of called function.
2771         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
2772         as macros (not functions).
2773         * manual/libc.texinfo (UPDATED): Update.
2774         * manual/math.texi: Document exceptions, functions to handle
2775         exceptions, mathematical constants, FP comparison functions
2776         and several new functions from ISO C 9X.
2777         Change parameter of drand48, lrand48, and mrand48 to void (not
2778         empty).
2779         * manual/pattern.texi: Remove paragraph which explained that wordexp
2780         is executed by running a shell.
2781         * manual/time.texi: Explain difficulties with strftime if the
2782         functions returns 0 and no error occurred.
2784         * math/math.h: Correct comment for some M_* constants.
2785         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
2786         inunordered): Rewrite to make sure the arguments are evaluated
2787         exactly once.
2789         * nis/rpcsvc/nis.x: Undo last change.
2790         * nis/rpcsvc/nis.h: Likewise.
2791         * nis/rpcsvc/nislib.h: File moved back to here.
2793         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
2794         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
2795         getsockopt, setsockopt, accept): Change size argument to type
2796         socklen_t.
2797         Pretty print.
2798         * manual/socket.texi: Describe socklen_t and change prototypes of
2799         socket functions to use socklen_t.
2800         * sysdeps/generic/bits/socket.h: Define socklen_t.
2801         (struct msghdr): Correct types to use socklen_t.
2802         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2803         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2805         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
2806         1.0 < x < 8.0.
2807         * stdio-common/tfformat.c: Add new tests for above bug.
2809         * stdlib/strtod.c: Fix typo.
2811         * string/Makefile (headers): Add bits/string.h.
2812         (CFLAGS-*): Add -D__NO_STRING_INLINES.
2813         * string/string.h: Include <bits/string.h> if optimizing and
2814         __NO_STRING_INLINES is not defined.
2815         * sysdeps/stub/bits/string.h: New file.
2817         * sysdeps/powerpc/bits/fenv.h: Fix typos.
2819         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
2820         if SIOGIFINDEX is not defined.
2822         * sysdeps/wordsize-32/inttypes.h: Pretty print.
2823         * sysdeps/wordsize-64/inttypes.h: Pretty print.
2825         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
2827         * wcsmbs/Makefile (tests): Add tst-wcstof.
2828         * wcsmbs/tst-wcstof.c: New file.
2830 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2832         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
2833         loop, to avoid dragging stdio into the dynamic linker.
2835 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
2837         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
2838         u_int32_t.
2840 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2842         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
2843         __getpwuid_r.
2844         Include <stdio.h> to get prototypes of *printf.
2845         (exec_comm): Remove unneeded variable *sh.
2847         * libc.map: Add wordexp, wordfree.
2849         * posix/Makefile (routines): Add wordexp.
2851 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2853         * posix/wordexp.c: Correct typo in comment.
2854         (wordexp): Likewise.
2856         * manual/errno.texi (Error Codes): Fix typo.
2858 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
2860         * csu/initfini.c (SECTION): Don't put quotes around section name
2861         since this is not understood by all assemblers.
2862         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
2864 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
2866         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
2867         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
2868         * sysdeps/generic/netinet/inbits.h: Move to...
2869         * sysdeps/generic/bits/in.h: ... here.
2870         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
2871         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
2873         * nis/Makefile (headers): Add bits/nislib.h.
2874         * nis/rpcsvc/nislib.h: Moved to ....
2875         * nis/bits/nislib.h: ... here.
2877         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
2878         * nis/nss_compat/compat-pwd.c: Likewise.
2879         * nis/nss_compat/compat-spwd.c: Likewise.
2880         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2881         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2882         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2883         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2884         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
2885         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
2886         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2887         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2888         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2889         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2890         * nis/nss_nisplus/nisplus-service.c: Likewise.
2891         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2893         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
2894         * nis/rpcsvc/nis.h: Likewise.
2896         * inet/getnameinfo.c (nrl_domainname): Change return type to const
2897         char *.
2898         (getnameinfo): Change type of local variable c to const char *.
2900         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
2901         * stdlib/fmtmsg.c: Likewise.
2903         * intl/bindtextdom.c: Update from latest gettext.
2904         * intl/dcgettext.c: Likewise.
2905         * intl/finddomain.c: Likewise.
2906         * intl/l10nflist.c: Likewise.
2907         * intl/localealias.c: Likewise.
2908         * intl/textdomain.c: Likewise.
2910         * login/getutid_r.c: Remove parameter to setutent call.
2911         * login/getutline_r.c: Likewise.
2913         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
2914         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
2916         * stdio-common/printf_fp.c: Remove relative include paths.
2917         * stdio-common/printf_fphex.c: Likewise.
2919         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
2920         elements unless __USE_GNU.
2922         * sysdeps/generic/vlimit.c: Pretty print.
2923         * sysdeps/generic/vtimes.c: Likewise.
2925         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
2926         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
2927         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
2928         weak definitions of setjmp and _setjmp.
2930         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
2932         * sysdeps/stub/if_index.h: Set errno in all functions and add
2933         stub warnings.
2935         * sysdeps/stub/libc-lock.h: Add __libc_once.
2937 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
2939         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
2940         case since the __syscall_ptrace call already did this.
2941         Reported by Philip Gladstone <philip@talon.raptor.com>.
2943 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2945         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
2946         <gnu/types.h> to <sys/types.h>.
2948 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
2950         * csu/defs.awk: Fix regexp for end and align.
2951         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
2953         * locale/programs/locale.c (print_escaped): New function.
2954         (show_info): Use print_escaped if strings can control unprintable
2955         characters.
2956         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
2958 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2960         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
2961         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2963 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2965         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
2966         instead of fprintf.
2968 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2970         * manual/socket.texi (Host Address Functions): Fix arguments of
2971         @deftypefun.
2973 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2975         * elf/dl-runtime.c: Avoid warning about profile_fixup being
2976         unused.
2978         * sysdeps/m68k/dl-machine.h: Add support for shared library
2979         profiling.
2981 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2983         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
2984         dependencies.
2986 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2988         * Make-dist (subdirs): Distribute both aout and elf.
2990 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
2992         * login/utmp-private.h: Remove reset argument from backend
2993         setutent.
2994         * login/getutent_r.c (__setutent): Allways call the setutent
2995         function in the daemon backend.
2996         (setutent_unknown): Function removed.
2997         (getutent_unknown, pututline_unknown): Call __setutent instead of
2998         setutent_unknown.
2999         * login/utmp_file.c (setutent_file): Removed reset argument.  All
3000         callers changed.
3001         * login/utmp_daemon.c (setutent_daemon): Removed reset
3002         argument.  All callers changed.  Try to open connection even if a
3003         previous connection failed, but first check if the sockets exist
3004         in the filesystem.
3006         * login/utmp_daemon.c (pututline_daemon): Try to open connection
3007         before reporting failure.
3009         * login/programs/database.c (open_database): Create compatibility
3010         file if it does not already exist.  Supply mode argument in open
3011         calls to guarantee that created files have the proper protection.
3013         * login/programs/utmpd.c (main): Remove files created by a
3014         previous `bind' before creating sockets.
3015         Suggested by a sun <asum@zoology.washington.edu>.
3017 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3019         * math/libm-test.c: Remove unneeded function check_int_exec.
3021         * BUGS: Correct typos.
3023         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
3025 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3027         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
3028         entry to confirm with expected behaviour of some scripts.
3030         * libc.map: Add functions/variables in global namespace,
3031         remove wildcards.
3033 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3035         * resolv/libresolv.map: Add variables and routines used by named,
3036         nslookup and other bind utils.
3037         * libc.map: Likewise.
3039 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
3041         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
3042         filesystem.
3043         * inet/test_ifindex.c: New file.
3044         * inet/Makefile (tests): Add test_ifindex.
3046 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
3048         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
3049         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3051         * manual/errno.texi: Fix typo.
3052         Reported by Erik Talvola <etalvo@sapient.com>.
3054 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
3056         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
3057         monstartup.
3058         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
3059         to __monstartup.
3060         * gmon/sys/gmon.h: Fix prototypes.
3061         * gmon/sys/gmon_out.h: Pretty print.
3063         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
3064         * gmon/gmon.c (__monstartup): Likewise.
3065         (write_hist): Remove dependency on 32 bit int.
3066         (_mcleanup): Don't call perror, use fprintf.
3068         * elf/dl-load.c: Fix handling of current directory in search path.
3070         * elf/Makefile (dl-routines): Add dl-profile.
3071         * elf/dl-profile.c: New file.
3072         * elf/dl-runtime.c (fixup): Add new parameter with address to store
3073         relocation result in to elf_machine_relplt.
3074         (profile_fixup): New function.
3075         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
3076         to store relocation result in to elf_machine_relplt.
3077         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
3078         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
3079         call elf_machine_runtime_setup with extra argument.
3080         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
3081         ELF_DYNAMIC_RELOCATE.
3082         * elf/link.h: Add prototypes for new functions and variables.
3083         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
3084         variables and call _dl_start_profile if necessary.
3085         * include/sys/gmon_out.h: New file.
3086         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
3087         new parameter to enable profiling.
3088         (elf_machine_rela): Add new parameter to specify place to store
3089         result in.
3090         * sysdeps/m68k/dl-machine.h: Likewise.
3091         * sysdeps/mips/dl-machine.h: Likewise.
3092         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3093         * sysdeps/powerpc/dl-machine.h: Likewise.
3094         * sysdeps/sparc/dl-machine.h: Likewise.
3095         * sysdeps/sparc64/dl-machine.h: Likewise.
3096         * sysdeps/i386/dl-machine.h: Likewise.
3097         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
3098         we do profiling.
3099         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
3101         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
3102         for stream on input file.
3103         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
3104         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
3105         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
3106         * nss/nss_db/db-alias.c (internal_setent): Likewise.
3107         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
3108         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
3109         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3110         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
3112         * string/string.h: Pretty print.
3114         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
3115         Add float and long double versions.
3117 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3119         * elf/rtld.c (print_unresolved): Replace empty object name by main
3120         program name.
3122 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3124         * sysdeps/generic/htons.c (htons): Renamed from __htons.
3126 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3128         * sysdeps/m68k/bits/byteswap.h: New file.
3130 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
3132         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
3133         advanced API.
3134         * inet/netinet/in.h: Likewise.
3135         * inet/netinet/ip6.h: Likewise.
3136         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3137         * posix/sys/types.h: Add socklen_t.
3139         * manual/socket.texi: Document some more IPv6 things.
3140         * manual/libc.texinfo: Likewise.
3142 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3144         * libc.map: Define missing symbol.
3146 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3148         * nis/Makefile: Add nis_findserv.
3149         * nis/lckcache.c: Fix typo.
3150         * nis/nis_call.c: Fix problems with multihomed servers.
3151         * nis/nis_findserv.c: New file.
3152         * nis/nis_intern.h: Add more prototypes.
3153         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
3154         is unreachable.
3155         * nis/nis_table.c (nis_list): Likewise.
3156         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
3157         in error case.
3158         * nis/nis_util.c (__nis_finddirectory): Give the right error code
3159         back.
3160         * nis/ypclnt.c: Make sure, that all sockets are closed.
3162 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
3164         * elf/Makefile (distribute): Add genrtldtbl.awk.
3165         (before-compile): Add rtldtbl.h.
3166         (GAWK): New variable.
3167         (generated): Add trusted-dirs.h and rtldtbl.h.
3168         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
3169         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
3170         objects in machine dependent directories.
3171         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
3172         * elf/dl-support.c: Rename function to non_dynamic_init and add
3173         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
3174         and call to initializer for search path.
3175         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
3176         * elf/genrtldtbl.awk: New file.
3177         * elf/link.h: Add type definitions and declarations for search
3178         path cache.
3179         * elf/rtld.c: Add definitions of variables used for search path cache.
3180         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
3181         _dl_platform.  Initialize _dl_pagesize early and use this value.
3182         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
3183         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
3184         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
3185         of calling getpagesize.
3187         * elf/dl-error.c (_dl_signal_error): Make message nicer.
3189         * nss/libnss_files.map: Fix typo.
3190         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3192         * sysdeps/generic/strsep.c: Optimize case where separator set contains
3193         only one character.
3195         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
3196         == +-Inf.
3197         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
3198         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
3200 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
3202         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
3203         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
3204         * sysdeps/unix/mips/sysdep.S: Likewise.
3205         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3207         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
3208         * sysdeps/mips/bsd-setjmp.S: Likewise.
3210         * sysdeps/mips/dl-machine.h: Remove extra stuff.
3211         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3213 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
3215         * sysdeps/standalone/arm/sysdep.c: New file.
3217 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
3219         * aout/Makefile: New file.
3220         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
3222         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
3223         __builtin_return_address().
3224         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
3225         above problem.
3227 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
3229         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
3231 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3233         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
3234         tests.
3236 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3238         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
3239         not shadow the variable in the outer scope.
3241 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
3243         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
3245         * inet/Makefile (tests): Add htontest.
3246         * inet/htontest.c: New file.
3248         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
3249         when they are no noops.
3250         * sysdeps/alpha/htonl.S: Don't define __ protected names.
3251         * sysdeps/alpha/htons.S: Likewise.
3252         * sysdeps/generic/htonl.c: Likewise.
3253         * sysdeps/generic/htons.c: Likewise.
3254         * sysdeps/i386/htonl.S: Likewise.
3255         * sysdeps/i386/htons.S: Likewise.
3256         * sysdeps/i386/i486/htonl.S: Likewise.
3257         * sysdeps/vax/htonl.s: Likewise.
3258         * sysdeps/vax/htons.s: Likewise.
3260         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
3261         * string/byteswap.h: New file.
3262         * sysdeps/generic/bits/byteswap.h: New file.
3263         * sysdeps/i386/bits/byteswap.h: New file.
3264         * sysdeps/generic/bits/htontoh.h: Removed.
3265         * sysdeps/i386/bits/htontoh.h: Removed.
3267         * misc/search.h: General cleanup.  Don't define reentrant hsearch
3268         functions uless __USE_GNU.
3270         * nss/nsswitch.c: Pretty print.
3272         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
3273         warning.
3275         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
3276         been fixed meanwhile.
3277         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3279 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
3281         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
3282         exists for this port.
3284 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
3286         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
3288 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3290         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
3291         to format a proper minus sign.
3293 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3295         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
3296         specially, the standard doesn't require it.
3298         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
3299         if non-zero then don't test inexact flag.  Callers changed.
3300         (set_single_exc): Ignore inexact flag if underflow or overflow
3301         exception is raised.
3303 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
3305         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
3306         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
3307         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
3308         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
3310 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
3312         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
3313         and 1035 state that a fully qualified domain name cannot exceed 255
3314         octets in length.
3315         * resolv/nss_dns/dns-host.c: Likewise.
3317 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
3319         * inet/netinet/in.h (htons): Fix typos.
3321         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
3323 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
3325         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
3326         functions.def.
3327         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3329 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
3331         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
3332         that optimizing is also selected for dependency generation.
3334         * configure.in: Add machine description for TI c[34]x.
3336         * inet/Makefile (routines): Remove ntohl and ntohs.
3337         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
3338         for little endian machines.
3339         * sysdeps/alpha/ntohl.s: Removed.
3340         * sysdeps/alpha/ntohs.s: Removed.
3341         * sysdeps/generic/ntohl.c: Removed.
3342         * sysdeps/generic/ntohs.c: Removed.
3343         * sysdeps/generic/htonl.c: Add aliases for ntohl.
3344         * sysdeps/vax/htonl.s: Likewise.
3345         * sysdeps/generic/htons.c: Add aliases for ntohs.
3346         * sysdeps/vax/htons.s: Likewise.
3347         * sysdeps/vax/ntohl.s: Removed.
3348         * sysdeps/vax/ntohs.s: Removed.
3349         * sysdeps/generic/bits/htontoh.h: New file.
3350         * sysdeps/i386/htonl.S: New file.
3351         * sysdeps/i386/htons.S: New file.
3352         * sysdeps/i386/i486/htonl.S: New file.
3354         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
3355         macros.
3357         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
3358         * sysdeps/mips/mips64/dl-machine.h: New file.
3360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
3361         syscall-list.h.
3363 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3365         * libc.map: Add missing symbol _obstack.
3367 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
3369         * sysdeps/mips/rtld-parms: New.
3371         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
3372         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
3374         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
3375         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
3377         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
3379 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
3381         * sysdeps/mips/dl-machine.h: Remove extra stuff.
3383 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
3384         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
3386         * stdlib/grouping.h: Suppress gcc warning about testing
3387         unsigned char for less-than-zero.
3388         * stdio-common/printf_fp.c: Likewise.
3389         * stdio-common/vfprintf.c: Likewise.
3391         * sysdeps/powerpc/add_n.s: New file.
3392         * sysdeps/powerpc/sub_n.s: New file.
3393         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
3394         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
3395         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
3396         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
3397         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
3399         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
3400         precomputed pi/6 rather than having gcc calculate it, otherwise
3401         tests give inaccurate result due to inaccurate input.
3402         * math/libm.map: Add __fe_*_env constants to list of exported
3403         symbols.
3405         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
3406         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
3407         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
3408         round-to-nearest value.
3410         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
3411         * sysdeps/libm-ieee754/e_log10.c: Likewise.
3412         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
3413         * sysdeps/libm-ieee754/e_logf.c: Likewise.
3414         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
3415         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
3416         * sysdeps/libm-ieee754/s_log2.c: Likewise.
3417         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
3419 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3421         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
3422         and memory leaks.
3423         * nis/nss_compat/compat-pwd.c: Likewise.
3424         * nis/nss_compat/compat-spwd.c: Likewise.
3425         * nis/nss_nis/nis-alias.c: Likewise.
3426         * nis/nss_nis/nis-ethers.c: Likewise.
3427         * nis/nss_nis/nis-grp.c: Likewise.
3428         * nis/nss_nis/nis-hosts.c: Likewise.
3429         * nis/nss_nis/nis-network.c: Likewise.
3430         * nis/nss_nis/nis-proto.c: Likewise.
3431         * nis/nss_nis/nis-pwd.c: Likewise.
3432         * nis/nss_nis/nis-rpc.c: Likewise.
3433         * nis/nss_nis/nis-service.c: Likewise.
3434         * nis/nss_nis/nis-spwd.c: Likewise.
3435         * nis/nss_nisplus-alias.c: Likewise.
3436         * nis/nss_nisplus-ethers.c: Likewise.
3437         * nis/nss_nisplus-grp.c: Likewise.
3438         * nis/nss_nisplus-hosts.c: Likewise.
3439         * nis/nss_nisplus-netgrp.c: Likewise.
3440         * nis/nss_nisplus-network.c: Likewise.
3441         * nis/nss_nisplus-proto.c: Likewise.
3442         * nis/nss_nisplus-pwd.c: Likewise.
3443         * nis/nss_nisplus-rpc.c: Likewise.
3444         * nis/nss_nisplus-service.c: Likewise.
3445         * nis/nss_nisplus-spwd.c: Likewise.
3447         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
3449 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3451         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
3452         name in warning message.
3453         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
3454         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
3455         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3457         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
3458         first.
3460 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3462         * libc.map: Add _null_auth and _seterr_reply.
3464         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
3466 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
3468         * time/africa: Update from tzdata1997g.
3469         * time/asia: Likewise.
3470         * time/australasia: Likewise.
3471         * time/europe: Likewise.
3472         * time/iso3166.tab: Likewise.
3473         * time/zone.tab: Likewise.
3474         * time/private.h: Update from tzcode1997f.
3475         * time/scheck.c: Likewise.
3477         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
3479         * math/math.h: Correct comments.  Include <bits/mathinline.h>
3480         always when optimizing.
3482 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
3484         * time/getdate.c (__getdate_r):
3485         Report failure if string was not completely parsed.
3486         (getdate): Set getdate_err on failure.
3488 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3490         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
3491         Synchronize with malloc/obstack.c.
3493 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
3495         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
3496         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
3497         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
3499 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
3501         * manual/Makefile (INSTALL_INFO): Introduce variable to override
3502         path to install-info for systems like Debian that have an
3503         install-info with a different command line interface from the
3504         canonical GNU texinfo version.
3506 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3508         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
3509         * posix/unistd.h: Likewise.
3510         * sysdeps/stub/ttyname_r.c: Likewise.
3512 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
3514         * inet/getnameinfo.c: Pretty print.
3515         Correctly enlarge buffers.
3517         * login/programs/utmpd.c: Use _() instead of gettext().
3519         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
3520         * nis/nss_nisplus/nisplus-network.c: Likewise.
3521         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3522         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3523         * nis/nss_nisplus/nisplus-service.c: Likewise.
3525         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
3526         __OPTIMIZE__.
3527         * sysdeps/powerpc/bits/mathinline.h: Likewise.
3528         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
3529         function always.
3530         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3531         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
3532         it should look like in real files.
3534         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
3535         prevent prototype trouble, use simple loop.
3536         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
3538         * sysdeps/mips/mips64/Implies: Imply ieee754.
3540         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
3541         installed.
3542         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
3544 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
3546         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
3547         * sysdeps/standalone/bits/stdio_lim.h: Removed.
3548         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3550 1997-06-22  Paul Eggert  <eggert@twinsun.com>
3552         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
3554         * time/tzfile.c (__tzstring): New decl.
3555         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
3556         (__tzfile_default): First two args are now const char *.
3558         * time/tzset.c (__tzstring): New function.
3559         (tz_rule): Name is now const char *.
3560         (struct tzstring_head): New type.
3561         (tzstring_list, tzstring_last_buffer_size): New static vars.
3562         (__tzset_internal): Time zone names are now permanent, not temporary.
3564 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
3566         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
3568         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
3569         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3570         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3571         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3573         * time/Makefile (routines): Add getdate.
3574         * time/time.h: Add prototype for getdate and getdate_r.
3575         * time/getdate.c: New file.
3576         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
3578 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
3580         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
3581         Sat Jun 21 18:11:21 1997:
3583         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
3584         (swapoff): New.
3586         * elf/Makefile: Add linker script support.
3587         (headers): Add bits/dlfcn.h.
3589         * elf/dl-load.c (MAP_BASE_ADDR): New.
3591         * elf/dlfcn.h: Include <bits/dlfcn.h>.
3593         * elf/elf.h: Add MIPS support.
3595         * sysdeps/generic/Dist: Add entry.h.
3596         * sysdeps/generic/entry.h: New, define the entry symbol.
3598         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
3599         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
3600         * mips/elf/start.S (_start): Likewise.
3602         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
3603         * sysdeps/mips/bsd-setjmp.S: Likewise.
3604         * sysdeps/mips/setjmp.S: Likewise.
3605         * mips/elf/start.S: Likewise.
3606         * sysdeps/unix/mips/brk.S: Likewise.
3607         * sysdeps/unix/mips/sysdep.S: Likewise.
3608         * sysdeps/unix/mips/sysdep.h: Likewise.
3609         * sysdeps/unix/mips/wait.S: Likewise.
3611         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
3612         * sysdeps/mips/fpu_control.h: Likewise.
3614         * sysdeps/generic/bits/dlfcn.h: New file.
3616         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
3617         * sysdeps/mips/rtld-parms: Likewise.
3618         * sysdeps/mips/bits/dlfcn.h: Likewise.
3619         * sysdeps/mips/mips64/rtld-parms: Likewise.
3620         * sysdeps/mips/mipsel/rtld-parms: Likewise.
3621         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3622         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3623         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3624         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
3625         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
3626         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
3627         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
3628         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
3629         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
3630         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
3631         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
3632         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
3633         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3634         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3635         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3636         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
3637         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
3638         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3639         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
3640         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
3641         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3642         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3643         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
3644         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3645         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3646         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
3647         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3648         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
3649         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
3650         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
3651         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
3652         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
3653         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3654         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
3655         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
3656         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
3658 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
3660         * isomac.c (xstrndup): New, use it instead of strndup ().
3662 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
3664         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
3665         the program name for different sizes.
3667 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
3669         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
3670         Add include of rpcsvc/nis.h.
3671         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
3672         * sysdeps/posix/getaddrinfo.c: Likewise.
3673         Change size of variable buffer to be big enough to hold an IPv6
3674         address in printable format.
3676 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
3678         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
3679         and && in tests to allow use in C++ code which overloads these
3680         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
3682         * configure.in: Move mips64* recognition before mips*.
3683         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3685 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3687         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
3688         automatic variables in dependency lists.
3689         (build-shlib): Always filter out the version script file.
3690         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
3692 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
3694         * login/login.c (tty_name): Test return value of ttyname_r for !=
3695         0, not < 0.
3696         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
3697         0, not >= 0.
3698         * sysdeps/unix/getlogin.c (getlogin): Test return value of
3699         ttyname_r for != 0.
3700         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3702 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3704         * login/utmp_file.c (getutline_r_file): Fix type: compare with
3705         *result.
3707 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
3709         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
3711 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
3713         * login/programs/utmpd.c, login/programs/database.c,
3714         login/programs/request.c: Prepare messages for
3715         internationalization.
3717         * login/programs/utmpd.c:
3718         (main): Change handling of errors in opening the database.
3719         * login/programs/database.c:
3720         (open_database, synchronize_database, initialize_database):
3721         Properly handle errors.
3722         (get_mtime): Use fstat instead of stat.  All callers changed.
3724         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
3725         * login/getutent.c: Rename getutent to __getutent and make
3726         getutent a weak alias.
3727         Make getutxent a weak alias for __getutent.
3728         * login/utmpx.h: New file.
3729         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
3730         * sysdeps/gnu/bits/utmpx.h: New file.
3732 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
3734         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
3735         one.
3737         * signal/sigandset.c: Include stddef.h to get NULL defined.
3738         * signal/sigisempty.c: Likewise.
3739         * signal/sigorset.c: Likewise.
3740         * sysdeps/stub/if_index.h: Likewise.
3741         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
3742         * wcsmbs/wcstof_l.c: Likewise.
3743         * wcsmbs/wcstol_l.c: Likewise.
3744         * wcsmbs/wcstold_l.c: Likewise.
3745         * wcsmbs/wcstoll_l.c: Likewise.
3746         * wcsmbs/wcstoul_l.c: Likewise.
3747         * wcsmbs/wcstoull_l.c: Likewise.
3748         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
3750         * stdio-common/snprintf.c: Use ISO C function definition form.
3752         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
3753         __libc_setspecific as empty macros since they are used as
3754         function with return value.
3755         Reported by Andreas Jaeger.
3757         * stdio-common/strops.c: Partialy undo last change.  Will need
3758         more investigation.
3760 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
3762         * sysdeps/mach/hurd/select.c (__select): Need bit count for
3763         MACH_MSG_TYPE_INTEGER_T.
3765 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
3767         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
3768         * sysdeps/mvs/Implies: Likewise.
3770 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3772         * nis/Makefile: Add new source files.
3774         * nis/nis_intern.h: Add new internal functions.
3775         * nis/rpcsvc/nislib.h: Likewise.
3777         * nis/lckcache.c: New.
3778         * nis/nis_cache.c: New, dummy functions in the moment.
3779         * nis/nis_util.c: New.
3780         * nis/nisplus-parser.h: New.
3781         * nis/nss_nisplus/nisplus-parser.c: New.
3782         * nis/rpcsvc/nis_cache.h: New.
3783         * nis/rpcsvc/nis_cache.x: New.
3785         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
3786         * nis/nss_compat/compat-pwd.c: Likewise.
3787         * nis/nss_compat/compat-spwd.c: Likewise.
3788         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3789         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3790         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3791         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3792         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3793         * nis/nss_nisplus/nisplus-network.c: Likewise.
3794         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3795         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3796         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3797         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3798         * nis/nss_nisplus/nisplus-service.c: Likewise.
3799         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3801         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
3803         * nis/nis_intern.c: Removed.
3805         * nis/nis_call.c: Complete rewrite.
3806         * nis/nis_lookup.c: Likewise.
3807         * nis/nis_table.c: Likewise.
3809         * nis/libnsl.map: Add missing symbols.
3811         * nis/nis_print.c: Fix nis_print_link.
3812         * nis/nis_subr.c: Fix nis_getnames.
3814 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
3816         * posix/execvp.c (execvp): Handle ESTALE.
3818 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
3820         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
3821         even if SYNTAX_TABLE is defined.
3822         Patch by Akim Demaille <demaille@inf.enst.fr>.
3824 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
3826         * libio/fileops.c (_IO_file_underflow): Adjust pointers
3827         before calling _IO_SYSREAD ().
3829 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3831         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
3832         (sysdep.h does the same job).
3833         * sysdeps/sparc/alloca.S: Likewise.
3834         * sysdeps/sparc/dotmul.S: Likewise.
3835         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
3837         * sysdeps/sparc/rem.S: Regenerated.
3838         * sysdeps/sparc/sdiv.S: Regenerated.
3839         * sysdeps/sparc/udiv.S: Regenerated.
3840         * sysdeps/sparc/urem.S: Regenerated.
3842         * sysdeps/sparc/DEFS.h: Removed.
3843         * sysdeps/sparc/elf/DEFS.h: Removed.
3844         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
3846         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
3847         directive #ifdef HAVE_ELF.  Minor format changes.
3849         * sysdeps/alpha/DEFS.h: Removed.
3850         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
3852 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
3854         * math/test-fenv.c (feenv_nomask_test): Move
3855         fesetenv (FE_NOMASK_ENV) after fork () to work with
3856         SMP.
3858         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
3860 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3862         * libc.map: Add _IO_peekc_locked.
3864 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
3866         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
3868 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3870         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
3871         right position.
3872         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
3874 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
3876         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
3877         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
3879 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
3881         * io/lockf.c (lockf): Clear fl before using.
3882         Patch by sr@adb.fr.
3884         * libio/strops.c: Correctly handle _IO_write_end.
3886         * nss/libnss_files.map: Add __nss_netgroup_parseline.
3887         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
3888         panic if setnetgrent wasn't called before, return error.
3889         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
3891         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
3892         if locally defined.
3893         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
3894         if locally defined.
3895         Define tm_diff function as ftime_tm_diff if locally defined.
3896         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
3898 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
3900         * isomac.c (get_null_defines): Put NULL at end of list.
3902         * hurd/Makefile: Remove special handling of sunrpc code.
3903         * sysdeps/mach/hurd/Makefile: Likewise.
3904         Compile CThreads code.
3905         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
3906         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
3907         functions.
3908         * sysdeps/stub/bits/libc-lock.h: Likewise.
3909         * sysdeps/mach/hurd/net/ethernet.h: New file.
3910         * sysdeps/mach/hurd/net/if.h: New file.
3911         * sysdeps/mach/hurd/net/if_arp.h: New file.
3912         * sysdeps/mach/hurd/net/if_ether.h: New file.
3913         * sysdeps/mach/hurd/net/if_ppp.h: New file.
3914         * sysdeps/mach/hurd/net/route.h: New file.
3915         Patches by  Fila Kolodny <fila@ibi.com>.
3917         * math/fenv-test.c: Add more tests.
3918         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3920         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
3921         INTFAST_MAX, and UINTFAST_MAX.
3922         * sysdeps/wordsize-64/inttypes.h: Likewise.
3923         Correct intmax_t definition.
3925 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
3927         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
3929 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
3931         * libc.map: Add missing symbol.
3933 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
3935         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
3936         in cc1.  Cpp in gcc doesn't do it.
3938 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3940         * libio/libioP.h: Remove second definition of _IO_file_attach.
3942         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
3944         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
3945         copyright.
3946         * manual/summary.awk: Likewise.
3947         * misc/bits/stab.def: Likewise.
3948         * posix/glob/Makefile.ami: Likewise.
3949         * posix/glob/Makefile.in: Likewise.
3950         * posix/glob/SMakefile: Likewise.
3951         * sysdeps/gnu/errlist.awk: Likewise.
3952         * sysdeps/mach/hurd/errnos.awk: Likewise.
3953         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
3954         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
3955         * sysdeps/unix/snarf-ioctls: Likewise.
3956         * sysdeps/vax/setjmp.c: Likewise.
3958 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
3960         * login/login.c (tty_name): Use newly allocated buffer.
3961         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
3963         * time/asctime.c: Never translate week and month name according
3964         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
3966 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3968         * locale/setlocale.c (setname): Do nothing when reusing the same
3969         name.
3971 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3973         * libc.map: Add global variables of malloc.
3975 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3977         * elf/dl-version.c (find_needed): Look for needed objects also in
3978         the dependency list of the current object.  Added new parameter to
3979         find its link map, caller changed.
3981 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3983         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
3984         FE_UNDERFLOW cases.
3986 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3988         * elf/link.h: Remove final comma from enumerator list, forbidden
3989         by ISO C.  Use __inline instead of inline.
3991 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3993         * hurd/hurdsig.c: Include <hurd/id.h>.
3994         (reauth_proc): Call proc_setowner appropriately too.
3996 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
3998         * libc.map: Add missing symbol.
4000 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
4002         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
4003         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
4004         declaration of addr.
4006 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4008         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
4009         it work in TeX.
4011 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4013         * Makeconfig (+includes): Add include directory to include path.
4014         * configure.in (sysnames): Don't add it here.
4015         * Makefile (subdir-dirs): Define and add it to vpath for headers.
4016         * Make-dist (all-headers): Look in include directory for
4017         indirection headers.  Filter out header names pointing outside the
4018         source directory.
4020         * Makefile (distribute): Remove ansidecl.h, add libc.map.
4021         * Make-dist (+tsrcs): Add version scripts for extra libraries.
4022         * Makerules (distinfo-vars): Add %-map for extra libraries.
4024         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
4025         to kernel_termios.h.
4026         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
4027         termbits.h and sys/kernel_termios.h.
4028         * sysdeps/mips/mips64/Dist: New file.
4029         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
4031 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4033         * math/test-fenv.c (feenv_nomask_test): New test for non masked
4034         exceptions.
4035         (feenv_mask_test): New test for masked exceptions
4036         (feenv_tests): New function calls feenv_nomask_test and
4037         feenv_mask_test.
4038         (main): Call new tests.
4039         (initial_tests): New test for initilisation.
4041 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
4043         * config.make.in: Define need-nopic-initfini.
4044         * configure.in: Write out nopic_initfini.
4045         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
4046         is defined.
4048         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
4050         * sysdeps/sparc/rem.S: Get trap definition properly.
4051         * sysdeps/sparc/sdiv.S: Likewise.
4052         * sysdeps/sparc/udiv.S: Likewise.
4053         * sysdeps/sparc/urem.S: Likewise.
4054         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
4055         * sysdeps/sparc/sys/trap.h: New file.
4056         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
4058 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
4060         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
4062 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
4064         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
4065         to MACH_MSG_TYPE_INTEGER_T.
4067 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
4069         Initial sparc64-linux support:
4070         * configure.in: Recognize sparc64 as being different from sparc.
4071         * io/ftwtest-sh: Only invoke ld.so if it exists.
4072         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
4073         static tests to link.  Honour $(omit-long-double-fcts) == yes.
4074         * math/libm-test.c (test_single_exception): The argument to
4075         fetestexcept is `int' not `fexcept_t'.
4076         * shlib-versions: Recognize sparc64.
4077         * signal/signal.h: Add typedef for stack_t.
4079         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
4080         Attempt to fix up most of this by cleaning up assumptions below,
4081         but give up and change the defaults.
4083         * setjmp/longjmp.c: Moved to ...
4084         * sysdeps/generic/longjmp.c: ... here.
4085         * setjmp/sigjmp.c: Moved to ...
4086         * sysdeps/generic/sigjmp.c: ... here.
4088         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
4089         Ought to fix up gas to catch these silly things properly.
4090         * sysdeps/sparc/bsd-setjmp.S: Likewise.
4092         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
4093         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
4094         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
4095         the unused fields.
4097         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
4098         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
4099         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
4100         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
4101         * sysdeps/sparc/sparc64/lshift.s: Likewise.
4102         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
4103         * sysdeps/sparc/sparc64/rshift.s: Likewise.
4104         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
4105         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
4107         * sysdeps/sparc64/Implies: New file.
4108         * sysdeps/sparc64/Makefile: Likewise.
4109         * sysdeps/sparc64/bits/endian.h: Likewise.
4110         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
4111         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
4112         * sysdeps/sparc64/dl-machine.h: Likewise.
4113         * sysdeps/sparc64/elf/Makefile: Likewise.
4114         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
4115         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
4116         * sysdeps/sparc64/elf/crtend.S: Likewise.
4117         * sysdeps/sparc64/elf/crtendS.S: Likewise.
4118         * sysdeps/sparc64/elf/start.S: Likewise.
4119         * sysdeps/sparc64/fpu_control.h: Likewise.
4120         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
4121         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
4122         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
4123         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
4124         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
4125         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
4126         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
4127         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
4128         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
4129         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
4130         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
4131         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
4132         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
4133         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
4134         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
4135         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
4136         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
4137         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
4138         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
4139         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
4141 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
4143         * configure.in: Add -nostartfiles -nostdlib when check for
4144         --version-script.
4146 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4148         * sysdeps/powerpc/bits/endian.h: New file.
4150 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
4152         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
4153         setresgid.
4155 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
4157         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
4158         Reported by a sun <asun@zoology.washington.edu>.
4160         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
4162         * db/makedb.c: Exit with error if number of option is incorrect.
4164         * math/Makefile (tests): Add test-fenv.
4165         * math/test-fenv.c: New file.  Test for exception handling functions.
4166         Written mainly by Andreas Jaeger.
4168         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
4170         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
4171         compatibility version to 0.  Reported by Roland McGrath.
4173 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
4175         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
4176         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
4177         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
4179 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
4181         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
4183 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4185         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
4186         objects, including dependencies.
4188         * elf/dl-runtime.c (fixup): Always use version information if
4189         available.
4191 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4193         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
4195 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4197         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
4198         int, not pointer to fail_stack_elt_t.
4199         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
4200         type of this_reg.
4201         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
4202         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
4204 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
4206         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
4207         Reported by a sun.
4209 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
4211         * math/math.h: Move definition of macros for unordered comparison
4212         after inclusion of <bits/mathinline.h>.
4213         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
4214         unordered comparison before definition.
4215         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4217         * Makerules: Move definition of load-map-file before use.
4218         (lib%.so): Depend on load-map-file, not lib%-map.
4220         * manual/lgpl.texinfo: Update copyright.
4222 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4224         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
4225         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
4226         and infinity specially.
4227         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
4228         Adapted.
4230         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
4232 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
4234         * configure.in: Don't use .long in tests since some strange
4235         platforms without binutils don't know this.
4236         Redirect output of test commands correctly.
4237         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4239         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
4240         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
4242 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
4244         * sysdeps/mach/hurd/abi-tag.h: New file.
4246         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
4247         * sysdeps/stub/bits/libc-lock.h: Likewise.
4249         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
4250         Add variable addr containing the desired part of the union.
4251         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
4252         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
4253         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
4254         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
4255         * sysdeps/mach/hurd/bind.c (bind): Likewise.
4257         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
4258         to sizeof(MACH_MSG_TYPE_INTEGER_T).
4260         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
4262         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
4264         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
4265         paramater list since it is used.
4267         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
4269         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
4270         ss to argss.
4272 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4274         * Rules: Update copyright.
4275         * mach/Machrules: Likewise.
4277 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
4279         * configure.in: Fix accidently removed AC_OUTPUT line.
4280         Reported by Andreas Jaeger.
4282         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
4283         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
4285         * sysdeps/generic/getdomain.c: Include handling for stub case.
4286         This eliminated the only case of a function in generic and stub.
4287         * sysdeps/stub/getdomain.c: Removed.
4288         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4290 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4292         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
4293         remove trailing white spaces and send through unexpand.
4294         * sysdeps/alpha/bb_init_func.S: Likewise.
4295         * sysdeps/alpha/bzero.S: Likewise.
4296         * sysdeps/alpha/ffs.S: Likewise.
4297         * sysdeps/alpha/memset.S: Likewise.
4298         * sysdeps/alpha/s_fabs.S: Likewise.
4299         * sysdeps/alpha/strcmp.S: Likewise.
4300         * sysdeps/alpha/strlen.S: Likewise.
4301         * sysdeps/alpha/strncmp.S: Likewise.
4302         * sysdeps/alpha/strncpy.S: Likewise.
4303         * sysdeps/alpha/strrchr.S: Likewise.
4304         * sysdeps/alpha/stxcpy.S: Likewise.
4305         * sysdeps/alpha/stxncpy.S: Likewise.
4306         * sysdeps/alpha/elf/start.S: Likewise.
4307         * sysdeps/i386/strchr.S: Likewise.
4308         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
4309         * sysdeps/m68k/bsd-setjmp.S: Likewise.
4310         * sysdeps/m68k/elf/start.S: Likewise.
4311         * sysdeps/mach/alpha/syscall.S: Likewise.
4312         * sysdeps/mach/i386/syscall.S: Likewise.
4313         * sysdeps/mips/elf/start.S: Likewise.
4314         * sysdeps/sparc/alloca.S: Likewise.
4315         * sysdeps/standalone/i386/start.S: Likewise.
4316         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
4317         * sysdeps/standalone/i960/start.S: Likewise.
4318         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
4319         * sysdeps/unix/_exit.S: Likewise.
4320         * sysdeps/unix/fork.S: Likewise.
4321         * sysdeps/unix/getegid.S: Likewise.
4322         * sysdeps/unix/geteuid.S: Likewise.
4323         * sysdeps/unix/getppid.S: Likewise.
4324         * sysdeps/unix/syscall.S: Likewise.
4325         * sysdeps/unix/arm/brk.S: Likewise.
4326         * sysdeps/unix/arm/fork.S: Likewise.
4327         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
4328         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
4329         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
4330         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4331         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4332         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
4333         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
4334         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
4335         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
4336         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
4337         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
4338         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
4339         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
4340         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
4341         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
4342         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
4343         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
4344         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
4345         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
4346         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
4347         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
4348         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
4349         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
4350         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
4351         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
4352         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
4353         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
4354         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
4355         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
4356         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
4357         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
4358         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
4359         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4360         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
4361         * sysdeps/unix/bsd/vax/brk.S: Likewise.
4362         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
4363         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
4364         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
4365         * sysdeps/unix/bsd/vax/wait.S: Likewise.
4366         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
4367         * sysdeps/unix/i386/brk.S: Likewise.
4368         * sysdeps/unix/i386/fork.S: Likewise.
4369         * sysdeps/unix/i386/pipe.S: Likewise.
4370         * sysdeps/unix/i386/sigreturn.S: Likewise.
4371         * sysdeps/unix/i386/syscall.S: Likewise.
4372         * sysdeps/unix/i386/vfork.S: Likewise.
4373         * sysdeps/unix/i386/wait.S: Likewise.
4374         * sysdeps/unix/mips/brk.S: Likewise.
4375         * sysdeps/unix/mips/fork.S: Likewise.
4376         * sysdeps/unix/mips/pipe.S: Likewise.
4377         * sysdeps/unix/mips/sigreturn.S: Likewise.
4378         * sysdeps/unix/mips/sysdep.S: Likewise.
4379         * sysdeps/unix/mips/wait.S: Likewise.
4380         * sysdeps/unix/sparc/brk.S: Likewise.
4381         * sysdeps/unix/sparc/fork.S: Likewise.
4382         * sysdeps/unix/sparc/pipe.S: Likewise.
4383         * sysdeps/unix/sparc/sysdep.S: Likewise.
4384         * sysdeps/unix/sparc/vfork.S: Likewise.
4385         * sysdeps/unix/sysv/i386/signal.S: Likewise.
4386         * sysdeps/unix/sysv/i386/time.S: Likewise.
4387         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
4388         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
4389         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
4390         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
4391         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
4392         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4393         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4394         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4395         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4396         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
4397         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
4398         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
4399         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
4400         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
4401         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
4402         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
4403         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
4404         * sysdeps/vax/bsd-_setjmp.S: Likewise.
4405         * sysdeps/vax/bsd-setjmp.S: Likewise.
4407 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
4409         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
4410         public.
4412         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
4413         dependency, not $(libc-map).
4415         * sysdeps/posix/mk-stdiolim.c: Pretty print.
4417 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
4419         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
4420         include of bits/types.h.
4422         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
4423         conditionalize this on whether we are cross-compiling.
4425 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
4427         * elf/dl-lookup.c (do_lookup): Use default definition
4428         for a default versioned symbol.
4430         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
4432         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
4434         * elf/link.h (r_found_version): Add the hidden field.
4436         * math/test-matherr.c: New file.
4438         * math/Makefile (tests): Add test-matherr.
4439         (libm-support): Put back s_matherr.
4440         (static-only-routines, aux): Remove s_matherr.
4442 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
4444         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
4445         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
4446         bits/endian.h.
4448         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
4449         function will not fail because of exceptions.
4451         * math/math.h: Add warning about use of M_* constants.
4452         Pretty print.
4454 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4456         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
4457         copyright, remove trailing white spaces and send through unexpand.
4458         * inet/netinet/icmp6.h: Likewise.
4459         * inet/netinet/in.h: Likewise.
4460         * inet/netinet/ip6.h: Likewise.
4461         * locale/programs/xmalloc.c: Likewise.
4462         * locale/programs/xstrdup.c: Likewise.
4463         * sysdeps/generic/make_siglist.c: Likewise.
4464         * sysdeps/generic/morecore.c: Likewise.
4465         * sysdeps/generic/sbrk.c: Likewise.
4466         * sysdeps/generic/signame.c: Likewise.
4467         * sysdeps/generic/signame.h: Likewise.
4468         * sysdeps/generic/netinet/inbits.h: Likewise.
4469         * sysdeps/posix/getpagesize.c: Likewise.
4470         * sysdeps/unix/errnos-tmpl.c: Likewise.
4471         * sysdeps/unix/getpagesize.c: Likewise.
4472         * sysdeps/unix/make_errlist.c: Likewise.
4473         * sysdeps/unix/mkfifo.c: Likewise.
4474         * sysdeps/unix/nlist.c: Likewise.
4475         * sysdeps/unix/start.c: Likewise.
4476         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
4478         * munch-tmpl.c: Update and reformat copyright, remove trailing
4479         white spaces and send through unexpand.
4480         * libio/clearerr_u.c: Likewise.
4481         * libio/memstream.c: Likewise.
4482         * libio/putc_u.c: Likewise.
4483         * libio/putchar_u.c: Likewise.
4484         * stdio-common/scanf.c: Likewise.
4485         * stdlib/longlong.h: Likewise.
4486         * sysdeps/alpha/__longjmp.c: Likewise.
4487         * sysdeps/alpha/divrem.h: Likewise.
4488         * sysdeps/alpha/machine-gmon.h: Likewise.
4489         * sysdeps/alpha/setjmp_aux.c: Likewise.
4490         * sysdeps/alpha/bits/setjmp.h: Likewise.
4491         * sysdeps/arm/fpu_control.h: Likewise.
4492         * sysdeps/generic/_strerror.c: Likewise.
4493         * sysdeps/generic/det_endian.c: Likewise.
4494         * sysdeps/generic/fdatasync.c: Likewise.
4495         * sysdeps/generic/fpu_control.c: Likewise.
4496         * sysdeps/generic/ftime.c: Likewise.
4497         * sysdeps/generic/getdomain.c: Likewise.
4498         * sysdeps/generic/group_member.c: Likewise.
4499         * sysdeps/generic/ldiv.c: Likewise.
4500         * sysdeps/generic/lldiv.c: Likewise.
4501         * sysdeps/generic/lxstat.c: Likewise.
4502         * sysdeps/generic/memcmp.c: Likewise.
4503         * sysdeps/generic/memmem.c: Likewise.
4504         * sysdeps/generic/mig-reply.c: Likewise.
4505         * sysdeps/generic/pagecopy.h: Likewise.
4506         * sysdeps/generic/profil-counter.h: Likewise.
4507         * sysdeps/generic/pselect.c: Likewise.
4508         * sysdeps/generic/setfpucw.c: Likewise.
4509         * sysdeps/generic/stpcpy.c: Likewise.
4510         * sysdeps/generic/uname.c: Likewise.
4511         * sysdeps/generic/varargs.h: Likewise.
4512         * sysdeps/generic/vlimit.c: Likewise.
4513         * sysdeps/generic/bits/sigaction.h: Likewise.
4514         * sysdeps/generic/bits/ustat.h: Likewise.
4515         * sysdeps/generic/netinet/if_ether.h: Likewise.
4516         * sysdeps/generic/sys/swap.h: Likewise.
4517         * sysdeps/generic/sys/sysinfo.h: Likewise.
4518         * sysdeps/i386/init-first.c: Likewise.
4519         * sysdeps/i386/ldbl2mpn.c: Likewise.
4520         * sysdeps/i386/memcopy.h: Likewise.
4521         * sysdeps/i386/i586/memcopy.h: Likewise.
4522         * sysdeps/i860/memcopy.h: Likewise.
4523         * sysdeps/m68k/__longjmp.c: Likewise.
4524         * sysdeps/m68k/fpu_control.h: Likewise.
4525         * sysdeps/m68k/memcopy.h: Likewise.
4526         * sysdeps/m68k/s_isinfl.c: Likewise.
4527         * sysdeps/m68k/s_isnanl.c: Likewise.
4528         * sysdeps/m68k/setjmp.c: Likewise.
4529         * sysdeps/mach/_strerror.c: Likewise.
4530         * sysdeps/mach/getsysstats.c: Likewise.
4531         * sysdeps/mach/mprotect.c: Likewise.
4532         * sysdeps/mach/munmap.c: Likewise.
4533         * sysdeps/mach/pagecopy.h: Likewise.
4534         * sysdeps/mach/start.c: Likewise.
4535         * sysdeps/mach/sysdep.h: Likewise.
4536         * sysdeps/mach/alpha/machine-lock.h: Likewise.
4537         * sysdeps/mach/alpha/machine-sp.h: Likewise.
4538         * sysdeps/mach/alpha/sysdep.h: Likewise.
4539         * sysdeps/mach/alpha/thread_state.h: Likewise.
4540         * sysdeps/mach/hppa/machine-lock.h: Likewise.
4541         * sysdeps/mach/hurd/access.c: Likewise.
4542         * sysdeps/mach/hurd/closedir.c: Likewise.
4543         * sysdeps/mach/hurd/dirstream.h: Likewise.
4544         * sysdeps/mach/hurd/dl-cache.c: Likewise.
4545         * sysdeps/mach/hurd/euidaccess.c: Likewise.
4546         * sysdeps/mach/hurd/fdatasync.c: Likewise.
4547         * sysdeps/mach/hurd/fexecve.c: Likewise.
4548         * sysdeps/mach/hurd/fork.c: Likewise.
4549         * sysdeps/mach/hurd/fpathconf.c: Likewise.
4550         * sysdeps/mach/hurd/fstatfs.c: Likewise.
4551         * sysdeps/mach/hurd/fxstat.c: Likewise.
4552         * sysdeps/mach/hurd/getcwd.c: Likewise.
4553         * sysdeps/mach/hurd/getpriority.c: Likewise.
4554         * sysdeps/mach/hurd/getrlimit.c: Likewise.
4555         * sysdeps/mach/hurd/getsid.c: Likewise.
4556         * sysdeps/mach/hurd/group_member.c: Likewise.
4557         * sysdeps/mach/hurd/kill.c: Likewise.
4558         * sysdeps/mach/hurd/lchown.c: Likewise.
4559         * sysdeps/mach/hurd/lxstat.c: Likewise.
4560         * sysdeps/mach/hurd/mig-reply.c: Likewise.
4561         * sysdeps/mach/hurd/mmap.c: Likewise.
4562         * sysdeps/mach/hurd/opendir.c: Likewise.
4563         * sysdeps/mach/hurd/pathconf.c: Likewise.
4564         * sysdeps/mach/hurd/profil.c: Likewise.
4565         * sysdeps/mach/hurd/ptrace.c: Likewise.
4566         * sysdeps/mach/hurd/readdir.c: Likewise.
4567         * sysdeps/mach/hurd/readdir_r.c: Likewise.
4568         * sysdeps/mach/hurd/send.c: Likewise.
4569         * sysdeps/mach/hurd/sendto.c: Likewise.
4570         * sysdeps/mach/hurd/setpriority.c: Likewise.
4571         * sysdeps/mach/hurd/statfs.c: Likewise.
4572         * sysdeps/mach/hurd/ttyname.c: Likewise.
4573         * sysdeps/mach/hurd/uname.c: Likewise.
4574         * sysdeps/mach/hurd/xstat.c: Likewise.
4575         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
4576         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
4577         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
4578         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
4579         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
4580         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
4581         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
4582         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
4583         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
4584         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
4585         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
4586         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4587         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
4588         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
4589         * sysdeps/mach/hurd/sys/param.h: Likewise.
4590         * sysdeps/mach/i386/machine-lock.h: Likewise.
4591         * sysdeps/mach/i386/machine-sp.h: Likewise.
4592         * sysdeps/mach/i386/sysdep.h: Likewise.
4593         * sysdeps/mach/i386/thread_state.h: Likewise.
4594         * sysdeps/posix/dup2.c: Likewise.
4595         * sysdeps/posix/flock.c: Likewise.
4596         * sysdeps/posix/getdtsz.c: Likewise.
4597         * sysdeps/posix/gettimeofday.c: Likewise.
4598         * sysdeps/posix/isatty.c: Likewise.
4599         * sysdeps/posix/killpg.c: Likewise.
4600         * sysdeps/posix/mk-stdiolim.c: Likewise.
4601         * sysdeps/posix/profil.c: Likewise.
4602         * sysdeps/posix/remove.c: Likewise.
4603         * sysdeps/posix/rename.c: Likewise.
4604         * sysdeps/posix/sigsuspend.c: Likewise.
4605         * sysdeps/posix/tempname.c: Likewise.
4606         * sysdeps/posix/truncate.c: Likewise.
4607         * sysdeps/posix/utimes.c: Likewise.
4608         * sysdeps/posix/wait.c: Likewise.
4609         * sysdeps/posix/wait3.c: Likewise.
4610         * sysdeps/rs6000/memcopy.h: Likewise.
4611         * sysdeps/sparc/memcopy.h: Likewise.
4612         * sysdeps/standalone/close.c: Likewise.
4613         * sysdeps/standalone/dirstream.h: Likewise.
4614         * sysdeps/standalone/filedesc.h: Likewise.
4615         * sysdeps/standalone/open.c: Likewise.
4616         * sysdeps/standalone/read.c: Likewise.
4617         * sysdeps/standalone/standalone.h: Likewise.
4618         * sysdeps/standalone/write.c: Likewise.
4619         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
4620         * sysdeps/standalone/i386/i386.h: Likewise.
4621         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
4622         * sysdeps/stub/__longjmp.c: Likewise.
4623         * sysdeps/stub/accept.c: Likewise.
4624         * sysdeps/stub/access.c: Likewise.
4625         * sysdeps/stub/acct.c: Likewise.
4626         * sysdeps/stub/adjtime.c: Likewise.
4627         * sysdeps/stub/alarm.c: Likewise.
4628         * sysdeps/stub/bind.c: Likewise.
4629         * sysdeps/stub/brk.c: Likewise.
4630         * sysdeps/stub/bsd-_setjmp.c: Likewise.
4631         * sysdeps/stub/bsd-setjmp.c: Likewise.
4632         * sysdeps/stub/chdir.c: Likewise.
4633         * sysdeps/stub/chflags.c: Likewise.
4634         * sysdeps/stub/chmod.c: Likewise.
4635         * sysdeps/stub/chown.c: Likewise.
4636         * sysdeps/stub/chroot.c: Likewise.
4637         * sysdeps/stub/clock.c: Likewise.
4638         * sysdeps/stub/close.c: Likewise.
4639         * sysdeps/stub/closedir.c: Likewise.
4640         * sysdeps/stub/connect.c: Likewise.
4641         * sysdeps/stub/ctermid.c: Likewise.
4642         * sysdeps/stub/cuserid.c: Likewise.
4643         * sysdeps/stub/dbl2mpn.c: Likewise.
4644         * sysdeps/stub/dirstream.h: Likewise.
4645         * sysdeps/stub/dup.c: Likewise.
4646         * sysdeps/stub/dup2.c: Likewise.
4647         * sysdeps/stub/exc2signal.c: Likewise.
4648         * sysdeps/stub/execve.c: Likewise.
4649         * sysdeps/stub/fchflags.c: Likewise.
4650         * sysdeps/stub/fchown.c: Likewise.
4651         * sysdeps/stub/fcntl.c: Likewise.
4652         * sysdeps/stub/fdopen.c: Likewise.
4653         * sysdeps/stub/fexecve.c: Likewise.
4654         * sysdeps/stub/flock.c: Likewise.
4655         * sysdeps/stub/fork.c: Likewise.
4656         * sysdeps/stub/fpathconf.c: Likewise.
4657         * sysdeps/stub/fpu_control.h: Likewise.
4658         * sysdeps/stub/fstatfs.c: Likewise.
4659         * sysdeps/stub/fsync.c: Likewise.
4660         * sysdeps/stub/ftruncate.c: Likewise.
4661         * sysdeps/stub/fxstat.c: Likewise.
4662         * sysdeps/stub/getcwd.c: Likewise.
4663         * sysdeps/stub/getdomain.c: Likewise.
4664         * sysdeps/stub/getdtsz.c: Likewise.
4665         * sysdeps/stub/getegid.c: Likewise.
4666         * sysdeps/stub/geteuid.c: Likewise.
4667         * sysdeps/stub/getgid.c: Likewise.
4668         * sysdeps/stub/getgroups.c: Likewise.
4669         * sysdeps/stub/gethostid.c: Likewise.
4670         * sysdeps/stub/gethostname.c: Likewise.
4671         * sysdeps/stub/getitimer.c: Likewise.
4672         * sysdeps/stub/getpeername.c: Likewise.
4673         * sysdeps/stub/getpgid.c: Likewise.
4674         * sysdeps/stub/getpid.c: Likewise.
4675         * sysdeps/stub/getppid.c: Likewise.
4676         * sysdeps/stub/getpriority.c: Likewise.
4677         * sysdeps/stub/getrlimit.c: Likewise.
4678         * sysdeps/stub/getrusage.c: Likewise.
4679         * sysdeps/stub/getsid.c: Likewise.
4680         * sysdeps/stub/getsockname.c: Likewise.
4681         * sysdeps/stub/getsockopt.c: Likewise.
4682         * sysdeps/stub/getsysstats.c: Likewise.
4683         * sysdeps/stub/gettimeofday.c: Likewise.
4684         * sysdeps/stub/getuid.c: Likewise.
4685         * sysdeps/stub/gtty.c: Likewise.
4686         * sysdeps/stub/if_index.c: Likewise.
4687         * sysdeps/stub/init-posix.c: Likewise.
4688         * sysdeps/stub/ioctl.c: Likewise.
4689         * sysdeps/stub/isatty.c: Likewise.
4690         * sysdeps/stub/isfdtype.c: Likewise.
4691         * sysdeps/stub/jmp-unwind.c: Likewise.
4692         * sysdeps/stub/kill.c: Likewise.
4693         * sysdeps/stub/killpg.c: Likewise.
4694         * sysdeps/stub/ldbl2mpn.c: Likewise.
4695         * sysdeps/stub/link.c: Likewise.
4696         * sysdeps/stub/listen.c: Likewise.
4697         * sysdeps/stub/lockfile.c: Likewise.
4698         * sysdeps/stub/longjmp-ts.c: Likewise.
4699         * sysdeps/stub/lseek.c: Likewise.
4700         * sysdeps/stub/lxstat.c: Likewise.
4701         * sysdeps/stub/machine-lock.h: Likewise.
4702         * sysdeps/stub/machine-sp.h: Likewise.
4703         * sysdeps/stub/madvise.c: Likewise.
4704         * sysdeps/stub/mkdir.c: Likewise.
4705         * sysdeps/stub/mkfifo.c: Likewise.
4706         * sysdeps/stub/mmap.c: Likewise.
4707         * sysdeps/stub/morecore.c: Likewise.
4708         * sysdeps/stub/mpn2dbl.c: Likewise.
4709         * sysdeps/stub/mpn2flt.c: Likewise.
4710         * sysdeps/stub/mpn2ldbl.c: Likewise.
4711         * sysdeps/stub/mprotect.c: Likewise.
4712         * sysdeps/stub/msgctl.c: Likewise.
4713         * sysdeps/stub/msgget.c: Likewise.
4714         * sysdeps/stub/msgrcv.c: Likewise.
4715         * sysdeps/stub/msgsnd.c: Likewise.
4716         * sysdeps/stub/munmap.c: Likewise.
4717         * sysdeps/stub/nanosleep.c: Likewise.
4718         * sysdeps/stub/nice.c: Likewise.
4719         * sysdeps/stub/nlist.c: Likewise.
4720         * sysdeps/stub/open.c: Likewise.
4721         * sysdeps/stub/opendir.c: Likewise.
4722         * sysdeps/stub/pathconf.c: Likewise.
4723         * sysdeps/stub/pause.c: Likewise.
4724         * sysdeps/stub/pipestream.c: Likewise.
4725         * sysdeps/stub/poll.c: Likewise.
4726         * sysdeps/stub/profil.c: Likewise.
4727         * sysdeps/stub/ptrace.c: Likewise.
4728         * sysdeps/stub/putenv.c: Likewise.
4729         * sysdeps/stub/read.c: Likewise.
4730         * sysdeps/stub/readdir.c: Likewise.
4731         * sysdeps/stub/readdir_r.c: Likewise.
4732         * sysdeps/stub/readlink.c: Likewise.
4733         * sysdeps/stub/reboot.c: Likewise.
4734         * sysdeps/stub/recv.c: Likewise.
4735         * sysdeps/stub/recvfrom.c: Likewise.
4736         * sysdeps/stub/recvmsg.c: Likewise.
4737         * sysdeps/stub/remove.c: Likewise.
4738         * sysdeps/stub/rename.c: Likewise.
4739         * sysdeps/stub/revoke.c: Likewise.
4740         * sysdeps/stub/rewinddir.c: Likewise.
4741         * sysdeps/stub/rmdir.c: Likewise.
4742         * sysdeps/stub/sbrk.c: Likewise.
4743         * sysdeps/stub/sched_getp.c: Likewise.
4744         * sysdeps/stub/sched_gets.c: Likewise.
4745         * sysdeps/stub/sched_primax.c: Likewise.
4746         * sysdeps/stub/sched_primin.c: Likewise.
4747         * sysdeps/stub/sched_rr_gi.c: Likewise.
4748         * sysdeps/stub/sched_setp.c: Likewise.
4749         * sysdeps/stub/sched_sets.c: Likewise.
4750         * sysdeps/stub/sched_yield.c: Likewise.
4751         * sysdeps/stub/seekdir.c: Likewise.
4752         * sysdeps/stub/select.c: Likewise.
4753         * sysdeps/stub/semctl.c: Likewise.
4754         * sysdeps/stub/semget.c: Likewise.
4755         * sysdeps/stub/semop.c: Likewise.
4756         * sysdeps/stub/send.c: Likewise.
4757         * sysdeps/stub/sendmsg.c: Likewise.
4758         * sysdeps/stub/sendto.c: Likewise.
4759         * sysdeps/stub/setdomain.c: Likewise.
4760         * sysdeps/stub/setegid.c: Likewise.
4761         * sysdeps/stub/setenv.c: Likewise.
4762         * sysdeps/stub/seteuid.c: Likewise.
4763         * sysdeps/stub/setgid.c: Likewise.
4764         * sysdeps/stub/setgroups.c: Likewise.
4765         * sysdeps/stub/sethostid.c: Likewise.
4766         * sysdeps/stub/sethostname.c: Likewise.
4767         * sysdeps/stub/setjmp.c: Likewise.
4768         * sysdeps/stub/setlogin.c: Likewise.
4769         * sysdeps/stub/setpgid.c: Likewise.
4770         * sysdeps/stub/setpriority.c: Likewise.
4771         * sysdeps/stub/setregid.c: Likewise.
4772         * sysdeps/stub/setreuid.c: Likewise.
4773         * sysdeps/stub/setrlimit.c: Likewise.
4774         * sysdeps/stub/setsid.c: Likewise.
4775         * sysdeps/stub/setsockopt.c: Likewise.
4776         * sysdeps/stub/settimeofday.c: Likewise.
4777         * sysdeps/stub/setuid.c: Likewise.
4778         * sysdeps/stub/shmctl.c: Likewise.
4779         * sysdeps/stub/shmget.c: Likewise.
4780         * sysdeps/stub/shutdown.c: Likewise.
4781         * sysdeps/stub/sigaction.c: Likewise.
4782         * sysdeps/stub/sigaltstack.c: Likewise.
4783         * sysdeps/stub/sigblock.c: Likewise.
4784         * sysdeps/stub/sigintr.c: Likewise.
4785         * sysdeps/stub/sigpending.c: Likewise.
4786         * sysdeps/stub/sigprocmask.c: Likewise.
4787         * sysdeps/stub/sigreturn.c: Likewise.
4788         * sysdeps/stub/sigsetmask.c: Likewise.
4789         * sysdeps/stub/sigstack.c: Likewise.
4790         * sysdeps/stub/sigsuspend.c: Likewise.
4791         * sysdeps/stub/sigvec.c: Likewise.
4792         * sysdeps/stub/socket.c: Likewise.
4793         * sysdeps/stub/socketpair.c: Likewise.
4794         * sysdeps/stub/sstk.c: Likewise.
4795         * sysdeps/stub/statfs.c: Likewise.
4796         * sysdeps/stub/stdio_init.c: Likewise.
4797         * sysdeps/stub/stime.c: Likewise.
4798         * sysdeps/stub/stty.c: Likewise.
4799         * sysdeps/stub/swapoff.c: Likewise.
4800         * sysdeps/stub/swapon.c: Likewise.
4801         * sysdeps/stub/symlink.c: Likewise.
4802         * sysdeps/stub/sync.c: Likewise.
4803         * sysdeps/stub/syscall.c: Likewise.
4804         * sysdeps/stub/sysd-stdio.c: Likewise.
4805         * sysdeps/stub/system.c: Likewise.
4806         * sysdeps/stub/tcdrain.c: Likewise.
4807         * sysdeps/stub/tcflow.c: Likewise.
4808         * sysdeps/stub/tcflush.c: Likewise.
4809         * sysdeps/stub/tcgetattr.c: Likewise.
4810         * sysdeps/stub/tcgetpgrp.c: Likewise.
4811         * sysdeps/stub/tcsendbrk.c: Likewise.
4812         * sysdeps/stub/tcsetpgrp.c: Likewise.
4813         * sysdeps/stub/telldir.c: Likewise.
4814         * sysdeps/stub/thread_state.h: Likewise.
4815         * sysdeps/stub/time.c: Likewise.
4816         * sysdeps/stub/times.c: Likewise.
4817         * sysdeps/stub/trampoline.c: Likewise.
4818         * sysdeps/stub/truncate.c: Likewise.
4819         * sysdeps/stub/ttyname.c: Likewise.
4820         * sysdeps/stub/ttyname_r.c: Likewise.
4821         * sysdeps/stub/ualarm.c: Likewise.
4822         * sysdeps/stub/ulimit.c: Likewise.
4823         * sysdeps/stub/umask.c: Likewise.
4824         * sysdeps/stub/unlink.c: Likewise.
4825         * sysdeps/stub/usleep.c: Likewise.
4826         * sysdeps/stub/ustat.c: Likewise.
4827         * sysdeps/stub/utime.c: Likewise.
4828         * sysdeps/stub/utimes.c: Likewise.
4829         * sysdeps/stub/vdprintf.c: Likewise.
4830         * sysdeps/stub/vhangup.c: Likewise.
4831         * sysdeps/stub/wait.c: Likewise.
4832         * sysdeps/stub/wait3.c: Likewise.
4833         * sysdeps/stub/wait4.c: Likewise.
4834         * sysdeps/stub/waitpid.c: Likewise.
4835         * sysdeps/stub/write.c: Likewise.
4836         * sysdeps/stub/xmknod.c: Likewise.
4837         * sysdeps/stub/xstat.c: Likewise.
4838         * sysdeps/stub/bits/errno.h: Likewise.
4839         * sysdeps/stub/bits/sigcontext.h: Likewise.
4840         * sysdeps/unix/fxstat.c: Likewise.
4841         * sysdeps/unix/mk-local_lim.c: Likewise.
4842         * sysdeps/unix/mkdir.c: Likewise.
4843         * sysdeps/unix/nice.c: Likewise.
4844         * sysdeps/unix/rmdir.c: Likewise.
4845         * sysdeps/unix/stime.c: Likewise.
4846         * sysdeps/unix/telldir.c: Likewise.
4847         * sysdeps/unix/xstat.c: Likewise.
4848         * sysdeps/unix/arm/sysdep.h: Likewise.
4849         * sysdeps/unix/bsd/ftime.c: Likewise.
4850         * sysdeps/unix/bsd/isatty.c: Likewise.
4851         * sysdeps/unix/bsd/setegid.c: Likewise.
4852         * sysdeps/unix/bsd/seteuid.c: Likewise.
4853         * sysdeps/unix/bsd/setsid.c: Likewise.
4854         * sysdeps/unix/bsd/sigaction.c: Likewise.
4855         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4856         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4857         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4858         * sysdeps/unix/bsd/times.c: Likewise.
4859         * sysdeps/unix/bsd/ulimit.c: Likewise.
4860         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
4861         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
4862         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
4863         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
4864         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
4865         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
4866         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
4867         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
4868         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
4869         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
4870         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
4871         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
4872         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
4873         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
4874         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
4875         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
4876         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
4877         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
4878         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
4879         * sysdeps/unix/common/lxstat.c: Likewise.
4880         * sysdeps/unix/common/tcsendbrk.c: Likewise.
4881         * sysdeps/unix/common/bits/dirent.h: Likewise.
4882         * sysdeps/unix/i386/sysdep.h: Likewise.
4883         * sysdeps/unix/mips/sysdep.h: Likewise.
4884         * sysdeps/unix/sysv/setrlimit.c: Likewise.
4885         * sysdeps/unix/sysv/settimeofday.c: Likewise.
4886         * sysdeps/unix/sysv/sigaction.c: Likewise.
4887         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
4888         * sysdeps/unix/sysv/tcdrain.c: Likewise.
4889         * sysdeps/unix/sysv/tcflow.c: Likewise.
4890         * sysdeps/unix/sysv/tcflush.c: Likewise.
4891         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4892         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4893         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4894         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
4895         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
4896         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
4897         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
4898         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4899         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4900         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
4901         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4902         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4903         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
4904         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4905         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4906         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
4907         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4908         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
4909         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
4910         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
4911         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
4912         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
4913         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4914         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
4915         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
4916         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
4917         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
4918         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
4919         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
4920         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
4921         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
4922         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
4923         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
4924         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
4925         * sysdeps/vax/fl.h: Likewise.
4926         * sysdeps/vax/setjmp.c: Likewise.
4928 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4930         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
4931         and NaN strings.
4933 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4935         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
4936         argument.
4937         (__ilogb): Remove special case for zero, add stupid special case
4938         for NaN.
4939         (__ieee754_scalb): Remove definition.
4940         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
4941         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
4943         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
4944         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
4945         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
4947         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
4948         returning NaN.  Handle zero specially.
4949         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
4950         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
4952         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
4953         and NaN.
4954         (gamma_test): Use different argument when checking whether
4955         function is implemented.
4956         (scalb_test): Remove duplicate tests.
4958 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4960         * Makerules (+depfiles): Add dependencies for $(test-srcs).
4961         (distinfo-vars): Add test-srcs.
4963 1997-06-21 17:35  Ulrich Drepper  <drepper@cygnus.com>
4965         * argp/argp.h: Remove extra #endif.  Pretty print.
4966         * md5-crypt/md5.h: Likewise.
4968         * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
4969         * wctype/wctype.h: Likewise.
4971         * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
4972         directory.
4974         * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
4975         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
4976         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
4977         * sysdeps/libm-i387/s_lrint.S: Likewise.
4978         * sysdeps/libm-i387/s_llrint.S: Likewise.
4980 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
4982         * config.h.in: Add DO_STATIC_NSS.
4983         * config.make.in: Add build-static-nss.
4985         * elf/eval.c: Use __getdelim instead of __getline.
4987         * locale/programs/locale.c: Correct comment.
4989         * manual/libc.texinfo: Update copyright and date.
4990         Remove A4 option.
4992         * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
4993         for gamma overflow.
4994         * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
4995         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4996         * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
4998         * po/ko.po: Update.
5000 1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>
5002         The Great Bit File Move:
5003         * configure.in (AC_INIT): Look in include/ for features.h.
5004         (sysnames): Add include as the final search directory.
5005         (AC_OUTPUT): Create a bits directory in the build directory.
5006         * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
5007         * Makefile: Make sure the target directory exists when installing
5008         <gnu/stubs.h> and <gnu/lib-names.h>.
5009         * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
5010         invoking $(CC) directly, as the former have the full include path.
5012         * ansidecl.h: Removed.
5014         * aliases.h: Moved to include/.
5015         * alloca.h: Likewise.
5016         * argp.h: Likewise.
5017         * argz.h: Likewise.
5018         * arpa/ftp.h: Likewise.
5019         * arpa/inet.h: Likewise.
5020         * arpa/nameser.h: Likewise.
5021         * arpa/telnet.h: Likewise.
5022         * arpa/tftp.h: Likewise.
5023         * assert.h: Likewise.
5024         * ctype.h: Likewise.
5025         * db.h: Likewise.
5026         * dirent.h: Likewise.
5027         * dlfcn.h: Likewise.
5028         * elf.h: Likewise.
5029         * endian.h: Likewise.
5030         * envz.h: Likewise.
5031         * err.h: Likewise.
5032         * errno.h: Likewise.
5033         * error.h: Likewise.
5034         * fcntl.h: Likewise.
5035         * features.h: Likewise.
5036         * fnmatch.h: Likewise.
5037         * ftw.h: Likewise.
5038         * getopt.h: Likewise.
5039         * glob.h: Likewise.
5040         * gnu-versions.h: Likewise.
5041         * grp.h: Likewise.
5042         * langinfo.h: Likewise.
5043         * libc-symbols.h: Likewise.
5044         * libgen.h: Likewise.
5045         * libintl.h: Likewise.
5046         * limits.h: Likewise.
5047         * linewrap.h: Likewise.
5048         * link.h: Likewise.
5049         * locale.h: Likewise.
5050         * malloc.h: Likewise.
5051         * math.h: Likewise.
5052         * mathcalls.h: Likewise.
5053         * mcheck.h: Likewise.
5054         * memory.h: Likewise.
5055         * netdb.h: Likewise.
5056         * netgroup.h: Likewise.
5057         * netinet/ether.h: Likewise.
5058         * netinet/in.h: Likewise.
5059         * nlist.h: Likewise.
5060         * nss.h: Likewise.
5061         * nsswitch.h: Likewise.
5062         * obstack.h: Likewise.
5063         * poll.h: Likewise.
5064         * posix1_lim.h: Likewise.
5065         * posix2_lim.h: Likewise.
5066         * printf.h: Likewise.
5067         * protocols/routed.h: Likewise.
5068         * protocols/rwhod.h: Likewise.
5069         * protocols/talkd.h: Likewise.
5070         * protocols/timed.h: Likewise.
5071         * pwd.h: Likewise.
5072         * regex.h: Likewise.
5073         * resolv.h: Likewise.
5074         * rpc/auth_unix.h: Likewise.
5075         * rpc/clnt.h: Likewise.
5076         * rpc/netdb.h: Likewise.
5077         * rpc/pmap_clnt.h: Likewise.
5078         * rpc/pmap_prot.h: Likewise.
5079         * rpc/pmap_rmt.h: Likewise.
5080         * rpc/rpc.h: Likewise.
5081         * rpc/rpc_msg.h: Likewise.
5082         * rpc/svc.h: Likewise.
5083         * rpc/svc_auth.h: Likewise.
5084         * rpc/types.h: Likewise.
5085         * rpc/xdr.h: Likewise.
5086         * sched.h: Likewise.
5087         * search.h: Likewise.
5088         * set-hooks.h: Likewise.
5089         * setjmp.h: Likewise.
5090         * sgtty.h: Likewise.
5091         * shadow.h: Likewise.
5092         * signal.h: Likewise.
5093         * stab.def: Likewise.
5094         * stab.h: Likewise.
5095         * stdio.h: Likewise.
5096         * stdlib.h: Likewise.
5097         * string.h: Likewise.
5098         * strings.h: Likewise.
5099         * sys/bitypes.h: Likewise.
5100         * sys/cdefs.h: Likewise.
5101         * sys/dir.h: Likewise.
5102         * sys/errno.h: Likewise.
5103         * sys/fcntl.h: Likewise.
5104         * sys/file.h: Likewise.
5105         * sys/gmon.h: Likewise.
5106         * sys/ioctl.h: Likewise.
5107         * sys/ipc.h: Likewise.
5108         * sys/msg.h: Likewise.
5109         * sys/poll.h: Likewise.
5110         * sys/queue.h: Likewise.
5111         * sys/resource.h: Likewise.
5112         * sys/select.h: Likewise.
5113         * sys/sem.h: Likewise.
5114         * sys/shm.h: Likewise.
5115         * sys/signal.h: Likewise.
5116         * sys/socket.h: Likewise.
5117         * sys/stat.h: Likewise.
5118         * sys/statfs.h: Likewise.
5119         * sys/syslog.h: Likewise.
5120         * sys/termios.h: Likewise.
5121         * sys/time.h: Likewise.
5122         * sys/timeb.h: Likewise.
5123         * sys/times.h: Likewise.
5124         * sys/types.h: Likewise.
5125         * sys/uio.h: Likewise.
5126         * sys/un.h: Likewise.
5127         * sys/unistd.h: Likewise.
5128         * sys/utsname.h: Likewise.
5129         * sys/vlimit.h: Likewise.
5130         * sys/vtimes.h: Likewise.
5131         * sys/wait.h: Likewise.
5132         * syscall.h: Likewise.
5133         * syslog.h: Likewise.
5134         * tar.h: Likewise.
5135         * termios.h: Likewise.
5136         * time.h: Likewise.
5137         * ttyent.h: Likewise.
5138         * unistd.h: Likewise.
5139         * utime.h: Likewise.
5140         * utmp.h: Likewise.
5141         * values.h: Likewise.
5142         * wchar.h: Likewise.
5143         * wctype.h: Likewise.
5144         * wordexp.h: Likewise.
5145         * xlocale.h: Likewise.
5146         * xopen_lim.h: Likewise.
5148         * sysdeps/mach/libc-lock.h: Likewise.
5149         * sysdeps/stub/libc-lock.h: Likewise.
5150         * sysdeps/mach/hurd/local_lim.h: Likewise.
5151         * sysdeps/stub/local_lim.h: Likewise.
5152         * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
5153         * sysdeps/unix/sysv/local_lim.h: Likewise.
5154         * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
5155         * sysdeps/mach/hurd/posix_opt.h: Likewise.
5156         * sysdeps/stub/posix_opt.h: Likewise.
5157         * sysdeps/unix/bsd/posix_opt.h: Likewise.
5158         * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
5159         * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
5160         * math/cmathcalls.h: -> bits/
5161         * math/mathcalls.h: Likewise.
5162         * misc/stab.def: -> bits/
5163         * posix/posix1_lim.h: -> bits/
5164         * posix/posix2_lim.h: Likewise.
5165         * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
5166         * sysdeps/i386/fpu/__math.h: Likewise.
5167         * sysdeps/m68k/fpu/__math.h: Likewise.
5168         * sysdeps/m68k/fpu/switch/__math.h: Likewise.
5169         * sysdeps/powerpc/__math.h: Likewise.
5170         * sysdeps/stub/__math.h: Likewise.
5171         * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
5172         * sysdeps/arm/bytesex.h: Likewise.
5173         * sysdeps/i386/bytesex.h: Likewise.
5174         * sysdeps/m68k/bytesex.h: Likewise.
5175         * sysdeps/mips/bytesex.h: Likewise.
5176         * sysdeps/mips/dec/bytesex.h: Likewise.
5177         * sysdeps/mips/mipsel/bytesex.h: Likewise.
5178         * sysdeps/mips/p40/bytesex.h: Likewise.
5179         * sysdeps/sparc/bytesex.h: Likewise.
5180         * sysdeps/stub/bytesex.h: Likewise.
5181         * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
5182         * sysdeps/i386/fpu/fenvbits.h: Likewise.
5183         * sysdeps/m68k/fpu/fenvbits.h: Likewise.
5184         * sysdeps/powerpc/fenvbits.h: Likewise.
5185         * sysdeps/stub/fenvbits.h: Likewise.
5186         * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
5187         * sysdeps/arm/jmp_buf.h: Likewise.
5188         * sysdeps/i386/jmp_buf.h: Likewise.
5189         * sysdeps/m68k/jmp_buf.h: Likewise.
5190         * sysdeps/mips/jmp_buf.h: Likewise.
5191         * sysdeps/sparc/jmp_buf.h: Likewise.
5192         * sysdeps/powerpc/jmp_buf.h: Likewise.
5193         * sysdeps/stub/jmp_buf.h: Likewise.
5194         * sysdeps/vax/jmp_buf.h: Likewise.
5195         * sysdeps/generic/confname.h: -> bits/
5196         * sysdeps/unix/sysv/irix4/confname.h: Likewise.
5197         * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
5198         * sysdeps/generic/gnu/types.h: -> ../bits/types.h
5199         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
5200         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
5201         * sysdeps/generic/ioctl-types.h: -> bits/
5202         * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
5203         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
5204         * sysdeps/generic/iovec.h: -> .../bits/uio.h
5205         * sysdeps/unix/sysv/linux/iovec.h: Likewise.
5206         * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
5207         * sysdeps/i386/fpu/mathbits.h: Likewise.
5208         * sysdeps/m68k/fpu/mathbits.h: Likewise.
5209         * sysdeps/powerpc/mathbits.h: Likewise.
5210         * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
5211         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
5212         * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
5213         * sysdeps/generic/schedbits.h: -> .../bits/sched.h
5214         * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
5215         * sysdeps/generic/selectbits.h: -> .../bits/select.h
5216         * sysdeps/i386/selectbits.h: Likewise.
5217         * sysdeps/generic/sigaction.h: -> bits/
5218         * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
5219         * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
5220         * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
5221         * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
5222         * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
5223         * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
5224         * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
5225         * sysdeps/generic/sigset.h: -> bits/
5226         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
5227         * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
5228         * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
5229         * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
5230         * sysdeps/generic/socketbits.h: -> .../bits/socket.h
5231         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
5232         * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
5233         * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
5234         * sysdeps/generic/termbits.h: -> .../bits/termios.h
5235         * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
5236         * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
5237         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
5238         * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
5239         * sysdeps/unix/sysv/linux/termbits.h: Likewise.
5240         * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
5241         * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
5242         * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
5243         * sysdeps/gnu/utmpbits.h: Likewise.
5244         * sysdeps/unix/sysv/utmpbits.h: Likewise.
5245         * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
5246         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
5247         * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
5248         * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
5249         * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
5250         * sysdeps/unix/sysv/utsnamelen.h: Likewise.
5251         * sysdeps/generic/waitstatus.h: -> bits/
5252         * sysdeps/i386/huge_val.h: -> bits/
5253         * sysdeps/ieee754/huge_val.h: Likewise.
5254         * sysdeps/m68k/huge_val.h: Likewise.
5255         * sysdeps/stub/huge_val.h: Likewise.
5256         * sysdeps/vax/huge_val.h: Likewise.
5257         * sysdeps/ieee754/nan.h: Likewise.
5258         * sysdeps/stub/nan.h: Likewise.
5259         * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
5260         * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
5261         * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
5262         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
5263         * sysdeps/stub/sigcontext.h: Likewise.
5264         * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
5265         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
5266         * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
5267         * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
5268         * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
5269         * sysdeps/standalone/arm/errnos.h: Likewise.
5270         * sysdeps/stub/errnos.h: Likewise.
5271         * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
5272         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
5273         * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
5274         * sysdeps/stub/fcntlbits.h: Likewise.
5275         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
5276         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
5277         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
5278         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
5279         * sysdeps/unix/common/fcntlbits.h: Likewise.
5280         * sysdeps/unix/sysv/fcntlbits.h: Likewise.
5281         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
5282         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
5283         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
5284         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
5285         * sysdeps/mach/hurd/ioctls.h: -> bits/
5286         * sysdeps/stub/ioctls.h: Likewise.
5287         * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
5288         * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
5289         * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
5290         * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
5291         * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
5292         * sysdeps/stub/statbuf.h: Likewise.
5293         * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
5294         * sysdeps/unix/bsd/statbuf.h: Likewise.
5295         * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
5296         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
5297         * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
5298         * sysdeps/unix/sysv/statbuf.h: Likewise.
5299         * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
5300         * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
5301         * sysdeps/standalone/stdio_lim.h: -> bits/
5302         * sysdeps/stub/stdio_lim.h: Likewise.
5303         * sysdeps/stub/direntry.h: -> ../bits/dirent.h
5304         * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
5305         * sysdeps/unix/bsd/direntry.h: Likewise.
5306         * sysdeps/unix/common/direntry.h: Likewise.
5307         * sysdeps/unix/sysv/direntry.h: Likewise.
5308         * sysdeps/unix/sysv/linux/direntry.h: Likewise.
5309         * sysdeps/stub/elfclass.h: -> bits/
5310         * sysdeps/wordsize-32/elfclass.h: Likewise.
5311         * sysdeps/wordsize-64/elfclass.h: Likewise.
5312         * sysdeps/stub/signum.h: -> bits/
5313         * sysdeps/unix/bsd/signum.h: Likewise.
5314         * sysdeps/unix/bsd/sun/signum.h: Likewise.
5315         * sysdeps/unix/sysv/irix4/signum.h: Likewise.
5316         * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
5317         * sysdeps/unix/sysv/linux/signum.h: Likewise.
5318         * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
5319         * sysdeps/unix/sysv/signum.h: Likewise.
5320         * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
5321         * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
5322         * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
5323         * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
5324         * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
5325         * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
5326         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
5327         * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
5328         * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
5329         * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
5330         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
5331         * sysdeps/stub/timebits.h: -> .../bits/time.h
5332         * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
5333         * sysdeps/unix/sysv/linux/timebits.h: Likewise.
5334         * sysdeps/stub/waitflags.h: -> bits/
5335         * sysdeps/unix/bsd/waitflags.h: Likewise.
5336         * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
5337         * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
5338         * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
5339         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
5340         * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
5341         * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
5343         * argp/argp-fmtstream.h: Standardize the multiple-include protect.
5344         * argp/argp.h: Likewise.
5345         * catgets/nl_types.h: Likewise.
5346         * crypt/sysdeps/unix/crypt.h: Likewise.
5347         * ctype/ctype.h: Likewise.
5348         * db/db.h: Likewise.
5349         * db/mpool.h: Likewise.
5350         * db/ndbm.h: Likewise.
5351         * dirent/dirent.h: Likewise.
5352         * elf/dlfcn.h: Likewise.
5353         * elf/elf.h: Likewise.
5354         * elf/link.h: Likewise.
5355         * gmon/sys/gmon.h: Likewise.
5356         * gmon/sys/gmon_out.h: Likewise.
5357         * grp/grp.h: Likewise.
5358         * inet/aliases.h: Likewise.
5359         * inet/arpa/ftp.h: Likewise.
5360         * inet/arpa/inet.h: Likewise.
5361         * inet/arpa/telnet.h: Likewise.
5362         * inet/arpa/tftp.h: Likewise.
5363         * inet/netinet/ether.h: Likewise.
5364         * inet/netinet/icmp6.h: Likewise.
5365         * inet/netinet/in.h: Likewise.
5366         * inet/netinet/ip6.h: Likewise.
5367         * inet/protocols/routed.h: Likewise.
5368         * inet/protocols/rwhod.h: Likewise.
5369         * inet/protocols/talkd.h: Likewise.
5370         * inet/protocols/timed.h: Likewise.
5371         * intl/libintl.h: Likewise.
5372         * io/fcntl.h: Likewise.
5373         * io/fts.h: Likewise.
5374         * io/ftw.h: Likewise.
5375         * io/sys/poll.h: Likewise.
5376         * io/sys/stat.h: Likewise.
5377         * io/sys/statfs.h: Likewise.
5378         * io/utime.h: Likewise.
5379         * locale/locale.h: Likewise.
5380         * login/pty.h: Likewise.
5381         * login/utmp.h: Likewise.
5382         * malloc/malloc.h: Likewise.
5383         * malloc/obstack.h: Likewise.
5384         * math/complex.h: Likewise.
5385         * math/fenv.h: Likewise.
5386         * math/math.h: Likewise.
5387         * md5-crypt/md5.h: Likewise.
5388         * misc/ar.h: Likewise.
5389         * misc/err.h: Likewise.
5390         * misc/error.h: Likewise.
5391         * misc/fstab.h: Likewise.
5392         * misc/libgen.h: Likewise.
5393         * misc/nlist.h: Likewise.
5394         * misc/sys/cdefs.h: Likewise.
5395         * misc/sys/file.h: Likewise.
5396         * misc/sys/ioctl.h: Likewise.
5397         * misc/sys/queue.h: Likewise.
5398         * misc/sys/select.h: Likewise.
5399         * misc/sys/syslog.h: Likewise.
5400         * misc/sys/uio.h: Likewise.
5401         * misc/sysexits.h: Likewise.
5402         * misc/ttyent.h: Likewise.
5403         * nss/nss.h: Likewise.
5404         * posix/fnmatch.h: Likewise.
5405         * posix/getopt.h: Likewise.
5406         * posix/glob.h: Likewise.
5407         * posix/regex.h: Likewise.
5408         * posix/sys/times.h: Likewise.
5409         * posix/sys/types.h: Likewise.
5410         * posix/sys/utsname.h: Likewise.
5411         * posix/sys/wait.h: Likewise.
5412         * posix/tar.h: Likewise.
5413         * posix/unistd.h: Likewise.
5414         * posix/wordexp.h: Likewise.
5415         * pwd/pwd.h: Likewise.
5416         * resolv/arpa/nameser.h: Likewise.
5417         * resolv/netdb.h: Likewise.
5418         * resolv/resolv.h: Likewise.
5419         * resource/sys/resource.h: Likewise.
5420         * resource/sys/vlimit.h: Likewise.
5421         * resource/sys/vtimes.h: Likewise.
5422         * setjmp/setjmp.h: Likewise.
5423         * shadow/shadow.h: Likewise.
5424         * socket/sys/socket.h: Likewise.
5425         * socket/sys/un.h: Likewise.
5426         * stdlib/exit.h: Likewise.
5427         * stdlib/fmtmsg.h: Likewise.
5428         * stdlib/monetary.h: Likewise.
5429         * stdlib/stdlib.h: Likewise.
5430         * string/argz.h: Likewise.
5431         * string/envz.h: Likewise.
5432         * string/memory.h: Likewise.
5433         * string/string.h: Likewise.
5434         * string/strings.h: Likewise.
5435         * sunrpc/rpc/rpc.h: Likewise.
5436         * sunrpc/rpc/svc.h: Likewise.
5437         * sunrpc/rpc/types.h: Likewise.
5438         * sunrpc/rpc/xdr.h: Likewise.
5439         * termios/sys/ttychars.h: Likewise.
5440         * termios/termios.h: Likewise.
5442         * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
5443         * crypt/sysdeps/unix/crypt_util.c: Likewise.
5444         * dirent/dirent.h: Likewise.
5445         * elf/link.h: Likewise.
5446         * grp/fgetgrent.c: Likewise.
5447         * grp/grp.h: Likewise.
5448         * hurd/hurd/ioctl.h: Likewise.
5449         * inet/getnameinfo.c: Likewise.
5450         * inet/getnetgrent_r.c: Likewise.
5451         * inet/inet_ntoa.c: Likewise.
5452         * inet/netinet/in.h: Likewise.
5453         * io/fcntl.h: Likewise.
5454         * io/ftw.h: Likewise.
5455         * io/sys/stat.h: Likewise.
5456         * io/sys/statfs.h: Likewise.
5457         * io/utime.h: Likewise.
5458         * libio/_G_config.h: Likewise.
5459         * libio/libio.h: Likewise.
5460         * libio/libioP.h: Likewise.
5461         * libio/stdio.h: Likewise.
5462         * locale/duplocale.c: Likewise.
5463         * locale/freelocale.c: Likewise.
5464         * locale/lc-time.c: Likewise.
5465         * locale/setlocale.c: Likewise.
5466         * login/getutent_r.c: Likewise.
5467         * login/getutid_r.c: Likewise.
5468         * login/getutline_r.c: Likewise.
5469         * login/lastlog.h: Likewise.
5470         * login/pty.h: Likewise.
5471         * login/utmp.h: Likewise.
5472         * login/utmpname.c: Likewise.
5473         * malloc/mtrace.c: Likewise.
5474         * malloc/thread-m.h: Likewise.
5475         * math/complex.h: Likewise.
5476         * math/fenv.h: Likewise.
5477         * math/libm-test.c: Likewise.
5478         * math/math.h: Likewise.
5479         * misc/sgtty.h: Likewise.
5480         * misc/stab.h: Likewise.
5481         * misc/sys/ioctl.h: Likewise.
5482         * misc/sys/select.h: Likewise.
5483         * misc/sys/uio.h: Likewise.
5484         * misc/sys/ustat.h: Likewise.
5485         * misc/syslog.c: Likewise.
5486         * nis/nss_compat/compat-grp.c: Likewise.
5487         * nis/nss_compat/compat-pwd.c: Likewise.
5488         * nis/nss_compat/compat-spwd.c: Likewise.
5489         * nis/nss_nis/nis-alias.c: Likewise.
5490         * nis/nss_nis/nis-ethers.c: Likewise.
5491         * nis/nss_nis/nis-grp.c: Likewise.
5492         * nis/nss_nis/nis-hosts.c: Likewise.
5493         * nis/nss_nis/nis-netgrp.c: Likewise.
5494         * nis/nss_nis/nis-network.c: Likewise.
5495         * nis/nss_nis/nis-proto.c: Likewise.
5496         * nis/nss_nis/nis-publickey.c: Likewise.
5497         * nis/nss_nis/nis-pwd.c: Likewise.
5498         * nis/nss_nis/nis-rpc.c: Likewise.
5499         * nis/nss_nis/nis-service.c: Likewise.
5500         * nis/nss_nis/nis-spwd.c: Likewise.
5501         * nss_nisplus/nisplus-alias.c: Likewise.
5502         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5503         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5504         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5505         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
5506         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
5507         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5508         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5509         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5510         * nis/nss_nisplus/nisplus-service.c: Likewise.
5511         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5512         * nis/ypclnt.c: Likewise.
5513         * nss/getXXbyYY.c: Likewise.
5514         * nss/getXXent.c: Likewise.
5515         * nss/getXXent_r.c: Likewise.
5516         * nss/nss_db/db-XXX.c: Likewise.
5517         * nss/nss_db/db-alias.c: Likewise.
5518         * nss/nss_db/db-netgrp.c: Likewise.
5519         * nss/nss_files/files-XXX.c: Likewise.
5520         * nss/nss_files/files-alias.c: Likewise.
5521         * nss/nsswitch.c: Likewise.
5522         * posix/sched.h: Likewise.
5523         * posix/sys/types.h: Likewise.
5524         * posix/sys/utsname.h: Likewise.
5525         * posix/sys/wait.h: Likewise.
5526         * posix/unistd.h: Likewise.
5527         * pwd/fgetpwent.c: Likewise.
5528         * pwd/pwd.h: Likewise.
5529         * resource/sys/resource.h: Likewise.
5530         * setjmp/setjmp.h: Likewise.
5531         * shadow/fgetspent.c: Likewise.
5532         * shadow/lckpwdf.c: Likewise.
5533         * shadow/sgetspent.c: Likewise.
5534         * signal/signal.h: Likewise.
5535         * signal/sigsetops.c: Likewise.
5536         * socket/sys/socket.h: Likewise.
5537         * socket/sys/un.h: Likewise.
5538         * stdio/stdio.h: Likewise.
5539         * stdio-common/vfprintf.c: Likewise.
5540         * stdio-common/vfscanf.c: Likewise.
5541         * stdlib/atexit.c: Likewise.
5542         * stdlib/fmtmsg.c: Likewise.
5543         * stdlib/random.c: Likewise.
5544         * string/endian.h: Likewise.
5545         * sysdeps/alpha/w_sqrt.S: Likewise.
5546         * sysdeps/arm/__longjmp.S: Likewise.
5547         * sysdeps/arm/setjmp.S: Likewise.
5548         * sysdeps/generic/abort.c: Likewise.
5549         * sysdeps/generic/netinet/ip.h: Likewise.
5550         * sysdeps/generic/setenv.c: Likewise.
5551         * generic/sys/mman.h: Likewise.
5552         * sysdeps/i386/__longjmp.S: Likewise.
5553         * sysdeps/i386/setjmp.S: Likewise.
5554         * sysdeps/mach/hurd/dirstream.h: Likewise.
5555         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
5556         * sysdeps/posix/mk-stdiolim.c: Likewise.
5557         * sysdeps/powerpc/__longjmp.S: Likewise.
5558         * sysdeps/powerpc/setjmp.S: Likewise.
5559         * sysdeps/sparc/__longjmp.S: Likewise.
5560         * sysdeps/sparc/setjmp.S: Likewise.
5561         * sysdeps/standalone/close.c: Likewise.
5562         * sysdeps/standalone/filedesc.h: Likewise.
5563         * sysdeps/standalone/open.c: Likewise.
5564         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
5565         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
5566         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
5567         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
5568         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
5569         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
5570         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
5571         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
5572         * sysdeps/unix/dirstream.h: Likewise.
5573         * sysdeps/unix/i386/sysdep.S: Likewise.
5574         * sysdeps/unix/mips/sysdep.S: Likewise.
5575         * sysdeps/unix/mk-local_lim.c: Likewise.
5576         * sysdeps/unix/sparc/sysdep.S: Likewise.
5577         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
5578         * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
5579         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5580         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5581         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5582         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5583         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
5584         * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
5585         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
5586         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
5587         * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
5588         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
5589         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
5590         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
5591         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
5592         * sysvipc/sys/ipc.h: Likewise.
5593         * sysvipc/sys/msg.h: Likewise.
5594         * sysvipc/sys/sem.h: Likewise.
5595         * sysvipc/sys/shm.h: Likewise.
5596         * termios/termios.h: Likewise.
5597         * time/localtime.c: Likewise.
5598         * time/sys/time.h: Likewise.
5599         * time/time.h: Likewise.
5600         * time/tzset.c: Likewise.
5602         * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
5603         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5604         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5605         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
5606         * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
5608         * Makefile (headers): foo.h -> bits/foo.h.
5609         * dirent/Makefile: Likewise.
5610         * elf/Makefile: Likewise.
5611         * io/Makefile: Likewise.
5612         * login/Makefile: Likewise.
5613         * math/Makefile: Likewise.
5614         * misc/Makefile: Likewise.
5615         * posix/Makefile: Likewise.
5616         * resource/Makefile: Likewise.
5617         * setjmp/Makefile: Likewise.
5618         * signal/Makefile: Likewise.
5619         * socket/Makefile: Likewise.
5620         * stdio-common/Makefile: Likewise.
5621         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5622         * sysvipc/Makefile: Likewise.
5623         * termios/Makefile: Likewise.
5624         * time/Makefile: Likewise.
5625         * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
5626         * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
5627         * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
5628         ioctls.h, termbits.h.
5630         * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
5631         -> kernel_termios.h, sys/socketcall.h -> socketcall.h
5633         * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
5634         for getting the proper length on the ELF types to be friendly to
5635         non-gcc compilers.
5636         * posix/sys/types.h: Notice when int8_t and friends are defined
5637         and don't redefine them.
5638         * sysdeps/wordsize-32/inttypes.h: Likewise.
5639         * sysdeps/wordsize-64/inttypes.h: Likewise.
5641         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
5642         via <signal.h> instead.
5643         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
5644         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
5646 1997-06-20 17:59  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
5648         * hurd/intr-msg.c: More 64bit changes.
5649         * mach/msg-destroy.c: Likewise.
5650         * sysdeps/mach/hurd/ioctl.c: Likewise.
5651         * sysdeps/mach/hurd/ioctls.h: Likewise.
5652         * sysdeps/mach/hurd/select.c: Likewise.
5653         * sysdeps/mach/hurd/statbuf.h: Likewise.
5655         * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
5656         * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
5657         * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
5658         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
5659         * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
5660         * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
5661         * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
5662         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
5663         * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
5664         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
5665         * sysdeps/mach/mips/cacheflush.c: Likewise.
5666         * sysdeps/mach/mips/machine-lock.h: Likewise.
5667         * sysdeps/mach/mips/machine-sp.h: Likewise.
5668         * sysdeps/mach/mips/syscall.S: Likewise.
5669         * sysdeps/mach/mips/sysdep.h: Likewise.
5670         * sysdeps/mach/mips/thread_state.h: Likewise.
5671         * sysdeps/mach/start.c: Likewise.
5673         * sysdeps/mips/dl-machine.h: MIPS changes.
5674         * sysdeps/mips/elf/start.S: Likewise.
5675         * sysdeps/mips/init-first.c: Likewise.
5676         * sysdeps/mips/fpu_control.h: Likewise.
5677         * sysdeps/mips/machine-gmon.h: Likewise.
5678         * sysdeps/mips/jmp_buf.h: Likewise.
5679         * sysdeps/mips/__longjmp.c: Likewise.
5680         * sysdeps/mips/bsd-_setjmp.S: Likewise.
5681         * sysdeps/mips/bsd-setjmp.S: Likewise.
5682         * sysdeps/mips/setjmp.S: Likewise.
5683         * sysdeps/mips/setjmp_aux.c: Likewise.
5684         * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
5685         * sysdeps/mips/add_n.S: New file.
5686         * sysdeps/mips/addmul_1.S: Likewise.
5687         * sysdeps/mips/lshift.S: Likewise.
5688         * sysdeps/mips/mul_1.S: Likewise.
5689         * sysdeps/mips/rshift.S: Likewise.
5690         * sysdeps/mips/sub_n.S: Likewise.
5691         * sysdeps/mips/submul_1.S: Likewise.
5692         * sysdeps/mips/mips64/Implies: Likewise.
5693         * sysdeps/mips/mips64/add_n.S: Likewise.
5694         * sysdeps/mips/mips64/addmul_1.S: Likewise.
5695         * sysdeps/mips/mips64/lshift.S: Likewise.
5696         * sysdeps/mips/mips64/mul_1.S: Likewise.
5697         * sysdeps/mips/mips64/rshift.S: Likewise.
5698         * sysdeps/mips/mips64/sub_n.S: Likewise.
5699         * sysdeps/mips/mips64/submul_1.S: Likewise.
5700         * sysdeps/mips/add_n.S: Removed.
5701         * sysdeps/mips/addmul_1.S: Likewise.
5702         * sysdeps/mips/lshift.S: Likewise.
5703         * sysdeps/mips/mul_1.S: Likewise.
5704         * sysdeps/mips/rshift.S: Likewise.
5705         * sysdeps/mips/sub_n.S: Likewise.
5706         * sysdeps/mips/submul_1.S: Likewise.
5708         * nss/Makefile: Prepare for static NSS.
5709         * resolv/Makefile: Likewise.
5710         * nss/nsswitch.c: Add code for static NSS.
5711         * nss/function.def: Define functions for static NSS.
5713 1997-06-19 11:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5715         * libc.map: Add yet more symbols.
5717 1997-06-19 20:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5719         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
5720         as object name to _dl_signal_error.
5721         (do_lookup): Skip objects that could not be opened.
5723         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
5724         symbol was found.
5725         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5726         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
5728 1997-06-20 03:13  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
5730         * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
5731         assumed.
5732         * ctype/ctype.h: Likewise.
5733         * math/math_private.h: Likewise.
5734         * inet/netinet/in.h: Likewise.
5735         * wctype/wctype.h: Likewise.
5737         * nss/Makefile: Only inhibit nss_files and nss_db modules if static
5738         NSS modules are not enabled.
5739         * resolv/Makefile: Likewise for nss_dns.
5740         * nss/function.def: New file.  List all available lookup functions
5741         for static NSS.
5742         * nss/nsswitch.c: Add code for static NSS.
5744 1997-06-15 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5746         * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
5747         behaviour.
5749 1997-06-15 20:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5751         * math/libm.map: Add all necessary functions, correct existing entries.
5753 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
5755         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
5757 1997-06-19 18:43  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5759         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
5760         Compare pointer with NULL.
5762         * login/logout.c (logout): Compare pututline result with NULL.
5764 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
5766         * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
5768         * elf/dl-minimal.c (__dcgettext): Remove assertion.
5770         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
5772         * manual/Makefile (distribute): Add dir.
5773         * manual/dir: New file.
5775         * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
5776         s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
5777         and s_llround respectively.
5778         (libm-calls): Add e_gamma_r.
5779         * math/libm-test.c (check_int_exc): New function.
5780         (signbit_test): Remove test for sign of NaN.
5781         (gamma_test): Clear exception after test of existence.
5782         Correct tests and and epsilons.
5783         (lgamma_test): Likewise.
5784         (ilogb_test): Correct all tests.
5785         (scalb_test): Rewrite.
5786         (rinttol_test): Rename to lrint_test and correct tests.
5787         (rinttoll_test): Likewise.
5788         (roundtol_test): Likewise.
5789         (roundtoll_test): Likewise.
5790         (main): Call lrint/lround functions instead of rinttol/roundtol.
5791         * math/math.h: Change prototypes for rinttol/roundtol.
5792         * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
5793         * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
5794         * sysdeps/i386/mathbits.h: Likewise.
5795         * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
5796         * sysdeps/libm-i387/e_scalbf.S: Likewise.
5797         * sysdeps/libm-i387/e_scalbl.S: Likewise.
5798         * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
5799         * sysdeps/libm-i387/s_asinhf.S: Likewise.
5800         * sysdeps/libm-i387/s_asinhl.S: Likewise.
5801         * sysdeps/libm-i387/s_ilogb.S: Optimize.
5802         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
5803         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
5804         * sysdeps/libm-i387/s_rinttol.S: Rename to...
5805         * sysdeps/libm-i387/s_lrint.S: ...this.
5806         * sysdeps/libm-i387/s_rinttoll.S: Rename to...
5807         * sysdeps/libm-i387/s_llrint.S: ...this.
5808         * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
5809         * sysdeps/libm-i387/s_remquof.S: Likewise.
5810         * sysdeps/libm-i387/s_remquol.S: Likewise.
5811         * sysdeps/libm-i387/e_gamma_r.c: New file.  Implementation of gamma
5812         function according to ISO C.
5813         * sysdeps/libm-i387/e_gammaf_r.c: New file.
5814         * sysdeps/libm-i387/e_gammal_r.c: New file.
5815         * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
5816         generation of exceptions away.
5817         * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
5818         * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
5819         points of gamma function when not SVID mode.
5820         * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
5821         * sysdeps/libm-i387/s_llrint.c: ...this.
5822         * sysdeps/libm-i387/s_rinttol.c: Renamed to...
5823         * sysdeps/libm-i387/s_lrint.c: ...this.
5824         * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
5825         * sysdeps/libm-i387/s_llround.c: ...this.
5826         * sysdeps/libm-i387/s_roundtol.c: Renamed to...
5827         * sysdeps/libm-i387/s_lround.c: ..this.
5828         * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
5829         ISO C.
5830         * sysdeps/libm-i387/s_scalbnf.c: Likewise.
5831         * sysdeps/libm-i387/s_scalbnl.c: Likewise.
5832         * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
5833         mode is not _SVID_.
5834         * sysdeps/libm-i387/w_gammaf.c: Likewise.
5835         * sysdeps/libm-i387/w_gammal.c: Likewise.
5836         * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
5837         rinttol to lrint.
5838         * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
5839         * sysdeps/m68k/fpu/s_lrint.c: ...this.
5840         * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
5841         * sysdeps/m68k/fpu/s_llrint.c: ...this.
5843         * md5-crypt/Makefile: Link md5test program with md5.o.
5845         * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
5846         is not exported by the libc.so.
5848         * stdio-common/vfscanf.c: Correct scanning of strings after last
5849         change.
5851         * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
5853 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
5855         * time/tzfile.c (__tzfile_read): Store getc () return in int.
5857 1997-06-13  Miles Bader  <miles@gnu.ai.mit.edu>
5859         * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
5860         the no-version error text to indicate that something's fucked.
5861         [!_] (N_): New macro.
5862         (argp_default_options, argp_version_options): Wrap doc strings in N_().
5864 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
5866         * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
5867         options here.
5868         (parser_parse_arg): Handle ARGP_KEY_ARGS here.
5869         Adjust NEXT pointer back if we fail to parse anything.
5870         (parser_parse_next): Simplify arg code.  Leave state NEXT frobbing
5871         to parser_parse_arg.
5873 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
5875         * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
5876         * argp/argp-parse.c (parser_finalize): Do another pass over the
5877         parsers with ARGP_KEY_FINI.
5879 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
5881         * string/Makefile (routines): Add argz-replace.
5883 1997-06-16 00:16  Miles Bader  <miles@gnu.ai.mit.edu>
5885         * manual/string.texi (Argz Functions): Document argz_replace.
5887 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
5889         * string/argz.h (__argz_replace, argz_replace): New declarations.
5890         * string/argz-replace.c: New file.
5892 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
5894         * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
5896 1997-06-16 23:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5898         * Makeconfig (libc-map): Remove definition.
5899         * Makerules (libc-map): Define it here, using the full name.
5900         (load-map-file): Remove case for empty $(..).
5901         ($(common-objpfx)libc.so): Revert last change.
5903 1997-06-17 22:18  Mark Kettenis  <kettenis@phys.uva.nl>
5905         * login/programs/utmpd.c (main): Improve signal handling.
5907         * login/programs/request.c (do_setutent, do_updwtmp):
5908         Allow arbitrary length filenames.
5909         * login/programs/utmpd.h (setutent_request, updwtmp_request):
5910         Get rid of fixed length file field.
5911         * login/utmp_daemon.c (do_setutent, do_updwtmp):
5912         Allow arbitrary length filenames.
5914         * login/programs/request.c (do_pututline):
5915         Don't fail if connection->position is -1 on entry.
5917 1997-06-15 16:32  Mark Kettenis  <kettenis@phys.uva.nl>
5919         * login/utmp_file.c (updwtmp_file): Use the same method for
5920         appending an entry as in pututline_file.
5922 1997-06-11 18:59  Mark Kettenis  <kettenis@phys.uva.nl>
5924         * login/utmp_file.c (getutent_r_file):
5925         Use read lock instead of write lock.
5926         (getutline_r_file, internal_getut_r): Lock utmp file.
5927         (updwtmp_file): Use fcntl to lock file instead of flock.
5929 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5931         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
5932         character read in/put back.
5933         * stdio-common/tstscanf.c: Add test case for this.
5935 1997-06-17 22:17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5937         * libc.map: Add more symbols.
5939 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
5941         * manual/Makefile (install): Make sure `dir' file exists if we use
5942         install-info.
5944 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5946         * manual/Makefile (info): Depend on dir-add.info.
5948 1997-06-17 17:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5950         * elf/ldd.bash.in: Fix spacing in message.
5952 1997-06-17 14:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5954         * elf/do-rel.h (elf_dynamic_do_rel): Always use version
5955         information if available.
5957 1997-06-17 11:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5959         * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
5960         command non-empty to force make to recheck modification time.
5961         ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
5963 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5965         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
5966         * sysdeps/stub/e_acosl.c: Likewise.
5967         * sysdeps/stub/e_asinl.c: Likewise.
5968         * sysdeps/stub/e_atan2l.c: Likewise.
5969         * sysdeps/stub/e_expl.c: Likewise.
5970         * sysdeps/stub/e_fmodl.c: Likewise.
5971         * sysdeps/stub/e_j0l.c: Likewise.
5972         * sysdeps/stub/e_j1l.c: Likewise.
5973         * sysdeps/stub/e_jnl.c: Likewise.
5974         * sysdeps/stub/e_lgammal_r.c: Likewise.
5975         * sysdeps/stub/e_log10l.c: Likewise.
5976         * sysdeps/stub/e_logl.c: Likewise.
5977         * sysdeps/stub/e_powl.c: Likewise.
5978         * sysdeps/stub/e_rem_pio2l.c: Likewise.
5979         * sysdeps/stub/e_sqrtl.c: Likewise.
5980         * sysdeps/stub/k_cosl.c: Likewise.
5981         * sysdeps/stub/k_rem_pio2l.c: Likewise.
5982         * sysdeps/stub/k_sinl.c: Likewise.
5983         * sysdeps/stub/k_tanl.c: Likewise.
5984         * sysdeps/stub/s_atanl.c: Likewise.
5985         * sysdeps/stub/s_erfl.c: Likewise.
5986         * sysdeps/stub/s_exp2.c: Likewise.
5987         * sysdeps/stub/s_exp2f.c: Likewise.
5988         * sysdeps/stub/s_exp2l.c: Likewise.
5989         * sysdeps/stub/s_expm1l.c: Likewise.
5990         * sysdeps/stub/s_log1pl.c: Likewise.
5991         * sysdeps/stub/s_log2l.c: Likewise.
5993 1997-06-18 11:46  Ulrich Drepper  <drepper@cygnus.com>
5995         * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
5996         result as before last change.
5997         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5998         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
6000 1997-06-16 23:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6002         * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
6003         quotient.
6004         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
6005         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
6007         * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
6008         quotient.
6010         * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
6011         function.  Don't use global signgam.
6012         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6013         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
6015         * math/Makefile (libm-calls): Remove w_gamma_r.
6016         * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
6017         * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
6018         * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
6020         * math/libm-test.c (atanh_test): Declare x only if needed.
6021         (signbit_test): Fix typo.
6022         (gamma_test): Check whether function is implemented.  Add
6023         epsilons.
6024         (lgamma_test): Likewise.
6025         (fmod_test): Add epsilons.
6026         (exp2_test): Use right function for existence test.
6028 1997-06-07 09:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6030         * sysdeps/powerpc/Dist: Add fenv_const.c.
6031         * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
6032         * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
6033         syscall.h.
6034         * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
6035         * string/Makefile (distribute): Add tst-svc.expect.
6036         * nis/Makefile (distribute): Add nis_intern.h and Banner.
6037         * elf/Makefile (distribute): Add dl-hash.h.
6038         * Rules (subdir_echo-distinfo): Add headers from $(distribute).
6040         * login/Makefile (others): Add utmpdump.
6041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6042         net/if_slip.h.
6044         * manual/Makefile (dir-add.texi): Also look in indirectly included
6045         files.
6047 1997-06-16 23:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6049         * sysdeps/unix/sysv/linux/configure.in: Remove commands to
6050         generate stdio_lim.h.
6051         * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
6052         * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
6053         stdio_lim.h here.
6054         (common-generated): Add generated files.
6055         (inhibit-stdio_lim): Define.
6056         * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
6057         to generate stdio_lim.h.
6059         * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
6060         dependecy files if no_deps is set.
6061         ($(objpfx)syscall-%.d): Add header file as target to dependency
6062         generation.
6064 1997-06-14 19:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6066         * sysdeps/unix/sysv/linux/arm/Dist: New file.
6068 1997-06-14 17:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6070         * extra-lib.mk (others): Depend on versioned shared library, not
6071         the unversioned one.
6072         * Makerules (build-shlib): Don't make the version link here.
6073         ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
6074         version link.
6076 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
6078         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
6079         01:13:56 1996.
6081 1997-06-16 00:54  Ulrich Drepper  <drepper@cygnus.com>
6083         * libc.map: Add more symbols.
6085         * Makerules (load-map-file): Currectly handle missing map file.
6087 1997-06-15 17:00  Philip Blundell  <Philip.Blundell@pobox.com>
6089         * configure.in: Correct detection of generic uname implementation.
6091 1997-06-15 23:19  Ulrich Drepper  <drepper@cygnus.com>
6093         * math/libm-test.c: Fix typos.  Patch by Andreas Jaeger.
6095         * libc.map: Add __nss_configure_lookup.  Reported by Thorsten Kukuk.
6097 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
6099         * Makeconfig: Define libc-map here.
6100         * Makefile: And remove definition here.
6101         * Makerules (load-map-file): Handle case where map file is in
6102         other directory.
6103         (build-shlib): Likewise.
6105         * libc.map: Add more symbols.
6106         * resolv/libresolv.map: Likewise.
6108         * db/libdb.map: Add __dbopen.  Patch by HJ Lu.
6110         * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
6112         * locale/programs/localedef.c: Add normalize_codeset function.  We
6113         don't want to use the _nl_normalize_codeset functions from libc.
6115         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
6116         * sysdeps/libm-i387/s_asinhf.S: Likewise.
6117         * sysdeps/libm-i387/s_asinhl.S: Likewise.
6118         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
6119         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
6120         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
6122 1997-06-14 12:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6124         * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
6126         * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
6128         * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
6129         _nss_nisplus_gethostbyaddr_r interface.
6131         * nis/libnsl.map: Add all GLOBAL functions.
6133 1997-06-13 18:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6135         * libm-test.c   (main): Call new tests, reorder tests.
6136         (fmod_test): Test function fmod.
6137         (nearbyint_test): Test function nearbyint.
6138         (acos_test): Add more test cases.
6139         (signbit_test): Test macro signbit.
6140         (output_result_bool): Output result if test fails.
6141         (asin_test): Add another test case.
6142         (atan2_test): Add more tests.
6143         (asinh_test): Add more tests.
6144         (atanh_test): Add more tests.
6145         (hypot_test): Add more tests.
6146         (isfinite_test): Test macro isfinite.
6147         (isnormal_test): Test macro isnormal.
6148         (sincos_test): Tests for sincos.
6149         (main): Enable remquo_test since the tests are
6150         correct (according to ANSI/IEEE 754-1985).
6151         (remquo_test): Corrected tests cases and added more tests.
6152         (remainder_test): Tests for remainder.
6153         (check_int): New Function to compare int values.
6154         (check_isnan_exc_ext): New function.
6155         (sqrt_test): Add some extra tests for sqrt.
6156         (erf_test): Tests for erf.
6157         (erfc_test): Tests for erfc.
6158         (gamma_test): Tests for gamma.
6159         (lgamma_test): Tests for lgamma.
6161 1997-06-08 10:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
6163         * sysdeps/unix/sysv/linux/configure.in: Try to generate
6164         stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
6165         * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
6166         stdio_lim.h.
6167         * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
6168         target C preprocessor to extract OPEN_MAX and PATH_MAX.
6170 1997-06-14 17:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6172         * math/libm.map: Add inline functions, global variables.
6174 1997-06-14 00:39  Ulrich Drepper  <drepper@cygnus.com>
6176         * libc.map: Add more libio functions which are used in libio.h.
6178         * login/Makefile (libutil-routines): Move updwtmp to ...
6179         (routines): ...here.
6180         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
6182         * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
6183         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6185 1997-06-13 21:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6187         * nis/nis_add.c (nis_add): Create object name only if not set.
6189         * nis/nis_clone.c: Use calloc instead of malloc to prevent
6190         RPC encode errors.
6192         * nis/nis_modify.c (nis_modify): Create default object entrys if
6193         given are NULL.
6194         * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
6196 1997-06-13 14:17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6199         * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
6200         define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
6201         * sysdeps/i386/submul_1.S: Likewise.
6203 1997-06-13 12:19  Ulrich Drepper  <drepper@cygnus.com>
6205         * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
6206         and LD_VERBOSE are given.
6208         * elf/ldd.sh.in: Add -v|--verbose option.  Add author information
6209         as per Coding Standard.
6210         * elf/ldd.bash.in: Likewise.
6212 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
6214         * Makefile (libc-map): Define before including Makerules.
6215         * Makerules (lib%.so): Depend on $(lib%-map).
6216         (build-shlib): Adapt rule for above change.
6217         (libc.so): Depend on $(libc-map).
6218         * db/Makefile (libcdb-map): New definition.
6219         * elf/Makefile (libdl-map): New definition.
6220         * elf/dl-lookup.c: Don't use relative include path.
6221         (undefined_msg): New variable.  Use single string in all functions.
6222         (do_lookup): Correctly recognize default version.
6223         Return -2 if no version information is available.
6224         Stop processing hash entries when string was found.
6225         Don't bark about missing versioned symbol in file with original
6226         reference if it is a weak symbol.
6227         (_dl_lookup_symbol): Use undefined_msg.
6228         (_dl_lookup_versioned_symbol): Likewise.
6229         Give extra information if no verdef info is available.
6230         * elf/dl-version.c (file_needed): Remove first argument.  We must
6231         seek in the whole search list.
6232         (match_symbol): Correct check for available verdef info.
6233         (_dl_check_map_versions): Correct call of find_needed.
6234         * locale/Makefile (libBrokenLocale-map): New definition.
6235         * login/Makefile (libutil-map): New definition.
6236         * math/Makefile (libm-map): New definition.
6237         * md5-crypt/Makefile (libcrypt-map): New definition.
6238         * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
6239         libnss_nisplus-map): New definition.
6240         * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
6241         * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
6242         * libc.map: New file.
6243         * db/libdb.map: New file.
6244         * elf/libdl.map: New file.
6245         * locale/libBrokenLocale.map: New file.
6246         * login/libutil.map: New file.
6247         * math/libm.map: New file.
6248         * md5-crypt/libcrypt.map: New file.
6249         * nis/libnss_compat.map: New file.
6250         * nis/libnsl.map: New file.
6251         * nis/libnss_nis.map: New file.
6252         * nis/libnss_nisplus.map: New file.
6253         * nss/libnss_files.map: New file.
6254         * nss/libnss_db.map: New file.
6255         * resolv/libnss_dns.map: New file.
6256         * resolv/libresolv.map: New file.
6258         * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
6259         for R_386_NONE entries.
6261         * Makefile (manual/dir-add.info): New rule.
6263         * Makerules: Add vpath definition for .x files.
6265         * Makerules (distinfo): Make sure target directory exists.
6267         * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
6268         since it is used to distinguish filtered strings from unmodifed
6269         strings.
6271         * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
6272         * elf/dl-reloc.c: Fix typo.
6274         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
6275         `unsigned short'.
6277         * manual/Makefile (dir-add.texi): Also emit wrapper text for
6278         info/install-info.
6279         (distribute): Add dir-add.texi and dir-add.info.
6280         (mostlyclean): Add dir-add.info.
6281         (realclean): Add dir-add.texi.
6282         (install): Add entries in `dir' file using install-info.
6284         * manual/libc.texinfo: Add @dircategory and @direntry text.
6285         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
6287         * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
6288         GLOB_NOMAGIC.  Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
6290         * nis/nis_addmember.c: Little optimizations.
6291         * nis/nis_call.c: Likewise.
6292         * nis/nis_creategroup.c: Likewise.
6293         * nis/nis_defaults.c: Likewise.
6294         * nis/nis_destroygroup.c: Likewise.
6295         * nis/nis_ismember.c: Likewise.
6296         * nis/nis_local_names.c: Likewise.
6297         * nis/nis_print_group_entry.c: Likewise.
6298         * nis/nis_verifygroup.c: Likewise.
6300         * posix/unistd.h: Fix comment for getcwd.
6302         * stdlib/Makefile (headers): Remove inttypes.h.  It's a system
6303         dependent header.
6304         * sysdeps/wordsize-32/Dist: New file.
6305         * sysdeps/wordsize-32/Makefile: New file.
6306         * sysdeps/wordsize-64/Dist: New file.
6307         * sysdeps/wordsize-64/Makefile: New file.
6309         * sunrpc/Makefile: Adopt comment for real situation.
6311         * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
6312         * sysdeps/i386/addmul_1.s: Likewise.
6313         * sysdeps/i386/lshist.s: Likewise.
6314         * sysdeps/i386/rshift.s: Likewise.
6315         * sysdeps/i386/sub_n.s: Likewise.
6316         * sysdeps/i386/submul_1.s: Likewise.
6318         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6319         Add .type and .size.
6321 1997-06-12 13:32  Philip Blundell  <Philip.Blundell@pobox.com>
6323         * libc/sysdeps/unix/arm/brk.S: New file.
6324         * libc/sysdeps/unix/arm/sysdep.S: Likewise.
6325         * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
6327 1997-06-11 11:51  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6329         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6330         Check if we have shadow information.
6332 1997-06-08 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6334         * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
6335         malloc, alloc memory for nis_server struct.
6336         * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
6337         the nis_server struct free, too.
6339         * nis/nis_removemember (nis_removemember): Fix for loop.
6341 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
6343         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
6344         cannot rely on M_SQRT2 being defined.
6345         (log1p): Use __M_SQRT2 not M_SQRT2.
6346         * math/math.h (_Mldbl): Define even if M_* constants are not
6347         defined.
6348         Reported by corsepiu@faw.uni-ulm.de.
6350 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
6352         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
6354 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
6356         * misc/regexp.h (compile): Allow use of macro INIT for variable
6357         declaration.  Add documentation for INIT.
6358         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
6360 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
6362         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
6364 1997-06-10 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
6366         * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
6367         for a signed 16-bit value.
6369 1997-06-07 07:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
6371         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6372         (_dl_sysdep_read_whole_file): Deleted.
6374         * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
6375         to FE_ALL_INVALID.
6377         * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
6378         Changed to FE_INVALID_SOFTWARE.
6379         (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
6381         * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
6383 1997-06-07 18:48  H.J. Lu  <hjl@gnu.ai.mit.edu>
6385         * shlib-versions (.*-.*-linux.*): Set libc to 6.
6387 1997-06-08 15:35  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6389         * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
6391         * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
6392         * nis/nis_clone.c: Likewise.
6393         * nis/nis_removemember.c (nis_removemember): Likewise.
6394         * nis/nis_table.c: Likewise.
6396         * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
6397         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6399         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
6400         group == NULL.
6402 1997-06-08 21:21  Mark Kettenis  <kettenis@phys.uva.nl>
6404         * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
6405         login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
6406         `#ifndef _LIBC' fragments.
6408         * login/programs/utmpd.c: Define DEFAULT_USER.
6409         (drop_priviliges): Use it.
6410         (main): Set locale and text domain.
6412         * login/programs/utmpd-private.h: Declare proc_utmp_eq.
6413         * login/programs/database.c (proc_utmp_eq): Removed.
6414         * login/programs/request.c (proc_utmp_eq): Made global.  Only use
6415         ut_id field if valid.
6417         * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
6418         Bader that was lost when adding the daemon backend; Only use ut_id
6419         field if valid.
6421 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6423         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
6424         netinet/icmp.h, add netatalk/at.h.
6425         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
6426         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
6428 1997-06-04 19:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6430         * stdlib/testsort.c (compare): Fix parameter types.
6432 1997-06-04 19:05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6434         * md5-crypt/Makefile (distribute): Fix name of file.
6436 1997-06-04 19:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6438         * login/Makefile (utmpd-routines): Remove utmpd again, which is
6439         already added implicitly through $(others).
6441 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
6443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
6445 1997-06-05 13:25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6447         * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
6449 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
6451         * string/argz-addsep.c: Correct weak alias.
6452         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
6454         * locale/setlocale.c (setlocale): Free variable with locale path
6455         before returning.
6456         (setname): Don't test for _nl_current[category] being NULL before
6457         freeing.
6458         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
6460 1997-06-04 12:41  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6462         * manual/intro.texi (XPG): Correct some typos.
6464 1997-06-04 05:09  Miles Bader  <miles@gnu.ai.mit.edu>
6466         * argp/argp-help.c (_help): Use uparams.usage_indent instead of
6467         the USAGE_INDENT macro.
6469         * manual/summary.awk: Strip trailing commas from node-names.
6471         * manual/.cvsignore: Ignore chapters-incl[12] rather than
6472         chapters-incl.
6474         * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
6475         single line.
6477         * manual/string.texi (Argz Functions, Envz Functions): Add magic
6478         comments for generating summary.texi.
6480 1997-06-02 22:18  Miles Bader  <miles@gnu.ai.mit.edu>
6482         * manual/argp.texi: New file.
6483         * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
6484         manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
6485         * manual/Makefile [chapters] (chapters-incl1): New rule & include.
6486         [chapters-incl1] (chapters-incl2): New rule & include.
6487         (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
6488         * manual/maint.texi (Contributors): Give myself credit.
6490 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
6492         * manual/getopt.texi: New file.
6493         * manual/startup.texi: Mention argp_parse in places that
6494         previously mentioned only getopt.
6495         Include getopt.texi (now containing all the getopt nodes that used
6496         to be here) and argp.texi.
6497         (Program Arguments): Move parsing bits into the new Parsing
6498         Program Arguments node.
6499         (Parsing Program Arguments): New node.
6500         (Parsing Options, Example of Getopt, Long Options, Long Option
6501         Example): Nodes removed.
6502         * manual/libc.texinfo (Program Arguments): Menu updated.
6503         (Parsing Program Arguments): New menu.
6505 1997-06-04 20:57  Ulrich Drepper  <drepper@cygnus.com>
6507         * manual/string.texi: Add comments to discourage use of index and
6508         rindex.
6509         (strtok, strsep): Apply function on copy of the strings in example.
6510         (l64a): Add example.
6512         * posix/unistd.h: Correct value for _POSIX_VERSION.
6514         * sunrpc/Makefile (defines): Remove definition.
6516         * sysdeps/ieee754/nan.h: Correct typo.
6518 1997-06-04 10:50  Fila Kolodny  <fila@ibi.com>
6520         * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
6522         * login/utmp_daemon.c: Correct location of utmpd.h.
6524 1997-06-03 19:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6526         * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
6527         $(objpfx)distinfo.
6528         * rpm/Makefile (distinfo): Adapted.
6530 1997-06-03 18:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6532         * rpm/Makefile (install-slib): Collect shared libraries here
6533         instead of in install-lib, including libc.
6534         (instvars): Add slib.
6536 1997-06-03 18:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6538         * login/Makefile (libutil-routines): Add updwtmp.
6540 1997-06-03 16:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6542         * monetary.h: New file, needed for localedata/tst-fmon.c.
6544 1997-06-02 20:31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6546         * math/libm-test.c (cpow_test): Add epsilon for long double in
6547         test for 2^10.
6548         (identities): Add epsilon for float in second identity test.
6550         * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
6551         DI and SI mode integers instead of bytes.  Fix value of HUGE_VALL.
6553         * sysdeps/m68k/nan.h: New file.
6555         * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
6556         islessequal, islessgreater, isunordered): Fix assembler syntax.
6558         * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
6559         optimize out the operations.
6561         * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
6562         constant.
6563         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
6564         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
6566         * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
6567         function.
6568         * sysdeps/libm-ieee754/s_erf.c: Likewise.
6569         * sysdeps/libm-ieee754/s_fdim.c: Likewise.
6570         * sysdeps/libm-ieee754/s_fmax.c: Likewise.
6571         * sysdeps/libm-ieee754/s_fmin.c: Likewise.
6572         * sysdeps/libm-ieee754/s_log2.c: Likewise.
6573         * sysdeps/libm-ieee754/s_nan.c: Likewise.
6574         * sysdeps/libm-ieee754/s_remquo.c: Likewise.
6576 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
6578         * elf/dl-support.c: Define and initialize _dl_verbose used in
6579         dl-machine.h.
6581         * io/ftw.c: Expand stat/lstat calls.
6583         * manual/intro.texi: Also refer to ISO 9945.
6584         Update info about SVID.
6585         Add description for XPG.
6587         * md5-crypt/md5-crypt.c: Namespace cleanups.
6588         * md5-crypt/md5.c: Likewise.
6589         * md5-crypt/md5.h: Likewise.
6590         * sysdeps/generic/crypt-entry.c: Likewise.
6592         * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
6594         * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
6595         defined.
6597         * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
6598         * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
6600         * time/Makefile: Make tzselect depend on config.make.
6602 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
6604         * manual/string.texi (String and Array Utilities): Add `Argz and
6605         Envz Vectors' to the menu.
6606         (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
6608 1997-05-31 20:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6610         * login/Makefile (utmpd-routines): Add utmpd.
6611         (extra-objs): Add utmpd objects to get dependencies.
6612         (distribute): Add sources for utmpd.
6613         (subdir-dirs): Define.
6615 1997-06-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
6617         * sysdeps/wordsize-32/inttypes.h: Include features.h and use
6618         __CONCAT instead of defined __CONCAT__ ourself.
6619         * sysdeps/wordsize-64/inttypes.h: Likewise.
6621 1997-06-01 19:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6623         * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
6624         (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
6625         SCNoFAST, SCNxFAST): Correct format specifiers.
6627 1997-06-02 04:23  Ulrich Drepper  <drepper@cygnus.com>
6629         * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
6631 1997-06-01 19:17  Ulrich Drepper  <drepper@cygnus.com>
6633         * md5-crypt/Makefile: Correct libmd5crypt file to really generate
6634         DES free libcrypt.
6635         * md5-crypt/onlymd5-entry.c: New file.  Wrapper around
6636         sysdeps/generic/crypt-entry.c.
6638 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
6640         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
6641         type to `unsigned long int'.
6642         Patch by Richard Henderson <richard@twiddle.rth.home>.
6644 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6646         * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
6647         declaration style.
6649         * nss/nss_files/files-hosts.c: Delete inclusion of
6650         "../resolv/mapv4v6hostent.h".
6652 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
6654         * io/ftwtest-sh: More tests.
6656         * misc/tsearch.c: Rewrite tdestroy_recursive.
6658         * libio/libio.h: Define bits for libg++-2.8.
6660 1997-05-30 22:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6662         * nis/nss_nis/nis-hosts.c: Same changes as in
6663         nss/nss_files/files-hosts.c (Always use inet_pton).
6664         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6666 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
6668         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
6669         plan on doing so ever again.  Don't say alpha-linuxecoff is known
6670         to work.
6672         * elf/dl-lookup.c: Include <alloca.h>.
6673         * misc/tsearch.c: Include <string.h>.
6674         * posix/execle.c: Include <alloca.h>.
6675         * posix/execlp.c: Likewise.
6676         * stdio-common/printf_fphex.c: Include <string.h>.
6677         * sunrpc/xdr.c: Include <string.h>.
6678         * sysdeps/generic/memccpy.c: Include only <string.h>.
6680         * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
6681         parameters to network functions.
6682         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6683         * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
6684         (rendezvous_request): Likewise.
6685         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6686         (svcudp_recv): Similar, but go through a local variable.  The old code
6687         used &xprt->xp_addrlen.  Someone should determine if the type of the
6688         structure member should be changed instead.
6689         * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
6690         and transform a nonsense for-loop to a closed form calculation.
6691         (fill_input_buf): Another ptr->int warning.
6693         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
6694         will last until I figure out how to build a parallel libm_ieee.
6696         * sysdeps/alpha/fpu/fclrexcpt.c,
6697         * sysdeps/alpha/fpu/fegetenv.c,
6698         * sysdeps/alpha/fpu/fegetround.c,
6699         * sysdeps/alpha/fpu/feholdexcpt.c,
6700         * sysdeps/alpha/fpu/fenvbits.h,
6701         * sysdeps/alpha/fpu/fesetenv.c,
6702         * sysdeps/alpha/fpu/fesetround.c,
6703         * sysdeps/alpha/fpu/feupdateenv.c,
6704         * sysdeps/alpha/fpu/fgetexcptflg.c,
6705         * sysdeps/alpha/fpu/fraiseexcpt.c,
6706         * sysdeps/alpha/fpu/fsetexcptflg.c,
6707         * sysdeps/alpha/fpu/ftestexcept.c: New files.  There is, btw, a small
6708         kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
6709         this to work properly.
6711         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
6712         FP mode to round to nearest, no exceptions as for Intel.
6713         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
6714         (rdfpcr): Use excb rather than trapb.  Be more efficient about
6715         getting at the fpcr.
6716         (wrfpcr): Likewise.
6717         (__setfpucw): Reformat.
6719         * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
6720         a single DI-mode integer instead of bytes.  This produces better code
6721         on Alpha.  Similar for HUGE_VALF.
6722         * sysdeps/ieee754/nan.h: Similar for NAN.  Add NANF and NANL.
6724         * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
6726         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
6727         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
6728         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
6729         sure the stack frame is released the very instruction before the
6730         real jump out.
6731         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
6732         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
6734         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
6735         have gotten from <linux/posix_types.h>.
6737         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
6739 1997-05-30 13:05  Ulrich Drepper  <drepper@cygnus.com>
6741         * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
6742         warnings.
6744 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6746         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
6747         correct value for _POSIX_VDISABLE.
6749 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6751         * Makefile (manual/dir-add.texi): Force execution.
6753 1997-05-29 13:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6755         * sysexits.h: New file.
6757 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6759         * stdlib/strfmon.c: Don't run past EOS after `='.
6761 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
6763         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
6764         * io/ftw.h: Update for new implementation and XPG4.2.
6765         * io/Makefile (test-srcs): Add ftwtest.
6766         (distribute): Add ftwtest-sh.
6767         (tests): Call ftwtest-sh for this goal.
6768         * io/ftwtest-sh: New file.  Sets up test environment, calls test
6769         program and compares the result.
6770         * io/ftwtest.c: Test program for ftw.
6772         * misc/search.h: Add comments.  Declare tdestroy.
6773         * misc/tsearch.c (tdestroy): New function.
6775         * login/Makefile: Update for UTMP daemon implementation.
6777         Update resolver code to bind-4.9.6-T1A.
6778         * resolv/Banner: Update.
6779         * nss/digits_dots.c: Adapt text address matching to T1A.
6780         * nss/nss_files/files-hosts.c: Always use inet_pton.
6781         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
6782         it would lead to warnings.
6783         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
6784         at several places.
6785         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
6786         * resolv/res_comp.c (dn_expand): Check for overflow.
6787         (dn_comp): Likewise.
6788         * resolv/res_debug.c (precsize_aton): Better implementation.
6789         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
6790         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
6791         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
6792         length at several places.
6794 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
6796         * login/utmp-private.h (struct utfuncs): Add one more parameter
6797         to updwtmp function.
6798         Declare all three function jump tables.
6799         * login/utmp.h: Declare __utmpname.
6800         * login/getutent_r.c: Remove db backend and provide support for
6801         utmpd backend.
6802         * login/login.c: Use `updwtmp' function insteead of writing the
6803         record ourself.
6804         * login/logwtmp.c: Move `updwtmp' function to...
6805         * login/updwtmp.c: ...here.  New file.
6806         * login/utmp_db.h: Removed.
6807         * login/utmp_file.c: Add updwtmp function to write to file.
6808         * login/utmp_daemon.c: New file.  Daemon backend.
6809         * login/utmpname.c: New file.  Implementation of utmpname function.
6810         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
6811         * login/utmpd/connection.c: New file.
6812         * login/utmpd/database.c: New file.
6813         * login/utmpd/error.c: New file.
6814         * login/utmpd/request.c: New file.
6815         * login/utmpd/utmpd-private.h: New file.
6816         * login/utmpd/utmpd.c: New file.
6817         * login/utmpd/utmpd.h: New file.
6818         * login/utmpd/xtmp.c: New file.
6819         * login/utmpd/xtmp.h: New file.
6821 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
6823         * time/strftime.c: Correct/normalize indentation in cpp directives.
6825 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
6827         * nis/nis_error.c: Include <string.h> to fix warning.
6828         * nis/nis_print.c: Likewise.
6829         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
6830         is int* not size_t*.
6832 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6834         * math/cmathcalls.h: Correct typo in comment.
6836         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
6838         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
6839         IFNAMSIZ.
6841         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
6842         time_t.
6844         * login/pty.h: Include <ioctl-types.h> for definition of struct
6845         winsize.
6847         * misc/regexp.h (compile): Correct typo.
6849         * argp/argp.h: Put extern before __const in defintion of
6850         argp_program_bug_address.
6852 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
6854         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
6855         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
6856         * sysdeps/wordsize-64/inttypes.h: Likewise.
6857         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6859 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
6861         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
6862         ttydefaults.h file instead of non-existing version in termios/sys.
6863         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6865         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
6866         number to four digits and to representable range for 4 byte time_t
6867         values.
6868         Patch by H.J. Lu <hjl@lucon.org>.
6870 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
6872         * posix/execl.c: Include <alloca.h> to avoid warning.
6874 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6876         * math/libm-test.c: Implement testing of inlined functions, make
6877         output nicer, update comments.
6879         * math/test-idouble.c: New file.  Frontend for double tests of
6880         inlined functions.
6881         * math/test-ildoubl.c: New file.  Frontend for long double tests of
6882         inlined functions.
6883         * math/test-ifloat.c: New file.  Frontend for float tests of
6884         inlined functions.
6886         * math/test-longdouble.c: Rename to...
6887         * math/test-ldouble.c: ...this.
6889         * math/Makefile: Add rules for new test programs, change rules for
6890         renaming of longdouble test.
6892 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
6894         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
6895         (svc_register): Use __dispatch_fn_t in prototype.
6897 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
6899         * sysdeps/generic/bzero.c (bzero): Fix typo.
6900         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
6902 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6904         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
6906         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
6908         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
6910         * signal/tst-signal.c (handler): Correct function declaration to
6911         avoid warning.
6912         * stdlib/testsort.c (compare): Likewise.
6913         * string/tester.c: Likewise.
6915 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
6917         * argp/argp-help.c (argp_args_usage): Supply correct argp to
6918         filter_doc.
6920 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6922         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
6923         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
6924         with libm.
6926 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6928         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
6929         instead of explicit comparisons.
6931 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6933         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
6934         place in a generic header and is no user include file.
6936 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
6938         * stdio/obstream.c (obstack_printf): Fix bug in
6939         de-ansidecl-fication.
6940         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6942 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
6944         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
6945         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
6946         environments in which linking is not possible at configure time
6947         (since te libc is just build).
6948         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
6950         * time/scheck.c (scheck): Make 2nd parameter const.
6951         * time/private.h: Likewise.
6953 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
6955         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
6956         state array only at right place.
6957         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
6959         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
6960         [0.5,1.0) but really in [0.0, 1.0).
6961         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
6963 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
6965         * shlib-versions: Provide Linux/SPARC defaults.
6967 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
6969         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
6970         * stdlib/strtof_l.c: Likewise.
6971         * stdlib/strtol_l.c: Likewise.
6972         * stdlib/strtold_l.c: Likewise.
6973         * stdlib/strtoll_l.c: Likewise.
6974         * stdlib/strtoul_l.c: Likewise.
6975         * stdlib/strtoull_l.c: Likewise.
6977 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6979         * hurd/dtable.c: De-ansidecl-fy.
6980         * math/test-math.c: Likewise.
6981         * signal/tst-signal.c: Likewise.
6982         * stdio/getc.c: Likewise.
6983         * stdio/obstream.c: Likewise.
6984         * stdio/putc.c: Likewise.
6985         * stdio-common/bug1.c: Likewise.
6986         * stdio-common/bug2.c: Likewise.
6987         * stdio-common/bug6.c: Likewise.
6988         * stdio-common/fscanf.c: Likewise.
6989         * stdlib/testsort.c: Likewise.
6990         * string/tester.c: Likewise.
6991         * sysdeps/am29k/ffs.c: Likewise.
6992         * sysdeps/generic/bb_init_func.c: Likewise.
6993         * sysdeps/generic/bcopy.c: Likewise.
6994         * sysdeps/generic/bzero.c: Likewise.
6995         * sysdeps/generic/div.c: Likewise.
6996         * sysdeps/generic/ffs.c: Likewise.
6997         * sysdeps/generic/memccpy.c: Likewise.
6998         * sysdeps/generic/memcpy.c: Likewise.
6999         * sysdeps/generic/memmove.c: Likewise.
7000         * sysdeps/generic/memset.c: Likewise.
7001         * sysdeps/generic/vfork.c: Likewise.
7002         * sysdeps/generic/vtimes.c: Likewise.
7003         * sysdeps/i386/bzero.c: Likewise.
7004         * sysdeps/i386/ffs.c: Likewise.
7005         * sysdeps/i960/ffs.c: Likewise.
7006         * sysdeps/m68k/ffs.c: Likewise.
7007         * sysdeps/m88k/ffs.c: Likewise.
7008         * sysdeps/mach/hurd/_exit.c: Likewise.
7009         * sysdeps/mach/hurd/accept.c: Likewise.
7010         * sysdeps/mach/hurd/access.c: Likewise.
7011         * sysdeps/mach/hurd/adjtime.c: Likewise.
7012         * sysdeps/mach/hurd/bind.c: Likewise.
7013         * sysdeps/mach/hurd/brk.c: Likewise.
7014         * sysdeps/mach/hurd/chdir.c: Likewise.
7015         * sysdeps/mach/hurd/chflags.c: Likewise.
7016         * sysdeps/mach/hurd/chmod.c: Likewise.
7017         * sysdeps/mach/hurd/chown.c: Likewise.
7018         * sysdeps/mach/hurd/chroot.c: Likewise.
7019         * sysdeps/mach/hurd/close.c: Likewise.
7020         * sysdeps/mach/hurd/connect.c: Likewise.
7021         * sysdeps/mach/hurd/defs.c: Likewise.
7022         * sysdeps/mach/hurd/dup2.c: Likewise.
7023         * sysdeps/mach/hurd/execve.c: Likewise.
7024         * sysdeps/mach/hurd/fchdir.c: Likewise.
7025         * sysdeps/mach/hurd/fchflags.c: Likewise.
7026         * sysdeps/mach/hurd/fchmod.c: Likewise.
7027         * sysdeps/mach/hurd/fchown.c: Likewise.
7028         * sysdeps/mach/hurd/fcntl.c: Likewise.
7029         * sysdeps/mach/hurd/fdopen.c: Likewise.
7030         * sysdeps/mach/hurd/flock.c: Likewise.
7031         * sysdeps/mach/hurd/fsync.c: Likewise.
7032         * sysdeps/mach/hurd/ftruncate.c: Likewise.
7033         * sysdeps/mach/hurd/getdtsz.c: Likewise.
7034         * sysdeps/mach/hurd/getegid.c: Likewise.
7035         * sysdeps/mach/hurd/geteuid.c: Likewise.
7036         * sysdeps/mach/hurd/getgid.c: Likewise.
7037         * sysdeps/mach/hurd/getgroups.c: Likewise.
7038         * sysdeps/mach/hurd/gethostid.c: Likewise.
7039         * sysdeps/mach/hurd/gethostname.c: Likewise.
7040         * sysdeps/mach/hurd/getitimer.c: Likewise.
7041         * sysdeps/mach/hurd/getlogin.c: Likewise.
7042         * sysdeps/mach/hurd/getpeername.c: Likewise.
7043         * sysdeps/mach/hurd/getpgid.c: Likewise.
7044         * sysdeps/mach/hurd/getpid.c: Likewise.
7045         * sysdeps/mach/hurd/getppid.c: Likewise.
7046         * sysdeps/mach/hurd/getsockname.c: Likewise.
7047         * sysdeps/mach/hurd/getsockopt.c: Likewise.
7048         * sysdeps/mach/hurd/getuid.c: Likewise.
7049         * sysdeps/mach/hurd/ioctl.c: Likewise.
7050         * sysdeps/mach/hurd/isatty.c: Likewise.
7051         * sysdeps/mach/hurd/link.c: Likewise.
7052         * sysdeps/mach/hurd/listen.c: Likewise.
7053         * sysdeps/mach/hurd/lseek.c: Likewise.
7054         * sysdeps/mach/hurd/mkdir.c: Likewise.
7055         * sysdeps/mach/hurd/open.c: Likewise.
7056         * sysdeps/mach/hurd/pipe.c: Likewise.
7057         * sysdeps/mach/hurd/read.c: Likewise.
7058         * sysdeps/mach/hurd/readlink.c: Likewise.
7059         * sysdeps/mach/hurd/reboot.c: Likewise.
7060         * sysdeps/mach/hurd/recv.c: Likewise.
7061         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7062         * sysdeps/mach/hurd/rename.c: Likewise.
7063         * sysdeps/mach/hurd/rewinddir.c: Likewise.
7064         * sysdeps/mach/hurd/rmdir.c: Likewise.
7065         * sysdeps/mach/hurd/sbrk.c: Likewise.
7066         * sysdeps/mach/hurd/seekdir.c: Likewise.
7067         * sysdeps/mach/hurd/select.c: Likewise.
7068         * sysdeps/mach/hurd/setegid.c: Likewise.
7069         * sysdeps/mach/hurd/seteuid.c: Likewise.
7070         * sysdeps/mach/hurd/setgid.c: Likewise.
7071         * sysdeps/mach/hurd/setgroups.c: Likewise.
7072         * sysdeps/mach/hurd/sethostid.c: Likewise.
7073         * sysdeps/mach/hurd/sethostname.c: Likewise.
7074         * sysdeps/mach/hurd/setlogin.c: Likewise.
7075         * sysdeps/mach/hurd/setpgid.c: Likewise.
7076         * sysdeps/mach/hurd/setregid.c: Likewise.
7077         * sysdeps/mach/hurd/setreuid.c: Likewise.
7078         * sysdeps/mach/hurd/setrlimit.c: Likewise.
7079         * sysdeps/mach/hurd/setsid.c: Likewise.
7080         * sysdeps/mach/hurd/setsockopt.c: Likewise.
7081         * sysdeps/mach/hurd/settimeofday.c: Likewise.
7082         * sysdeps/mach/hurd/setuid.c: Likewise.
7083         * sysdeps/mach/hurd/shutdown.c: Likewise.
7084         * sysdeps/mach/hurd/sigaction.c: Likewise.
7085         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
7086         * sysdeps/mach/hurd/sigpending.c: Likewise.
7087         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
7088         * sysdeps/mach/hurd/sigstack.c: Likewise.
7089         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
7090         * sysdeps/mach/hurd/socket.c: Likewise.
7091         * sysdeps/mach/hurd/socketpair.c: Likewise.
7092         * sysdeps/mach/hurd/stdio_init.c: Likewise.
7093         * sysdeps/mach/hurd/symlink.c: Likewise.
7094         * sysdeps/mach/hurd/sync.c: Likewise.
7095         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
7096         * sysdeps/mach/hurd/telldir.c: Likewise.
7097         * sysdeps/mach/hurd/truncate.c: Likewise.
7098         * sysdeps/mach/hurd/umask.c: Likewise.
7099         * sysdeps/mach/hurd/unlink.c: Likewise.
7100         * sysdeps/mach/hurd/wait4.c: Likewise.
7101         * sysdeps/mach/hurd/utimes.c: Likewise.
7102         * sysdeps/mach/hurd/write.c: Likewise.
7103         * sysdeps/mach/adjtime.c: Likewise.
7104         * sysdeps/mach/gettimeofday.c: Likewise.
7105         * sysdeps/mach/usleep.c: Likewise.
7106         * sysdeps/mips/__longjmp.c: Likewise.
7107         * sysdeps/posix/clock.c: Likewise.
7108         * sysdeps/posix/ctermid.c: Likewise.
7109         * sysdeps/posix/defs.c: Likewise.
7110         * sysdeps/posix/dup.c: Likewise.
7111         * sysdeps/posix/libc_fatal.c: Likewise.
7112         * sysdeps/posix/stdio_init.c: Likewise.
7113         * sysdeps/rs6000/ffs.c: Likewise.
7114         * sysdeps/sparc/e_sqrt.c: Likewise.
7115         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
7116         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
7117         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
7118         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
7119         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
7120         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
7121         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
7122         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
7123         * sysdeps/standalone/brk.c: Likewise.
7124         * sysdeps/stub/_exit.c: Likewise.
7125         * sysdeps/stub/brdinit.c: Likewise.
7126         * sysdeps/stub/console.c: Likewise.
7127         * sysdeps/stub/defs.c: Likewise.
7128         * sysdeps/stub/errlist.c: Likewise.
7129         * sysdeps/stub/libc_fatal.c: Likewise.
7130         * sysdeps/stub/siglist.c: Likewise.
7131         * sysdeps/stub/stdio_init.c: Likewise.
7132         * sysdeps/stub/strtsupp.c: Likewise.
7133         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
7134         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
7135         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
7136         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
7137         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
7138         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
7139         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
7140         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
7141         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
7142         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7143         * sysdeps/unix/bsd/clock.c: Likewise.
7144         * sysdeps/unix/bsd/gtty.c: Likewise.
7145         * sysdeps/unix/bsd/init-posix.c: Likewise.
7146         * sysdeps/unix/bsd/setgid.c: Likewise.
7147         * sysdeps/unix/bsd/setrgid.c: Likewise.
7148         * sysdeps/unix/bsd/setruid.c: Likewise.
7149         * sysdeps/unix/bsd/setuid.c: Likewise.
7150         * sysdeps/unix/bsd/stty.c: Likewise.
7151         * sysdeps/unix/bsd/telldir.c: Likewise.
7152         * sysdeps/unix/bsd/ualarm.c: Likewise.
7153         * sysdeps/unix/common/glue-ctype.c: Likewise.
7154         * sysdeps/unix/sparc/start.c: Likewise.
7155         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
7156         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
7157         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
7158         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
7159         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
7160         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
7161         * sysdeps/unix/sysv/irix4/start.c: Likewise.
7162         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
7163         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
7164         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
7165         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
7166         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
7167         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
7168         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
7169         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
7170         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
7171         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
7172         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
7173         * sysdeps/unix/sysv/gethostname.c: Likewise.
7174         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7175         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7176         * sysdeps/unix/alarm.c: Likewise.
7177         * sysdeps/unix/make_errlist.c: Likewise.
7178         * sysdeps/unix/rewinddir.c: Likewise.
7179         * sysdeps/unix/seekdir.c: Likewise.
7180         * sysdeps/unix/time.c: Likewise.
7181         * sysdeps/unix/utime.c: Likewise.
7182         * sysdeps/vax/__longjmp.c: Likewise.
7183         * sysdeps/vax/memccpy.c: Likewise.
7184         * time/strftime.c: Likewise.
7186 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
7188         * argp/argp-parse.c (parser_init): For the special case where no
7189         parsing function is supplied for an argp, propagate its input to
7190         its first child, if any.
7192         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
7193         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
7194         Replace references to STATE->argp with STATE->root_argp.
7195         * argp/argp-parse.c (parser_init): Likewise.
7197 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
7199         * manual/main.texi: Clarify situation for other not supported ports.
7200         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7201         We recommend binutils 2.8.
7203 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
7205         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
7207 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
7209         * sysdeps/i386/elf/start.S: Change local label "nofini"
7210         to ".Lnofini".
7212         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
7214 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
7216         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
7218 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
7220         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
7221         * elf/rtld.c (_dl_verbose): New variable, define.
7222         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
7223         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
7224         changed size in copy relocation only if symbol in shared object
7225         is larger or _dl_verbose is nonzero.
7226         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
7227         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
7228         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
7230         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
7231         <...>.
7232         * nis/nss_nis/nis-grp.c: Likewise.
7233         * nis/nss_nis/nis-hosts.c: Likewise.
7234         * nis/nss_nis/nis-network.c: Likewise.
7235         * nis/nss_nis/nis-proto.c: Likewise.
7236         * nis/nss_nis/nis-pwd.c: Likewise.
7237         * nis/nss_nis/nis-rpc.c: Likewise.
7238         * nis/nss_nis/nis-spwd.c: Likewise.
7239         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
7240         * wcsmbs/wcscoll.c: Likewise.
7241         * wcsmbs/wcstod.c: Likewise.
7242         * wcsmbs/wcstof.c: Likewise.
7243         * wcsmbs/wcstol.c: Likewise.
7244         * wcsmbs/wcstold.c: Likewise.
7245         * wcsmbs/wcsxfrm.c: Likewise.
7246         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7248         * time/strftime.c: Implement # flag which changes case of output for
7249         %a, %b, %B, %p, and %Z format.
7250         When printing numbers, the given field width is always respected.
7251         This means that padding happens only up to the given width.
7252         Proposed by Stephen Gildea <gildea@intouchsys.com>.
7254 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
7256         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
7257         values.
7258         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7260 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
7262         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
7263         struct stat) if it exists for this port.
7265 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
7267         * sysdeps/standalone/arm/errnos.h: Add EPERM.
7269 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
7271         * linewrap.h: New file, needed to compile argp without libio.
7273 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7275         * manual/stdio.texi (Formatted Messages): Corrected some typos.
7277 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
7279         * sysdeps/stub/start.c: Fix typo.
7281 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
7283         * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
7285 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
7287         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
7288         strtoull_l, strtof_l, strtod_l, and strtold_l.
7289         * stdlib/stdlib.h: Add prototypes for new functions.
7290         * stdlib/strtod.c: Change for compiling as strtoX_l.
7291         * stdlib/strtol.c: Likewise.
7292         * stdlib/strtof.c: Likewise.
7293         * stdlib/strtold.c: Likewise.
7294         * stdlib/strtod_l.c: New file.
7295         * stdlib/strtof_l.c: New file.
7296         * stdlib/strtold_l.c: New file.
7297         * stdlib/strtol_l.c: New file.
7298         * stdlib/strtoul_l.c: New file.
7299         * stdlib/strtoll_l.c: New file.
7300         * stdlib/strtoull_l.c: New file.
7301         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
7302         * string/string.h: Add prototypes for new functions.
7303         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
7304         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
7305         * sysdeps/generic/strcasecmp_l.c: New file.
7306         * sysdeps/generic/strncase_l.c: New file.
7307         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
7308         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
7309         wcsncase_l.
7310         * wcsmbs/wchar.h: Add prototypes for new functions.
7311         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
7312         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
7313         * wcsmbs/wcscasecmp_l.c: New file.
7314         * wcsmbs/wcsncase_l.c: New file.
7315         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
7316         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
7317         * wcsmcs/wcstod_l.c: New file.
7318         * wcsmcs/wcstof_l.c: New file.
7319         * wcsmcs/wcstold_l.c: New file.
7320         * wcsmcs/wcstol_l.c: New file.
7321         * wcsmcs/wcstoul_l.c: New file.
7322         * wcsmcs/wcstoll_l.c: New file.
7323         * wcsmcs/wcstoull_l.c: New file.
7325         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
7326         $(elf) is defined.  More to come later when other binary formats
7327         are supported.
7328         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
7329         Suggested by Philip Blundell.
7331         * stdlib/Makefile (headers): Add fmtmsg.h.
7332         (routines): Add fmtmsg.
7333         * stdlib/fmtmsg.c: New file.
7334         * stdlib/fmtmsg.h: New file.
7335         * manual/stdio.texi: Add description of fmtmsg and addseverity.
7336         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
7337         documentation.
7339 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
7341         * resolv/res_query.c (res_querydomain): Avoid potential buffer
7342         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
7344 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7346         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
7347         _dl_sysdep_read_whole_file): Moved functions to ...
7348         * elf/dl-misc.c: This new file.
7349         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
7350         * elf/dl-misc.c: ... here.
7351         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
7352         _dl_sysdep_read_whole_file): Delete functions; they now come from
7353         elf/dl-misc.c (dl-support.c had contained identical versions).
7354         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
7355         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
7356         that the regular ones in dl-misc work once we've initialized.
7357         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
7359 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
7361         * inet/Makefile (headers): Add netinet/inbits.h.
7362         * inet/netinet/in.h: New file.
7363         * sysdeps/generic/netinet/inbits.h: Likewise.
7364         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
7365         * sysdeps/generic/netinet/ip6.h: Move to...
7366         * inet/netinet/ip6.h: ... here.
7367         * sysdeps/generic/netinet/icmp6.h: Move to...
7368         * inet/netinet/icmp6.h: ... here.
7369         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
7370         * sysdeps/generic/netinet/in.h: Remove.
7372 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
7374         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
7375         not looking at the new thread-safe .plt, don't be lazy about relocs.
7376         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
7377         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
7378         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
7379         elf_machine_runtime_setup() decide if we can actually be lazy.
7380         * elf/rtld.c (_dl_start): So don't call it.
7381         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7382         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
7383         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7384         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7385         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
7386         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
7387         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
7388         skeleton definition.
7390 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
7392         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
7393         stack by fxtract.
7395 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7397         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
7398         add cast to (xdrproc_t) where necessary to prevent warnings.
7400 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
7402         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
7404 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
7406         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
7407         to size_t to prevent warning.
7408         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
7409         instead of numeric values.
7410         Various cleanups.
7411         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
7412         for xdrmem_putbytes.
7413         * sunrpc/xdr_rec.c: Likewise.
7414         * sunrpc/xdr_stdio.c: Likewise.
7415         * sunrpc/rpc/xdr.h: Likewise.
7417         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
7418         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7419         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7421 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
7423         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
7424         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
7425         * sysdeps/generic/netinet/icmp6.h: Likewise.
7426         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
7427         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
7428         glob.c).
7429         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
7430         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
7431         * sysdeps/stub/accept.c (accept): Make args match prototype.
7432         * sysdeps/stub/bind.c (bind): Likewise.
7433         * sysdeps/stub/connect.c (connect): Likewise.
7434         * sysdeps/stub/getpeername.c (getpeername): Likewise.
7435         * sysdeps/stub/getsockname.c (getsockname): Likewise.
7436         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
7437         * sysdeps/stub/send.c (send): Likewise.
7438         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
7439         * sysdeps/stub/readv.c (readv): Likewise.
7440         * sysdeps/stub/writev.c (writev): Likewise.
7441         * sysdeps/stub/sendto.c (sendto): Likewise.
7442         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
7444 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
7446         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
7447         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
7449 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7451         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
7453         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
7454         functions, include <rpc/xdr.h>.
7456         * string/strverscmp.c: Correct typos in comment.
7458         * sunrpc/rpc/xdr.h: Add more `const'.
7459         * sunrpc/xdr_stdio.c: Likewise.
7460         * sunrpc/xdr_rec.c: Likewise.
7462 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
7464         * elf/Makefile (dl-routines): Add dl-sysdepio.
7465         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
7466         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
7467         _dl_sysdep_error and _dl_sysdep_warning to ...
7468         * sysdeps/generic/dl-sysdepio.c: ...here.
7469         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
7470         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
7471         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
7472         of functions.
7473         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
7475         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
7476         and for Linux ld.so.
7477         * login/Makefile (libutil.so): Likewise.
7478         * math/Makefile (libm.so): Likewise.
7479         * md5-crypt/Makefile (libcrypt.so): Likewise.
7480         * nis/Makefile (libnss_%.so): Likewise.
7481         * resolv/Makefile (libnss_dns.so): Likewise.
7483 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
7485         * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
7486         (argp_args_usage): Add filtering of the args doc string.
7487         (comma): Print cluster headers for the first entry too.
7488         * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
7490 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
7492         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
7493         interface was changed with addition of _obstack_memory_used.
7494         Suggested by Ian Taylor <ian@cygnus.com>.
7496         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
7497         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
7498         Reported by Ian Taylor <ian@cygnus.com>.
7500         * dirent/Makefile (routines): Add versionsort.
7501         * dirent/dirent.h: Add prototype for versionsort.
7502         * dirent/versionsort.c: New file.
7503         * manual/filesys.texi: Add documentation for versionsort.
7504         * manual/string.texi: Add documentation for strverscmp.
7505         * string/Makefile (routines): Add strverscmp.
7506         (tests): Add tst-svc.
7507         * string/string.h: Add prototype for strverscmp.
7508         * string/strverscmp.c: New file.
7509         * string/tst-svc.c: New file.  Test for strverscmp.
7510         * string/tst-svc.input: New file.  Input data for tst-svc.
7511         * string/tst-svc.expect: New file.  Expected out from tst-svc.
7512         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
7514         * math/Makefile (calls): Add s_signbit.
7516         * po/sv.po: Update.
7518         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
7519         * sunrpc/pmap_rmt.c: Likewise.
7521         * string/basename.c: Don't use ISO C definition style.
7522         Include <config.h> if HAVE_CONFIG_H is defined.
7524         * sunrpc/proto.h: Add `const' wherever possible.
7525         * sunrpc/rpc_cout.c: Likewise.
7526         * sunrpc/rpc_svcout.c: Likewise.
7527         * sunrpc/xdr_mem.c: Likewise.
7528         * sunrpc/xdr_rec.c: Likewise.
7529         * sunrpc/xdr_stdio.c: Likewise.
7530         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
7531         * sunrpc/xdr.c: Little code cleanups.
7532         * sunrpc/xdr_float.c: Likewise.
7533         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
7535         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
7537         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
7539         * time/europe: Update from tzdata1997f.
7540         * time/zic.c: Update from tzcode1997e.
7542 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
7544         * sysdeps/sparc/setjmp.S: Flush windows.
7545         Bug found by Richard Henderson.
7547 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7549         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
7551 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
7553         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
7554         atol instead of atoi.
7556 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
7558         * inet/Makefile (routines): Add if_index.
7559         * sysdeps/unix/sysv/linux/if_index.c: New file.
7560         * sysdeps/stub/if_index.c: New file.
7561         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
7562         if_index.c (required by IPv6 basic API).
7563         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
7565 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
7567         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
7568         for new advanced API draft.
7570 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7572         * stdio-common/printf_fp.c: Only use the field width for deciding
7573         on padding when printing special values.
7574         * stdio-common/printf_fphex.c: Likewise.
7576 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
7578         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
7579         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
7581 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7583         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
7584         msg_add_auth was overflowing it.
7586 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
7588         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
7589         when we can't find the symbol.
7591 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
7593         * posix/regex.c: Fix handling of 32-bit Windog environments.
7594         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
7596 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7598         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
7600 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7602         * elf/ldd.bash.in: Remove spurious quote character from version
7603         message.
7605 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7607         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
7608         loop if the file ends in a long line without newline.
7609         * locale/programs/charmap.c (charmap_read): Likewise.
7611 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
7613         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
7614         * sunrpc/rpc/svc_auth.h: Likewise.
7615         * sunrpc/rpc/svc.h: Likewise.
7616         * sunrpc/rpc/rpc_msg.h: Likewise.
7617         * sunrpc/rpc/pmap_rmt.h: Likewise.
7618         * sunrpc/rpc/pmap_clnt.h: Likewise.
7619         * sunrpc/rpc/clnt.h: Likewise.
7620         * sunrpc/rpc/auth_unix.h: Likewise.
7621         * sysdeps/generic/rpc/auth.h: Likewise.
7622         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
7624 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
7626         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
7627         * sysdeps/standalone/arm/errnos.h: New file.
7628         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
7629         * sysdeps/unix/arm/fork.S: New file.
7630         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
7631         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
7632         `streamptr' argument.
7633         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
7634         <stdarg.h> to get va_list defined, return 0 not NULL.
7635         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
7636         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
7637         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
7638         * sysdeps/stub/seekdir.c (seekdir): Likewise.
7639         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
7640         * sysdeps/standalone/dirstream.h: Define struct __dirstream
7641         not DIR; <dirent.h> provides typedef.
7642         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
7643         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
7644         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
7646 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
7648         * sysdeps/powerpc/Dist: New file.
7649         * sysdeps/powerpc/Makefile: New file.
7650         * sysdeps/powerpc/fclrexcpt.c: New file.
7651         * sysdeps/powerpc/fegetenv.c: New file.
7652         * sysdeps/powerpc/fegetround.c: New file.
7653         * sysdeps/powerpc/feholdexcpt.c: New file.
7654         * sysdeps/powerpc/fenvbits.h: New file.
7655         * sysdeps/powerpc/fenv_const.c: New file.
7656         * sysdeps/powerpc/fenv_libc.h: New file.
7657         * sysdeps/powerpc/fesetenv.c: New file.
7658         * sysdeps/powerpc/fesetround.c: New file.
7659         * sysdeps/powerpc/feupdateenv.c: New file.
7660         * sysdeps/powerpc/fgetexcptflg.c: New file.
7661         * sysdeps/powerpc/fraiseexcpt.c: New file.
7662         * sysdeps/powerpc/fsetexcptflg.c: New file.
7663         * sysdeps/powerpc/ftestexcept.c: New file.
7664         * sysdeps/powerpc/mathbits.h: New file.
7666         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
7667         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
7668         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
7670         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
7672         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
7674         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
7675         instead .section ".text".
7677 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
7679         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
7680         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
7681         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
7682         * sysdeps/powerpc/setjmp.S: Likewise.
7684         * sysdeps/unix/sysv/linux/clone.S: Likewise.
7685         * sysdeps/unix/sysv/linux/socket.S: Likewise.
7686         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
7688 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
7690         * sysdeps/powerpc/strchr.s: New file.
7691         * sysdeps/powerpc/strcmp.s: New (ugly) file.
7692         * sysdeps/powerpc/memset.s: New file.
7693         * string/tester.c: Include prototype and _GNU_SOURCE to make
7694         standalone compilation possible. Give strcmp a better
7695         test. Give memset a better test.
7697 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
7699         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
7700         tests before?). Changed to symbolic register numbering as an
7701         experiment.
7702         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
7703         exist.
7704         * sysdeps/rs6000/ffs.c: Likewise.
7706 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
7708         * time/sys/time.h: Make second argument of setitimer const.
7709         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
7710         * sysdeps/stub/setitimer.c: Likewise.
7711         * sysdeps/mach/hurd/setitimer.c: Likewise.
7713 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7715         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
7717         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
7718         namespace hierachy.
7719         * nis/nis_intern.h: Add new __nis_docall function prototypes.
7720         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
7721         rewritten functions.
7722         * nis/nis_checkpoint.c: Likewise.
7723         * nis/nis_lookup.c: Likewise.
7724         * nis/nis_mkdir.c: Likewise.
7725         * nis/nis_modify.c: Likewise.
7726         * nis/nis_ping.c: Likewise.
7727         * nis/nis_remove.c: Likewise.
7728         * nis/nis_rmdir.c: Likewise.
7729         * nis/nis_server.c: Likewise.
7730         * nis/nis_table.c: Likewise.
7732 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
7734         * argp/argp-eexst.c: Include <sysexits.h>.
7735         (argp_err_exit_status): Initialize to EX_USAGE.
7736         * argp/argp.h, argp/argp-help.c: Doc fixes.
7738 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
7740         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
7741         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
7743 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
7745         * sysdeps/unix/sysv/linux/poll.c: Save errno.
7747 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
7749         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
7751 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
7753         * sys/ttydefaults.h: Removed.
7755 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7757         * termios/sys/ttydefaults.h: Delete file.
7758         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
7759         TTYDEF_OFLAG.
7760         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
7761         XTABS in TTYDEF_OFLAG.
7762         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
7763         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
7765 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7767         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
7768         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
7770 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
7772         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
7773         _NL_CTYPE_MAP_NAMES field to stringlist.
7774         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
7775         * locale/localeinfo.h (enum value_type): Add stringlist.
7776         * locale/programs/locale.c (show_info): Handle stringlist.
7778         * locale/programs/charmap.c (charmap_read): If charmap file is not
7779         using the given name try to find it by looking through all available
7780         charmap files and compare the code set name.
7781         * locale/programs/locale.c (write_charmaps): Also print names of
7782         charset in <code_set_name> fields in the files.
7784         * elf/ldd.bash.in: Correct translatable strings.
7786         * posix/TESTS: Add some more tests for character class matching.
7787         * posix/regex.c: Merge with GNU awk version.
7788         (regex_compile): Use ISO C/amend 1 functions for character class
7789         handling.
7790         * posix/regex.h: Merge with GNU awk version.
7792         * posix/getopt.c: Declare as master copies.
7793         * posix/getopt1.c: Likewise.
7794         * posix/getopt.h: Likewise.
7796         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
7797         value to mount functions.
7798         Patch by a sun <asun@zoology.washington.edu>.
7800         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
7801         in size for copy relocation.
7802         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7803         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
7804         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
7805         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
7807 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
7809         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
7810         with other tests.
7811         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
7812         with other tests.
7814         * sunrpc/svc_run.c (svc_exit): New, defined.
7815         (svc_run): Test for svc_stop variable.
7816         * sunrpc/rpc/svc.h (svc_exit): New, declared.
7818 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7820         * math/libm-test.c (test_not_exception): Don't mix the internal
7821         exception flags with the host defined FE_* values.  All (indirect)
7822         callers of this and test_exceptions changed to pass the internal
7823         flag values.
7824         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
7825         in test names.
7826         (csinh_test): Allow invalid exception for NaN +- i Inf.
7828 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7830         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
7831         exception on infinite value.
7832         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
7833         __M81_COND_ZERO): New definitions.
7835         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
7836         Use __m81_test.
7838         * sysdeps/m68k/s_ccosh.c: Rewritten.
7839         * sysdeps/m68k/s_csinh.c: Rewritten.
7840         * sysdeps/m68k/s_cexp.c: Rewritten.
7841         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
7842         * sysdeps/m68k/s_ccoshl.c: Likewise.
7843         * sysdeps/m68k/s_csinhf.c: Likewise.
7844         * sysdeps/m68k/s_csinhl.c: Likewise.
7845         * sysdeps/m68k/s_cexpf.c: Likewise.
7846         * sysdeps/m68k/s_cexpl.c: Likewise.
7848         * sysdeps/m68k/s_ccos.c: New file.
7849         * sysdeps/m68k/s_ccosf.c: New file.
7850         * sysdeps/m68k/s_ccosl.c: New file.
7851         * sysdeps/m68k/s_csin.c: New file.
7852         * sysdeps/m68k/s_csinf.c: New file.
7853         * sysdeps/m68k/s_csinl.c: New file.
7855 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7857         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
7858         stamp files to avoid problems with long file names.
7860 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7862         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
7864         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
7865         NaN.  Fix test for sign of infinite y.
7867         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
7869         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
7871 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7873         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
7874         dependencies.
7876         * csu/abi-note.S: Replace undefined macro ALIGNARG.
7877         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
7878         character.
7880 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7882         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
7883         for local label.
7885 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7887         * nis/Makefile (libnsl-routines): Add a lot of new file names.
7889         * nis/nis_names.c (nis_add): Moved from here ...
7890         * nis/nis_add.c: ... to here and fix parameter flags.
7891         * nis/nis_names.c (nis_lookup): Moved from here ...
7892         * nis/nis_lookup.c: ... to here.
7893         * nis/nis_names.c (nis_modify): Moved from here ...
7894         * nis/nis_modify.c: ... to here and fix parameter flags.
7895         * nis/nis_names.c (nis_remove): Moved from here ...
7896         * nis/nis_remove.c: ... to here and fix parameter flags.
7897         * nis/nis_names.c: Removed.
7899         * nis/nis_subr.c (nis_domain_of): Moved from here ...
7900         * nis/nis_domain_of.c: .. to here.
7901         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
7902         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
7904         * nis/nis_addmember.c: New.
7905         * nis/nis_checkpoint.c: New.
7906         * nis/nis_creategroup.c: New.
7907         * nis/nis_defaults.c: New.
7908         * nis/nis_destroygroup.c: New.
7909         * nis/nis_getservlist.c: New.
7910         * nis/nis_ismember.c: New.
7911         * nis/nis_ping.c: New.
7912         * nis/nis_print_group_entry.c: New.
7913         * nis/nis_removemember.c: New.
7914         * nis/nis_mkdir.c: New.
7915         * nis/nis_rmdir.c: New.
7916         * nis/nis_verifygroup.c: New.
7918         * nis/rpcsvc/nislib.h: Fix internal function declarations.
7920         * nis/nis_server (nis_servstate): New.
7921         * nis/nis_server (nis_stats): New.
7923         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
7925         * nis/nis_call.c: Remove debug output.
7927         * nis/nis_intern.c (__nis_finddirectory): Remove.
7929 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
7931         * posix/TESTS2C.sed: Recognize only digits in first field.  This
7932         enables us to use colons in the pattern.
7934 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
7936         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
7937         will preserve non-call-saved registers; save and restore a0 across
7938         the system call.
7939         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
7940         data onto the new thread's stack.
7942 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
7944         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
7945         kernel can return negative values.  Only fail when return value is
7946         in range in range which is never returned as valid address.
7947         Patch by Bruno Haible <haible@ilog.fr>.
7949 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
7951         * math/libm-test.c: Implement test for exceptions.
7952         Partly due to Andreas Jaeger.
7953         (csin_test): New function.
7954         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
7955         * sysdeps/libm-i387/s_cexpf.S: Likewise.
7956         * sysdeps/libm-i387/s_cexpl.S: Likewise.
7957         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
7958         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
7959         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
7960         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
7961         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
7962         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
7963         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
7964         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
7965         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
7966         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
7967         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
7968         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
7969         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
7970         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
7971         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
7973         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
7974         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
7975         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
7976         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
7977         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
7978         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
7980         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
7981         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
7982         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
7984         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
7985         case.
7987         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
7988         for local label.
7990         * time/strftime.c (add): Respect `0' padding flag.
7991         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
7993 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
7995         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
7996         Use in +link macro.
7997         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
7998         (start-installed-name): Don't define here.
7999         When ELF generate file named by start-installed-name from start.o
8000         and abi-note.o.
8001         * csu/abi-note.S: New file.
8002         * sysdeps/stub/abi-tag.h: New file.
8003         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
8004         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
8006 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
8008         * manual/stdio.texi: Use @vtable where possible.
8009         Add TeX version of @multitable since texi2dvi cannot handle them
8010         correct in the moment.
8012         * po/de.po: Update.
8014 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
8016         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
8017         * config.make.in: Set cross-compiling from configure result.
8018         * configure.in: Emit definition of `cross_compiling'.
8019         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8021 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
8023         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
8024         correct `int' sizes for struct members.
8026 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
8028         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
8029         * sysdeps/libm-i387/e_pow.S: Likewise.
8030         * sysdeps/libm-i387/e_powl.S: Likewise.
8032 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8034         * math/fenv.h: Correct typos.
8036 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
8038         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
8039         in t0 rather than a4 to avoid it being clobbered.
8041 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8043         * manual/summary.awk: Recognize @defmumblex.
8045         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
8046         second description header.
8048 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8050         * manual/arith.texi (Floating-Point Classes): Don't indent text,
8051         makeinfo doesn't like that.
8053 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8055         * malloc/obstack.h (obstack_specify_allocation_with_arg,
8056         obstack_chunkfun, obstack_freefun): Fix casts.
8058 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8060         * manual/xtract-typefun.awk: Allow names with only one character.
8062 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
8064         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
8065         not <netinet/icmp.h>.
8066         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8068 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
8070         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
8071         to command line of compiler.
8072         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
8074         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
8075         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
8077         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
8078         in declaration.
8079         Patch by Michael Widenius <monty@tcx.se>.
8081         * time/strptime.c (strptime_internal): Fix %I format specifier
8082         being off by one.
8083         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
8085 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8087         * stdlib/lcong48_r.c: Include <limits.h>.
8088         * stdlib/seed48_r.c: Likewise.
8090         * stdio-common/printf_size.c (printf_size): Correct type of
8091         `units' and make robust against future changes.
8093 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8095         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
8096         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
8097         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
8099 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8101         * manual/arith.texi, manual/math.texi: Use @defmumblex for
8102         additional description headers.
8103         * manual/xtract-typefun.awk: Recognize them.
8105 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8107         * stdio-common/printf_size.c (printf_size): Correct size of array
8108         units.
8110 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
8112         * libgen.h: New file.
8114 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
8116         * stdlib/drand48.c: Cleanup namespace.
8117         * stdlib/drand48_r.c: Cleanup namespace.
8118         * stdlib/erand48.c: Cleanup namespace.
8119         * stdlib/erand48_r.c: Cleanup namespace.
8120         * stdlib/jrand48.c: Cleanup namespace.
8121         * stdlib/jrand48_r.c: Cleanup namespace.
8122         * stdlib/lrand48.c: Cleanup namespace.
8123         * stdlib/lrand48_r.c: Cleanup namespace.
8124         * stdlib/mrand48.c: Cleanup namespace.
8125         * stdlib/mrand48_r.c: Cleanup namespace.
8126         * stdlib/nrand48.c: Cleanup namespace.
8127         * stdlib/nrand48_r.c: Cleanup namespace.
8128         * stdlib/lcong48.c: Cleanup namespace.
8129         * stdlib/lcong48_r.c: Cleanup namespace.
8130         * stdlib/srand48.c: Cleanup namespace.
8131         * stdlib/srand48_r.c: Cleanup namespace.
8132         * stdlib/seed48.c: Cleanup namespace.
8133         * stdlib/seed48_r.c: Cleanup namespace.
8135         * stdlib/stdlib.h: Provide new prototypes.
8137 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
8139         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
8140         fpclassify & friends, and complex number operations.
8141         Update various other math functions for ISO C 9X.
8142         * manual/math.texi: Update various entries for ISO C 9X.
8143         Add description for complex number functions.
8144         Add description of rand48 function family.
8145         * manual/string.h: Add description of a64l and l64a.
8147         * math/cmathcalls.h: Fix typo.
8149         * stdlib/a64l.c: Pretty printing.
8151         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
8152         * stdlib/srand48_r.c: Likewise.
8153         * stdlib/stdlib.h: Pretty printing.
8155         * sysdeps/i386/fpu/__math.h: Fix typo.
8157         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
8158         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
8160 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8162         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
8164 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8166         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
8167         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
8168         isunordered.
8170 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
8172         * rellns-sh: Handle files in the same directory correctly.
8174 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
8176         * csu/initfini.c: Place ALIGN instruction at correct positions.
8177         Patch by Richard Henderson <richard@twiddle.rth.home>.
8179 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
8181         * Make-dist: Don't automatically ignore .c files if the .S or .s file
8182         is ignored.
8184         * csu/Makefile (distribute): Add defs.awk.
8186 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
8188         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
8189         * sysdeps/stub/shmdt.c: Likewise.
8190         Reported by Thomas Bushnell, n/BSG.
8192 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
8194         * manual/stdio.texi: Add description of printf_size and
8195         printf_size_info.  Partly based on the documentation by Larry McVoy.
8197 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
8199         * stdio-common/printf_size.c (printf_size): Correct values for
8200         `units'.
8201         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
8202         * stdio-common/tst-printfsz.c: New file.
8203         * stdio-common/Makefile (tests): Add tst-printfsz.c.
8204         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
8205         strings.
8207 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
8209         * login/utmp.h: Add prototype for updwtmp.
8210         * login/logwtmp.c: Add new function updwtmp which allows to write
8211         a complete record to the wtmp file.
8212         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
8214 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8216         * math/Makefile (headers): Add mathbits.h.
8218 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8220         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
8221         * sysdeps/m68k/fpu/s_sincos.c: New file.
8222         * sysdeps/m68k/fpu/s_sincosf.c: New file.
8223         * sysdeps/m68k/fpu/s_sincosl.c: New file.
8225         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
8226         functions.
8227         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
8229         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
8230         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8231         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8232         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
8233         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
8234         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
8236 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
8238         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
8239         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
8241 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
8243         * csu/initfini.c: Rewrite by Zack Weinberg
8244         <zack@rabi.phys.columbia.edu>.
8245         * csu/Makefile: Add rules for rewrite.
8246         * csu/defs.awk: Helper script to generate derived header.
8248 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
8250         * misc/libgen.h: Change prototype for of basename to XPG variant.
8251         * stdlib/Makefile (routines): Add xpg_basename.
8252         * stdlib/basename.c: New file.
8253         * string/string.h: Don't declare basename function if basename
8254         macro is available.
8256 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
8258         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
8260 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8262         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
8263         * sysdeps/m68k/fpu/fenvbits.h: New file.
8264         * sysdeps/m68k/fpu/fegetenv.c: New file.
8265         * sysdeps/m68k/fpu/fegetround.c: New file.
8266         * sysdeps/m68k/fpu/fesetenv.c: New file.
8267         * sysdeps/m68k/fpu/fesetround.c: New file.
8268         * sysdeps/m68k/fpu/feupdateenv.c: New file.
8269         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
8270         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
8271         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
8272         * sysdeps/m68k/fpu/ftestexcept.c: New file.
8273         * sysdeps/m68k/fpu/mathbits.h: New file.
8275         * sysdeps/m68k/fpu/s_remquo.c: New file.
8276         * sysdeps/m68k/fpu/s_remquol.c: New file.
8277         * sysdeps/m68k/fpu/s_remquof.c: New file.
8279         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
8280         mantissa overflows into exponent.  Fix priority of >> vs +.
8282         * math/libm-test.c (basic_tests): Use the appropriate isnan and
8283         isinf function to test the value of the nan function.
8285 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
8287         * sysdeps/libm-i387/s_finite.S: Fix typo.
8289         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
8290         isgreaterequal, isless, islessequal, islessgreater, and
8291         isunordered.
8293 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
8295         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
8297         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
8298         * math/mathcalls.h: Add prototype for sincos.
8299         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
8300         inlined sin and cos function.
8301         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
8302         Add optimized version of finite.
8303         Rewrite sincos function to handle too large arguments.
8304         * sysdeps/libm-i387/s_cos.S: Better code alignment.
8305         * sysdeps/libm-i387/s_cosl.S: Likewise.
8306         * sysdeps/libm-i387/s_sin.S: Likewise.
8307         * sysdeps/libm-i387/s_sinl.S: Likewise.
8308         * sysdeps/libm-i387/s_finite.S: Yet better code.
8309         * sysdeps/libm-i387/s_finitef.S: Likewise.
8310         * sysdeps/libm-i387/s_sincos.S: New file.
8311         * sysdeps/libm-i387/s_sincosf.S: New file.
8312         * sysdeps/libm-i387/s_sincosl.S: New file.
8313         * sysdeps/libm-ieee754/s_sincos.c: New file.
8314         * sysdeps/libm-ieee754/s_sincosf.c: New file.
8315         * sysdeps/libm-ieee754/s_sincosl.c: New file.
8317         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
8318         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8319         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8320         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
8321         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8322         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8323         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8324         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8325         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8326         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
8327         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
8328         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
8329         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
8330         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8331         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8333         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
8334         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
8336         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
8337         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
8339         * nis/Makefile (services): Mention nisplus before compat.
8340         * nis/nis_call.c (__do_niscall): Change type of variable server_len
8341         to prevent warning.
8342         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
8343         cast to prevent warning.
8344         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
8345         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
8346         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
8347         type of variable `i' to prevent warning.
8348         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
8349         Likewise.
8350         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
8351         Likewise.
8352         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
8353         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
8354         Likewise.
8356         * sysdeps/generic/Dist: Remove old math implementation files.
8357         * sysdeps/generic/mathimpl.h: Removed.
8358         * sysdeps/generic/trig.h: Removed.
8359         * sysdeps/generic/sincos.c: Removed.
8360         * sysdeps/generic/asincos.c: Removed.
8361         * sysdeps/generic/exp__E.c: Removed.
8362         * sysdeps/generic/log__L.c: Removed.
8364 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8366         * malloc/malloc.c (fREe): Small optimization.  Before returning,
8367         add fast check whether the heap containing top can go away.
8369 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8371         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
8372         failing to allocate a new chunk, also try the main_arena.  It may
8373         be that we are only running out of mmapped regions, and other
8374         arenas cannot be enlarged sufficiently.
8375         (new_heap, malloc_extend_top): Handle top_pad more consistently,
8376         i.e. only in new_heap().
8378 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
8380         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
8381         if cross-compiling.
8383         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
8385         * configure.in: Add ARM support.
8386         * sysdeps/arm/Implies: New file.
8387         * sysdeps/arm/__longjmp.S: New file.
8388         * sysdeps/arm/bsd-_setjmp: New file.
8389         * sysdeps/arm/bsd-setjmp: New file.
8390         * sysdeps/arm/bytesex.h: New file.
8391         * sysdeps/arm/fpu_control.h: New file.
8392         * sysdeps/arm/jmp_buf.h: New file.
8393         * sysdeps/arm/setjmp.h: New file.
8394         * sysdeps/arm/sysdep.h: New file.
8395         * sysdeps/unix/arm/config.h: New file.
8397 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
8399         * sysdeps/libm-ieee754/s_cproj.c: New file.
8400         * sysdeps/libm-ieee754/s_cprojf.c: New file.
8401         * sysdeps/libm-ieee754/s_cprojl.c: New file.
8403 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
8405         * isomac.c: Improve messages.
8407         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
8408         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
8409         s_catanh, s_csqrt, and s_cpow.
8410         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
8411         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
8412         csqrt_test, cpow_test, rint_test.
8413         * math/math.h: Include new header mathbits.h which defines some
8414         more (system dependent) types and some macros.
8415         (isfinite): Use __finite instead of fpclassify.
8416         * sysdeps/generic/mathbits.h: New file.
8417         * sysdeps/i386/fpu/mathbits.h: New file.
8418         * sysdeps/i386/huge_val.h: Don't define INFINITY.
8419         * sysdeps/ieee754/huge_val.h: Likewise.
8420         * sysdeps/m68k/huge_val.h: Likewise.
8422         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
8423         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
8425         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
8426         standard first.
8428         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
8429         * sysdeps/libm-i387/s_finitef.S: Likewise.
8430         * sysdeps/libm-i387/s_finitel.S: Likewise.
8431         Provided by Joe Keane <jgk@jgk.org>.
8433         * sysdeps/libm-i387/s_nearbyint.S: New file.
8434         * sysdeps/libm-i387/s_nearbyintf.S: New file.
8435         * sysdeps/libm-i387/s_nearbyintl.S: New file.
8436         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
8437         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
8438         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
8440         * sysdeps/libm-ieee754/s_cacos.c: New file.
8441         * sysdeps/libm-ieee754/s_cacosf.c: New file.
8442         * sysdeps/libm-ieee754/s_cacosl.c: New file.
8443         * sysdeps/libm-ieee754/s_cacosh.c: New file.
8444         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
8445         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
8446         * sysdeps/libm-ieee754/s_casin.c: New file.
8447         * sysdeps/libm-ieee754/s_casinf.c: New file.
8448         * sysdeps/libm-ieee754/s_casinl.c: New file.
8449         * sysdeps/libm-ieee754/s_casinh.c: New file.
8450         * sysdeps/libm-ieee754/s_casinhf.c: New file.
8451         * sysdeps/libm-ieee754/s_casinhl.c: New file.
8452         * sysdeps/libm-ieee754/s_catan.c: New file.
8453         * sysdeps/libm-ieee754/s_catanf.c: New file.
8454         * sysdeps/libm-ieee754/s_catanl.c: New file.
8455         * sysdeps/libm-ieee754/s_catanh.c: New file.
8456         * sysdeps/libm-ieee754/s_catanhf.c: New file.
8457         * sysdeps/libm-ieee754/s_catanhl.c: New file.
8458         * sysdeps/libm-ieee754/s_ccos.c: New file.
8459         * sysdeps/libm-ieee754/s_ccosf.c: New file.
8460         * sysdeps/libm-ieee754/s_ccosl.c: New file.
8461         * sysdeps/libm-ieee754/s_cpow.c: New file.
8462         * sysdeps/libm-ieee754/s_cpowf.c: New file.
8463         * sysdeps/libm-ieee754/s_cpowl.c: New file.
8464         * sysdeps/libm-ieee754/s_csin.c: New file.
8465         * sysdeps/libm-ieee754/s_csinf.c: New file.
8466         * sysdeps/libm-ieee754/s_csinl.c: New file.
8467         * sysdeps/libm-ieee754/s_csqrt.c: New file.
8468         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
8469         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
8470         * sysdeps/libm-ieee754/s_ctan.c: New file.
8471         * sysdeps/libm-ieee754/s_ctanf.c: New file.
8472         * sysdeps/libm-ieee754/s_ctanl.c: New file.
8473         * sysdeps/libm-ieee754/s_ctanh.c: New file.
8474         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
8475         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
8477         * time/strftime.c (memset_space): Increment pointer.
8478         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
8479         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
8481 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
8483         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
8484         pipe, syscall.
8486 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8488         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
8489         probably still wrong.
8490         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
8491         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
8493         * math/libm-test.c (remquo_test): Corrected.
8495 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8497         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
8498         * sysdeps/m68k/fpu/s_rinttol.c: New file.
8499         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
8501         * math/libm-test.c (remquo_test): Use check_long to test the
8502         quotient.
8503         (cbrt_test): Add epsilons for long double.
8505 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8507         * locale/localeinfo.h: Update declaration of _nl_current.
8509 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
8511         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
8513         * math/Makefile (headers): Add fenv.h and fenvbits.h.
8514         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
8515         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
8516         fegetenv, feholdexcpt, fesetenv, feupdateenv.
8517         (libm-calls): Add s_round.
8518         * math/fenv.h: New file.
8519         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
8520         Add roundtol_check and roundtoll_check.
8521         * math/math.h: Pretty printing.
8522         * sysdeps/i386/fpu/fclrexcpt.c: New file.
8523         * sysdeps/i386/fpu/fegetenv.c: New file.
8524         * sysdeps/i386/fpu/fegetround.c: New file.
8525         * sysdeps/i386/fpu/feholdexcpt.c: New file.
8526         * sysdeps/i386/fpu/fenvbits.h: New file.
8527         * sysdeps/i386/fpu/fesetenv.c: New file.
8528         * sysdeps/i386/fpu/fesetround.c: New file.
8529         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
8530         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
8531         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
8532         * sysdeps/i386/fpu/ftestexcept.c: New file.
8533         * sysdeps/stub/fclrexcpt.c: New file.
8534         * sysdeps/stub/fegetenv.c: New file.
8535         * sysdeps/stub/fegetround.c: New file.
8536         * sysdeps/stub/feholdexcpt.c: New file.
8537         * sysdeps/stub/fenvbits.h: New file.
8538         * sysdeps/stub/fesetenv.c: New file.
8539         * sysdeps/stub/fesetround.c: New file.
8540         * sysdeps/stub/fgetexcptflg.c: New file.
8541         * sysdeps/stub/fraiseexcpt.c: New file.
8542         * sysdeps/stub/fsetexcptflg.c: New file.
8543         * sysdeps/stub/ftestexcept.c: New file.
8545         * sysdeps/libm-i387/s_trunc.S: New file.
8546         * sysdeps/libm-i387/s_truncf.S: New file.
8547         * sysdeps/libm-i387/s_truncl.S: New file.
8549         * sysdeps/libm-ieee754/s_round.c: New file.
8550         * sysdeps/libm-ieee754/s_roundf.c: New file.
8551         * sysdeps/libm-ieee754/s_roundl.c: New file.
8553         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
8554         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8555         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8556         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
8557         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8558         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8559         * sysdeps/libm-ieee754/s_clog.c: Likewise.
8560         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
8561         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8562         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
8563         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
8564         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
8566         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
8567         63 bits.
8568         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
8570         * po/pl.po: Updated.
8572         * string/swab.c: Correctly handle array of odd length.
8574         * sysdeps/generic/memmem.c: Update copyright.
8575         * manual/string.texi: Correct prototype in memmem documentation.
8577 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
8579         * hurd/Makefile (sunrpc-headers): Add clnt.h.
8580         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
8582 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
8584         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
8585         the proper value from the GOT.  Pass argument block to
8586         init function.
8588         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
8589         _init ().
8591         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
8592         wrong the first time.
8594         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
8595         register.
8597         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
8599         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
8600         SYSDEP_CALL_INIT.
8602         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
8603         NSIG and duplicated SIGIOT.
8605 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8607         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
8608         probably still wrong.
8609         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
8610         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
8612         * math/libm-test.c (remquo_test): Corrected.
8614 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8616         * Makefile (parent-tests): New target to run the tests to that
8617         they are executed even if some subdir tests have failed.
8618         (tests): Depend on parent-tests instead of running the tests
8619         directly.
8621 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8623         Clean up name space pollution in libnss_*.so:
8624         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
8625         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
8626         memcpy and bcmp by memcmp to clean up namespace.
8627         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
8628         dbopen.
8629         * nss/nss_db/db-alias.c (internal_setent): Likewise.
8630         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
8631         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
8632         the latter a weak alias.
8633         * db/db.h: Declare __dbopen.
8634         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
8635         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
8636         prefix and make the old names weak aliases.
8637         * db/mpool.h: Declare the new internal names.
8639 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8641         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
8642         * stdio-common/tstscanf.c: Add test case for this.
8644 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8646         * math/libm-test.c: Fix more typos.
8648 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8650         * math/libm-test.c (csinh_test): Fix test names.
8651         (ccosh_test): Likewise.
8653         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
8654         computing it directly.
8655         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8656         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8658         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
8659         computing it directly.
8660         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8661         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8663         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
8664         of wrapper.
8665         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8666         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8667         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
8668         special values.  Avoid use of fsincos if all that is needed is the
8669         quadrant.
8671         * sysdeps/m68k/fpu/s_ccosh.c: New file.
8672         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
8673         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
8674         * sysdeps/m68k/fpu/s_csinh.c: New file.
8675         * sysdeps/m68k/fpu/s_csinhl.c: New file.
8676         * sysdeps/m68k/fpu/s_csinhf.c: New file.
8678 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8680         * manual/Makefile (dir-add.texi): Simplify.
8682 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
8684         * rellns-sh: Rewrite to work also in presence of symlinks.
8686         * argp/argp-fmtstream.c: Add casts to prevent warnings.
8687         * argp/argp-fmtstream.h: Likewise.
8688         * argp/argp-help.c: Likewise.
8690         * elf/dl-minimal.c: Add definition of calloc.
8691         * elf/version.c: Add casts to prevent warnings.
8692         (_dl_check_map_versions): Use calloc instead of malloc+memset.
8694         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
8695         Reported by Greg McGary <gkm@eng.ascend.com>.
8697         * manual/libc.texinfo: Update malloc documentation for new malloc.
8698         * manual/memory.texi: Likewise.
8699         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
8701         * math/libm-test.c (check_long): New function.
8702         (check_longlong): New function.
8703         (rinttol_test): New function.
8704         (rinttoll_test): New function.
8706         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
8707         * nis/nss_compat/compat-pwd.c: Likewise.
8708         * nis/nss_compat/compat-spwd.c: Likewise.
8710         * stdlib/erand48_r.c (erand48_r): Build double value using
8711         ieee754_double union and use random bits in different order to
8712         increase effect of seed.
8713         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
8715         * sunrpc/svc_auth.c: Moved to ...
8716         * sysdeps/generic/svc_auth.c: ...here.
8718         * time/time.h: Pretty print.
8720 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
8722         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
8723         a read-only stream.
8725 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
8727         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
8728         in correct place.
8729         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8731 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
8733         * stdio-common/Makefile (tests): Add tst-ferror.
8734         * stdio-common/tst-ferror.c: New file.  Some tests for error
8735         indicator of streams.
8736         * stdio-common/tst-ferror.input: New file.
8738         * isomac.c: Let tests not fail because the compiler defines itself
8739         symbols which violate the name space rules.  gcc defines symbols
8740         for the architecture which are not protected by an underscore
8741         character.
8743         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
8744         (libm-calls): Add s_clog.
8745         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
8746         logarithm of complex value.
8747         * sysdeps/libm-ieee754/s_clogf.c: New file.
8748         * sysdeps/libm-ieee754/s_clogl.c: New file.
8749         * math/libm-test.c (clog_test): Compile this function.  Fix a few
8750         typos.
8751         (main): Call clog_test.
8753         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
8754         value to long int.
8755         * sysdeps/libm-i387/s_rinttol.S: New file.
8756         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
8757         value to long long int.
8758         * sysdeps/libm-i387/s_rinttoll.S: New file.
8760         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
8761         version was full of errors.
8763         * math/math.h (rinttol): Argument is of type `long double' not
8764         `double'.
8765         (rinttoll): Likewise.
8766         (roundtol): Likewise.
8767         (roundtoll): Likewise.
8769 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
8771         * posix/getopt.c (_getopt_initialize): Preserve optind.
8772         (_getopt_internal): Set optind to 1 if optind == 0 before
8773         calling _getopt_initialize ().
8775 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8777         * nis/rpcsvc/nislib.h: Change const nis_name to new type
8778         const_nis_name.
8779         * nis/nis_intern.c: Likewise.
8780         * nis/nis_intern.h: Likewise.
8781         * nis/nis_server.c: Likewise.
8782         * nis/nis_subr.c: Likewise.
8783         * nis/nis_table.c: Likewise.
8784         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
8785         nis_add().
8787         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
8788         * nis/nss_compat/compat-spwd.c: Likewise.
8790 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
8792         * libio/fileops.c (_IO_file_overflow): Set error when try to write
8793         on a read-only stream.
8795         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
8796         (ut_time): Define it only if _NO_UT_TIME is not defined.
8798 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
8800         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
8801         if not already defined.
8803 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
8805         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
8806         get definition of sa_family_t for <linux/atalk.h>.
8807         Reported by a sun <asun@zoology.washington.edu>.
8809         * malloc/malloc.c (cALLOc): Little optimization.
8811 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
8813         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
8814         headers but instead add comments and parameter names.
8815         Don't use BSD specific types in prototypes.
8817         * manual/nss.texi: Correct a few typos and errors.
8819         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
8820         algorithm.
8821         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
8822         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
8824         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
8825         with new algorithm.
8826         * sysdeps/libm-i387/s_cbrtf.S: New file.
8827         * sysdeps/libm-i387/s_cbrtl.S: New file.
8829         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
8830         * sysdeps/libm-i387/s_frexpf.S: Likewise.
8831         * sysdeps/libm-i387/s_frexpl.S: Likewise.
8833 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8835         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
8837         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
8838         DES part only with secure RPC add-on.
8840         * nis/nis_names.c (nis_modify): Fix rpc function number.
8842         * nis/nis_server.c: Fix typos.
8844         * nis/nss_compat/compat-grp.c: Add NIS+ support.
8845         * nis/nss_compat/compat-pwd.c: Likewise.
8846         * nis/nss_compat/compat-spwd.c: Likewise.
8848         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
8849         signals success.
8851         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
8852         secure RPC.
8853         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8854         * nis/ypclnt.c: Likewise.
8855         * nis/nis_intern.h: Likewise.
8857         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
8858         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8859         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8860         * nis/nss_nisplus/nisplus-network.c: Likewise.
8861         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8862         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8863         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8864         * nis/nss_nisplus/nisplus-service.c: Likewise.
8865         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8867         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
8868         and speedup.
8869         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
8871 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
8873         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
8874         arguments.
8876 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
8878         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
8879         typo.
8881 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
8883         * sysdeps/libm-ieee754/s_nanf.c:
8884         * sysdeps/libm-ieee754/s_nan.c:
8885         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
8886         declaration of sprintf.
8888 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
8890         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
8891         strong_alias.
8892         Reported by sun <asun@zoology.washington.edu>.
8894         * rpc/auth.h: Removed.
8895         * rpc/auth_des.h: Removed.
8896         * sunrpc/rpc/auth.h: Moved to ...
8897         * sysdeps/generic/rpc/auth.h: ...here.
8898         * sunrpc/rpc/auth_des.h: Moved to ...
8899         * sysdeps/generic/rpc/auth_des.h: ...here.
8901 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
8903         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
8904         * sysdeps/libm-i387/s_frexpf.S: New file.
8905         * sysdeps/libm-i387/s_frexpl.S: New file.
8907 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
8909         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
8910         (sysdep_headers): Remove netinet/icmp.h.
8912 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
8914         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
8915         threaded programs.
8916         * manual/stdio.texi: Change wording for snprintf description a bit.
8917         Correct typo in example.
8918         * manual/lang.texi: Add documentation of __va_copy.
8920         * Makefile: Add rule to easily generate dir-add.texi file.
8921         * manual/Makefile: Likewise.
8923         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
8924         Change description of strtoll and strtoull to make clear these
8925         are the preferred names.
8926         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
8927         and friends.
8928         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
8929         HUGE_VALL.
8931 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
8933         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
8934         adjustment if the underlying function say it is too small.
8935         * pwd/fgetpwent.c: Likewise.
8936         * shadow/fgetspent.c: Likewise.
8937         * shadow/sgetspent.c: Likewise.
8939         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
8940         this means there was not enough room for the gr_mem array.
8942         * nss/nss_files/files-XXX.c: Leave loop and return error if
8943         `parse_result' returns -1.
8945         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
8946         of trailing list fails because of low memory.
8947         (parse_list): Rewrite.  The logic was completly incorrect since
8948         the checks for overflowing the array were not executed when
8949         needed.
8951         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
8952         signals success.
8954         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
8955         * nss/getXXent.c: Likewise.
8957         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
8958         is set in mantissa.
8959         * stdlib/strtof.c: Likewise.
8960         * stdlib/strtold.c: Likewise.
8961         * wcsmbs/wcstof.c: Likewise.
8962         * wcsmbs/wcstold.c: Likewise.
8964         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
8965         string.
8966         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
8967         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
8969 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
8971         * manual/errno.texi: Add description of strerror_r.
8973 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
8975         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
8977 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
8979         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
8981 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8983         * sysdeps/m68k/fpu/s_cexp.c: New file.
8984         * sysdeps/m68k/fpu/s_cexpf.c: New file.
8985         * sysdeps/m68k/fpu/s_cexpl.c: New file.
8986         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
8987         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
8988         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
8989         * sysdeps/m68k/fpu/s_trunc.c: New file.
8990         * sysdeps/m68k/fpu/s_truncf.c: New file.
8991         * sysdeps/m68k/fpu/s_truncl.c: New file.
8993         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
8994         * sysdeps/m68k/fpu/s_modff.c: Adapted.
8995         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
8997         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
8998         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
8999         typo in test for `y = 0.5'.
9001         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
9002         __nearbyint.  Remove __modf.
9004         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
9005         Define for gcc bug workaround.
9007         * math/libm-test.c (log2_test): Add epsilon for long double to
9008         "log2 (e)" and "log2 (16)".
9009         (modf_test): Fix test name.
9010         (sqrt_test): Add missing FUNC.
9012 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9014         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
9016 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9018         * stdlib/stdlib.h: Declare __clearenv.
9020 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9022         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
9023         the last change.
9025 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9027         * configure.in: Call AC_CANONICAL_BUILD before referencing
9028         $build.  Fix test for BUILD_CC.
9030 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
9032         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
9034 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
9036         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
9038 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
9040         * sysdeps/i386/memset.c: Fix typo.
9041         * sysdeps/stub/fchmod.c: Fix typo.
9042         * sysdeps/stub/fchdir.c: Fix typo.
9043         Reported by Fila Kolodny <fila@ibi.com>.
9045 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
9047         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
9048         * math/libm-test.c (initialize): Make strings unique and force
9049         values to memory.
9051         * posix/regex.c: Debug debugging code.
9053         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
9054         syntax for local label.
9055         * sysdeps/i386/add_n.S: Use correct local label syntax for the
9056         binary format.
9057         * sysdeps/i386/addmul_1.S: Likewise.
9058         * sysdeps/i386/lshift.S: Likewise.
9059         * sysdeps/i386/memchr.S: Likewise.
9060         * sysdeps/i386/memcmp.S: Likewise.
9061         * sysdeps/i386/mul_1.S: Likewise.
9062         * sysdeps/i386/rshift.S: Likewise.
9063         * sysdeps/i386/stpcpy.S: Likewise.
9064         * sysdeps/i386/stpncpy.S: Likewise.
9065         * sysdeps/i386/strchr.S: Likewise.
9066         * sysdeps/i386/strcspn.S: Likewise.
9067         * sysdeps/i386/strlen.S: Likewise.
9068         * sysdeps/i386/strpbrk.S: Likewise.
9069         * sysdeps/i386/strrchr.S: Likewise.
9070         * sysdeps/i386/strspn.S: Likewise.
9071         * sysdeps/i386/strtok.S: Likewise.
9072         * sysdeps/i386/sub_n.S: Likewise.
9073         * sysdeps/i386/submul_1.S: Likewise.
9074         * sysdeps/i386/i486/strcat.S: Likewise.
9075         * sysdeps/i386/i486/strlen.S: Likewise.
9076         * sysdeps/i386/i586/add_n.S: Likewise.
9077         * sysdeps/i386/i586/addmul_1.S: Likewise.
9078         * sysdeps/i386/i586/lshift.S: Likewise.
9079         * sysdeps/i386/i586/memset.S: Likewise.
9080         * sysdeps/i386/i586/mul_1.S: Likewise.
9081         * sysdeps/i386/i586/rshift.S: Likewise.
9082         * sysdeps/i386/i586/strchr.S: Likewise.
9083         * sysdeps/i386/i586/strlen.S: Likewise.
9084         * sysdeps/i386/i586/sub_n.S: Likewise.
9085         * sysdeps/i386/i586/submul_1.S: Likewise.
9087         * sysdeps/stub/s_log2l.c: Correct function name.
9089         * time/africa: Updated from ADO tzdata1997e.
9090         * time/antarctica: Likewise.
9091         * time/asia: Likewise.
9092         * time/australasia: Likewise.
9093         * time/europe: Likewise.
9094         * time/northamerica: Likewise.
9095         * time/southamerica: Likewise.
9096         * time/private.h: Updated from ADO tzcode1997d.
9097         * time/scheck.c: Likewise.
9099 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
9101         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
9103 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
9105         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
9106         * string/tst-strlen.c: Also test various string alignments.
9108 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
9110         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
9111         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
9113         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
9114         program base address is 0x01800000 if we can't otherwise tell what
9115         it is.
9116         (elf_machine_rela): Replace `assertion failed' with real error
9117         messages.
9119         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
9120         Put in extra parentheses to make explicit the relative precedence
9121         of + and >>.
9123         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
9124         pass.
9125         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
9127         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
9128         instead of .text.
9130 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
9132         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
9133         instead.
9135         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
9136         thread-specific memory in multi-threaded programs.
9138         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
9139         * sysdeps/stub/s_exp2f.c: New file.
9140         * sysdeps/stub/s_exp2l.c: New file.
9141         Reported by a sun <asun@zoology.washington.edu>.
9143         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
9144         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
9145         Suggested by a sun <asun@zoology.washington.edu>.
9147 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
9149         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
9150         of <netinet/icmp.h>.
9151         Patch by a sun <asun@zoology.washington.edu>.
9153 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
9155         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
9156         csqrt_test.
9158 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
9160         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
9162         * math/complex.h: Add C++ protection.
9164         * math/libm-test.c (cexp_test): Correct a few bugs.
9165         (csinh_test): New function.
9166         (ccosh_test): New function.
9167         (cacos_test): New function.
9168         (cacosh_test): New function.
9169         (casinh_test): New function.
9170         (catanh_test): New function.
9171         (main): Add calls to csinh_test and ccosh_test.
9173         * misc/Makefile (tests): Add tst-tsearch.
9174         Add rule to link tst-tsearch against libm.
9175         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
9176         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
9177         * misc/tst-tsearch.c: New file.
9179         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
9180         before using system.
9181         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
9182         before using popen.
9184         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
9185         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9186         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9188         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
9189         of complex exponential function.
9190         * sysdeps/libm-i387/s_cexpf.S: New file.
9191         * sysdeps/libm-i387/s_cexpl.S: New file.
9193         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
9194         complex cosh function.
9195         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
9196         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
9197         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
9198         complex sinh function.
9199         * sysdeps/libm-ieee754/s_csinhf.c: New file.
9200         * sysdeps/libm-ieee754/s_csinhl.c: New file.
9202         * math/carg.c: New file.  Generic implementatio of carg function.
9203         * math/cargf.c: New file.
9204         * math/cargl.c: New file.
9206 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
9208         * sysdeps/posix/system.c: Update copyright.
9210 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
9212         * elf/dl-error.c (_dl_catch_error): Add another argument which is
9213         passed to OPERATE.
9214         (_dl_receive_error): Likewise.
9215         * elf/link.h: Change prototypes for _dl_catch_error and
9216         _dl_receive_error to reflect above change.
9217         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
9218         with additional argument with pointer to data.
9219         * elf/dlclose.c: Likewise.
9220         * elf/dlerror.c: Likewise.
9221         * elf/dlopen.c: Likewise.
9222         * elf/dlsym.c: Likewise.
9223         * elf/dlvsym.c: Likewise.
9224         * elf/rtld.c: Likewise.
9225         * nss/nsswitch.c: Likewise.
9226         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
9228 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9230         * elf/dl-error.c: Manually set up the values of "c", this avoids a
9231         call to memcpy and a zero 152 bytes structure.
9233         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
9234         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
9235         pass.
9237         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
9239         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
9240         kernel_sigaction.h
9242         Add Linux/SPARC specific definitions.
9243         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
9244         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
9245         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
9246         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
9247         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
9248         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
9249         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
9251 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
9253         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
9254         __getservbyname_r() not getservbyname().
9255         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
9257 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
9259         * gmon/gmon.c (monstartup): Mark all messages.
9260         (write_call_graph): Rewrite to use larger I/O vector for writev
9261         call to reduce syscall overhead.
9262         (write_bb_counts): Simplify writev handling.
9264         * inet/rexec.c: Make string parameters `const'.
9265         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
9266         rresvport.
9268         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
9269         in libm-test.
9270         * math/libm-test.c (this_does_nothing): Remove functions.  It's
9271         notuseful on any platform but ix86.
9272         (inverse_func_pair_test): Don't use this_does_nothing.  Use
9273         memory reference.
9274         (identities1_test): Likewise.
9275         (identities2_test): Likewise.
9276         (identities3_test): Likewise.
9277         (basic_test): Likewise.
9278         Patch by Andreas Schwab.
9279         (BUILD_COMPLEX): New macro.  Create complex number from real and
9280         imaginary parts.  This works around bugs/inefficiencies in current
9281         gcc.
9282         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
9284         * nss/nsswitch.c: Fix typo.
9286         * posix/glob.h: Add declaration for glob_pattern_p.
9287         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
9288         make glob_pattern_p a weak alias.  This function is used in other
9289         packages (e.g. bash).
9291         * signal/Makefile (routines): Add sigisempty, sigandset, and
9292         sigorset.
9293         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
9294         sigorset.
9295         * signal/sigisempty.c: New file.
9296         * signal/sigandset.c: New file.
9297         * signal/sigorset.c: New file.
9298         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
9299         and __sigorset.
9300         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
9302         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
9303         determines the bits in the mantissa part of the NaN.
9304         * stdlib/strtof.c: Define SET_MANTISSA for float type.
9305         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
9306         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
9307         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
9309         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
9310         complex number components.  Some more corrects for special cases.
9311         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9312         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9314         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
9316         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
9317         ip_icmp.h.  Reported by HJ Lu.
9319 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9321         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
9323         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
9324         i386.
9325         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
9326         ELF_MACHINE_RELOC_NOPLT): Define.
9328 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9330         * grp/grp.h: Include <stddef.h> only once.
9332 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9334         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
9335         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
9337         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
9338         TAB3, if one of them is defined.
9340 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
9342         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
9343         is found.
9344         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
9346 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9348         * sunrpc/Makefile: Comment gccwarn out.
9349         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
9350         with enabled warnings.
9351         * sunrpc/auth_unix.c: Likewise.
9352         * sunrpc/authuxprot.c: Likewise.
9353         * sunrpc/bindrsvprt.c: Likewise.
9354         * sunrpc/clnt_gen.c: Likewise.
9355         * sunrpc/clnt_perr.c: Likewise.
9356         * sunrpc/clnt_raw.c: Likewise.
9357         * sunrpc/clnt_simp.c: Likewise.
9358         * sunrpc/clnt_tcp.c: Likewise.
9359         * sunrpc/clnt_udp.c: Likewise.
9360         * sunrpc/get_myaddr.c: Likewise.
9361         * sunrpc/getrpcport.c: Likewise.
9362         * sunrpc/pm_getmaps.c: Likewise.
9363         * sunrpc/pm_getport.c: Likewise.
9364         * sunrpc/pmap_clnt.c: Likewise.
9365         * sunrpc/pmap_prot.c: Likewise.
9366         * sunrpc/pmap_prot2.c: Likewise.
9367         * sunrpc/pmap_rmt.c: Likewise.
9368         * sunrpc/rpc/auth.h: Likewise.
9369         * sunrpc/rpc/clnt.h: Likewise.
9370         * sunrpc/rpc/pmap_clnt.h: Likewise.
9371         * sunrpc/rpc/svc.h: Likewise.
9372         * sunrpc/rpc/svc_auth.h: Likewise.
9373         * sunrpc/rpc/types.h: Likewise.
9374         * sunrpc/rpc/xdr.h: Likewise.
9375         * sunrpc/rpc_clntout.c: Likewise.
9376         * sunrpc/rpc_cmsg.c: Likewise.
9377         * sunrpc/rpc_dtable.c: Likewise.
9378         * sunrpc/rpc_prot.c: Likewise.
9379         * sunrpc/svc.c: Likewise.
9380         * sunrpc/svc_auth.c: Likewise.
9381         * sunrpc/svc_authux.c: Likewise.
9382         * sunrpc/svc_raw.c: Likewise.
9383         * sunrpc/svc_run.c: Likewise.
9384         * sunrpc/svc_simple.c: Likewise.
9385         * sunrpc/svc_tcp.c: Likewise.
9386         * sunrpc/svc_udp.c: Likewise.
9387         * sunrpc/xdr.c: Likewise.
9388         * sunrpc/xdr_array.c: Likewise.
9389         * sunrpc/xdr_mem.c: Likewise.
9390         * sunrpc/xdr_rec.c: Likewise.
9391         * sunrpc/xdr_ref.c: Likewise.
9392         * sunrpc/xdr_stdio.c: Likewise.
9394 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
9396         * math/libm-test.c (log2_test): Compile this function and call it.
9397         (exp2_test): Likewise, but check whether function really exists
9398         before testing.
9400         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
9402 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
9404         Implement exp2 function.
9405         * sysdeps/libm-i387/s_exp2.S: New file.
9406         * sysdeps/libm-i387/s_exp2f.S: New file.
9407         * sysdeps/libm-i387/s_exp2l.S: New file.
9409         Implement log2 function.
9410         * sysdeps/libm-i387/s_log2.S: New file.
9411         * sysdeps/libm-i387/s_log2f.S: New file.
9412         * sysdeps/libm-i387/s_log2l.S: New file.
9413         * sysdeps/libm-ieee754/s_log2.c: New file.
9414         * sysdeps/libm-ieee754/s_log2f.c: New file.
9415         * sysdeps/stub/s_log2.c: New file.  Stub version.
9417 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
9419         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
9421         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
9422         change to tst-setjmp.c.
9424         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
9425         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
9426         * sysdeps/sparc/dl-machine.h: Likewise.
9428         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
9429         Add missing qs variable.
9430         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9432 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
9434         * gmon/gmon.c: Optimize a bit by using more sets of records to
9435         write in a single writev call.
9437         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
9438         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
9439         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
9440         `const'.
9441         Use __MATHDECLX for isinf and finite.
9443         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
9444         clearenv a weak alias.
9446         Implement complex exponential function.
9447         * sysdeps/libm-ieee754/s_cexp.c: New file.
9448         * sysdeps/libm-ieee754/s_cexpf.c: New file.
9449         * sysdeps/libm-ieee754/s_cexpl.c: New file.
9451         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
9452         nan a weak alias.
9453         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
9454         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
9456         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
9457         of type clashes.  Add all definitions here.
9459         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
9460         to XPG4.2.
9461         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
9462         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9464         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
9466         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
9467         use of kernel types.
9469 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
9471         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
9472         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
9474 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9476         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
9478 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9480         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
9482 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9484         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
9485         * sysdeps/m68k/fpu/s_logb.c: Removed.
9486         * sysdeps/m68k/fpu/s_logbf.c: Removed.
9487         * sysdeps/m68k/fpu/s_logbl.c: Removed.
9489         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
9490         Don't define here.
9491         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
9492         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9493         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
9494         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
9495         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
9496         * sysdeps/m68k/fpu/e_powl.c: Likewise.
9498         * sysdeps/m68k/fpu/s_log2.c: New file.
9499         * sysdeps/m68k/fpu/s_log2f.c: New file.
9500         * sysdeps/m68k/fpu/s_log2l.c: New file.
9501         * sysdeps/m68k/fpu/s_exp2.c: New file.
9502         * sysdeps/m68k/fpu/s_exp2f.c: New file.
9503         * sysdeps/m68k/fpu/s_exp2l.c: New file.
9505 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9507         * Makeconfig (all): Make sure this is always the default goal.
9509 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9511         * math/libm-test.c: Increase epsilon in many places.  Fix many
9512         typos.  Allow optinal argument also for short option.
9514 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9516         * math/Makefile ($(objpfx)$(tests)): Link against libm.
9518 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
9520         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
9521         denormalized numbers.
9523         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
9524         Don't include <endian.h>.
9526 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9527         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
9528         Don't include <endian.h>.
9530 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
9532         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
9534 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9536         * math/cmathcalls.h: Remove whitespace before function name in use
9537         of __MATHDECL macro, to make it compilable with a traditional
9538         preprocessor.
9540 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
9542         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
9543         compiler.
9545 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
9547         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
9548         by 31 positions to get 0/1 result.
9549         Patch by Joe Keane <jgk@jgk.org>.
9551 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
9553         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
9554         to prevent from ld linking in getopt.o even if there is another
9555         incompatible one.
9557         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
9559 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9561         * nis/nis_call.c (__do_niscall): Print message if cold start file
9562         does not exist.
9563         * nis/nis_file.c: Don't print error messages.
9564         * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
9565         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
9566         * nis/rpcsvc/nis.h: Likewise.
9567         * nis/ypclnt.c: Fix prototypes.
9569 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
9571         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
9572         returning.
9573         * sysdeps/libm-i387/e_scalbf.S: Likewise.
9574         * sysdeps/libm-i387/e_scalbl.S: Likewise.
9575         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
9577         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
9578         dynamic linker was called implicitly by the kernel.
9579         Reported by Eric Youngdale <eric@andante.jic.com>.
9581         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
9582         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
9583         prevent clever optimizations which corrupt the tests.
9585 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
9587         * math/libm-test.c (scalb_test): New function.
9588         (sqrt_test): New function.
9589         (scalbn_test): New function.
9590         (ilogb_test): New function.
9591         (main): Added calls for new test functions.
9592         (ldexp_test): Add another test for ldexp(x,0).
9594 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
9596         * math/libm-test.c (remquo_test): Correct messages so that they
9597         match the tests.
9598         (copysign_test): Likewise.
9600 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
9602         * stdio-common/Makefile (routines): Add printf_size.
9604         * stdio-common/printf.h: Add declarations for printf_size and
9605         printf_size_info.
9607         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
9608         declaration.
9609         (parse_one_spec): Test whether __printf_function_table is not NULL
9610         before using registered handlers and don't test
9611         __printf_arginfo_table.  Update nargs also when handler is
9612         registered.
9614         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
9615         processed in fast loop.
9617         * stdio-common/printf_size: New file.
9619 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
9621         * time/sys/time.h: Make values ITIMER_* also available as macros.
9623         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
9624         __fstat but instead __fxstat directly to avoid dependency on
9625         libc.a when inline failed.
9626         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
9628         * math/Makefile (libm-routines): Add s_remquo.
9629         * sysdeps/libm-i387/s_remquo.S: New file.
9630         * sysdeps/libm-i387/s_remquof.S: New file.
9631         * sysdeps/libm-i387/s_remquol.S: New file.
9632         * sysdeps/libm-ieee754/s_remquo.c: New file.
9633         * sysdeps/libm-ieee754/s_remquof.c: New file.
9634         * sysdeps/libm-ieee754/s_remquol.c: New file.
9636         * math/libm-test.c (remquo_test): New function.
9638         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
9639         correctly.
9641 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
9643         * math/Makefile (libm-calls): Add s_nan.
9644         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
9645         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
9646         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
9648         * math/libm-test.c (basic_tests): Add tests for `nan' function.
9650         * math/libm-test.c (copysign_test): New function.
9651         (main): Call copysign_test.
9653 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
9655         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
9656         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
9657         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
9658         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
9660         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
9661         New functions.  Test these functions.
9662         (main): Call above new functions.
9664 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
9666         * Net release 2.0.2.
9668 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
9670         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
9671         XTABS.
9672         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
9673         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
9674         of Sun Dec 15 16:33:44 1996.
9675         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
9677 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
9679         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
9680         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
9681         consult their values.
9682         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
9683         ELF_MACHINE_RELOC_NOPLT): New macros.
9685         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
9686         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
9687         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
9689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
9690         symbol lookup before checking reloc type except for R_386_RELATIVE.
9691         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
9693         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
9694         per-machine since it supposedly can't happen on i386.
9696         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
9697         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
9698         indirection from REF arg; change callers.
9699         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
9700         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
9701         FLAGS arg altogether.
9702         * elf/dlsym.c: Remove argument of FLAGS parameter.
9703         * elf/dlvsym.c: Likewise.
9704         * elf/link.h: Update decls.
9706 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
9708         * Makefile (distribute): Add BUGS.
9710         * sysdeps/generic/machine-gmon.h: Update copyright.
9712         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
9713         i386-mcount.
9714         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
9715         use regparam mechanism for call of `fixup' call.
9716         * sysdeps/i386/Dist: New file.
9717         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
9718         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
9719         of gmon definitions.
9721 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
9723         * stdlib/tst-strtol.c (main): Save the value of errno since printf
9724         may modify it, use the saved errno everywhere.
9725         * stdlib/tst-strtod.c (main): Likewise.
9727 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
9729         * posix/glob.c (glob): Fix completely broken handling of
9730         GLOB_BRACE and partly broken handling of GLOB_TILDE.
9731         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
9733 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
9735         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
9736         UIO_FASTIOV value by multiple readv calls since we need atomicity.
9737         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9738         Reported by Matthis Urlichs.
9740 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
9742         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
9743         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
9744         which clobbers %eax.
9746         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
9747         crtbegin.o/crtend.o, using gcc to find them.
9748         (+link): Use them.
9750 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
9752         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
9753         affect the alignment, and therefore the end padding of the structs.
9754         Reported by David Mosberger <davidm@azstarnet.com>.
9755         * gmon.c: Declare the variables with aligned tags to compensate.
9756         Use __writev instead of write for the I/O.
9758         * misc/sys/uio.h: Declare __writev and __readv.
9759         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
9760         * sysdeps/posix/writev.c: Likewise for writev.
9761         * sysdeps/stub/readv.c: Likewise.
9762         * sysdeps/stub/writev.c: Likewise.
9763         * sysdeps/unix/syscalls.list: Likewise.
9764         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9765         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9767         * stdlib/testdiv.c: Exit with error status when we have an error.
9768         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
9769         * sysdeps/alpha/ldiv.S: Likewise.
9771         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
9773 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
9775         * nis/nis_file.c: Unify error handling.
9777 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9779         * nis/nis_file.c (writeColdStartFile): Fix typo.
9780         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
9781         * nis/nis_free.c (nis_free_servers): Likewise.
9782         * nis/rpcsvc/nislib.h: Likewise.
9784         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
9786 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
9788         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
9790         * sysdeps/unix/sparc/sysdep.h: Update copyright.
9792 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9794         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
9795         it.
9797         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
9798         macro on ELF systems.
9800         * sysdeps/sparc/configure.in: Fix.
9802         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
9804         * sysdeps/sparc/setjmp.S: Fix my bugs.
9806         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
9807         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
9808         as-FLAGS-.so.
9809         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
9810         syscall.
9811         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
9812         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
9813         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
9814         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
9816         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
9817         symbol.
9818         (_dl_lookup_symbol): Test against the symbol being global not
9819         against the symbol being not weak (fixes important problem with
9820         the SPARC linker)
9822         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
9824         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
9825         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
9827 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
9829         * Makeconfig: (rpath-link): Add math/ directory.
9830         (math-objdir): New variable.
9831         (link-extra-lib): Define to special version when
9832         $(common-objpfx)!=$(objpfx) to allow libraries outside
9833         $(common-objpfx) be linked to the application.
9835         * math/Makefile: Add rules to build and run test programs.
9836         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
9837         (check_equal): Correct check for error.
9838         (ceil_test): Fix typo.
9839         (log_test): Fix typo.
9840         (floor_test): Fix typo.
9841         (pow_test): Fix typos.
9842         (log10_test): Allow slight incorrectness for `log10(e)'.
9843         (modf_test): New functions to test `modf' et.al.
9844         (hypot_test): Rewrite test completely.
9845         Patch partly by Andreas Jaeger.
9846         * math/test-double.h (__NO_MATH_INLINES): Define only if not
9847         already defined.
9848         * math/test-float.h: Likewise.
9849         * math/test-logdouble.h: Likewise.
9851         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
9852         * setjmp/tst-setjmp.c: Correct and extend test suite.
9853         * sysdeps/i386/__longjmp.S: Update copyright.
9854         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
9855         `__sigsetjmp' in PIC code.
9856         * sysdeps/i386/bsd-setjmp.S: Likewise.
9858         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
9859         overflow.
9860         * sysdeps/libm-i387/e_powf.S: Likewise.
9861         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
9862         case since expm1(-0) == -0.
9863         * sysdeps/libm-i387/s_expm1f.S: Likewise.
9864         * sysdeps/libm-i387/s_expm1l.S: Likewise.
9865         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
9866         access to FP number.
9867         * sysdeps/libm-ieee754/s_modff.c: Likewise.
9868         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
9869         code.  It never worked correctly.
9870         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
9871         case since tanh(-0) == -0.
9872         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
9873         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
9875 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
9877         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
9878         `thousands' to support systems with sizeof(wchar_t) !=
9879         sizeof(wint_t).  Blargh.
9881         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
9882         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
9883         appropriate headers.
9885         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
9886         UIO_FASTIOV and set to 8 if not available.
9887         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9888         Patch by HJ Lu.
9890         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
9891         "kernel_stat.h".
9892         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9893         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
9894         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
9896 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
9898         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
9900         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
9902         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
9904         * sysdeps/unix/sysv/Dist: Add direct.h.
9906         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
9908         * Make-dist ($(tardir).tar): Prefer writing temporary file to
9909         $TMPDIR is available.  The default is /tmp.
9911         * sysdeps/generic/ip.h: Move to...
9912         * sysdeps/generic/netinet/ip.h: ...here.
9914         * Makefile (tests): Quote $(CC) argument to isomac program.
9915         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
9917         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
9918         is placed in wrong place on the stack.
9919         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
9920         * sysdeps/tst-setjmp.c: Add new test for above problem.
9922         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
9923         * sysdeps/libm-i387/e_powf.S: Likewise.
9924         * sysdeps/libm-i387/e_powl.S: Likewise.
9926 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
9928         * time/offtime.c (__offtime): Change type of `yg' to long int.
9929         Reported by a sun <asun@zoology.washington.edu>.
9931 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
9933         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
9934         2.2.0 to prevent version mismatch.
9936 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
9938         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
9939         already defined.
9941 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
9943         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
9944         in ioctls.h.
9946         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
9947         loader first relocates itself.
9948         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
9949         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
9950         jump slot relocation. Prefer relative branches (some PowerPC chips
9951         don't predict absolute branches).
9952         (elf_machine_runtime_setup): Simplify and correct expressions.
9953         (RTLD_START): Fix bug changing _dl_starting_up.
9954         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
9955         strange Linux/PPC padding of initial stack.
9957 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
9959         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
9960         for future expansion.
9961         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
9962         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
9963         can't have a switch statement.
9964         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
9965         static.
9967         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
9968         confusing gcc's idea of the current section.
9969         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
9970         RTLD_START): Likewise.
9972 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
9974         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
9975         elf_machine_runtime_setup): Flush data & instruction caches when
9976         necessary, for 603/604 support. Add better support for large PLTs.
9977         (elf_machine_rela): Remove relocations that wouldn't work if
9978         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
9979         Never target branch relocations at a PLT entry.
9981         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
9982         generating PIC.
9983         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
9984         * sysdeps/powerpc/setjmp.S: Likewise.
9985         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
9986         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9987         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
9988         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
9990         * sysdeps/powerpc/elf/start.c: Clean up.
9992         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
9993         setjmp call.
9995         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
9997 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
9999         * Make-dist (srcs): Add $(test-srcs).
10000         * MakeTAGS (all-sources): Likewise.
10001         * Makerules (depfiles, common-mostlyclean): Likewise.
10002         * Rules (tests): Likewise.
10004 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
10006         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
10008 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
10010         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
10011         protocol=NULL to match any protocol rather than returning an
10012         error.
10014 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
10016         * nss/nss_files/files-service.c (servbyname): Match any protocol
10017         if proto==NULL.
10019 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
10021         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
10022         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
10023         Proposed by Thomas Bushnell, n/BSG.
10025 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
10027         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
10028         the buffer for replacement.
10030 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
10032         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
10033         sys_lstat and sys_stat.
10035 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10037         Add NIS+ functions
10038         * shlib-versions: Add libnss_nisplus.
10039         * nis/Makefile: Add NIS+ source files.
10040         * nis/nis_call.c: New file.
10041         * nis/nis_clone.c: New file.
10042         * nis/nis_error.c: New file.
10043         * nis/nis_file.c: New file.
10044         * nis/nis_free.c: New file.
10045         * nis/nis_intern.c: New file.
10046         * nis/nis_intern.h: New file.
10047         * nis/nis_local_names.c: New file.
10048         * nis/nis_names.c: New file.
10049         * nis/nis_print.c: New file.
10050         * nis/nis_server.c: New file.
10051         * nis/nis_subr.c: New file.
10052         * nis/nis_table.c: New file.
10053         * nis/nis_xdr.c: New file.
10054         * nis/nss-nisplus.h: New file.
10055         * nis/nss_nisplus/nisplus-alias.c: New file.
10056         * nis/nss_nisplus/nisplus-ethers.c: New file.
10057         * nis/nss_nisplus/nisplus-grp.c: New file.
10058         * nis/nss_nisplus/nisplus-hosts.c: New file.
10059         * nis/nss_nisplus/nisplus-netgrp.c: New file.
10060         * nis/nss_nisplus/nisplus-network.c: New file.
10061         * nis/nss_nisplus/nisplus-proto.c: New file.
10062         * nis/nss_nisplus/nisplus-publickey.c: New file.
10063         * nis/nss_nisplus/nisplus-pwd.c: New file.
10064         * nis/nss_nisplus/nisplus-rpc.c: New file.
10065         * nis/nss_nisplus/nisplus-service.c: New file.
10066         * nis/nss_nisplus/nisplus-spwd.c: New file.
10067         * nis/rpcsvc/nis.h: New file.
10068         * nis/rpcsvc/nis.x: New file.
10069         * nis/rpcsvc/nis_object.x: New file.
10070         * nis/rpcsvc/nis_tags.h: New file.
10071         * nis/rpcsvc/nislib.h: New file.
10073 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10075         * mach/devstream.c (output/write_some): Don't try and write more
10076         than IO_INBAND_MAX in a single call to device_write_inband.
10078 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
10080         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
10081         type is SVID.
10082         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
10083         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
10085         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
10086         FLAGS parameter.
10088 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
10090         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
10091         Change msg_iovlen and msg_controllen (in struct msghdr) to
10092         `size_t' to keep in step with kernel.
10094 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
10096         * manual/filesys.texi: Add documentation for scandir and alphasort.
10097         * manual/examples/dir2.c: New example for scandir.
10099         * math/math.c (fpclassify): Correct stupid typos.
10101         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
10102         * math/test/float.c: New file.  Frontend for float tests.
10103         * math/test/double.c: New file.  Frontend for double tests.
10104         * math/test/longdouble.c: New file.  Frontend for long double  tests.
10106         * posix/Makefile (routines): Add bsd-getpgrp.
10107         * posix/bsd-getpgrp.c: New file.
10108         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
10109         calls to __bsd_getpgrp.
10111         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
10113         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
10114         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
10115         * sysdeps/ieee754/huge_val.h: Remove definition of long double
10116         definition.  Make it the same as the double definition.
10118         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
10119         * sysdeps/libm-i387/e_acosf.S: Likewise.
10120         * sysdeps/libm-i387/e_acosl.S: Likewise.
10121         * sysdeps/libm-i387/e_asin.S: Likewise.
10122         * sysdeps/libm-i387/e_asinf.S: Likewise.
10123         * sysdeps/libm-i387/e_asinl.S: Likewise.
10124         * sysdeps/libm-i387/e_exp.S: Likewise.
10125         * sysdeps/libm-i387/e_expf.S: Likewise.
10126         * sysdeps/libm-i387/e_expl.S: Likewise.
10127         * sysdeps/libm-i387/s_scalbn.S: Likewise.
10128         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
10129         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
10131         * sysdeps/libm-i387/e_log.S: Optimize branch code.
10132         * sysdeps/libm-i387/e_logf.S: Likewise.
10133         * sysdeps/libm-i387/e_logl.S: Likewise.
10134         * sysdeps/libm-i387/e_log10.S: Likewise.
10135         * sysdeps/libm-i387/e_log10f.S: Likewise.
10136         * sysdeps/libm-i387/e_log10l.S: Likewise.
10138         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
10139         * sysdeps/libm-i387/e_powf.S: Likewise.
10140         * sysdeps/libm-i387/e_powl.S: Likewise.
10142         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
10143         argument to -1.0.
10144         * sysdeps/libm-i387/s_expm1f.S: Likewise.
10145         * sysdeps/libm-i387/s_expm1l.S: Likewise.
10147         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
10149         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
10150         stack element after fxtract.
10152         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
10153         implementation for atan2 function.
10155         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
10156         _SVID_ mode when acos, asin, atan2, log, log10 is called with
10157         argument out of range.
10158         Add new error case for pow(+0,neg).
10160         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
10161         NaN and +-inf.
10162         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
10163         digit in stupid 80 bit formats.
10165         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
10166         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
10167         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
10169         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
10170         long double type.
10172         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
10173         in SVID mode.
10174         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
10175         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
10177         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
10178         or -0.
10179         * sysdeps/libm-ieee754/w_powf.c: Likewise.
10180         * sysdeps/libm-ieee754/w_powl.c: Likewise.
10182         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
10184         * sysdeps/stub/fcntlbits.h: Update copyright.
10185         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
10186         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
10187         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
10188         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
10189         * sysdeps/unix/common/fcntlbits.h: Likewise.
10190         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
10191         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
10192         and FNDELAY.
10193         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
10195         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
10196         only reclen bytes.
10198         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
10199         and O_NORW.
10200         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
10202         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
10204         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
10205         struct stat to user-level form.
10206         * sysdeps/unix/sysv/linux/lxstat: New file.
10207         * sysdeps/unix/sysv/linux/xstat: New file.
10208         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
10209         kernel.
10210         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
10211         to use prescribed types for elements.
10212         (_STAT_VER): Change to value 3.
10213         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
10214         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
10215         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
10217         * time/Makefile: Correct dependencies for test-tz.
10219 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
10221         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
10222         (needed for IPv6 basic sockets API).
10224 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
10226         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
10227         kernel header.
10228         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
10230 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
10232         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
10233         without testing for last_bfp to be NULL.
10234         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
10236 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
10238         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
10240 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
10242         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
10243         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
10245 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
10247         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
10248         functions.  Compare result for correct address type.
10249         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
10250         * nss/nss_files/files-hosts.c: Likewise.
10251         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
10253 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
10255         * time/strptime.c (recursive): Return rp to caller.
10256         (strptime_internal): First check for long names, then abbreviated
10257         (month & weekday).
10259 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10261         * Makeconfig: Remove useless definitions of ASFLAGS-%.
10262         * config.make.in (ASFLAGS-.so): Remove.
10263         * configure.in: Don't substitute ASFLAGS_SO.
10264         * sysdeps/sparc/configure.in: Remove file.
10265         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
10267 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10269         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
10270         1900 from year, regardless of century.
10272 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
10274         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
10275         all numbers unsigned to make buggy gccs happy.
10276         Patch by Bryan W. Headley <bheadley@interaccess.com>.
10278         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
10279         definitions.  Patch by a sun <asun@zoology.washington.edu>.
10280         Pretty print header.
10282         * Makerules (build-shlib): Also create symlink if library is versioned.
10283         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
10284         Remove special rule to libc.so symlink.
10286 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
10288         * manual/math.texi (Domain and Range Errors): Change descriptions
10289         according to recent changes for ISO C 9X.
10291 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
10293         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
10294         return values for acos, asin, and atan2.
10295         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10297 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10299         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
10301 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
10303         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
10304         to pointers to directory entries so that alphasort really can be
10305         used as argument for scandir.
10307 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
10309         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
10310         instead of strcpy.
10312 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
10314         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
10315         catalogs, not only if the envvar NLSPATH is not available.
10316         Reported by Andries.Brouwer@cwi.nl.
10318 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
10320         * Makeconfig (localtime-file): Don't define using installation
10321         directory.
10322         (inst_localtime-file): New variable.
10323         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
10324         Reported by Edward Seidl <seidl@janed.com>.
10326 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
10328         * time/Makefile: Add source files to dependencies for test data.
10330 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
10332         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
10333         * nis/nss_nis/nis-proto.c: Likewise.
10334         * nis/nss_nis/nis-rpc.c: Likewise.
10335         * nis/nss_nis/nis-service.c: Likewise.
10337 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10339         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
10340         versioning;  Added missing R_SPARC_WDISP30 handling.
10341         (RTLD_START): Implement it.
10343         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10345         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10346         Linux/SPARC.
10348 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10350         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
10351         the dynamic linker instead of having a new conditional define.
10352         Thanks to Richard Henderson for pointing this out.
10353         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
10355 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10357         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
10358         euidaccess weak alias.
10360 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10362         * stdio-common/printf_fphex.c (MIN): New macro.
10364         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
10366         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
10368         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
10369         API.  (See change by Philip Blundell on Feb 16, 1997.)
10371 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10373         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
10375         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
10376         __file_name_split.
10378         * mach/mach_error.c (mach_error_string_int): Give full prototype.
10379         * mach/errstring.c (mach_error_string_int): Likewise.
10380         * mach/error_compat.c (__mach_error_map_compat): Likewise.
10381         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
10382         * stdio/vasprintf.c (vasprintf): Likewise.
10384         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
10386         * mach/spin-solid.c: Include <mach/mach_traps.h>.
10387         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
10388         swtch_pri.
10390         * mach/mach_init.c: Include <mach/mig_support.h>.
10392         * mach/mach_error.h (mach_error_string, mach_error,
10393         mach_error_type): Always provide prototypes.
10395         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
10396         appears to be entirely unused dead code.
10398 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
10400         * string/argz.h (__need_error_t): New macro, before including <errno.h>
10401         [!__const] (__const): New macro.
10402         [!__error_t_defined] (error_t): New typedef.
10404 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
10406         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
10407         -fPIC.
10408         * Makerules (compile.S): Use ASFLAGS-%.
10409         (COMPILE.S): Likewise.
10410         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
10411         * configure.in: Substitute ASFLAGS_SO.
10412         * sysdeps/sparc/configure.in: New file.
10414         * posix/unistd.h: Add prototype for __euidaccess.
10415         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
10416         euidaccess weak alias.
10417         * sysdeps/stub/euidaccess.c: Likewise.
10418         * inet/rcmd.c: Use __ protected versions of non-standard functions.
10420         * locale/setlocale.c (setlocale): Don't set usage_count to
10421         MAX_USAGE_COUNT if it already has this value.
10423         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
10424         binary locale files.  Use LOCALEDIR only.
10425         * locale/programs/locfile.c: When named file not found and not
10426         absolute use path in I18NPATH.
10428         * stdlib/Makefile (headers): Add inttypes.h.
10429         * sysdeps/wordsize-32/inttypes.h: New file.
10430         * sysdeps/wordsize-64/inttypes.h: New file.
10432         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
10433         and AF_FILE as synonym for AF_LOCAL.
10434         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
10436         * time/Makefile: Rewrite rules for test to handle parallel builds.
10438 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
10440         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
10441         robbe@orcus.priv.at.
10443 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
10445         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
10446         8-byte boundary.
10448 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
10450         * elf/link.h: Define __need_NULL to get definition.  Include
10451         <features.h>.
10452         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
10454 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
10456         Rewrite NIS code to allow empty keys.
10457         * nis/nss_nis/nis-ethers.c: Rewritten.
10458         * nis/nss_nis/nis-proto.c: Rewritten.
10459         * nis/nss_nis/nis-publickey.c: Rewritten.
10460         * nis/nss_nis/nis-rpc.c: Rewritten.
10461         * nis/nss_nis/nis-service.c: Rewritten.
10463 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
10465         * time/scheck.c (scheck): Add extra const to second argument.
10467         * time/private.h: Correct prototypes to match definition.
10469 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
10471         * sysdeps/alpha/__math.h: Remove cabs inline definition.
10472         Reported by Philip Blundell <pjb27@cam.ac.uk>.
10474 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
10476         * argp/Makefile (routines): Add argp-eexst.
10477         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
10478         * argp/argp-eexst.c: New file.  Define exit status variable.
10479         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
10480         variable instead of always exiting with value 1.
10481         * argp/argp-pv.c (argp_program_version): Make `const'.
10482         * argp/argp.h: Declare argp_err_exit_status.
10483         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
10485         * locale/programs/localedef.c: Use argp_err_exit_status to
10486         terminate with correct value.
10488         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
10489         switching of UID before opening .rhosts.
10491         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
10492         proposal.  The return value now is always the number of characters
10493         which would be written if enough space is available.
10494         * manual/stdio.texi: Update description for new behaviour.
10496         * locale/locale.h (__locale_t): Don't use __locale_t for struct
10497         name and pointer to struct since old gccs cannot keep the namespaces
10498         apart.  Rename struct to __locale_struct.
10499         * locale/duplocale.h: Likewise.
10500         * locale/newlocale.h: Likewise.
10502         * math/Makefile (headers): Add complex.h and cmathcalls.h.
10503         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
10504         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
10505         after use.
10506         (signgam): Move declaration to here from mathcalls.h.
10507         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
10508         Correct comment for fmin and fmax.
10509         Start implementing complex math function from ISO C 9X.
10510         * math/complex.h: New file.
10511         * math/cmathcalls.h: New file.
10512         * math/cabs.c: New file.
10513         * math/cabsf.c: New file.
10514         * math/cabsl.c: New file.
10515         * math/cimag.c: New file.
10516         * math/cimagf.c: New file.
10517         * math/cimagl.c: New file.
10518         * math/conj.c: New file.
10519         * math/conjf.c: New file.
10520         * math/conjl.c: New file.
10521         * math/creal.c: New file.
10522         * math/crealf.c: New file.
10523         * math/creall.c: New file.
10524         * sysdeps/libm-ieee754/w_cabs.c: Removed.
10525         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
10526         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
10528         * posix/regex.c: Merge with regex sources from Arnold Robbins'
10529         version in GNU awk.
10530         * posix/regex.h: Likewise.
10532         Add regex test suite by Tom Lord.
10533         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
10534         (tests): Add runtests.
10535         (before-compile): Add testcases.h.
10536         (testcases.h): New rule to generate header with tests.
10537         * posix/TESTS: New file.
10538         * posix/TESTS2C.sed.: New file.
10539         * posix/runtests.c: New file.
10540         * posix/testcases.h: New file.
10542         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
10543         available and use fall-back implementation if not.
10545         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
10547         * time/ialloc.c: Update from tzcode1997c.
10548         * time/private.h: Likewise.
10549         * time/scheck.c: Likewise.
10550         * time/tzselect.ksh: Likewise.
10551         * time/zdump.c: Likewise.
10552         * time/zic.c: Likewise.
10554         * time/tzfile.c: Pretty print.
10556 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
10558         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
10559         on a 601.
10561         * sysdeps/powerpc/Implies: Added.
10562         * sysdeps/powerpc/__longjmp.S: Added.
10563         * sysdeps/powerpc/__math.h: Added.
10564         * sysdeps/powerpc/bsd-_setjmp.S: Added.
10565         * sysdeps/powerpc/bsd-setjmp.S: Added.
10566         * sysdeps/powerpc/dl-machine.h: Added.
10567         * sysdeps/powerpc/ffs.c: Added.
10568         * sysdeps/powerpc/fpu_control.h: Added.
10569         * sysdeps/powerpc/jmp_buf.h: Added.
10570         * sysdeps/powerpc/setjmp.S: Added.
10571         * sysdeps/powerpc/strlen.S: Added.
10572         * sysdeps/powerpc/elf/start.c: Added.
10573         * sysdeps/powerpc/fpu_control.h: Added.
10574         * sysdeps/powerpc/jmp_buf.h: Added.
10576         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
10577         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
10578         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
10579         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
10580         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
10581         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
10582         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
10583         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
10584         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
10585         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
10586         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
10587         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
10588         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
10589         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
10591 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
10593         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
10594         because knowing the first instruction of a PowerPC PLT trampoline
10595         is not very helpful.
10597 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
10599         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
10600         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
10601         a preference as to where executables should be loaded.
10603 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
10605         * elf/elf.h: Add in all those PowerPC reloc types.
10607 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
10609         * stdio-common/vfscanf.c: Use __va_copy if available.
10611 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10613         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
10614         clean up namespace.
10616 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
10618         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
10619         non-existing GET_WORDS macro, use EXTRACT_WORDS.
10620         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
10622 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
10624         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
10625         kernel-level sigaction structure is different.  handle this
10626         correctly.
10627         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
10629 1997-03-06 05:55  David Engel  <david@sw.ods.com>
10631         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
10632         recognize cache entries with flag == 3.
10634 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
10636         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
10637         (INADDR_LOOPBACK): Likewise.
10638         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
10640         * manual/socket.texi: Correct types of INADDR_* constants from
10641         unsigned long to unsigned.
10643 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
10645         * time/antarctica: Update from tzdata1997c.
10646         * time/asia: Likewise.
10647         * time/zone.tab: Likewise.
10649 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10651         * configure.in (libc_cv_asm_symver_directive,
10652         libc_cv_ld_version_script_option): Remove unknown instruction from
10653         assembler test file.
10655 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10657         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
10658         __USE_ISOC9X.
10659         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
10660         (fabs): Remove defininition, it is a gcc builtin.
10661         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
10663 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
10665         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
10666         generating file.
10668 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
10670         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
10671         instead to avoid namespace problems.
10672         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
10674 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10676         * login/utmp_file.c: Fix previous change.  Make portable by
10677         checking the _HAVE_UT_* feature macros.
10679 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
10681         * Makerules: Add rules to handle versioning.
10682         * config.h.in (DO_VERSIONING): New macro.
10683         * config.make.in (versioning): New variable.
10684         * configure.in: Add checks for .symver directive in gas and
10685         --version-script option to ld.  Define DO_VERSIONING and
10686         versioning if appropriate.
10688         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
10689         s_fmin, and s_fdim.
10690         * math/math.h: Define ISO C 9X constants, macros and functions.
10691         * math/mathcalls.h: Likewise.
10692         * sysdeps/libm-ieee754/s_fdim.c: New file.
10693         * sysdeps/libm-ieee754/s_fdimf.c: New file.
10694         * sysdeps/libm-ieee754/s_fdiml.c: New file.
10695         * sysdeps/libm-ieee754/s_fmax.c: New file.
10696         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
10697         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
10698         * sysdeps/libm-ieee754/s_fmin.c: New file.
10699         * sysdeps/libm-ieee754/s_fminf.c: New file.
10700         * sysdeps/libm-ieee754/s_fminl.c: New file.
10701         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
10702         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
10703         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
10704         * sysdeps/libm-ieee754/s_signbit.c: New file.
10705         * sysdeps/libm-ieee754/s_signbitf.c: New file.
10706         * sysdeps/libm-ieee754/s_signbitl.c: New file.
10708         * stdio-common/printf_fphex.c: Correct printing of decimal point
10709         character.
10710         Simplify conversion of mantissa to string.
10711         * stdio-common/vfscanf.c: Handle %A format.
10712         Optimize termination of floating-point scanning.
10713         * stdio-common/tstscanf.c (main): Add new test to scanf to test
10714         scanning float values with given width.
10715         * stdlib/strtod.c: Add handling of floating-point numbers in
10716         hexadecimal notation.
10718         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
10719         functions.
10720         Pretty print #if directives.
10721         * string/string.h: Pretty print #if directives.
10723         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
10724         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
10725         * sysdeps/ieee754/mpn2dbl.c: Likewise.
10726         * sysdeps/ieee754/mpn2flt.c: Likewise.
10727         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
10729         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
10730         falling back to select-based implementation if syscall isn't
10731         available.
10732         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
10734         * time/leapseconds: Update from tzdata1997b.
10735         * time/zic.c: Update from tzcode1997b.
10737 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10739         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
10740         depedencies between installed $(tzlinks) and $(tzbases) files.
10742 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10744         * math/math.h: Make compatible with traditional preprocessor;
10745         requires carefull placement of whitespace in macro arguments.
10746         Use __CONCAT instead of ##.
10747         Declare long double functions only if __STDC__ or __GNUC__.
10748         * math/mathcall.h: Avoid whitespace before argument of macro call
10749         that is used as function name.
10751         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
10752         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
10753         of __NO_M81_MATH_INLINES.
10754         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
10755         starting with __ieee754.
10756         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
10757         functions as inlines.
10758         (__m81_defun): Put __attribute__ between return type and function
10759         name.
10760         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
10761         is defined.
10762         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
10763         instead of __NO_M81_MATH_INLINES.
10764         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10765         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10766         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10767         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10768         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
10769         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10770         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10771         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10772         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10773         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10775 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10777         * Makefile (tests): Cope with $PATH not including the current
10778         directory.
10780 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10782         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
10783         $(common-objdir-compile).
10784         ($(common-objpfx)make-ioctls): Likewise.
10785         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
10786         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
10787         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
10788         Likewise.
10789         ($(common-objpfx)sys/syscall.h): Likewise.
10790         ($(common-objpfx)local_lim.h): Let make deal with command
10791         failure.
10792         ($(common-objpfx)param.h.dep): Use temporary file and update
10793         target atomically.
10794         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
10795         (include $(common-objpfx)param.h.dep): Ignore error.
10797         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
10798         $(common-objdir-compile).
10799         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
10800         $(shell pwd) instead of $$cwd.
10802         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
10803         $(common-objdir-compile).
10804         ($(objpfx)make_siglist): Use $(native-compile).
10805         (make_siglist-CFLAGS): New variable.
10807         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
10808         the old name for the user to pass additional flags to the host
10809         compiler.  Fix reference to config header.
10810         (native-compile, common-objdir-compile): Rewritten to make more
10811         generally usable.
10812         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
10813         instead of BUILD_CFLAGS.
10815         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
10816         defined.
10818 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10820         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
10821         New rules to generate dependencies for the RPC service objects.
10823 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10825         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
10826         supplied.
10828 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
10830         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
10831         so that clearing second word is necessary.
10833         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
10834         header since it is wrong for 64 bit systems.
10835         Patch by a sun <asun@zoology.washington.edu>.
10837 1997-02-27 10:34  Richard Henderson  <rth@tamu.edu>
10839         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
10840         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
10841         for the benefit of running foreign binaries.
10843 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
10845         * login/utmp_file.c (pututline_file): Correctly decide whether
10846         LAST_ENTRY matches DATA.
10847         Don't depend on ut_id ever being set.
10848         (proc_utmp_eq): New function.
10849         (internal_getut_r): Renamed from internal_getutid_r.
10850         Use proc_utmp_eq.
10852         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
10854 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
10856         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
10858 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
10860         * manual/Makefile: Add rules to run and distribute xtract-typefun.
10861         * manual/xtract-typefun.awk: New file.  Script to extract function,
10862         variable, macro anchor to put into the `dir' file.
10863         * manual/signal.texi: Document difference between SysV and BSD
10864         signal(3) function and add documentation for sysv_signal.
10866         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
10867         exponent before comparing.
10869 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
10871         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
10872         prototypes to use types with explicit width.  `unsigned long' is
10873         different on 64 bit systems.
10874         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
10875         * sysdeps/generic/htonl.c: Likewise.
10876         * sysdeps/generic/htons.c: Likewise.
10877         * sysdeps/generic/ntohl.c: Likewise.
10878         * sysdeps/generic/ntohs.c: Likewise.
10879         Suggested by a sun <asun@zoology.washington.edu>.
10881 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
10883         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
10884         defined and we want optimization.
10886 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10888         * misc/getpass.c: Don't disable canonical input.
10889         Reverted patch of Mon Jan  6 01:35:29 1997.
10891 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10893         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
10894         match the hidden __in_chrg parameter of the destructor.
10895         (_IO_FINISH): Pass zero for it.
10896         * libio/genops.c (_IO_default_finish): Add second parameter, which
10897         is ignored.
10898         * libio/memstream.c (_IO_mem_finish): Likewise.
10899         * libio/fileops.c (_IO_file_finish): Likewise.
10900         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
10902 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
10904         * time/Makefile: Avoid using patterns in dependencies.
10906 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10908         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
10909         SPARC will convert the call _dl_start into a call into the PLT.
10911         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
10912         of arg to make it point to the actual values.
10914         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
10915         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
10917         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
10918         them PIC aware.
10920         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
10921         Implemented.
10922         (elf_machine_rela): Make it compile; fix existing relocation
10923         types; add unhandled relocation types.
10924         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
10925         (RTLD_START): Initial implementation, not yet finished.
10927         * sysdeps/sparc/elf/start.S: Fix.
10929         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
10930         __setfpucw.
10932         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
10933         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
10934         sysdeps/sparc/urem.S : Regenerated.
10936         * sysdeps/sparc/setjmp.S: Make it PIC aware.
10938         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
10939         __ASSEMBLY__ before using kernel header.
10941         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
10942         rtld.c.
10944         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
10945         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
10946         to handle old signals.
10947         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
10948         for all Linux/SPARC kernels.
10949         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
10950         errno using __errno_location.
10951         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
10952         macros for assembler sources.
10953         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
10955 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10957         * elf/rtld.c (dl_main): Remove dead code that is never executed.
10958         Rename local variable l to main_map where it is used to point to
10959         the load_map for the executable.
10961 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10963         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
10964         could not be found.
10966 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10968         * Makerules: Generate implicit object suffix rules automagically.
10969         (o-iterator): Move before first use.
10971         * Makeconfig (all-object-suffixes): Add .bo suffix.
10973 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
10975         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
10976         word on stack for overflow.
10978 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10980         * malloc/malloc.c (malloc_get_state): New function.
10981         Saves global malloc state to an opaque data structure which
10982         is dynamically allocated in the heap.
10983         * malloc/malloc.c (malloc_set_state): New function.
10984         Restore previously obtained state.
10985         * malloc/malloc.h: Add declaration of malloc_get_state()
10986         and malloc_set_state().
10988 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
10990         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
10991         position.
10993 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
10995         * misc/error.c: Make error and error_at_line weak aliases of
10996         __error and __error_at_line respectively.
10997         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
10999         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
11001 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11003         * elf/ldd.bash.in: Run the program directly, not as argument
11004         to the dynamic linker, if it contains an interpreter segment.
11005         * elf/ldd.sh.in: Likewise.
11007         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
11008         object contains an interpreter segment and exit with 2 if not.
11010 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11012         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
11013         and xlocale.h.  Make-dist adds them automagically.
11015 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11017         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
11018         time-era-num-entries.
11020 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11022         * rellns-sh: No need to check for existance of first parameter.
11024 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
11026         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
11027         to avoid duplicate mail.
11029 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
11031         * Makefile (distribute): Add isomac.c.
11032         (tests): Run isomac test.
11034         * features.h (__USE_ISOC9X): New macro.
11036         * catgets/catgets.c: Don't use global variable `optind'.  Instead
11037         use result computed by argp_parse.
11038         * db/makedb: Likewise.
11039         * locale/programs/locale.c: Likewise.
11040         * locale/programs/localedef.c: Likewise.
11042         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
11044         * libio/clearerr.c: Remove clearerr_locked alias.
11045         * libio/feof.c: Remove feof_locked alias.
11046         * libio/ferror.c: Remove feof_locked alias.
11047         * libio/fileno.c: Remove fileno_locked alias.
11048         * libio/fputc.c: Remove fputc_locked alias.
11049         * libio/getc.c: Remove getc_locked alias.
11050         * libio/getchar.c: Remove getchar_locked alias.
11051         * libio/iofflush.c: Remove fflush_locked alias.
11052         * libio/putc.c: Remove putc_locked alias.
11053         * libio/putc.c: Remove putchar_locked alias.
11055         * stdio-common/printf_fp.c: When number is inifinity print INF
11056         or inf depending on case of specifier.  Same for NaN where NAN
11057         or nan is printed.  Specified in ISO C 9X.
11059         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
11060         * stdio/stdio.h: Add __restrict to prototypes where necessary.
11061         * libio/stdio.h: Likewise.
11062         * stdlib/stdlib.h: Likewise.
11063         * string/string.h: Likewise.
11064         * time/time.h: Likewise.
11065         * wcsmbs/wchar.h: Likewise.
11067         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
11068         NAN(...).
11070         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
11071         of HUGE_VALf and HUGE_VALL.
11072         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
11073         instead of HUGE_VALf.
11074         * wcsmbs/wcstof.c: Likewise.
11075         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
11076         instead of HUGE_VALl.
11077         * wcsmbs/wcstold.c: Likewise.
11079         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
11080         avoid warning.
11082         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
11083         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
11084         * wcsmbs/wcscasecmp.c: New file.
11085         * wcsmbs/wcsncase.c: New file.
11087         * stdlib/strtol.c: Define wide character quad word functions as
11088         wcstoll and wcstoull and normal versions as strtoll and strtoull.
11089         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
11090         * wcsmbs/wcstoq: Renamed to wcstoll.c.
11091         * wcsmbs/wcstouq: Renamed to wcstoull.c.
11092         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
11093         alias of wcstoll.
11094         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
11095         alias of wcstoull.
11096         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
11097         wcstoll and wcstoull respectively.
11098         * stdlib/strtoq.c: Rename to strtoll.c.
11099         * stdlib/strtouq.c: Rename to strtoull.c.
11100         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
11101         alias of strtoll.
11102         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
11103         alias of strtoull.
11104         * stdlib/Makefile (routines): Replace strtoq and strtouq by
11105         strtoll and strtoull respectively.
11106         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
11107         __strtouq_internal but instead __strtoll_internal and
11108         __strtoull_internal respectively.
11109         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
11110         (strtouq): Similar with __internal_strtoull.
11111         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
11112         (wcstouq): Similar with __internal_wcstoull.
11114 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
11116         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
11117         sign in the strtouXX functions.  The results gets simply negated.
11118         * stdio-common/tstscanf.c: Add testcase for above case.
11119         * stdlib/tst-strtol.c: Correct tests.
11121         * manual/stdio-fp.c: New file.  Generate output for example program
11122         in stdio.texi.
11124         * stdio-common/Makefile (routines): Add printf_fphex.
11125         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
11126         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
11127         specifier.
11129 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
11131         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
11132         __STRICT_ANSI__.
11134         * math/math.h: Prevent definition of struct exception when using
11135         C++.  Use __exception instead.
11137 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
11139         * sysdeps/unix/syscalls.list: Dup takes only one argument.
11140         Reported by Greg McGary.
11142 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
11144         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
11145         than file_get_translator.
11147         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
11148         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
11150 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
11152         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
11153         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11155 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
11157         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
11158         but ADDR also == 0.
11160         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
11161         now instead of a weak extern, as some old programs expect it to be
11162         defined by ld.so.
11164 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
11166         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
11168         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
11169         __hurd_threadvar_stack_offset): Restore initialized versions, so
11170         startup works correctly.
11172         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
11174 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
11176         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
11177         not __mutex_try_lock.
11178         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
11179         (tsd_getspecific): Case variable to (void *) before returning.
11181         * hurd/hurdinit.c (__libc_argv): Remove extern.
11182         (__libc_argc): New variable.
11184 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
11186         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
11187         _HURD_THREADVAR_MALLOC.
11188         * malloc/thread-m.h
11189         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
11190         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
11191         __mutex_*.
11192         (mutex_t): Type removed & replaced by new macro.
11193         (tsd_key_t): Typedef to int instead of pthread_key_t.
11194         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
11195         (__pthread_initialize): New macro, work around assumption of pthreads.
11196         (tsd_keys_alloced): New static variable.
11197         <hurd/threadvar.h>: New include.
11199         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
11200         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
11201         defined before using it.
11203         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
11204         Make extern.
11205         * hurd/hurdinit.c (__libc_argv): Make extern.
11207         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
11208         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
11210         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
11211         __hurd_threadvar_stack_offset,
11212         __hurd_threadvar_stack_mask): New variables.
11213         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
11214         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
11215         New variables (moved here from hurdstartup.c).
11216         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
11217         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
11218         Variables removed (moved to hurdsig.c).
11219         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
11220         __hurd_threadvar_stack_mask): Variables removed.
11221         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
11222         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
11223         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
11224         __hurd_threadvar_stack_mask): Variables removed.
11226 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
11228         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
11229         Declare extern.
11231         * malloc/thread-m.h
11232         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
11233         (mutex_t): Type removed.
11234         (mutex_t): New macro.
11235         (mutex_trylock): New macro.
11236         (__x_mutex_lock, __x_mutex_unlock): New functions.
11237         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
11238         the cthread definitions.
11239         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
11240         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
11241         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
11242         (__pthread_initialize): New macro, work around assumption of pthreads.
11244 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
11246         * locale/weight.h (collate_rules): It's an u_int32_t array.
11247         (get_weight): Compute initial SLOT value correctly.
11249 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
11251         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
11252         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
11253         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11254         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11255         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11256         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11257         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11258         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11259         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11260         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11261         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11262         * sysdeps/unix/sysv/linux/send.S: Likewise.
11263         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11264         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11265         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11266         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11267         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11269 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
11271         * catgets/gencat.c: Change to use argp.
11272         * db/makedb: Likewise.
11273         * locale/programs/localedef.c: Likewise.
11275         * locale/programs/locale.c: Little adjustment for better usage of
11276         argp.
11278 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
11280         * Makeconfig: Add rules for libc with bounded pointers.
11281         * Makerules: Likewise.
11282         * config.make.in: Likewise.
11283         * configure.in: Likewise.
11285 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
11287         * argp/argp.h (OPTION_NO_USAGE): New macro.
11288         * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
11289         add_argless_short_opt): Implement OPTION_NO_USAGE.
11291 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11293         * malloc/obstack.h: Fix typo.
11295 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
11297         * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
11298         where NEXTLINE points one past the end of the active buffer.
11300         * argp/argp-help.c <stddef.h>: New include.
11301         (__argp_failure): Only exit if STATE says it's ok.
11302         (print_header, hol_entry_help): Use UPARAMS fields rather than
11303         constants.
11304         (_help): Call fill_in_uparams if necessary.
11305         (struct hol_help_state): New type.
11306         (struct pentry_state): Add hhstate field.  Remove prev_entry &
11307         sep_groups fields.
11308         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
11309         sep_groups parameters.
11310         Suppress duplicate arguments if requested, and note the fact.
11311         (print_header, comma): Use PEST->hhstate fields.
11312         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
11313         Remove LAST_ENTRY & SEP_GROUPS variables.
11314         If any suplicate arguments were suppressed, print explanatory note.
11315         (filter_doc): Replace PEST parameter with STATE.
11316         (struct uparams): New type.
11317         (uparams): New variable.
11318         (struct uparam_name): New type.
11319         (uparam_names): New variable.
11320         (fill_in_uparams): New function.
11321         (__argp_failure, __argp_error, __argp_state_help): Make STATE
11322         parameter const.
11323         * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
11324         __argp_usage, argp_error, __argp_error, argp_failure,
11325         __argp_failure): Make STATE parameter const.
11326         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
11328         * argp/argp.h (argp_program_bug_address): Make const.
11330 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
11332         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
11334 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
11336         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
11338 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
11340         * stdio-common/test-fseek.c: Remove temporary file, add
11341         copyright.
11343 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
11345         * sysdeps/generic/netinet/in.h: Protect contents using
11346         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
11348         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
11349         * inet/Makefile (headers): Remove net/ethernet.h.
11350         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
11351         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
11353 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
11355         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
11356         searching in sorted array.
11358 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
11360         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
11361         and protect modification of global data.
11363 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
11365         * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
11366         (parser_init): Use the basename for PARSER->state.name.
11367         * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
11368         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
11370         * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
11371         Make check whether PARSER has the prog name in argv[0] at the
11372         proper place.
11374 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
11376         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
11377         Use default value instead of printing a warning.
11379         * nss/XXX-lookup.c: Add missing explanation.
11381 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
11383         * inet/in6_addr.c: Add missing braces.
11385         * inet/getnameinfo.c: Include <arpa/inet.h>.
11387         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
11389 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
11391         * string/strxfrm.c (STRCOLL): Correct handling of `position'
11392         levels with no non-IGNOREd element and handling of NUL byte.
11393         * string/strcoll.c (STRXFRM): Likewise.
11394         * locale/weight.h: Likewise.
11396         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
11398 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
11400         * argp/argp-help.c: Add support for user provided filter of help
11401         messages.
11402         * argp/argp-parse.c: Likewise.
11403         * argp/argp.h: Likewise.
11404         * argp/argp-namefrob.h: Define __argp_input.
11406         * argp/argp-test.c: Add example for filter.
11408 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
11410         * argp.h: New file.
11411         * locale/programs/locale.c: Switch to use argp.
11413         * errno.h: Make it possible to get definition of error_t even
11414         after having errno.h already.
11416         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
11417         from dl-lookup.c.
11418         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
11420         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
11421         * elf/dl-version.c: Likewise.
11423         * elf/dl-lookup.c: Implement new versioning lookup scheme.
11424         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
11425         in l_versions member.
11427         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
11428         and _dl_lookup_versioned_symbol.
11430         * elf/link.h: Rename hash_name_pair to struct r_found_version.
11431         * sysdeps/alpha/dl-machine.h: Likewise.
11432         * sysdeps/i386/dl-machine.h: Likewise.
11433         * sysdeps/m68k/dl-machine.h: Likewise.
11434         * sysdeps/mips/dl-machine.h: Likewise.
11436         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
11437         length of abs_filename.
11439         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
11441         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
11442         in mon_grouping information.  This means no more grouping.
11443         * locale/programs/ld-numeric.c (numeric_add): Write value \377
11444         when seein value 0 in grouping information.
11445         * locale/programs/linereader.c (lr_close): Don't free fname since
11446         it might be used in error messages.
11448         * locale/programs/locale.c: Check whether output of `locale -a'
11449         really is locale directory.  Also print locale aliases.
11451         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
11452         be const.
11454 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
11456         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
11457         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
11459 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
11461         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
11463 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
11465         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
11466         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
11468         * sysdeps/stub/msync.c (msync): Add missing third parameter.
11470 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
11472         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
11473         additional argument.
11475 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
11477         * inet/net/ethernet.h: New file.
11478         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
11479         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
11480         Contributed by a sun <asun@zoology.washington.edu>.
11482         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
11483         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
11484         Reported by a sun <asun@zoology.washington.edu>.
11486 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11488         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
11489         makefiles which may change the distinfo variables.
11491 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11494         [$(subdir)=misc]: Add sys/quota.h.
11495         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
11497 1997-02-17 13:12  aleph1@dfw.net
11499         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
11500         strncpy.
11502 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
11504         * stdio-common/bug10.c (main): Correct parameter.
11506 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
11508         * malloc/obstack.h: Add `extern "C"' protection.
11509         * posix/regex.h: Likewise.
11510         * io/ftw.h: Likewise.
11511         * misc/libgen.h: Likewise.
11512         * login/utmp.h: Likewise.
11513         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
11514         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11515         * sunrpc/rpc/pmap_rmt.h: Likewise.
11516         * sunrpc/rpc/auth_des.h: Likewise.
11517         * elf/link.h: Likewise.
11518         Reported by HJ Lu.
11520 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
11522         Linux specific network headers.
11523         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
11524         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
11525         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
11526         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
11527         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
11528         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
11529         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
11530         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
11531         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
11532         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
11533         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
11534         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
11535         Add sys/quota.h.
11536         [$(subdir)=inet] (sysdep_headers): Add new network header.
11538         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
11540         * inet/netinet/ip.h: Move to sysdeps/generic.
11541         * inet/netinet/tcp.h: Likewise.
11542         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
11543         * sysdeps/generic/netinet/tcp.h: Likewise.
11545 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
11547         * misc/sys/syslog.h (prioritynames): Correct definition to use
11548         braces where necessary.
11549         (facilitynames): Likewise.
11550         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
11551         Comment and beautify declarations.
11553 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
11555         * inet/Makefile (routines): Add in6_addr, getnameinfo.
11556         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
11557         by Craig Metz.
11558         * inet/in6_addr.c: New file.  IPv6 addressing constants.
11559         * posix/Makefile (routines): Add gai_strerror.
11560         * resolv/netdb.h: Add more constants for IPv6 basic API.
11561         * sysdeps/posix/gai_strerror.c: New file.
11562         * sysdeps/stub/gai_strerror.c New file.
11563         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
11564         basic API.
11566         * sysdeps/posix/getaddrinfo.c: Update from latest version by
11567         Craig Metz and use reentrant getXXbyYY functions.
11569 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
11571         * argp/argp.h: Declare argp_program_version as const char.
11572         * argp/argp-test.c: Likewise
11574         * stdlib/testrand.c (main): Declare main prototype.
11575         * stdlib/testdiv.c (main): Likewise.
11576         * string/testcopy.c (main): Likewise.
11577         * string/test-ffs.c (main): Likewise.
11578         * time/test_time.c (main): Likewise.
11580         * locale/duplocale.c (__duplocale): Return result.
11582 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
11584         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
11585         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
11587         * nss/nss.h: Remove declaration of __nss_shlib_revision.
11588         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
11590 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
11592         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
11593         _nss_nis_gethostton_r.
11594         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
11596 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
11598         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
11599         trying to resolv name as numeric IPv6 address.
11600         * nss/digits_dots.c: Likewise.
11602 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
11604         * locale/setlocale.c (setlocale): Don't try to be clever about
11605         unused locales.  When the existence of the locale files isn't
11606         tested the result of setlocale might be different.
11608 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
11610         * locale/setlocale.c (setlocale): Don't increment usage_count of
11611         new locale if it already has the value MAX_USAGE_COUNT (it might
11612         be the C locale data which is read-only).
11614 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
11616         * argp/argp-help.c: Gettextize sources.
11617         * argp/argp-parse.c: Likewise.
11619 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
11621         * features.h (__GLIBC_MINOR__): Bump to 1.
11623         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
11624         * Makefile (distribute): Add xlocale.h.
11625         * locale/Makefile (routines): Add ctype_l.
11626         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
11627         Add __isblank_l, __toascii_l and __isascii_l.
11628         * ctype/ctype.h: Add definitions and declarations for *_l functions.
11629         * locale/Makefile (headers): Add xlocale.h.
11630         (routines): Add newlocale, duplocale, and freelocale.
11631         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
11632         (struct locale_data): Add new fields mmaped and usage_count.
11633         Correct various declarations.
11634         * locale/C-collate.c: Define value for new fields mmaped and
11635         usage_count.
11636         * locale/C-ctype.c: Likewise.
11637         * locale/C-messages.c: Likewise.
11638         * locale/C-monetary.c: Likewise.
11639         * locale/C-numeric.c: Likewise.
11640         * locale/C-time.c: Likewise.
11641         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
11642         usage_count fields.
11643         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
11644         Correct prototypes for __newlocale and __freelocale.
11645         Add prototype for __duplocale.
11646         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
11647         (_nl_remove_locale): New function.
11648         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
11649         * locale/setlocale.c: Likewise.
11650         * locale/weight.h: Change for use with locale objects.
11651         * locale/xlocale.h: New file.  Define __locale_t type.
11652         * locale/newlocale.c: New file.  Create new locale object.
11653         * locale/freelocale.c: New file.  Destroy locale object.
11654         * locale/duplocale.c: New file.  Create copy of locale object.
11655         * stdlib/Makefile (routines): Add strfmon_l.
11656         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
11657         * stdlib/strfmon.c: Add support for use in extended locale model.
11658         * stdlib/strfmon_l.c: New file.
11659         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
11660         * string/strcoll.c: Change for use in extended locale model.
11661         * string/strxfrm.c: Likewise.
11662         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
11663         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
11664         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
11665         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
11666         * wcsmbs/wcscoll.c: Change for use in extended locale model.
11667         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
11668         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
11669         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
11670         and towctrans_l.
11671         * wctype/cname-lookup.h: Prepare for use in extended locale model.
11672         * wctype/iswctype_l.c: New file.  Implement character classification
11673         functions for use with locale objects.
11674         * wctype/wctype.h: Declare functions for use with locale objects.
11675         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
11676         for use with locale objects.
11677         * wctype/wcfuncs_l.c: New file.  Implement wide character
11678         classification functions for use with locale objects.
11679         * wctype/wcextra.c: New file.  Implement real functions for
11680         non-standard classification functions.
11682         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
11683         parameters to ld.so.  Use environment variables.
11684         * elf/ldd.sh.in: Likewise.
11685         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
11686         options.  Instead read environment variables.
11688         * elf/link.h (receiver_fct): Add new argument to take error code.
11689         * elf/dl-error.c (_dl_signal_error): Call receiver function with
11690         another argument.
11692         * elf/dl-object.c (_dl_new_object): Create new object with list of
11693         names in l_libname member.
11694         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
11695         find to object to the list in the link_map variable.
11696         (_dl_map_object): Use _dl_does_name_match_p to compare with all
11697         available names of the object.
11698         Optimize handling of LD_LIBRARY_PATH a bit.
11699         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
11701         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
11703         * elf/Makefile (routines): Add dl-version.
11704         * elf/link.h (hash_name_pair): New type.  Group pointer to string
11705         and its hash value.
11706         (struct link_map): Change l_libname member to be a list of names,
11707         not a single pointer to a name.
11708         Add new members l_nversions and l_versions.
11709         (_dl_does_name_match_p): New function to test for all names of an
11710         object.
11711         Add prototypes for new lookup and versioning functions.
11712         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
11713         when versioned symbol is requested.
11714         (_dl_lookup_symbol): Call do_lookup with another argument.
11715         (_dl_lookup_symbol_skip): Likewise.
11716         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
11717         versioned symbol.
11718         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
11719         _dl_lookup_symbol_skip.
11720         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
11721         _dl_lookup_symbol depending on availability of version information.
11722         * elf/dl-runtime.c (RESOLVE): Likewise.
11723         (fixup): Call elf_machine_relplt with additional argument to point
11724         to versioning information if available.
11725         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11726         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
11727         for correct versions.
11728         * elf/dl-version.c: New file.  Check library versions and extract
11729         version information for easier access.
11730         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
11731         * elf/dlvsym.c: New file.  Implementation of function similar to
11732         dlsym, but looks for versioned symbol.
11733         * elf/elf.h: Add types and macros for versioning.
11734         * elf/rtld.c (dl_main): Check availability of needed versions.
11735         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
11736         argument for version information.  Call RESOLVE with additional
11737         argument.
11738         * sysdeps/i386/dl-machine.h: Likewise.
11739         * sysdeps/m68k/dl-machine.h: Likewise.
11740         * sysdeps/mips/dl-machine.h: Likewise.
11742         * elf/dlerror.c: Change comment to align with guidelines.
11743         * elf/dlopen.c: Likewise.
11744         * elf/dlsym.c: Likewise.
11746         * locale/programs/localedef.c: Implement --quiet option.
11747         * locale/programs/charset.h: Declare be_quiet variable.
11748         * locale/programs/locfile.h: Likewise.
11749         * locale/programs/charmap.c: Don't print warnings if quiet option
11750         was given.
11751         * locale/programs/ld-collate.c: Likewise.
11752         * locale/programs/ld-ctype.c: Likewise.
11753         * locale/programs/ld-messages.c: Likewise.
11754         * locale/programs/ld-monetary.c: Likewise.
11755         * locale/programs/ld-numeric.c: Likewise.
11756         * locale/programs/ld-time.c: Likewise.
11757         * locale/programs/locfile.c: Likewise.
11759         * Makefile (subdirs): Add argp.
11761         * catgets/catgets.c (catopen): Little code improvement.
11763         * posix/execl.c: Remove restriction to 1024 arguments.
11764         * posix/execle.c: Likewise.
11765         * posix/execlp.c: Likewise.
11767         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
11768         and make regular names weak aliases.
11769         * posix/getopt1.c: Likewise.
11770         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
11771         __ protected forms.
11773         * posix/unistd.h: Add prototype for __sleep.
11774         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
11775         * sysdeps/posix/sleep.c: Likewise.
11776         * sysdeps/stub/sleep.c: Likewise.
11777         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11779         * ctype/ctype-info.c: Update copyright.
11780         * ctype/ctype.c: Likewise.
11781         * ctype/test_ctype.c: Likewise.
11782         * dirent/alphasort.c: Likewise.
11783         * dirent/list.c: Likewise.
11784         * gmon/bb_exit_func.c: Likewise.
11785         * grp/fgetgrent.c: Likewise.
11786         * grp/getgrent.c: Likewise.
11787         * grp/getgrent_r.c: Likewise.
11788         * grp/getgrgid.c: Likewise.
11789         * grp/getgrgid_r.c: Likewise.
11790         * grp/getgrnam.c: Likewise.
11791         * grp/getgrnam_r.c: Likewise.
11792         * hurd/alloc-fd.c: Likewise.
11793         * hurd/catch-exc.c: Likewise.
11794         * hurd/ctty-input.c: Likewise.
11795         * hurd/ctty-output.c: Likewise.
11796         * hurd/dtable.c: Likewise.
11797         * hurd/fchroot.c: Likewise.
11798         * hurd/fd-close.c: Likewise.
11799         * hurd/fd-read.c: Likewise.
11800         * hurd/fd-write.c: Likewise.
11801         * hurd/fopenport.c: Likewise.
11802         * hurd/get-host.c: Likewise.
11803         * hurd/getdport.c: Likewise.
11804         * hurd/getuids.c: Likewise.
11805         * hurd/getumask.c: Likewise.
11806         * hurd/hurd-raise.c: Likewise.
11807         * hurd/hurd.h: Likewise.
11808         * hurd/hurdauth.c: Likewise.
11809         * hurd/hurdexec.c: Likewise.
11810         * hurd/hurdhost.h: Likewise.
11811         * hurd/hurdid.c: Likewise.
11812         * hurd/hurdinit.c: Likewise.
11813         * hurd/hurdioctl.c: Likewise.
11814         * hurd/hurdkill.c: Likewise.
11815         * hurd/hurdlookup.c: Likewise.
11816         * hurd/hurdmsg.c: Likewise.
11817         * hurd/hurdpid.c: Likewise.
11818         * hurd/hurdports.c: Likewise.
11819         * hurd/hurdprio.c: Likewise.
11820         * hurd/hurdrlimit.c: Likewise.
11821         * hurd/hurdsock.c: Likewise.
11822         * hurd/hurdstartup.c: Likewise.
11823         * hurd/hurdstartup.h: Likewise.
11824         * hurd/intern-fd.c: Likewise.
11825         * hurd/intr-msg.c: Likewise.
11826         * hurd/intr-rpc.defs: Likewise.
11827         * hurd/intr-rpc.h: Likewise.
11828         * hurd/msgportdemux.c: Likewise.
11829         * hurd/new-fd.c: Likewise.
11830         * hurd/openport.c: Likewise.
11831         * hurd/pid2task.c: Likewise.
11832         * hurd/port-cleanup.c: Likewise.
11833         * hurd/port2fd.c: Likewise.
11834         * hurd/ports-get.c: Likewise.
11835         * hurd/ports-set.c: Likewise.
11836         * hurd/privports.c: Likewise.
11837         * hurd/report-wait.c: Likewise.
11838         * hurd/set-host.c: Likewise.
11839         * hurd/setauth.c: Likewise.
11840         * hurd/setuids.c: Likewise.
11841         * hurd/siginfo.c: Likewise.
11842         * hurd/sigunwind.c: Likewise.
11843         * hurd/task2pid.c: Likewise.
11844         * hurd/thread-cancel.c: Likewise.
11845         * hurd/thread-self.c: Likewise.
11846         * hurd/vpprintf.c: Likewise.
11847         * hurd/hurd/fd.h: Likewise.
11848         * hurd/hurd/id.h: Likewise.
11849         * hurd/hurd/ioctl.h: Likewise.
11850         * hurd/hurd/lookup.h: Likewise.
11851         * hurd/hurd/port.h: Likewise.
11852         * hurd/hurd/resource.h: Likewise.
11853         * hurd/hurd/threadvar.h: Likewise.
11854         * hurd/hurd/userlink.h: Likewise.
11855         * inet/ether_aton.c: Likewise.
11856         * inet/ether_aton_r.c: Likewise.
11857         * inet/ether_ntoa.c: Likewise.
11858         * inet/ether_ntoa_r.c: Likewise.
11859         * inet/gethstbyad.c: Likewise.
11860         * inet/gethstbyad_r.c: Likewise.
11861         * inet/gethstent.c: Likewise.
11862         * inet/getnetbyad.c: Likewise.
11863         * inet/getnetbyad_r.c: Likewise.
11864         * inet/getnetbynm.c: Likewise.
11865         * inet/getnetbynm_r.c: Likewise.
11866         * inet/getnetent.c: Likewise.
11867         * inet/getnetent_r.c: Likewise.
11868         * inet/getproto.c: Likewise.
11869         * inet/getproto_r.c: Likewise.
11870         * inet/getprtent.c: Likewise.
11871         * inet/getprtent_r.c: Likewise.
11872         * inet/getprtname.c: Likewise.
11873         * inet/getrpcbyname.c: Likewise.
11874         * inet/getrpcbyname_r.c: Likewise.
11875         * inet/getrpcbynumber.c: Likewise.
11876         * inet/getrpcbynumber_r.c: Likewise.
11877         * inet/getrpcent.c: Likewise.
11878         * inet/getrpcent_r.c: Likewise.
11879         * inet/getservent.c: Likewise.
11880         * inet/getservent_r.c: Likewise.
11881         * inet/getsrvbynm.c: Likewise.
11882         * inet/getsrvbynm_r.c: Likewise.
11883         * inet/getsrvbypt.c: Likewise.
11884         * inet/getsrvbypt_r.c: Likewise.
11885         * inet/herrno.c: Likewise.
11886         * inet/netgroup.h: Likewise.
11887         * ient/netinet/ether.h: Likewise.
11888         * intl/bindtextdom.c: Likewise.
11889         * intl/dcgettext.c: Likewise.
11890         * intl/dgettext.c: Likewise.
11891         * intl/gettext.c: Likewise.
11892         * intl/gettext.h: Likewise.
11893         * intl/gettextP.h: Likewise.
11894         * intl/hash-string.h: Likewise.
11895         * intl/loadmsgcat.c: Likewise.
11896         * intl/localealias.c: Likewise.
11897         * intl/textdomain.c: Likewise.
11898         * io/creat.c: Likewise.
11899         * io/getdirname.c: Likewise.
11900         * io/lockf.c: Likewise.
11901         * io/pwd.c: Likewise.
11902         * io/test-utime.c: Likewise.
11903         * locale/categories.def: Likewise.
11904         * locale/codeset_name.c: Likewise.
11905         * locale/lc-collate.c: Likewise.
11906         * locale/lc-ctype.c: Likewise.
11907         * locale/lc-messages.c: Likewise.
11908         * locale/lc-monetary.c: Likewise.
11909         * locale/lc-numeric.c: Likewise.
11910         * locale/lc-time.c: Likewise.
11911         * locale/loadlocale.c: Likewise.
11912         * locale/localeconv.c: Likewise.
11913         * locale/nl_langinfo.c: Likewise.
11914         * locale/setlocale.c: Likewise.
11915         * locale/strlen-hash.h: Likewise.
11916         * locale/programs/charmap-kw.gperf: Likewise.
11917         * locale/programs/charmap-kw.h: Likewise.
11918         * locale/programs/charset.c: Likewise.
11919         * locale/programs/ld-ctype.c: Likewise.
11920         * locale/programs/ld-messages.c: Likewise.
11921         * locale/programs/ld-monetary.c: Likewise.
11922         * locale/programs/linereader.h: Likewise.
11923         * locale/programs/locale-spec.c: Likewise.
11924         * locale/programs/locales.h: Likewise.
11925         * locale/programs/locfile-kw.gperf: Likewise.
11926         * locale/programs/locfile-kw.h: Likewise.
11927         * locale/programs/locfile-token.h: Likewise.
11928         * locale/programs/simple-hash.h: Likewise.
11929         * locale/programs/stringtrans.c: Likewise.
11930         * locale/programs/stringtrans.h: Likewise.
11931         * login/logout.c: Likewise.
11932         * mach/bootprivport.c: Likewise.
11933         * mach/devstream.c: Likewise.
11934         * mach/hello.c: Likewise.
11935         * mach/mach.h: Likewise.
11936         * mach/mach_init.c: Likewise.
11937         * mach/mach_init.h: Likewise.
11938         * mach/mig-alloc.c: Likewise.
11939         * mach/mig-dealloc.c: Likewise.
11940         * mach/mutex-init.c: Likewise.
11941         * mach/mutex-solid.c: Likewise.
11942         * mach/setup-thread.c: Likewise.
11943         * mach/spin-lock.h: Likewise.
11944         * mach/spin-solid.c: Likewise.
11945         * mach/mach/mig_support.h: Likewise.
11946         * md5-crypt/md5-crypt.c: Likewise.
11947         * misc/nlist.h: Likewise.
11948         * nss/nss_files/files-ether.c: Likewise.
11949         * posix/confstr.c: Likewise.
11950         * posix/execl.c: Likewise.
11951         * posix/execle.c: Likewise.
11952         * posix/execlp.c: Likewise.
11953         * posix/execv.c: Likewise.
11954         * posix/execvp.c: Likewise.
11955         * posix/fnmatch.c: Likewise.
11956         * posix/getopt.c: Likewise.
11957         * posix/getopt.h: Likewise.
11958         * posix/getopt1.c: Likewise.
11959         * posix/id.c: Likewise.
11960         * posix/regex.c: Likewise.
11961         * posix/setpgrp.c: Likewise.
11962         * posix/unistd.h: Likewise.
11963         * posix/wordexp.c: Likewise.
11964         * pwd/fgetpwent.c: Likewise.
11965         * pwd/getpwent.c: Likewise.
11966         * pwd/getpwent_r.c: Likewise.
11967         * pwd/getpwnam.c: Likewise.
11968         * pwd/getpwnam_r.c: Likewise.
11969         * pwd/getpwuid.c: Likewise.
11970         * pwd/getpwuid_r.c: Likewise.
11971         * pwd/putpwent.c: Likewise.
11972         * resolv/gethnamaddr.c: Likewise.
11973         * resolv/res_hconf.c: Likewise.
11974         * resolv/res_hconf.h: Likewise.
11975         * setjmp/longjmp.c: Likewise.
11976         * setjmp/sigjmp.c: Likewise.
11977         * setjmp/tst-setjmp.c: Likewise.
11978         * stdio/clearerr.c: Likewise.
11979         * stdio/ferror.c: Likewise.
11980         * stdio/fgetc.c: Likewise.
11981         * stdio/fgetpos.c: Likewise.
11982         * stdio/fgets.c: Likewise.
11983         * stdio/fileno.c: Likewise.
11984         * stdio/fmemopen.c: Likewise.
11985         * stdio/fopen.c: Likewise.
11986         * stdio/fopncook.c: Likewise.
11987         * stdio/fputc.c: Likewise.
11988         * stdio/fputs.c: Likewise.
11989         * stdio/fread.c: Likewise.
11990         * stdio/freopen.c: Likewise.
11991         * stdio/fseek.c: Likewise.
11992         * stdio/fsetpos.c: Likewise.
11993         * stdio/ftell.c: Likewise.
11994         * stdio/fwrite.c: Likewise.
11995         * stdio/getchar.c: Likewise.
11996         * stdio/getdelim.c: Likewise.
11997         * stdio/gets.c: Likewise.
11998         * stdio/glue.c: Likewise.
11999         * stdio/internals.c: Likewise.
12000         * stdio/linewrap.c: Likewise.
12001         * stdio/linewrap.h: Likewise.
12002         * stdio/memstream.c: Likewise.
12003         * stdio/newstream.c: Likewise.
12004         * stdio/putchar.c: Likewise.
12005         * stdio/puts.c: Likewise.
12006         * stdio/rewind.c: Likewise.
12007         * stdio/setbuf.c: Likewise.
12008         * stdio/setbuffer.c: Likewise.
12009         * stdio/setlinebuf.c: Likewise.
12010         * stdio/setvbuf.c: Likewise.
12011         * stdio/ungetc.c: Likewise.
12012         * stdio/vasprintf.c: Likewise.
12013         * stdio/vscanf.c: Likewise.
12014         * stdio/vsnprintf.c: Likewise.
12015         * stdio/vsprintf.c: Likewise.
12016         * stdio/vsscanf.c: Likewise.
12017         * stdio-common/asprintf.c: Likewise.
12018         * stdio-common/dprintf.c: Likewise.
12019         * stdio-common/errnobug.c: Likewise.
12020         * stdio-common/fprintf.c: Likewise.
12021         * stdio-common/getline.c: Likewise.
12022         * stdio-common/getw.c: Likewise.
12023         * stdio-common/perror.c: Likewise.
12024         * stdio-common/psignal.c: Likewise.
12025         * stdio-common/putw.c: Likewise.
12026         * stdio-common/reg-printf.c: Likewise.
12027         * stdio-common/scanf.c: Likewise.
12028         * stdio-common/snprintf.c: Likewise.
12029         * stdio-common/sprintf.c: Likewise.
12030         * stdio-common/tempnam.c: Likewise.
12031         * stdio-common/test_rdwr.c: Likewise.
12032         * stdio-common/tst-fileno.c: Likewise.
12033         * stdio-common/tst-printf.c: Likewise.
12034         * stdio-common/tstgetln.c: Likewise.
12035         * stdio-common/vprintf.c: Likewise.
12036         * stdlib/drand48.c: Likewise.
12037         * stdlib/drand48_r.c: Likewise.
12038         * stdlib/erand48.c: Likewise.
12039         * stdlib/erand48_r.c: Likewise.
12040         * stdlib/exit.h: Likewise.
12041         * stdlib/strtoq.c: Likewise.
12042         * stdlib/strtoul.c: Likewise.
12043         * stdlib/strtouq.c: Likewise.
12044         * stdlib/test-canon.c: Likewise.
12045         * stdlib/testdiv.c: Likewise.
12046         * stdlib/testrand.c: Likewise.
12047         * string/argz-append.c: Likewise.
12048         * string/argz-count.c: Likewise.
12049         * string/argz-create.c: Likewise.
12050         * string/argz-ctsep.c: Likewise.
12051         * string/argz-delete.c: Likewise.
12052         * string/argz-extract.c: Likewise.
12053         * string/argz-insert.c: Likewise.
12054         * string/argz-next.c: Likewise.
12055         * string/argz-stringify.c: Likewise.
12056         * string/basename.c: Likewise.
12057         * string/envz.c: Likewise.
12058         * string/memfrob.c: Likewise.
12059         * string/strcoll.c: Likewise.
12060         * string/strdup.c: Likewise.
12061         * string/string.h: Likewise.
12062         * string/strndup.c: Likewise.
12063         * string/strnlen.c: Likewise.
12064         * string/strsignal.c: Likewise.
12065         * string/strxfrm.c: Likewise.
12066         * string/test-ffs.c: Likewise.
12067         * string/testcopy.c: Likewise.
12068         * sysdeps/generic/enbl-secure.c: Likewise.
12069         * sysdeps/generic/memcopy.h: Likewise.
12070         * sysdeps/generic/stpncpy.c: Likewise.
12071         * sysdeps/generic/strcasecmp.c: Likewise.
12072         * sysdeps/generic/strcat.c: Likewise.
12073         * sysdeps/generic/strchr.c: Likewise.
12074         * sysdeps/generic/strcpy.c: Likewise.
12075         * sysdeps/generic/strcspn.c: Likewise.
12076         * sysdeps/generic/strlen.c: Likewise.
12077         * sysdeps/generic/strncase.c: Likewise.
12078         * sysdeps/generic/strncat.c: Likewise.
12079         * sysdeps/generic/strncpy.c: Likewise.
12080         * sysdeps/generic/strpbrk.c: Likewise.
12081         * sysdeps/generic/strsep.c: Likewise.
12082         * sysdeps/generic/strspn.c: Likewise.
12083         * sysdeps/generic/strstr.c: Likewise.
12084         * sysdeps/generic/strtok.c: Likewise.
12085         * sysdeps/generic/strtok_r.c: Likewise.
12086         * sysdeps/mach/sleep.c: Likewise.
12087         * sysdeps/posix/sleep.c: Likewise.
12088         * sysdeps/stub/sleep.c: Likewise.
12089         * time/date.c: Likewise.
12090         * time/test_time.c: Likewise.
12091         * wcsmbs/wmemcpy.c: Likewise.
12092         * wctye/test_wctype.c: Likewise.
12093         * wctye/towctrans.c: Likewise.
12094         * wctye/wcfuncs.c: Likewise.
12095         * wctye/wctrans.c: Likewise.
12097 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
12099         * argp/Makefile: New file.
12100         * argp/argp.h: Likewise.
12101         * argp/argp-ba.c: Likewise.
12102         * argp/argp-fmtstream.c: Likewise.
12103         * argp/argp-fmtstream.h: Likewise.
12104         * argp/argp-fs-xinl.c: Likewise.
12105         * argp/argp-help.c: Likewise.
12106         * argp/argp-namefrob.h: Likewise.
12107         * argp/argp-parse.c: Likewise.
12108         * argp/argp-pv.c: Likewise.
12109         * argp/argp-pvh.c: Likewise.
12110         * argp/argp-test.c: Likewise.
12111         * argp/argp-xinl.c: Likewise.
12113 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12115         * stdlib/qsort.c: Add prototype for _quicksort.
12117         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
12119         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
12120         from dl-machine.h.
12122 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
12124         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
12125         Allow user to overwrite it.
12127 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
12129         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
12130         versions.  Reported by Andreas Jaeger.
12132 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12134         * time/tzfile.c (__tzfile_read): Change comment to follow
12135         change of 1997-02-12.
12137 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
12139         * time/time.h (__nanosleep): Define only when struct timespec is
12140         also available.
12141         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
12143 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
12145         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
12146         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
12148 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
12150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
12151         of 1997-02-09 in resolv/gethnamaddr.c.
12153 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
12155         * libio/_G_config.h (_G_wint_t): New.
12157 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
12159         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
12160         to sizeof (buf.buf) while calling res_search ().
12162 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
12164         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
12165         val to keydat, stat to status.
12167 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
12169         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
12171 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
12173         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
12174         by Keith Bostic.
12176 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
12178         * stdlib/atoll.c: Undefine atoll, not atol.
12180 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12182         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
12183         unused arguments of shell script.
12185         * Makeconfig (all-object-suffixes): New variable.
12186         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
12187         of $(object-suffixes).
12188         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
12190 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
12192         * string/argz-ctsep.c: Initialize *LEN when successful.
12194 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
12196         * stdio-common/_itoa.h: Update copyright.
12198 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
12200         * version.h (VERSION): Bump to 2.0.2.
12202         * posix/Makefile (routines): Add getopt_init.
12203         * posix/getopt.c: Don't get environment variable with nonoption
12204         flags here.  Depend on __getopt_nonoption_flags variable filled
12205         somewhere else.  This is necessary since the variable must be
12206         removed even when getopt isn't used in case exec(2) gets called.
12207         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
12208         and remove environment variable.
12209         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
12210         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12211         * sysdeps/stub/init-first.c: Likewise.
12212         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12214         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
12215         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
12217         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
12218         encryption is wanted.
12220         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
12221         * stdio/vsnprintf.c: Likewise.
12222         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12224         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
12225         * stdio/vsnprintf.c: Likewise.
12226         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12228 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
12230         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
12231         Change PTR to void *.
12232         * sysdeps/posix/vdprintf.c: Change PTR to void *.
12233         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
12235 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
12237         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
12239 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12241         * rellns-sh: No need to check for existance of first parameter.
12243 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12245         * rellns-sh: No need to check for existance of first parameter.
12247 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12249         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
12250         by David Holland <dholland@eecs.harvard.edu>.
12252 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12254         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
12255         select, in case it is modified by the latter.
12256         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12257         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12258         * sunrpc/svc_tcp.c (readtcp): Likewise.
12260         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
12261         array.
12263         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
12264         and gid_t.
12266         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
12267         argument.
12269 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12271         * elf/Makefile (extra-objs): Don't zap previous value.
12272         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
12273         twice.
12275 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12277         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
12278         braindamage (sigh!).
12280 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
12282         * manual/memory.texi: Correct `copystring' example for obstacks.
12284 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
12286         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
12287         GNU tr don't grok it.
12289 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12291         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
12292         Don't use GNU C extensions.
12293         (CMSG_DATA): Use portable definition.
12295 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
12297         * elf/ldd.bash.in: Add test for read permission and print appropriate
12298         message.  Change warning and error messages to print "ldd: " at start.
12299         * elf/ldd.sh.in: Likewise.
12301         * stdlib/Makefile (routines): Add atoll.
12302         * stdlib/atoll.c: New file.
12303         * stdlib/stdlib.h: Add prototype and optimization for atoll.
12305         * stdlib/a64l.c: Update copyright.
12306         * stdlib/abs.c: Likewise.
12307         * stdlib/atof.c: Likewise.
12308         * stdlib/atoi.c: Likewise.
12309         * stdlib/atol.c: Likewise.
12310         * stdlib/bsearch.c: Likewise.
12311         * stdlib/exit.c: Likewise.
12312         * stdlib/fpioconst.c: Likewise.
12313         * stdlib/fpioconst.h: Likewise.
12314         * stdlib/jrand48.c: Likewise.
12315         * stdlib/jrand48_r.c: Likewise.
12316         * stdlib/labs.c: Likewise.
12317         * stdlib/lcong48.c: Likewise.
12318         * stdlib/lcong48_r.c: Likewise.
12319         * stdlib/llabs.c: Likewise.
12320         * stdlib/lrand48.c: Likewise.
12321         * stdlib/lrand48_r.c: Likewise.
12322         * stdlib/mblen.c: Likewise.
12323         * stdlib/mbstowcs.c: Likewise.
12324         * stdlib/mbtowc.c: Likewise.
12325         * stdlib/mp_clz_tab.c: Likewise.
12326         * stdlib/mrand48.c: Likewise.
12327         * stdlib/mrand48_r.c: Likewise.
12328         * stdlib/msort.c: Likewise.
12329         * stdlib/nrand48.c: Likewise.
12330         * stdlib/nrand48_r.c: Likewise.
12331         * stdlib/qsort.c: Likewise.
12332         * stdlib/rpmatch.c: Likewise.
12333         * stdlib/seed48.c: Likewise.
12334         * stdlib/seed48_r.c: Likewise.
12335         * stdlib/srand48.c: Likewise.
12336         * stdlib/srand48_r.c: Likewise.
12337         * stdlib/strtod.c: Likewise.
12338         * stdlib/wcstombs.c: Likewise.
12339         * stdlib/wctomb.c: Likewise.
12341 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
12343         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
12344         as const.
12346 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
12348         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
12349         including <stddef.h>.
12351 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
12353         * time/Makefile (tzbases, tzlinks): New.
12354         (tzfiles): Changed to $(tzbases) $(tzlinks).
12355         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
12357 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
12359         * Makefile (install): Ignore error from ldconfig.
12361         * time/zic.c (mkdirs): Double check the error return of mkdir ().
12363 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
12365         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
12366         like PPC where va_list is no integral type.
12368 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
12370         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
12371         if nonoption_flags_len == -1.
12373 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
12375         * Version 2.0.1 net release.
12377 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
12379         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
12381 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
12383         * stdlib/getsubopt.c: Don't return `=' for suboption which has
12384         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
12386 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12388         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
12389         values as in yp.x and yp.h.
12391 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
12393         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
12394         1997-02-03 02:17.  Sun's implementation internally corrects
12395         this bug but we don't want to hide this from the user.
12396         * nis/rpcsvc/yp.h: Likewise.
12398 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12400         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
12401         inclusion.
12403 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12405         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
12406         fixes.
12408 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12410         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
12411         (all-sources, all-headers): Use them instead of $(sources) and
12412         $(headers) when searching in sysdep directories.
12414 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12416         * Makerules (REAL_MAKE_VERSION): Use internal make function
12417         instead of shelling out.
12419 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12421         * time/Makefile (install-test-data): Remove mkdir command, zic can
12422         handle that gracefully.
12424 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12426         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
12427         somehow.
12429 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12431         * sunrpc/Makefile: Check $(cross-compiling) only after including
12432         ../Makeconfig.
12433         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
12434         being considered as a rule.
12435         (generated): Add stamp files before the inclusion of Makerules to
12436         magically mark them as not being intermediate via the `generated'
12437         target.
12439 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
12441         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
12442         entries.  This is still no complete implementation since AUXILIARY
12443         entries in other shared objects are not yet handled.
12445         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
12446         place.
12448         * po/es.po: Update.
12449         * po/fr.po: Update.
12450         * po/nl.po: Update.
12452         * time/Makefile: Better cross-compile support.  Avoid test which
12453         cannot be run.
12454         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
12455         tzfile.h file.
12456         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
12457         in SUID programs.
12458         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
12459         default values as in tzfile.c.
12461         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
12462         tags.
12463         * elf/link.h: Likewise.
12464         * elf/elf.h: Add tag definitions and data structures for versioning.
12466 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
12468         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
12469         "Sun bug".  This is the order of elements also used by 4.4BSD.
12470         * nis/rpcsvc/yp.h: Likewise.
12471         Reported by HJ Lu.
12473 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
12475         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
12476         action.
12478         * Makefile (install): Pass installation directories as arguments
12479         to ldconfig.
12481 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
12483         * malloc/malloc.c (__after_morecore_hook): New variable.
12484         (malloc_extend_top): Call __after_morecore_hook if set.
12485         (main_trim): Likewise.
12486         * malloc/malloc.h: Add declaration of __after_morecore_hook.
12487         Suggested by Marcus Daniels.
12489 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
12491         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
12492         #ifndef NO_THREADS.
12493         (mallinfo): Likewise.
12495         * malloc/malloc.c (__morecore): Make external since it is used in
12496         programs.
12498 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
12500         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
12501         unsigned.
12503 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
12505         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
12506         use t6 as a temporary; it contains bits we still need in $u_head.
12508 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
12510         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
12511         using __ prefix.  Add prototype for log1p.
12513 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
12515         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
12517 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
12519         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
12521 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
12523         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
12524         structure plus related macros.
12525         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
12526         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
12527         (sysdep_routines): Add cmsg_nxthdr.
12528         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
12529         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
12531 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
12533         * time/strftime.c: Define _strftime_copytm without protecting arguments
12534         which breaks the definition.
12536 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12538         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
12539         definition of type for element.
12541 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
12543         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
12544         constants.
12546 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
12548         * Makefile: Pass PARALLELMFLAGS to sub-makes.
12549         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
12551 1997-01-31  Paul Eggert  <eggert@twinsun.com>
12553         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
12554         Define if _LIBC is defined.
12555         <limits.h>: Include if HAVE_LIMITS_H instead of if
12556         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
12557         <stdlib.h>: Similarly, include if STDC_HEADERS.
12558         (localtime_r): Redo #ifdef to make it clear that glibc has
12559         localtime_r now.
12561 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12563         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
12564         file to avoid unnecessary recompilation.
12566 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12568         * Makefile: Set install-others, not install_others.
12569         (before-compile): Use += to preserve previous value.
12570         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
12571         fix dependency name.
12572         ($(objpfx)lib-names.h): Remove rule.
12573         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
12574         with correct name, using an intermediate stamp file.
12575         (common-generated): Add gnu/lib-names.h.
12576         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
12578 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
12580         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
12581         to prevent warnings on 64 bit systems.
12582         Reported by Paul Wouters <paul@xtdnet.nl>.
12584         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
12585         we assume it works.
12587 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
12589         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
12590         double word boundary before pushing args for main.  This way we
12591         don't get penalties for misaligned memory accesses.  Reported by
12592         Edward Seidl <seidl@janed.com>.
12594         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
12595         Patch by HJ Lu.
12597         * misc/bsd-compat.c: Update copyright.
12598         * misc/efgcvt.c: Likewise.
12599         * misc/efgcvt_r.c: Likewise.
12600         * misc/error.c: Likewise.
12601         * misc/error.h: Likewise.
12602         * misc/fstab.c: Likewise.
12603         * misc/init-misc.c: Likewise.
12604         * misc/lsearch.c: Likewise.
12605         * misc/mntent.c: Likewise.
12606         * misc/qefgcvt.c: Likewise.
12607         * misc/qefgcvt_r.c: Likewise.
12608         * nss/databases.def: Likewise.
12609         * nss/db-Makefile: Likewise.
12610         * nss/ethers-lookup.c: Likewise.
12611         * nss/hosts-lookup.c: Likewise.
12612         * nss/netgrp-lookup.c: Likewise.
12613         * nss/nsswitch.h: Likewise.
12614         * nss/proto-lookup.c: Likewise.
12615         * nss/rpc-lookup.c: Likewise.
12616         * nss/service-lookup.c: Likewise.
12617         * nss/nss_db/db-netgrp.c: Likewise.
12618         * nss/nss_files/files-grp.c: Likewise.
12619         * nss/nss_files/files-hosts.c: Likewise.
12620         * nss/nss_files/files-network.c: Likewise.
12621         * nss/nss_files/files-proto.c: Likewise.
12622         * nss/nss_files/files-pwd.c: Likewise.
12623         * nss/nss_files/files-rpc.c: Likewise.
12624         * nss/nss_files/files-service.c: Likewise.
12625         * nss/nss_files/files-spwd.c: Likewise.
12626         * shadow/fgetspent.c: Likewise.
12627         * shadow/fgetspent_r.c: Likewise.
12628         * shadow/getspent.c: Likewise.
12629         * shadow/getspent_r.c: Likewise.
12630         * shadow/getspnam.c: Likewise.
12631         * shadow/getspnam_r.c: Likewise.
12632         * shadow/putspent.c: Likewise.
12633         * shadow/sgetspent.c: Likewise.
12634         * shadow/sgetspent_r.c: Likewise.
12635         * sysdeps/i386/init-first.c: Likewise.
12636         * sysdeps/unix/i386/sysdep.S: Likewise.
12638         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
12639         prepared to be running in a multi-threaded environment.  Change
12640         to __USE_MISC unless the function is defined in POSIX.1 (in this
12641         case also test for __USE_POSIX).
12642         * dirent/dirent.h: Likewise.
12643         * grp/grp.h: Likewise.
12644         * inet/aliases.h: Likewise.
12645         * libio/libio.h: Likewise.
12646         * libio/stdio.h: Likewise.
12647         * login/utmp.h: Likewise.
12648         * math/mathcalls.h: Likewise.
12649         * misc/mntent.h: Likewise.
12650         * pwd/pwd.h: Likewise.
12651         * resolv/netdb.h: Likewise.
12652         * stdlib/stdlib.h: Likewise.
12653         * string/string.h: Likewise.
12654         * sunrpc/rpc/netdb.h: Likewise.
12655         * sysdeps/generic/crypt.h: Likewise.
12656         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
12657         * time/time.h: Likewise.
12659 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
12661         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
12662         only if not cross compiling.
12664 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
12666         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
12667         NULL.
12668         * sysdeps/posix/sigwait.c: Likewise.
12670 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12672         * Makeconfig ($(common-objpfx)config.make): Depend on
12673         $(..)config.make.in.
12675 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
12677         * sunrpc/Makefile: Don't generate headers derived from .x files when
12678         crosscompiling.
12680 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
12682         * Makefile: Generate gnu/lib-names.h in before-compile.
12683         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
12684         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
12685         to the revision found for LIBNSS_FILES_SO.
12686         (nss_initilized): Removed.  It was tested but never set.
12687         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
12689         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
12690         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
12692         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
12694 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
12696         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
12697         override the definition.
12699 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
12701         * config.make.in (malloc): Remove.
12703 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
12705         * version.h (VERSION): Bump to 2.0.1.
12707         * posix/getopt.c: Handle another problem introduced by the
12708         nonoption_flags array.  We must be able to work with reordered
12709         argv arrays.  Reported by Andreas Schwab.
12711 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
12713         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
12714         stack.
12716 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
12718         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
12719         that it works with yp.h.
12721 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
12723         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
12724         __libc_malloc_initialized so that this variable is not shared with
12725         other users of GNU malloc.
12726         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
12728         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
12730         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
12731         variables to prevent warnings.
12732         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
12733         using attribute regparm.
12734         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
12735         is changed by the resolver code.
12737 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12739         * malloc/malloc.c (weak_variable): Define.
12740         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
12741         __memalign_hook): Make them weak definitions.
12743 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12745         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
12746         limits, correctly take structure padding into account, use correct
12747         offset when resetting the stream, change heuristic to assume an
12748         average name length of 14 characters.
12750 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12752         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
12753         inclusion.
12756 See ChangeLog.6 for earlier changes.