Update.
[glibc.git] / ChangeLog
blob181c33bc3557d3597c7a2f99e9fdbf7840ae828c
1 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
3         * sysdeps/unix/readdir_r.c: zero out *result on EOF.
4         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5         * manual/filesys/texi: document this.
7 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
9         * manual/filesys.texi: Document the change below.
11 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
14         0600. Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
16 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
18         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
19         instead scope.  If debugging display information about symbol
20         resolving.
21         (_dl_lookup_symbol): Call do_lookup with correct parameters.
22         (_dl_lookup_symbol_skip): Likewise.
23         (_dl_lookup_versioned_symbol): Likewise.
24         (_dl_lookup_versioned_symbol_skip): Likewise.
25         * elf/dl-support.c: Define _dl_debug_symbols.
26         * elf/link.h: Add declaration for _dl_debug_symbols.
27         * elf/rtld.c: Define _dl_debug_symbols.
28         (process_dl_debug): Recognize symbols option.
30 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
32         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
33         in correct format.
34         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
35         with correct parameters.
36         [!PIC]: Initialize __libc_multiple_libcs.
38 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
40         * elf/dl-support.c (_dl_debug_bindings): Add definition.
41         * elf/rtld.c (_dl_debug_bindings): Add definition.
42         (process_dl_debug): Recognize bindings option.  Update help message.
43         * elf/link.h (struct link_map): Add l_versyms member.
44         (_dl_debug_bindings): Add declaration.
45         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
46         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
47         and l_reloc_result.
48         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
49         (sym_val): Remove a member, add m as link_map.
50         (do_lookup): Return result appropriately.
51         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
52         Call do_lookup correctly.
53         (_dl_lookup_symbol_skip): Likewise.
54         (_dl_lookup_versioned_symbol): Likewise.
55         (_dl_lookup_versioned_symbol_skip): Likewise.
57 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
59         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
60         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
62         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
63         * libc.map: Add chown to GLIBC_2.1.
64         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
65         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
67 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
69         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
70         weak alias.
71         * sysdeps/alpha/ffs.c: Likewise.
72         * sysdeps/am29k/ffs.c: Likewise.
73         * sysdeps/i386/ffs.c: Likewise.
74         * sysdeps/i960/ffs.c: Likewise.
75         * sysdeps/m68k/ffs.c: Likewise.
76         * sysdeps/m88k/ffs.c: Likewise.
77         * sysdeps/powerpc/ffs.c: Likewise.
78         * sysdeps/rs6000/ffs.c: Likewise.
79         * sysdeps/vax/ffs.s: Likewise.
80         * string/string.h: Declare __ffs.
81         * libc.map: Export it.
82         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
83         __builtin_ffs, which is not guaranteed to be namespace clean.
85 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
87         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
88         table, which is much more likely to exist than debugging symbols.
89         (printsym): Remove const.
90         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
91         header table.
93         * libc.map: Export __profile_frequency, used by elf/sprof, to
94         avoid infinite recursion during startup.
96 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
98         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
99         Readd lost negate.
101         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
103 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
105         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
107 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
109         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
110         LD_PRELOAD, and LD_VERBOSE.
111         (dl_main): Use global variables set by process_envvars instead of
112         calling getenv.
113         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
114         LD_LIBRARY_PATH value, this comes with the parameter.
115         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
116         ("LD_LIBRARY_PATH") to _dl_init_paths.
118 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
120         * elf/rtld.c (dl_main): Delay initialization of path structure if
121         the dynamically linker is invoked implicitly until we read the
122         dynamic section.
124 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
126         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
128 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
130         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
131         Linux 2.0 and 2.1.
133         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
135 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
137         * Makeconfig (nisobjdir): Set to path to nis directory.
138         (rpath-link): Add nisobjdir.
139         Patch by Sven Verdoolaege <skimo@kotnet.org>.
141         * elf/Makefile: Pretty print.
142         * elf/dl-lookup.c: Include unistd.h.
143         * elf/dl-runtime.c: Likewise.
145         * localedata/Makefile (test-srcs): Add tst-rpmatch.
146         (distribute): Add tst-rpmatch.sh.
147         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
149         New tests for rpmatch function by
150         Jochen Hein <jochen.hein@delphi.central.de>.
151         * localedata/tst-rpmatch.c: New file.
152         * localedata/tst-rpmatch.sh: New file.
154         * localedata/locales/de_DE: Correct yesexpr and noexpr.
155         * localedata/locales/de_AT: Likewise.
157         * posix/getopt.c: Update contact address.
158         * posix/getopt1.c: Pretty print.
160         * sysdeps/generic/libc-start.c: Do most of the initialization now
161         here instead of in start.S.
162         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
163         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
165         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
166         profil_counter to be public.
168 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
170         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
171         (parse_param): Coded parameter length expansion (${#var}).
172         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
173         (parse_param): Cleaned up (fixed) error handling.
175         * posix/wordexp-test.c: IFS now includes non-whitespace character
176         (comma).  Added more tests.
178 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
180         * elf/link.h: Fix typos.
181         Reported by Andreas Jaeger.
183         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
184         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
186 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
188         * argp/argp-help.c: Remove last bits of using gettext instead of
189         dgettext.
191 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
193         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
194         __libc_start_main.
195         * csu/Makefile (routines): Add libc-start.
196         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
197         * elf/dl-lookup.c: Likewise.
198         * elf/dl-version.c: Likewise.
199         * sysdeps/i386/dl-machine.h: Likewise.
200         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
201         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
202         _dl_sysdep_message macros which use _dl_sysdep_output.
203         * elf/dl-fini.c: Write out which destructor is called while debugging.
204         * elf/dl-init.c: Likewise for constructor.
205         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
206         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
207         _dl_sysdep_message.  Add _dl_sysdep_output.
208         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
209         this file can be opened.
210         For LD_DEBUG=libs also set _dl_debug_impcalls.
211         * sysdeps/generic/dl-cache.c: Include unistd.h.
212         * sysdeps/generic/libc-start.c: New file.
213         * sysdeps/unix/sysv/linux/libc-start.c: New file.
214         * sysdeps/i386/elf/start.S: Don't call main directly, call
215         __libc_start_main instead.
217         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
219 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
221         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
223 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
225         * argp/argp.h (struct argp): Add new field domain.
226         * argp/argp-help.c: Change all gettext calls to dgettext and use
227         domain field from appropriate argp in call.
228         * argp/argp-parse.c: Likewise.
230 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
232         * posix/wordexp-test.c: Change testsuite so that it can run even
233         for ~root != /root.
235 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
237         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
239 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
241         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
242         Don't store into global errno if we already store through
243         __errno_location.
244         * sysdeps/unix/i386/sysdep.S: Likewise.
245         * sysdeps/unix/alpha/sysdep.S: Likewise.
246         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
247         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
248         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
249         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
250         PIC).
252 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
254         * sysdeps/generic/sysdep.h (L): Remove definition.
255         * sysdeps/i386/sysdep.h (L): Define it here instead.
257 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
259         * nis/nis_call.c (__do_niscall): Safe and reset errno.
261         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
263 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
265         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
266         declaration style to avoid warnings.
268 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
270         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
271         "LD_DEBUG".
273 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
275         * posix/Makefile (tests): Add wordexp-test.
276         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
277         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
279 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
281         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
282         dependencies.
284         * elf/link.h (struct r_search_path_elem): Add two new field for
285         lib path debugging.
286         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
287         variable accordingly.
288         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
289         is considered next along with information about load paths.
290         * sysdeps/generic/dl-cache.c: Likewise.
291         * elf/dl-support.c: Define _dl_debug_libs.
292         * elf/genrtldtbl.awk: Add initializers for two new field in
293         struct r_search_path_elem.
295 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
297         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
298         * sysdeps/m68k/lshift.S: Likewise.
299         * sysdeps/m68k/rshift.S: Likewise.
300         * sysdeps/m68k/sub_n.S: Likewise.
301         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
302         * sysdeps/m68k/m68020/mul_1.S: Likewise.
303         * sysdeps/m68k/m68020/submul_1.S: Likewise.
305         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
306         [_LIBC_REENTRANT]: Don't store into global errno.
308         * sysdeps/m68k/sysdep.h: New file.
309         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
310         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
311         (DO_CALL): Change to expect syscall name as argument.
312         (PSEUDO): Pass syscall_name to DO_CALL.
313         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
314         errno.
316 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
318         * elf/rtld.c: Speed up processing of environment variables.  Do
319         only one run on the environment by avoiding to call getenv.
320         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
321         function.  Used by patch above.
323 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
325         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
326         running nscd.
327         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
328         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
329         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
331 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
333         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
334         module cannot be found.  Reported by Andreas Jaeger.
336 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
338         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
339         on platforms which default to unsigned chars.
340         * nscd/nscd_getpw_r.c: Likewise.
341         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
342         defining it.
344 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
346         * elf/Makefile (install-bin): Change = to += for sprof to install
347         ldd also.
349 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
351         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
353 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
355         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
357 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
359         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
360         that a failure to connect to nscd doesn't change errno.
362 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
364         * manual/maint.texi (Reporting Bugs): Change
365         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
367         * locale/iso-4217.def: Likewise
369 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
371         * manual/texinfo.tex: Updated.
373 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
375         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
376         value.
377         * sysdeps/posix/pathconf.c: Likewise.
378         * posix/getconf.c: Print `undefined' if pathconf returns -1
379         without setting errno.
381 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
383         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
384         problem.
385         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
386         Patches by Elliot Lee <sopwith@cuc.edu>.
388 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
390         * elf/link.h (struct link_map): Add new field l_reloc_result.
391         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
392         of relocation for the object to be profiled.
393         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
394         to NULL.
395         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
396         array here.
397         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
398         contains a result from a previous run use this instead of computing
399         the value again.
400         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
402 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
404         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
405         offsets into the GOT.
406         (RTLD_START): Likewise.
408 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
410         * elf/sprof.c: Cleanup a bit.
412 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
414         * sysdeps/generic/sysdep.h (L): New. Define.
416         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
418         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
420         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
421         to have only one exit point for functions.
422         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
423         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
424         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
425         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
426         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
428 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
430         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
431         reset errno so that errno isn't set to ENOSYS in the first call.
432         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
433         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
434         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
435         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
437 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
439         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
440         * sysdeps/i386/addmul_1.S: Likewise.
441         * sysdeps/i386/lshift.S: Likewise.
442         * sysdeps/i386/mul_1.S: Likewise.
443         * sysdeps/i386/rshift.S: Likewise.
444         * sysdeps/i386/sub_n.S: Likewise.
445         * sysdeps/i386/submul_1.S: Likewise.
446         * sysdeps/i386/i586/add_n.S: Likewise.
447         * sysdeps/i386/i586/addmul_1.S: Likewise.
448         * sysdeps/i386/i586/lshift.S: Likewise.
449         * sysdeps/i386/i586/mul_1.S: Likewise.
450         * sysdeps/i386/i586/rshift.S: Likewise.
451         * sysdeps/i386/i586/sub_n.S: Likewise.
452         * sysdeps/i386/i586/submul_1.S: Likewise.
454         * sysdeps/i386/sysdep.h: Extend last change.
456         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
457         to have only one exit point for functions.
459 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
461         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
462         search.
464 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
466         * Makerules: Generate libc.so with absolute paths for the used
467         shared objects.
469         * config.make.in: Add MAKEINFO definition.
471 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
473         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
474         (ENTRY): Use STABS_FUN.
475         (END): Use STABS_FUN_END.
476         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
478         * elf/Makefile: Add rules to build sprof program.
479         * elf/sprof.c: New file.
481 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
483         * misc/syslog.c (openlog_internal): Insert missing closing brace.
485 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
487         * configure.in: Check for working msgfmt version (from GNU gettext
488         0.10 or later).
490 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
492         * configure.in: Avoid //s in sysdirs.
493         Patch by Roland McGrath.
495         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
497 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
499         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
500         setting _dl_global_scope for RTLD_GLOBAL.
502 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
504         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
505         possible lists of object-suffixes are taken care of.
507 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
509         * timezone/private.h: Update from tzcode1998c.
510         * timezone/zic.c: Likewise.
511         * timezone/antarctica: Updated from tzdata1998c.
512         * timezone/asia: Likewise.
513         * timezone/australasia: Likewise.
514         * timezone/europe: Likewise.
515         * timezone/southamerica: Likewise.
517 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
519         * posix/glob.c (glob_in_dir): Add support for cases insensitive
520         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
522 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
524         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
525         Changed type of TWO43, TWO52 from float to double.
526         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
527         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
528         Changed type of TWO43 from float to double.
529         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
530         Use __isinff.
532 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
534         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
535         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
536         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
538 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
540         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
541         kernel_termios.h.
542         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
543         Clean up random whitespace.
544         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
545         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
547         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
549 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
551         * shlib-versions: Match alpha*.
552         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
553         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
555         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
556         Implement copysign* with and without __ prefix.
557         Likewise for fabs; use builtin for gcc 2.8.
558         (floor*): New.
559         (fdim*): New.
561         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
562         (R_SPARC*): Match current v9 ABI.
564         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
566         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
567         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
568         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
569         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
570         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
571         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
572         * sysdeps/unix/grantpt.c (argv): Fix consts.
573         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
574         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
576 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
578         * misc/syslog.c: Change to allow user the interpretation of the
579         outcome even with syslog having no return value.
581 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
583         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
584         that the number of program headers is >0 (which is wrong for the
585         loader itself).
587 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
589         * Makefile (distribute): Add README.libm.
591 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
593         * time/clocktest.c (main): Correct typo: "--" -> "==".
595 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
597         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
598         inline function.
599         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
600         inline functions.
602         * math/libm.map (__atan2): Added.
604 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
606         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
607         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
609         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
610         bug.
612 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
614         * manual/arith.texi (Old-style number conversion): Correct
615         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
617 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
619         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
620         but does not require it.  Handle missing argv[] values gracefully.
621         * posix/execl.c: Likewise.
622         * posix/execle.c: Likewise.
624 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
626         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
627         bit.
628         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
630 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
632         * libc.map: Add __adjtimex.
634 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
636         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
637         Remove memset.
639 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
641         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
642         to 64.
644         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
646         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
647         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
649         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
650         for shared library.
652         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
654         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
655         Added adjtimex and old_adjtimex.
657         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
658         New.
659         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
660         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
662         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
663         symbols only for shared library.
664         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
665         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
666         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
667         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
668         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
669         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
670         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
672         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
673         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
674         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
675         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
676         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
677         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
678         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
679         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
681         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
682         rusage pointer.
684         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
685         New macros.
686         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
687         timex and __adjtimex, respectively.
689         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
691         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
693 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
695         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
696         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
698 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
700         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
702 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
704         * Makefile.in: Disable built-in rules.
706 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
708         * sysdeps/i386/fpu/t_exp.c: Move to ...
709         * sysdeps/libm-i387/t_exp.c: ... here.
711 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
713         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
714         from __exp2_deltatable.
716 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
718         * nis/ypclnt.c (yp_master): Check result of strdup.
719         Patch by Thorsten Kukuk.
721 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
723         * nis/ypclnt.c: Give clnt handle after error checking free, change
724         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
726 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
728         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
729         Patch by Joe Keane <jgk@jgk.org>.
731         * misc/fstab.h (struct fstab): Change fs_type member to be const.
732         * misc/fstab.c: Remove casts in fs_type assignments.
734 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
736         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
737         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
738         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
739         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
740         * sysdeps/powerpc/bits/fenv.h: Likewise.
741         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
742         * sysdeps/generic/bits/fenv.h: Likewise.
743         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
744         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
745         * sysdeps/powerpc/test-arith.c (main): Likewise.
747 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
749         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
750         the comparison macros.
752 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
754         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
755         (__log2): Fixed return values.
756         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
758 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
760         * math/math.h (isunordered): Rename local variables to ensure
761         correct code.  Reported by HJ Lu.
763 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
765         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
766         isless, islessequal, islessgreater, isunordered): Fix syntax for
767         fucompip instruction.
768         (isless, islessequal): Fix logic.
770 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
772         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
773         (comparisons_test): New tests for comparison macros.
775 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
777         * Makeconfig: Filter out frame-pointer effecting options when
778         compiling profiling or debugging code.
779         * config.h.in (internal_function): Don't define here if PROF is
780         defined.
781         * gmon/gmon.c (__moncontrol): Don't change state if already in error
782         state.
783         (__monstartup): If calloc fails set error state and mark array as
784         not allocated.
785         (_mcleanup): Don't call write_gmon if in error state.  Don't try
786         to free array if not  successfully allocated.
788         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
789         Include elf.h to get macro definitions.
790         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
792 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
794         * elf/ldd.sh.in: Add compatibility for broken old shells.
795         * elf/ldd.bash.in: Likewise.
797 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
799         * sunrpc/rpc_main.c (open_input): Check pipe return error.
801         * time/clocktest.c (main): Check signal return error.
803 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
805         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
806         "/" and use do-install-program. Reported by Mark M. Kettenis.
807         (subdir_install):  Likewise.
809 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
811         * sunrpc/rpc_sample.c: Fix typo.
813         * nscd/connections.c: Use locale.
814         * nscd/grpcache.c: Add debug messages, gidtbl should get the
815           calloc result.
816         * nscd/nscd.c: Check if init functions fails.
817         * nscd/nscd_conf.c: Allow disabling of group cache.
818         * nscd/nscd_getgr_r.c: Fix return code if group not found.
819         * nscd/pwdcache.c: Fix debug messages.
821 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
823         * libc.map: Add __monstartup and _mcleanup for profiling support.
825 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
827         * libc.map: Export __getpagesize, for binary compatibility with
828         2.0.
830 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
832         * posix/globtest.sh: Use --library-path instead of
833         LD_LIBRARY_PATH.
834         * localedata/sort-test.sh: Likewise.
835         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
837 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
839         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
840         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
841         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
843         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
844         kernel_sigaction): Define.
845         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
846         kernel_sigaction): Define.
848 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
850         * math/libm-test.c: Change epsilons for libm-ieee754.
852 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
854         * sysdeps/i386/__longjmp.S: Fix race condition.
855         Reported by Bruno Haible <haible@ilog.fr>.
857 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
859         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
860         * iconvdata/8bit-gap.c: Likewise.
861         * iconvdata/8bit-generic.c: Likewise.
862         * iconvdata/iso6937.c: Likewise.
863         * iconvdata/iso8859-1.c: Likewise.
864         * iconvdata/sjis.c: Likewise.
865         * iconvdata/t61.c: Likewise.
867 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
869         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
870         feature tests by positive feature tests.
872 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
874         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
876 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
878         * elf/dlvsym.c (dlvsym_doit): More corrections.
879         Patch by Andreas Jaeger.
881 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
883         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
885 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
887         * libc.map: More reordering for GLIBC_2.1 symbols.
889 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
891         * libc.map: Move some functions from version GLIBC_2.0 to
892         GLIBC_2.1, reorder declarations.
894 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
896         * resolv/gethnamaddr.c (addrsort): Make this function extern.
897         Patch by zab@thebrain.grumblesmurf.net.
899 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
901         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
902         NIS+ functions with version GLIBC_2.1.
904 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
906         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
907         with 2.0 binaries.  Reported by Thorsten Kukuk.
909 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
911         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
913         * elf/dlsym.c (dlsym_doit): Likewise.
915 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
917         * elf/link.h: Correct typos.
919         * iconv/iconv_prog.c: Correct typo.
921 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
923         * iconv/Makefile: Add rules to build and install iconv program.
924         * iconv/iconv_prog.c: New file.
926 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
928         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
929         _dl_lookup_symbol_skip call.
930         * elf/dlvsym.c (dlvsym_doit): Likewise.
932 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
934         * libio/iovsscanf.c: Do not include errno.h.
936 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
938         * elf/dl-load.c (add_name_to_object): Don't translate strings.
939         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
940         pulling in the whole error list.
941         (__dcgettext, dcgettext): Removed.
942         * libc.map: Export _strerror_internal.
944 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
946         * sysdeps/i386/fpu/t_exp.c: New file.
948 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
950         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
951         everything with version GLIBC_2.1.
952         * hesiod/libnss_hesiod.map: Likewise.
954 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
956         * manual/arith.texi (Old-style number conversion): This node is a
957         section, not a subsection.
959 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
961         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
963 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
965         * elf/rtld.c (dl_main): Make sure that the library search paths
966         have been initialized before the first call to _dl_map_object.
968 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
970         * Makerules (common-generated): Add libc_pic.os.
972 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
974         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
975         of the executable.
977 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
979         * sysdeps/m68k/fpu/t_exp.c: New file.
981 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
983         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
984         to global errno variable anymore.
986 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
988         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
989         If PRELOADED is nonzero check in case of an SUID application
990         whether the shared object has the SUID bit set.
991         Fix some other problems with handling shared objects in system
992         specific directories.
993         (_dl_map_object): Also take extra parameter and pass it to open_path.
994         * elf/link.h (_dl_map_object): Correct prototype and comment.
995         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
996         * elf/dl-open.c (_dl_open): Likewise.
997         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
999         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
1001 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1003         * math/libm-test.c (modf_test): Add test for 1.5.
1005         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
1006         0 to get always an int.
1008 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1010         * math/libm.map: Move all symbols that are new in glibc 2.1 to
1011         version GLIBC_2.1.
1013 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1015         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
1016         trying to read another character.
1018 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1020         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
1021         name to lowercase.
1023         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
1024         name to lowercase, add test for big enough buffer.
1026 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1028         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
1029         Make compatible with older kernels.  Patch by Richard Henderson.
1031 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
1033         * elf/dl-load.c (open_path): Use __xstat instead of stat.
1035         * localedata/tst-locale.sh: Comment out first test for now.
1037 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
1039         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
1040         as 1.
1041         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1042         Likewise.
1044         * libio/iogetline.c (_IO_getline_info): Renamed from
1045         _IO_getline.
1046         (_IO_getline): Just call _IO_getline_info.
1048         * libio/libioP.h (_IO_getline_info): New declaration.
1050         * libc.map (_IO_getline_info, __write): Added.
1052 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1054         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
1055         const char* to shut up gcc.
1057 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
1059         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
1060         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
1062         * math/math.h: Define M_* constants always as `double' and add new
1063         macros M_*l which are of type `long double'.
1064         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
1065         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
1066         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
1067         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1068         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1069         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1070         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1071         * math/libm-tst.c: Likewise.
1073         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
1074         define as long double unconditionally.
1076 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1078         * manual/arith.texi (Old-style number conversion): Correct some
1079         typos.
1081 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
1083         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
1084         Restore.
1086         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
1088 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
1090         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
1091         on $(rtld-ldscript).
1093         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
1094         starting from 0 not only from `from'.
1095         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1097 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
1099         * elf/rtld.c (dl_main): Recognize --library-path parameter and
1100         pass value (or NULL) to _dl_init_paths.
1101         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
1102         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
1103         environment variable.
1104         * elf/link.h: Change prototype for _dl_init_paths.
1105         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
1107         * localedata/Makefile (distribute): Add test files.
1109 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1111         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
1112         test1.def, test2.def, test3.def, test4.def}: Simple input files
1113         for localedef. Contributed by Yung-Ching Hsiao
1114         <yhsiao@cae.wisc.edu>.
1116         * localedata/Makefile (tests): Call tst-locale.sh.
1118         * localedata/tst-locale.sh: New file, regression tests for some
1119         localedef problems.
1121 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1123         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
1125         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
1126         terminated.
1127         * nis/nss_nisplus/nisplus-network.c: Likewise.
1128         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1129         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1130         * nis/nss_nisplus/nisplus-service.c: Likewise.
1132         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
1133         and support generating thread safe RPC code.
1134         * sunrpc/rpc_main.c: Add changes.
1135         * sunrpc/rpc_clntout.c: Likewise.
1136         * sunrpc/rpc_cout.c: Likewise.
1137         * sunrpc/rpc_hout.c: Likewise.
1138         * sunrpc/rpc_parse.c: Likewise.
1139         * sunrpc/rpc_sample.c: Likewise.
1140         * sunrpc/rpc_scan.c: Likewise.
1141         * sunrpc/rpc_svcout.c: Likewise.
1142         * sunrpc/rpc_util.c: Likewise.
1143         * sunrpc/rpc_util.h: Add new structs and prototypes.
1144         * sunrpc/proto.h: Remove prototypes for static functions.
1146 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1148         * locale/programs/ld-messages.c (messages_finish): Don't skip
1149         error checking when being quiet.
1150         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
1151         (set_class_defaults): Likewise.
1152         * locale/programs/charmap.c (parse_charmap): Likewise.
1153         * locale/programs/ld-collate.c (collate_finish): Likewise.
1154         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
1155         * locale/programs/ld-time.c (time_finish): Likewise.
1156         * locale/programs/locfile.c (write_locale_data): Likewise.
1158         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
1159         unknown characters and empty ranges.
1160         * locale/programs/ld-collate.c (collate_order_elem): When
1161         processing an ellipsis properly form a linked list in the result
1162         table, fix typo when allocating ordering array.
1163         [PR libc/419]
1165 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1167         * elf/Makefile (ld-map): Define.
1168         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
1169         `$(rtld-ldscript)'.
1170         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
1171         on $(ld-map).
1172         (rtld-link): Combine the two versions of this definition.  Fixed
1173         to make it work when no symbol versioning is used.
1175 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
1177         * Makeconfig (build-program-cmd): Use --library-path parameter to
1178         ld.so instead of environment variable.
1180         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
1181         * sunrpc/rpc_main.c: Remove support for -$$ option again.
1183 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1185         * Make-dist: Respect with-cvs setting.
1186         * MakeTAGS (all-pot): Likewise.
1187         * sysdeps/sparc/sparc32/Makefile: Likewise.
1188         * sysdeps/mach/hurd/Makefile: Likewise.
1189         * stdlib/Makefile: Likewise.
1190         * posix/Makefile: Likewise.
1191         * intl/Makefile: Likewise.
1192         * po/Makefile (linguas): Likewise
1194 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1196         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
1198 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
1200         * libc.map: Add __strcasecmp.
1202         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
1203         module.
1205         * nss/getXXent_r.c: If no more module is found don't try to call
1206         setXXent functions but leave unsuccessfully.
1208         * malloc/obstack.h: Cleanups.
1210         * sysdeps/wordsize-32/stdint.h: New file.
1211         * sysdeps/wordsize-64/stdint.h: New file.
1212         * sysdeps/generic/stdint.h: New file.
1213         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
1214         * sysdeps/wordsize-64/inttypes.h: Likewise.
1215         * stdlib/Makefile (headers): Add stdint.h.
1217 1998-02-03  Paul Eggert  <eggert@twinsun.com>
1219         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
1221 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1223         * timezone: New directory.
1224         * time/README, time/africa, time/antarctica, time/asia,
1225         time/australasia, time/backward, time/checktab.awk,
1226         time/etcetera, time/europe, time/factory, time/ialloc.c,
1227         time/iso3166.tab, time/leapseconds, time/northamerica,
1228         time/pacificnew, time/private.h, time/scheck.c,
1229         time/solar87, time/solar88, time/solar89, time/southamerica,
1230         time/systemv, time/test-tz.c, time/tzfile.h,
1231         time/tzselect.ksh, time/yearistype, time/zdump.c,
1232         time/zic.c, time/zone.tab: Moved to timezone.
1233         * time/tzfile.c: Include tzfile.h from timezone subdir.
1234         * time/tzset.c: Likewise.
1235         * time/Makefile: Cut out all code relating to timezones...
1236         * timezone/Makefile: ...and paste it in here.
1237         * Makefile (subdirs): Add timezone.
1239 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
1241         * libc.map (_sys_nerr): Added.
1243         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
1244         versioned symbol.
1246 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
1248         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
1249         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
1250         Reported by Craig Metz <cmetz@inner.net>.
1252 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1254         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
1255         instead of strcasecmp.
1256         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
1258         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
1260 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
1262         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
1263         Patch by Dean Gaudet <dgaudet@arctic.org>.
1265 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
1267         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
1269 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1271         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
1272         with no poll syscall, just include the BSD version.
1273         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
1274         kernel without the syscall, include the stub version.
1275         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1276         * sysdeps/generic/getresuid.c: New file.
1277         * sysdeps/generic/getresgid.c: New file.
1279 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
1281         * stdio-common/vfscanf.c: Correct last change a bit.
1283 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
1285         * elf/Makefile: Don't use --version-script parameter to link ld.so
1286         unconditionally.
1288 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
1290         * math/Makefile: Add t_exp.
1291         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
1292         constants.
1293         * math/test-reduce.c: Remove temporarily, it seems to be broken.
1294         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
1295         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
1296         better accuracy.
1297         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
1298         algorithm for very large/very small arguments.
1299         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
1300         correct algorithm for very large/very small arguments; adjust for
1301         new table.
1302         * sysdeps/libm-ieee754/t_exp.c: New file.
1303         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
1305         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
1306         back, with comment that explains what breaks when you remove it :-(.
1308         * localedata/xfrm-test.c: Avoid integer overflow.
1310         * stdlib/strfmon.c: char is unsigned, sometimes.
1312         * sysdeps/powerpc/Makefile: Remove quad float support.
1313         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
1314         * sysdeps/powerpc/quad_float.h: Likewise.
1315         * sysdeps/powerpc/test-arith.c: Likewise.
1316         * sysdeps/powerpc/test-arithf.c: Likewise.
1318         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
1319         * sysdeps/generic/s_exp2f.c: Likewise.
1321         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
1322         don't try anything if _SOFT_FLOAT.
1324 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1326         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
1327         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
1328         * wctype/wctype.c: Likewise.
1329         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
1330         changed.  They are incompatible with the _ISxxx values from
1331         <ctype.h> on little endian machines.
1332         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
1333         bit number.  This fixes the real bug and restores the integrity of
1334         the ctype locale file.
1335         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
1336         * wctype/wcfuncs_l.c: Likewise.
1337         * wctype/wcextra.c: Likewise.
1338         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
1339         byte swapping.
1341 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
1344         into .bss segment instead of .common, so that aliases on it work.
1346         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
1347         .size directives, put into .bss segment instead of initializing it
1348         to 4.
1350 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
1352         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
1354         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
1355         functions.
1356         Make names without __ weak aliases.
1357         (__libc_release, __libc_version): Make them static.
1359         * include/gnu/libc-version.h: New file.
1360         * Makefile (headers): Add gnu/libc-version.h.
1362 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
1364         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
1365         and use x for member name.
1366         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
1368         * stdlib/drand48.c: Change according to member name change.
1369         * stdlib/drand48_r.c: Likewise.
1370         * stdlib/lcong48_r.c: Likewise.
1371         * stdlib/lrand48.c: Likewise.
1372         * stdlib/lrand48_r.c: Likewise.
1373         * stdlib/mrand48.c: Likewise.
1374         * stdlib/mrand48_r.c: Likewise.
1375         * stdlib/seed48.c: Likewise.
1376         * stdlib/seed48_r.c: Likewise.
1377         * stdlib/srand48_r.c: Likewise.
1379 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1381         * nss/test-netdb.c: Add some more test cases.
1383 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
1385         * libio/iovsscanf.c: Undo last change modifying errno.
1387 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1389         * stdio-common/vfscanf.c: Never try to read another character
1390         after EOF.  Don't decrement read_in after EOF, it wasn't
1391         incremented in the first place.
1392         (NEXT_WIDE_CHAR): Set First, not first.
1394 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
1396         * db/Makefile ($(inst_libdir)/libndbm.a,
1397         $(inst_libdir)/libndbm.so): New targets.
1398         * db2/Makefile: Likewise.
1400 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
1402         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
1403         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
1405 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1407         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
1408         <streambuf.h>.
1409         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1411 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1413         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
1414         versioned symbols.
1416 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
1418         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
1419         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
1420         Added for libdl.so.
1422 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1424         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
1425         extra syscall.
1427         * grp/Makefile: Fix logic when checking for thread package.
1428         * pwd/Makefile: Likewise.
1430 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
1432         * elf/Makefile (rtld-map): Replaced by libc-map.
1434         * elf/rtld.map: Removed.
1436         * libc.map (__libc_enable_secure, _dl_catch_error,
1437         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
1438         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
1439         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
1440         _dl_object_relocation_scope, _dl_relocate_object,
1441         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
1442         _r_debug): Added for ld.so.
1444 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
1446         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
1447         DO_VERSIONING.
1448         * libio/iofdopen.c: Ditto.
1449         * libio/iofopen.c: Ditto.
1450         * libio/oldfileops.c: Ditto.
1452         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
1453         version GLIBC_2.1.
1455         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
1456         oldsiglist from sysdep_routines and shared-only-routines.
1458         * sysdeps/unix/sysv/linux/errlist.c: New.
1459         * sysdeps/unix/sysv/linux/errlist.h: New.
1460         * sysdeps/unix/sysv/linux/sizes.h: New.
1461         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
1462         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
1464         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
1466         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
1467         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
1468         directive.
1470         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
1472         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
1473         (oldsiglist.c): Removed.
1475         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
1476         (_sys_siglist): Use SYS_SIGLIST instead.
1477         (_sys_nerr): Use SYS_NERR instead.
1479         * sysdeps/gnu/errlist.c: Rebuilt.
1481 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
1483         * elf/Makefile (others-static): New, set to ldconfig.
1484         ($(objpfx)ldconfig): Removed.
1486         * Rules (binaries-all, binaries-static, binaries-shared): New.
1487         Create targets for $(binaries-static) and $(binaries-shared).
1489         * Makeconfig (+link-static, link-libc-static,
1490         link-extra-libs-static): New for static linking.
1492 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1494         * manual/memory.texi (Using the Memory Debugger): Fix typo.
1496         * math/libm-test.c (modf_test): Add one more test for modf.
1498 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
1500         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
1501         Rename from __libc_have_rt_sigs and leave as COMMON data.
1503 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
1505         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
1506         of __finite.
1508 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
1510         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
1512 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
1514         * misc/tst-efgcvt.c: Add yet more tests.
1515         * misc/efgcvt_r.c: And correct for these tests again.
1516         Reported by HJ Lu.
1518         * isomac.c: Move to...
1519         * stdlib/isomac.c: ...here.
1520         * Makefile: Move rules for handling isomac...
1521         * stdlib/Makefile: ...to here.
1523 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
1525         * misc/tst-efgcvt.c: Add more tests.
1526         * misc/efgcvt_r.c: Correct result for above new tests.
1528 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
1530         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
1531         NDIGIT <= 0.
1533 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
1535         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
1536         if the programs weren't built.
1538 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
1540         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
1541         FE_TONEAREST, soldier on regardless and do the best we can.
1542         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
1544 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
1546         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
1547         _STDIO_H, before including <bits/stdio_lim.h>.
1549         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
1551         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
1552         exist.
1554         * sysdeps/arm/sys/ucontext.h: New file.
1556 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
1558         * manual/stdio.texi (Formatted Output Functions): Explicitly say
1559         that the return value from snprintf() does not count the
1560         terminating NUL as a character.
1562 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
1564         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
1565         add description for sete[ug]id and general cleanup.
1566         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1568 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1570         * Makefile (parent-clean): Don't remove makefile fragments here.
1571         (postclean): New variable.
1572         (clean): Remove makefile fragments here.
1573         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
1574         (generated): Add isomac and isomanc.out.
1575         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
1576         avoid-generated is set.
1577         (postclean-generated): Add soversion.mk.
1578         ($(common-objpfx)version.mk): Don't include if avoid-generated is
1579         set.
1580         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
1581         avoid-generated is set.
1582         (common-generated): Add libc.so and libc.so$(libc.so-version).
1583         (generated): Add versioned libraries.
1584         (common-mostlyclean): Also remove %.so and %_pic.a.
1585         * csu/Makefile (generated): Add abi-tag.h.
1586         * db2/Makefile (extra-objs): Add getlong.o.
1587         * elf/Makefile (generated): Add ld.so, ldd and
1588         $(rtld-installed-name).
1589         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
1590         * malloc/Makefile (generated): Add mtrace.
1591         * po/Makefile: Don't include version.mk, not needed any more.
1592         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
1593         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
1594         syscall.h -> sys/syscall.h.
1595         (common-generated): Add s-proto.d.
1596         (postclean-generated): Add sysd-syscalls.
1597         * localedata/Makefile (test-output): Add all output files.
1598         (generated): Add test-input and test-output.
1599         (generated-dirs): Add all the dirs.
1601 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1603         * Makefile (test-output, generated, generated-dirs): New
1604         variables.
1606 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
1608         * resolv/nss_dns/dns-host.c: Various code cleanups.
1610 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
1612         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
1613         From Philip Blundell <pb@nexus.co.uk>.
1614         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
1616 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1618         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
1619         Suggested by debian/sparc porters.
1621 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1623         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
1624         for ecvt and fcvt.
1626 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
1628         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
1629         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
1631         * signal/signal.h: Always define sigset_t if __need_sigset_t is
1632         defined even if __USE_POSIX is not defined.
1634 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1636         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
1637         to support obsolete tty major numbers correctly.
1639 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
1641         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
1642         directory first and ignore install error.
1644         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
1645         128 from ptyno and fix a typo for the BSD style pty.
1647 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1649         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
1650         syscalls.list's.
1652 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1654         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1655         getresuid and getresgid.
1657         * sysdeps/unix/sysv/linux/getresuid.c: New file.
1658         * sysdeps/unix/sysv/linux/getresgid.c: New file.
1660         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
1661         s_getres[ug]id.
1663         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
1664         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1665         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1668 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
1670         * nscd/grpcache.c: Include <stdlib.h>.
1672 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
1674         * stdlib/atoll.c: Fix comments.
1676         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
1677         * sysdeps/posix/ttyname_r.c: Ditto.
1679 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1681         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
1682         __USE_MISC, independent of __USE_UNIX98.
1684 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
1686         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
1687         Rename from __libc_have_rt_sigs and leave as COMMON data.
1689 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
1691         * Makeconfig (CFLAGS-.os): Kill -fno-common.
1692         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
1694         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
1695         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
1696         version symbols.
1697         * include/libc-symbols.h (symbol_version, default_symbol_version):
1698         Provide asm versions and correct !DO_VERSIONING versions.
1699         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
1700         the weak symbol list.
1702         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
1703         Rename from __libc_have_rt_sigs and leave as COMMON data.
1704         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1705         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1706         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1708 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1710         * sunrpc/Makefile: Correct dependencies of rpcgen.
1712 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
1714         * nscd/Makefile: Fix test for available linuxthreads add-on.
1715         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1717 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1719         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
1721 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1723         * sysdeps/gnu/Makefile: Respect with-cvs variable.
1725         * manual/errno.texi (Error Messages): Correct description of
1726         strerror_r.  Pointed out by jonas@bagge.se.
1728 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1730         * manual/socket.texi (Host Address Functions): Clarify description
1731         of inet_network.
1733 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1735         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
1736         (grantpt): Delete superfluous cast.
1738 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1740         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
1741         elf/ldso_install instead of elf/subdir_install.
1742         (elf/ldso_install): New target.
1744         * elf/Makefile (ldso_install): New target.
1746 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1748         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
1749         of 1998-01-06.
1751 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1753         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
1754         constant expressions.
1756 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1758         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
1759         for __nss_configure_lookup.
1760         (output_hostent): Remove unused variable.
1762 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1764         * string/tst-inlcall.c: Fix format string.
1766 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1768         * inet/netinet/in.h: Rename second parameter of bindresvport to
1769         avoid buggy gcc warning. [PR libc/412]
1771 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
1773         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
1774         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
1776         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
1777         Follow POSIX and make tv_sec a time_t.
1778         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
1779         new tv64 syscall as well as fall back to tv32.
1780         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1781         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1782         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1783         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1784         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1785         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1786         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1787         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
1789         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
1790         * include/rpcsvc/nis_tags.h: Likewise.
1791         * include/rpcsvc/nislib.h: Likewise.
1793 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
1795         * libc.map: Add _h_errno.
1796         * inet/herrno.c: Make _h_errno weak alias.
1798         * login/Makefile (distribute): Add pty-internal.h.
1800         * nscd/Makefile (distribute): Add all the files missing.
1802         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
1803         are available.
1805         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
1806         and report status at the end.
1808         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
1810         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
1811         variable.
1812         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
1813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1816 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
1818         * configure.in: Fix --enable-add-ons code.
1820 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1822         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
1823         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
1824         [PR libc/441]
1826         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
1827         occurence in cache.  Reported by Rudolf Leitgeb
1828         <leitgeb@leland.stanford.edu>.
1829         [PR libc/440]
1831 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
1833         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
1834         that it never is EINTR (which is tested for in _IO_vfscanf).
1836         * Makefile.in: Call sub-make with CVSOPTS.
1838         * elf/Makefile (distribute): Add dl-procinfo.h.
1840         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
1842 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
1844         * version.h (VERSION): Bump to 2.0.92.
1846 1998-01-31  Phil Blundell  <philb@gnu.org>
1848         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
1849         alias for __new_sys_siglist.
1851 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
1853         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
1854         getgrgid_r.c if thread package is available.
1855         * pwd/Makefile: Likewise.
1856         * grp/getgrnam_r.c: Remove USE_NSCD definition.
1857         * grp/getgrgid_r.c: Likewise.
1858         * pwd/getpwnam_r.c: Likewise.
1859         * pwd/getpwuid_r.c: Likewise.
1861 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
1863         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
1864         with error to allow user intervention.
1865         * nss/getXXent_r.c: Likewise.
1867 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
1869         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
1870         AT_PLATFORM string.  Pretty print AT_BASE info.
1872         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
1873         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
1874         * sysdeps/generic/dl-procinfo.h: New file.
1875         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
1877 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
1879         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
1881         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
1882         thread and not pthread_detach.
1884         * nscd/nscd.c: Rewrite to use argp instead of getopt.
1886 1998-01-31  Phil Blundell  <philb@gnu.org>
1888         * configure.in: Add --without-cvs option to suppress automatic
1889         checkin of regenerated files.
1890         * config.make.in: Likewise.
1891         * Makefile: Respect with-cvs setting.
1892         * Makerules: Likewise.
1894         * configure.in: Allow the standalone ARM port to be configured.
1896 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1898         * grp/getgrgid_r.c: Define USE_NSCD.
1899         * grp/getgrnam_r.c: Likewise.
1900         * pwd/getpwuid_r.c: Likewise.
1901         * pwd/getpwnam_r.c: Likewise.
1903         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
1905         * nss/getXXbyYY_r.c: Try at first nscd.
1907         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
1908         * nscd/connections.c: New file.
1909         * nscd/dbg_log.c: New file.
1910         * nscd/dbg_log.h: New file.
1911         * nscd/grpcache.c: New file.
1912         * nscd/nscd.c: New file.
1913         * nscd/nscd.h: New file.
1914         * nscd/nscd_conf.c: New file.
1915         * nscd/nscd_stat.c: New file.
1916         * nscd/pwdcache.c: New file.
1918         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
1919         * nscd/nscd_getpw_r.c: Likewise.
1920         * nscd/nscd_proto.h: New, prototypes for client functions.
1922         * nscd/nscd.conf: New, example for a configuration file.
1923         * nscd/nscd.init: New, example for a startup script.
1925         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
1926         avoid deadlocks.
1927         * nscd/getgrnam_r.c: Likewise.
1928         * nscd/getpwnam_r.c: Likewise.
1929         * nscd/getpwuid_r.c: Likewise.
1931 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
1933         * intl/Makefile: Use CVSOPTS in cvs invocation.
1934         * po/Makefile: Likewise.
1935         * posix/Makefile: Likewise.
1936         * stdlib/Makefile: Likewise.
1938 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
1940         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
1941         [PR libc/410]
1942         * misc/Makefile (tests): Add tst-efgcvt.
1943         * misc/tst-efgcvt.c: New file.
1945 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
1947         * posix/regex.c: Add some more cleanups by Akim Demaille.
1949 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
1951         * signal/signal.h: Revert last change.
1952         * string/strsignal.c: Regard signal number NSGI as illegal.
1953         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
1954         members.
1956 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
1958         * Makefile.in: Add comment about CVSOPTS Makefile variable.
1959         * Makerules: Use CVSOPTS in cvs invocation.
1960         * Makefile: Likewise.
1961         * MakeTAGS: Likewise.
1962         * Make-dist: Likewise.
1964 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
1966         * sysdeps/generic/memmem.c: Correct last change.
1968 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
1970         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
1971         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
1973 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1975         * nis/ypclnt.c: Try at first to use the binding file from ypbind
1976         before using RPC.
1978 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1980         * manual/memory.texi (Heap Consistency Checking): mcheck is
1981         declared in <mcheck.h>.
1982         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
1984 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1986         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
1987         beginning of haystack.
1989 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1991         * nss/nss_files/files-service.c: Correct last patch.
1993 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
1995         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
1996         __libc_have_rt_sigs.
1997         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
1998         including <bits/setjmp.h>.
1999         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2000         Patch from the Debian glibc/SPARC package.
2002 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
2004         * sysdeps/alpha/bzero.S: Fix a typo.
2005         * sysdeps/alpha/htonl.S: Ditto.
2006         * sysdeps/alpha/htons.S: Ditto.
2008 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2010         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
2012 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
2014         * include/cpio.h: Move to ...
2015         * posix/cpio.h: ...here.
2017         * locale/programs/ld-collate.c: Fix typo.
2019         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
2021         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
2023         * login/utmp_file.c (pututline_file): Don't always report success
2024         if similar entry is found.  Patch by Mark M. Kettenis.
2026 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
2028         * manual/Makefile: Don't try to install the info files if makeinfo
2029         is not available.
2031 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
2033         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
2034         kernel's network ioctls, rather than using <linux/sockios.h> to
2035         get them.  This way we are sure of maintaining compatibility if
2036         the kernel interface should change.
2038 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
2040         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
2042 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
2044         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
2045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2047 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2049         Implement System V pseudoterminal handling.
2051         * login/Makefile
2052         (routines): Add getpt, grantpt, unlockpt, ptsname.
2053         (libutil-routines): Remove pty. Add openpty, forkpty.
2054         (distribute): New internal header pty-internal.h.
2055         (others): Add the helper program, pt_chown.
2056         (install-others): Install it, in $(libexecdir), mode 4755.
2058         * login/pty-internal.h: New file.
2059         * login/openpty.c: New file.
2060         * login/forkpty.c: New file.
2061         * login/programs/pt_chown.c: New file.
2063         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
2064         * stdlib/stdlib.h: Prototype them.
2066         * config.make.in: Define $(libexecdir).
2067         * Makeconfig: Define $(inst_libexecdir).
2069         * sysdeps/generic/pty.c: Removed.
2070         * sysdeps/unix/sysv/linux/pty.c: Removed.
2072         * sysdeps/generic/getpt.c: Stub out.
2073         * sysdeps/generic/grantpt.c: Likewise.
2074         * sysdeps/generic/ptsname.c: Likewise.
2075         * sysdeps/generic/unlockpt.c: Likewise.
2077         * sysdeps/unix/grantpt.c: New file.
2078         * sysdeps/unix/bsd/getpt.c: New file.
2079         * sysdeps/unix/bsd/unlockpt.c: New file.
2080         * sysdeps/unix/sysv/linux/getpt.c: New file.
2081         * sysdeps/unix/sysv/linux/ptsname.c: New file.
2082         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
2084 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
2086         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
2088 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2090         * nss/Makefile (tests): Add rule for test-netdb.c.
2092         * nss/test-netdb.c: New file.
2094 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
2096         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
2097         really kept as a variable.  Patch by Richard Henderson,
2098         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2100         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
2101         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
2102         entries as not existing.
2104 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2106         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
2107         zero in alternate form with precision of zero, which must produce
2108         "0".  Add braces to avoid ambiguous `else'.
2110 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2112         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
2113         problem with strncpy.
2114         * nis/nss_compat/compat-pwd.c: Likewise.
2115         * nis/nss_compat/comapt-spwd.c: Likewise.
2117 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2119         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
2120         by uch@nop.or.jp. [PR libc/437]
2122 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2124         * locales/pl_PL: Fix int_curr_symbol.
2126 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2128         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
2130 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2132         * stdio-common/test-popen.c: Include <errno.h>.
2134         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
2135         close.
2137         * inet/getnetgrent_r.c: Include <errno.h>.
2139         * db2/db/db_conv.c: Include <string.h> for memcpy.
2141         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
2142         so that memcpy is declared.
2144         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
2146         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
2148 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2150         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
2151         overflow while reading line with fgets.
2152         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2154 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
2156         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
2157         unsigned short, not short.
2158         Reported by Andreas Jaeger.
2160 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2162         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
2163         (ccept->accept).
2165         * sysdeps/generic/inttypes.h: Fix spelling.
2167 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2169         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
2171         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
2173 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
2175         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
2176         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
2177         field for hh modifier.
2178         * stdio-common/vfprint.c: Use is_char field and do not depend in
2179         is_short having the value 2.
2180         Bug reported by Andreas Jaeger.
2182 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2184         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
2185         PIC && DO_VERSIONING.
2187 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2189         * Rules: Add rules for $(common-objpfx)dummy$o.
2191 1998-01-26  Richard Henderson  <rth@cygnus.com>
2193         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
2194         unimplemented OSF/1 definitions so that they are not accidentally seen.
2196         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
2197         of the trampoline function into the macro.
2198         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
2199         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
2200         kernel 2.1.82 has this fixed.
2202         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
2203         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
2205 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
2207         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
2208         support sigaction on kernels > 2.1.7x.
2210 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
2212         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
2213         if it is empty.
2215         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
2216         Patch by David Engel <david@sw.ods.com>.
2218         * configure.in: Fix another typo in --enable-add-ons code.
2220 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
2222         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
2224 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2226         * nss/nss_files/files-network.c: Correct order of parameters for
2227         getnetbyaddr.
2229 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
2231         * db2/Makefile (routines): Add os_alloc.
2232         * db2/db.h: Update from db-2.3.16.
2233         * db2/db_185.h: Likewise.
2234         * db2/db_int.h: Likewise.
2235         * db2/btree/bt_close.c: Likewise.
2236         * db2/btree/bt_cursor.c: Likewise.
2237         * db2/btree/bt_delete.c: Likewise.
2238         * db2/btree/bt_open.c: Likewise.
2239         * db2/btree/bt_page.c: Likewise.
2240         * db2/btree/bt_put.c: Likewise.
2241         * db2/btree/bt_rec.c: Likewise.
2242         * db2/btree/bt_recno.c: Likewise.
2243         * db2/btree/btree_auto.c: Likewise.
2244         * db2/common/db_appinit.c: Likewise.
2245         * db2/common/db_apprec.c: Likewise.
2246         * db2/common/db_err.c: Likewise.
2247         * db2/common/db_region.c: Likewise.
2248         * db2/common/db_shash.c: Likewise.
2249         * db2/db/db.c: Likewise.
2250         * db2/db/db_auto.c: Likewise.
2251         * db2/db/db_conv.c: Likewise.
2252         * db2/db/db_dispatch.c: Likewise.
2253         * db2/db/db_dup.c: Likewise.
2254         * db2/db/db_pr.c: Likewise.
2255         * db2/db/db_rec.c: Likewise.
2256         * db2/db185/db185.c: Likewise.
2257         * db2/dbm/dbm.c: Likewise.
2258         * db2/hash/hash.c: Likewise.
2259         * db2/hash/hash_auto.c: Likewise.
2260         * db2/hash/hash_dup.c: Likewise.
2261         * db2/hash/hash_page.c: Likewise.
2262         * db2/hash/hash_rec.c: Likewise.
2263         * db2/include/btree_ext.h: Likewise.
2264         * db2/include/clib_ext.h: Likewise.
2265         * db2/include/common_ext.h: Likewise.
2266         * db2/include/db.h.src: Likewise.
2267         * db2/include/db_185.h.src: Likewise.
2268         * db2/include/db_am.h: Likewise.
2269         * db2/include/db_ext.h: Likewise.
2270         * db2/include/db_int.h.src: Likewise.
2271         * db2/include/hash_ext.h: Likewise.
2272         * db2/include/lock_ext.h: Likewise.
2273         * db2/include/log.h: Likewise.
2274         * db2/include/log_auto.h: Likewise.
2275         * db2/include/log_ext.h: Likewise.
2276         * db2/include/mp.h: Likewise.
2277         * db2/include/mp_ext.h: Likewise.
2278         * db2/include/mutex_ext.h: Likewise.
2279         * db2/include/os_ext.h: Likewise.
2280         * db2/include/os_func.h: Likewise.
2281         * db2/include/txn_ext.h: Likewise.
2282         * db2/lock/lock.c: Likewise.
2283         * db2/lock/lock_util.c: Likewise.
2284         * db2/log/log.c: Likewise.
2285         * db2/log/log.src: Likewise.
2286         * db2/log/log_archive.c: Likewise.
2287         * db2/log/log_auto.c: Likewise.
2288         * db2/log/log_get.c: Likewise.
2289         * db2/log/log_put.c: Likewise.
2290         * db2/log/log_rec.c: Likewise.
2291         * db2/log/log_register.c: Likewise.
2292         * db2/mp/mp_bh.c: Likewise.
2293         * db2/mp/mp_fget.c: Likewise.
2294         * db2/mp/mp_fopen.c: Likewise.
2295         * db2/mp/mp_fput.c: Likewise.
2296         * db2/mp/mp_pr.c: Likewise.
2297         * db2/mp/mp_sync.c: Likewise.
2298         * db2/mutex/mutex.c: Likewise.
2299         * db2/os/os_alloc.c: Likewise.
2300         * db2/os/os_config.c: Likewise.
2301         * db2/os/os_stat.c: Likewise.
2302         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2303         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2304         * db2/progs/db_load/db_load.c: Likewise.
2305         * db2/progs/db_printlog/db_printlog.c: Likewise.
2306         * db2/progs/db_recover/db_recover.c: Likewise.
2307         * db2/progs/db_stat/db_stat.c: Likewise.
2308         * db2/txn/txn.c: Likewise.
2310         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
2311         Unmap memory blocks in reverse order of allocation.
2312         Call munmap with load address added to offset.
2313         Bug reported by Miguel de Icaza.
2315         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
2316         up weight array.
2318         * localedata/locales/cs_CZ: Update by Michael Mraka
2319         <michael@informatics.muni.cz>.
2321         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
2322         __USE_BSD.
2324         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
2325         reading line with fgets.
2326         * nis/nss_compat/compat-pwd.c: Likewise.
2327         * nis/nss_compat/compat-spwd.c: Likewise.
2328         * nss/nss_files/files-XXX.c: Likewise.
2329         * nss/nss_files/files-alias.c: Likewise.
2330         * shadow/fgetspent_r.c: Likewise.
2332         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
2334         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
2335         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2336         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2338         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
2339         FP register content in ucontext_t.
2341 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2343         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
2344         calculation.  Patch by Markus Schoder
2345         <Markus.Schoder@dresdner-bank.de>.
2347         * math/libm-test.c (modf_test): Add more tests for modf.
2349         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
2350         munlock according to Unix98.
2352 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2354         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
2355         AF_INET.
2357 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
2359         * sysdeps/posix/ttyname.c: Handle symbolic links.
2360         * sysdeps/posix/ttyname_r.c: Ditto.
2362 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
2364         * db2/makedb.c (process_input): Write terminating \0 for value.
2365         (print_database): Simply print value string, don't use length.
2367 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2369         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
2370         exit of loop.
2372 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2374         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
2375         close all sockets.
2377 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
2379         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
2380         sigset.
2381         * signal/sighold.c: New file.
2382         * signal/sigrelse.c: New file.
2383         * sysdeps/generic/sigignore.c: New file.
2384         * sysdeps/generic/sigset.c: New file.
2385         * sysdeps/posix/sigignore.c: New file.
2386         * sysdeps/posix/sigset.c: New file.
2387         * signal/signal.h: Add prototypes for new functions.
2389         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
2390         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
2391         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
2392         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
2394 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
2396         * posix/wordexp.c: Added IFS field-splitting in parameter and
2397         command substitution.  Fixed an IFS-related bug that caused an
2398         infinite loop.
2400 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
2402         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
2403         and swapcontext.
2404         * stdlib/ucontext.h: Correct prototypes.
2405         * sysdeps/generic/getcontext.c: New file.
2406         * sysdeps/generic/setcontext.c: New file.
2407         * sysdeps/generic/makecontext.c: New file.
2408         * sysdeps/generic/swapcontext.c: New file.
2409         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
2411 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
2413         * resource/sys/resource.h: Remove #include of ulimit.h which is
2414         not allowed by SUSv2 and not available on other systems.
2415         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
2417         * streams/Makefile: New file.
2418         * streams/stropts.h: New file.
2419         * sysdeps/generic/bits/stropts.h: New file.
2420         * sysdeps/generic/isastream.c: New file.
2421         * sysdeps/generic/getmsg.c: New file.
2422         * sysdeps/generic/getpmsg.c: New file.
2423         * sysdeps/generic/putmsg.c: New file.
2424         * sysdeps/generic/putpmsg.c: New file.
2425         * sysdeps/generic/fattach.c: New file.
2426         * sysdeps/generic/fdetach.c: New file.
2427         * sysdeps/unix/inet/Subdirs: Add streams.
2428         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
2429         __t_uscalar_t.
2430         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2431         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2432         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2433         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2435         * sysdeps/mach/_strerror.c: Follow changes of generic version to
2436         handle small buffers correctly.
2438 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
2440         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2441         Remove the 3rd arg and add declaration for _dl_runtime_resolve
2442         and _dl_runtime_profile.
2444 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
2446         * include/cpio.h: New file.  Mainly copied from GNU cpio.
2447         * posix/Makefile (headers): Add cpio.h.
2449 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2451         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
2452         to routines.
2453         * nis/nis_cache.c: New file.
2454         * nis/nis_cache2.h: New file.
2455         * nis/nis_cache2_xdr.c: New file.
2456         * nis/nis_call.c: Changes for cache2_info parameter.
2457         * nis/nis_checkpoint.c: Likewise.
2458         * nis/nis_intern.h: Likewise.
2459         * nis/nis_mkdir.c: Likewise.
2460         * nis/nis_ping.c: Likewise.
2461         * nis/nis_rmdir.c: Likewise.
2462         * nis/nis_server.c: Likewise.
2463         * nis/nis_util.c: Likewise.
2465 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2467         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
2468         return/errnop codes.
2469         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2470         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2471         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2472         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2473         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2474         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2475         * nis/nss_nisplus/nisplus-rpc.c: Likewise
2476         * nis/nss_nisplus/nisplus-service.c: Likewise.
2477         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2479 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2481         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
2482         * nis/nss_nis/nis-ethers.c: Likewise.
2483         * nis/nss_nis/nis-grp.c: Likewise.
2484         * nis/nss_nis/nis-hosts.c: Likewise.
2485         * nis/nss_nis/nis-network.c: Likewise.
2486         * nis/nss_nis/nis-proto.c: Likewise.
2487         * nis/nss_nis/nis-hosts.c: Likewise.
2488         * nis/nss_nis/nis-network.c: Likewise.
2489         * nis/nss_nis/nis-proto.c: Likewise.
2490         * nis/nss_nis/nis-publickey.c: Likewise.
2491         * nis/nss_nis/nis-pwd.c: Likewise.
2492         * nis/nss_nis/nis-rpc.c: Likewise.
2493         * nis/nss_nis/nis-service.c: Likewise.
2494         * nis/nss_nis/nis-spwd.c: Likewise.
2496 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
2498         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
2499         Added to follow latest kernel development.
2501 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
2503         * nss/db-Makefile: Handle empty and comment lines better.
2504         ($(VAR_DB)/services.db): Generate entries with missing protocol
2505         value.
2507 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2509         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
2510           NULL.
2511           (getservbyname): Allow proto == NULL.
2512           Pointed out by David N. Welton <davidw@gate.cks.com>.
2513           [PR libc/430].
2515 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
2517         * nis/nislib/nislib.h: Finally removed.
2519         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
2520         C compiler.  From Kaveh Ghazi.
2521         (TYPE_MINIMUM): Define.
2522         (TYPE_MAXIMUM): Define.
2523         (TIME_T_MIN): Use TYPE_MINIMUM.
2524         (TIME_T_MAX): Use TYPE_MAXIMUM.
2525         Patch by Jim Meyering <meyering@ascend.com>.
2527 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
2529         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
2530         __pread64, __pwrite64, and __getpid.
2532         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
2533         versions.
2535 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2537         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
2538         cancelable socket functions as __libc_xxx with __xxx as weak
2539         alias.
2540         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2541         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2543         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
2544         redefined.
2545         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2546         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
2547         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
2548         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2550         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
2551         and __xxx a weak alias.
2552         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2553         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2554         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2555         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2556         * sysdeps/unix/sysv/linux/send.S: Likewise.
2557         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2558         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2560 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2562         * locale/langinfo.h: Add defines.
2564         * dirent/dirent.h: Add defines for DT_*, check also for
2565         _DIRENT_HAVE_D_TYPE.
2566         Suggested by Roland McGrath.
2568 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2570         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
2571         Update from Linux 2.1.73+79.
2573         * README.template: Update information about possible
2574         configurations.
2576         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
2577         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
2578         [PR libc/417].
2580         * manual/time.texi (Priority): Correct description of
2581         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
2582         [PR libc/416].
2584 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
2586         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
2587         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
2589 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
2591         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
2592         Andreas Jaeger.
2594 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
2596         * locale/programs/ld-collate.c: Little optimizations.
2598         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
2600         * string/Makefile (tests): Add tst-inlcall.
2601         * string/tst-inlcall.c: New file.
2603         * string/strsignal.c: Add support for real-time signals.
2605         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
2606         presense of small buffer.
2608         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
2610         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
2611         for i686.
2613         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
2614         _NSIG + 1.
2616 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
2618         * Rules: Add explicit rule for dummy.o; at least one library needs
2619           it and it isn't autogenerated by the default rules.
2621 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2623         * math/libm-test.c: Tweak epsilons.
2625 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2627         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
2628         child.
2629         (feenv_mask_test): Likewise.
2631 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2633         * Makeconfig: Don't export CPPFLAGS.
2635 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2637         * sunrpc/rpc_main.c (parseargs): Use perror to print error
2638         message.
2640 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2642         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
2643         terminating null in key size.
2645 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2647         * nss/nss_files/files-service.c: Fix allocation size to include
2648         length of PROTO.
2650         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
2651         applicable.  Fix return value and error checking.
2652         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
2653         unparsable lines.
2654         (DB_LOOKUP): Allocate space for terminating null byte.
2656         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
2657         uids specially.
2659         * db2/makedb.c (process_input): Continue processing if a duplicate
2660         key is encountered.
2662 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
2664         * time/tzfile.h: Updated from tzcode1998b.
2665         * time/zdump.c: Likewise.
2666         * time/zic.c: Likewise.
2667         * time/africa: Update from tzdata1998b.
2668         * time/antarctica: Likewise.
2669         * time/asia: Likewise.
2670         * time/australasia: Likewise.
2671         * time/etcetera: Likewise.
2672         * time/europe: Likewise.
2673         * time/leapseconds: Likewise.
2674         * time/northamerica: Likewise.
2675         * time/southamerica: Likewise.
2677 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2679         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
2680         lookups ignoring case.
2681         * nss/nss_files/files-network.c: Do network lookups ignoring
2682         case.
2683         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
2684         case.
2685         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
2686         case insensitive comparing.
2687         Patches by Cristian Gafton <gafton@redhat.com>.
2689 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2691         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
2692         by Roland McGrath. [PR libc/395]
2694 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2696         * manual/arith.texi (Parsing of Integers): Correct description of
2697         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
2698         [PR libc/396]
2700 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
2702         * misc/lsearch.c (lsearch): Return a pointer to the new element
2703         if one was "allocated".
2705 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2707         * string/strsignal.c: NSIG is not a valid index into
2708         _sys_siglist.  Don't zap the last character of the "Unknown
2709         signal" message.
2711 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
2713         * locale/programs/charmap.c (parse_charmap): Correct parsing of
2714         ellipsis expressions.
2716         * locale/programs/charset.c (insert_char): Correctly insert value
2717         of eliipsis expression.
2719 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
2721         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
2722         <bits/setjmp.h>.
2723         * sysdeps/powerpc/setjmp.S: Likewise.
2724         Patches by Matt McLean <keys@keys.got.net>.
2726         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
2728         * Makefile: Undo last patch.
2729         (distribute): Add test-installation.pl.
2731         * configure.in: Correct handling of --enable-add-ons without parameter.
2732         Correct address of WWW pages.
2734         * libc.map: Add _nl_domain_bindings.
2736         * db2/mutex/tsl_parisc.s: New file.
2738         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
2739         and extra-module.mk.
2741         * localedata/Makefile (distribute): New.  Add all the files.
2743         * stdlib/Makefile (headers): Add inttypes.h.
2744         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
2745         * sysdeps/generic/inttypes.h: New file.
2746         * sysdeps/generic/strtoimax.c: New file.
2747         * sysdeps/generic/strtoumax.c: New file.
2748         * sysdeps/generic/wcstoimax.c: New file.
2749         * sysdeps/generic/wcstoumax.c: New file.
2750         * sysdeps/wordsize-32/Dist: Removed.
2751         * sysdeps/wordsize-32/Makefile: Removed.
2752         * sysdeps/wordsize-64/Dist: Removed.
2753         * sysdeps/wordsize-64/Makefile: Removed.
2754         * sysdeps/generic/bits/environments.h: New file.
2756         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
2757         header is still not correct.
2759         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
2760         * posix/unistd.h: Likewise.
2761         * sysdeps/generic/sys/mman.h: Likewise.
2762         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2764         * manual/arith.texi: Change definition of mul macro.
2765         * manual/math.texi: Likewise.
2767         * misc/Makefile (routines): Add mmap64.
2768         * sysdeps/generic/mmap64.c: New file.
2769         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
2770         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
2771         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
2772         aliases to mmap.
2773         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2775         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
2777         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
2779         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
2781         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
2782         FOPEN_MAX also when included by limits.h.
2783         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
2785         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
2786         and netrom/netrom.h.
2787         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
2788         oldsiglist to sysdep_routines, not aux.
2789         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
2791         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
2792         and SOL_NETROM definition.
2794         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
2796         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
2797         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
2799 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
2801         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
2803         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
2804         sa_handler with k_sa_handler.
2805         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
2806         strong alias.
2807         Reported by a sun.
2809         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
2810         __libc_have_rt_sigs here.
2811         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
2812         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2813         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
2814         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2816 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
2818         * sysdeps/powerpc/atomicity.h: New file.
2819         * sysdeps/mach/powerpc/machine-lock.h: New file.
2821         * Rules: Use -fpic to build anything that might end up in a users'
2822         shared library.
2824         * sysdeps/powerpc/s_fdim.c: New file.
2825         * sysdeps/powerpc/s_fdimf.c: New file.
2826         * sysdeps/powerpc/s_fmax.S: New file.
2827         * sysdeps/powerpc/s_fmaxf.S: New file.
2828         * sysdeps/powerpc/s_fmin.S: New file.
2829         * sysdeps/powerpc/s_fminf.S: New file.
2830         * sysdeps/powerpc/s_llrint.c: Now is for double.
2831         * sysdeps/powerpc/s_llrintf.c: New file.
2832         * sysdeps/powerpc/s_llround.c: Now is for double.
2833         * sysdeps/powerpc/s_llroundf.c: New file.
2834         * sysdeps/powerpc/s_lrint.c: Now is for double.
2835         * sysdeps/powerpc/s_lrintf.S: New file.
2836         * sysdeps/powerpc/s_lround.c: Now is for double.
2837         * sysdeps/powerpc/s_lroundf.c: New file.
2838         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
2839         lrintf, fdim, fdimf.
2841         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
2842         file directly, use its parent.
2844         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
2845         (for the third time).
2847 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
2849         * posix/sched.h: timespec is in <time.h>.
2851         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
2853 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
2855         * configure.in: Stop with error if --disable-static is used when
2856         the shared lib uses this library.
2858         * gen-FAQ.pl: I've perl installed in /usr/bin.
2860         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
2862         Fix Unix98 conformance problems in the headers.
2863         * catgets/nl_types.h: Define nl_item.
2864         * grp/grp.h: Define gid_t.
2865         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
2866         * include/nl_types.h: New file.
2867         * include/ulimit.h: New file.
2868         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
2869         constants in POSIX mode.
2870         * io/utime.h: Get definition for time_t.
2871         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
2872         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
2873         * libio/stdio.h: Define va_list.  Make snprintf also available is
2874         __USE_UNIX98.  Declare getopt function and variables.
2875         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
2876         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
2877         * math/math.h: Defined M_* constants as double for Unix98 mode.
2878         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
2879         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
2880         * posix/regex.h: Define REG_NOSYS.
2881         * posix/wordexp.h: Define WRDE_NOSYS.
2882         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
2883         500 for Unix98.
2884         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
2885         somewhere else as well.  Define clock_t for Unix98.
2886         * posix/sys/wait.h: Define pid_t.
2887         * pwd/pwd.h: Define gid_t, uid_t.
2888         * resource/Makefile (headers): Add ulimit.h.
2889         * resource/ulimit.h: New file.
2890         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
2891         instead of second argument.
2892         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
2893         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2894         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
2895         * signal/signal.h: Define pid_t.
2896         * string/string.h: Don't declare BSD string functions in POSIX mode.
2897         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
2898         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
2899         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
2900         and POSIX.
2902         * inet/test_ifindex.c: Change test so that it does not fail for
2903         interface aliases.
2905         * locale/programs/locale.c (show_info): Use correct cast sequence
2906         for 64bit machines.
2908         * malloc/malloc.c: __malloc_initialized now signals three states:
2909         uninitialized, initializing, initialized.  Used in mcheck.
2910         * malloc/mcheck.c (mabort): Add '\n' to messages.
2911         (mcheck): Allow installation when malloc is uninitialized or is
2912         just initializing.
2914         * manual/memory.texi: Explain mtrace output a bit more.
2916         * math/libm-test.c: Add more epsilons.
2918         * misc/regexp.h (compile): Remove __ prefix from parameter names.
2920         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
2921         instead of strcpy for security.
2922         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
2923         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
2924         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
2926         * nss/digits_dots.c: Pretty print.
2928         * posix/getconf.c (vars): Add symbols for programming environment
2929         recognition.  Recognize --version.
2931         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
2932         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
2933         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
2935         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
2936         __need_FOPEN_MAX.
2937         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
2938         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
2939         __need_FOPEN_MAX.
2941         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
2942         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
2944         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
2945         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2946         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2947         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
2948         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2949         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
2951         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
2952         SCNu*.
2953         * sysdeps/wordsize-64/inttypes.h: Likewise.
2955         * time/africa: Update from tzdata1997j.
2956         * time/antarctica: Likewise.
2957         * time/asia: Likewise.
2958         * time/australasia: Likewise.
2959         * time/backward: Likewise.
2960         * time/etcetera: Likewise.
2961         * time/europe: Likewise.
2962         * time/factory: Likewise.
2963         * time/northamerica: Likewise.
2964         * time/pacificnew: Likewise.
2965         * time/southamerica: Likewise.
2967         * time/tzfile.h: Update from tzcode1997h.
2968         * time/zic.c: Likewise.
2970         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
2971         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
2972         isw*() functions for Unix98.
2973         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
2974         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
2975         is defined.
2977 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2979         * locale/duplocale.c: Increase usage_count only if less than
2980         MAX_USAGE_COUNT.
2981         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
2982         MAX_USAGE_COUNT.
2983         * locale/setlocale.c: Likewise.
2985 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2987         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
2988         dependency to make it easier to install it selectively.
2990         * Makerules (.SUFFIXES): Don't define any suffixes.
2992 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2994         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
2995         * sysdeps/generic/statfs64.c: Emulate using statfs.
2996         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
2997         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
2998         * sysdpes/generic/ftruncate64.c: New file.
2999         * sysdpes/generic/truncate64.c: New file.
3001         * sysdeps/generic/bits/stat.h: Add LFS support.
3002         * sysdeps/generic/bits/statfs.h: Likewise.
3004         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
3005         [__USE_FILE_OFFSET64]: Make long long constant.
3006         (RLIM64_INFINITY): Likewise.
3008         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
3009         for LFS support.
3010         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
3011         * sysdeps/generic/bits/resource.h: Likewise.
3013         * misc/Makefile (routines): Add truncate64 and ftruncate64.
3015         * include/features.h: Don't prevent LFS support from defining BSD
3016         and SYSV things.
3018         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
3019         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
3020         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
3022         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
3023         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
3024         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3026         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
3027         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
3028         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3029         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
3030         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
3031         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
3032         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
3033         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
3034         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
3035         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
3036         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
3037         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
3038         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
3039         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
3040         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
3041         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
3042         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
3043         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
3044         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
3045         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
3047         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
3048         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
3049         * sysdeps/unix/sysv/linux/xstat64.c: New file.
3050         * sysdeps/unix/sysv/linux/readdir64.c: New file.
3051         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
3053         * sysdeps/unix/sysv/linux/getdents64.c: New file.
3054         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3055         [$(subdir)=dirent]: Add getdents64.
3056         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
3058         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
3060 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
3062         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
3064         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
3065         * sysdeps/generic/getrlimit64.c: Likewise.
3066         * sysdeps/generic/setrlimit.c: Likewise.
3067         * sysdeps/generic/setrlimit64.c: Likewise.
3069 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
3071         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
3072         using versioning.
3074         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
3076         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
3078 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3080         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
3081         after the codeset name.
3083 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3085         * libc.map: Add get_kernel_syms.
3087 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3089         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
3090         static.
3091         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
3092         Likewise.  Fix condition.
3094 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3096         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
3098 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3100         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
3101         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
3103 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3105         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
3106         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
3107         instead.  Oops.
3109 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3111         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
3113 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3115         * math/libm-test.c (catanh_test): Change epsilon.
3116         Reported by H.J. Lu.
3118 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
3120         * libc.map (__getpid): Added for linuxthreads.
3122 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
3124         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
3125         it if gcc uses static variable in DWARF2 unwind information
3126         for exception support.
3128         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
3130         * elf/soinit.c (__libc_global_ctors, _fini): Handle
3131         HAVE_DWARF2_UNWIND_INFO_STATIC.
3133         * libc.map (__register_frame*, __deregister_frame*): Make them
3134         global.
3136 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3138         * math/libm-test.c: Add more tests for "normal" values.
3140 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3142         * stdio-common/printf_fphex.c: Fix printing of long double number
3143         with a biased exponent of zero.  Fix rounding.
3145 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3147         * sunrpc/rpc_main.c: Accept new flag -$.
3148         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
3150 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3152         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
3153         dynamic linker first, in case the interface has changed.
3155 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3157         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
3158         order.
3160 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3162         * math/tgmath.h: Check for double first, for architectures where
3163         sizeof (long double) == sizeof (double).
3165 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3167         * math/libm-test.c: New tests for "normal" values added for most
3168         functions.
3170 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
3172         * version.h (VERSION): Bump to 2.0.91.
3174         * db2/makedb.c (process_input): Fix typo in message.
3175         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
3177         * elf/dynamic-link.h: Pretty print.
3179         * elf/rtld.c: Allow multiple preloading of a shared object.
3181         * include/limits.h: Prevent multiple inclusion.
3183         * malloc/Makefile (headers): Add mcheck.h.
3184         (distribute): Remove it here.
3185         * malloc/mcheck.h: Pretty print.
3186         * malloc/mtrace.c (mallenv): Make `const'.
3187         * malloc/mtrace.pl: Don't print table head for memory leaks if there
3188         are none.
3189         * manual/memory.texi: Update descriptor of malloc hooks.
3191         * posix/Makefile (routines): Add waitid.
3192         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
3193         on __id_t.
3194         * posix/sys/wait.h: Define idtype_t type.
3195         Add prototype for waitid.
3196         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
3197         * sysdeps/generic/waitid.c: Stub for waitid.
3198         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
3199         the __need_siginfo_t defined.
3200         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
3201         * sysdeps/generic/bits/types.h: Define __id_t.
3202         Correct definition of __FDMASK.
3203         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3204         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3205         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3207         * sysdeps/posix/waitid.c: New file.
3208         Provided by Zack Weinberg.
3210         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
3212         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3213         Add missing parameters.
3215         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
3216         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
3217         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
3218         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
3219         initialized.
3221         * sysdeps/i386/dl-machine.h: Little cleanup.
3223         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
3224         (__finite): Mark function as const.
3225         Add inline code for __ieee754_atan2.
3227         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
3228         (but don't use it now).
3229         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
3230         __atan.
3231         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
3232         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
3233         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
3234         real part.
3235         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
3236         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
3237         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
3238         __ieee754_atan2 to base 10.
3239         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
3240         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
3242         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
3243         old_kernel_sigaction.
3245         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
3247         * wctype/Makefile (routines): Add wctype_l.
3248         * wctype/wctype.h: Add declaration of __wctype_l.
3249         * wctype/wctype_l.c: New file.
3251 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
3253         * locale/C-ctype.c: Correct data for isw* functions.
3254         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
3255         byte order.
3256         * wctype/test_wctype.c: Add test for isw* functions.
3257         * wctype/wctype.c: Return value with expected byte order.
3259 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3261         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
3263 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
3265         * iconvdata/Makefile: Fix a typo.
3267         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
3268         oldsiglist for shared library.
3270         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
3271         sys_sigabbrev): Make them as the default version GLIBC_2.1.
3273         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
3274         sys_siglist, sys_sigabbrev): New file. Make them as the old
3275         version GLIBC_2.0.
3277         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
3278         to GLIBC_2.1.
3280 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
3282         * libio/iofgets.c (_IO_fgets): Return an error only if there
3283         is a new error.
3284         * libio/iogets.c (_IO_gets): Ditto.
3286 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
3288         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
3290         * libio/Makefile (routines, shared-only-routines): Add
3291         oldiofdopen.
3293         * libio/fileops.c: Don't use _IO_FILE_complete.
3294         * libio/iofdopen.c: Ditto.
3295         * libio/iofopen.c: Ditto.
3296         * libio/iofopen64.c: Ditto.
3297         * libio/iopopen.c: Ditto.
3298         * libio/iovdprintf.c: Ditto.
3300         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
3302         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
3303         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
3305         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
3306         _IO_old_fdopen, _IO_new_fdopen): New declaration.
3308         * libio/libio.h (_IO_FILE): Add more fields.
3309         (_IO_FILE_complete): Defined and make _IO_FILE be the old
3310         one if _IO_USE_OLD_IO_FILE is defined
3311         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
3312         them _IO_FILE_complete.
3314         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
3315         to adjust vtable.
3316         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
3317         _IO_JUMPS.
3318         (_IO_FILE_complete): Commented out.
3320         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
3321         * libio/oldiofclose.c: Ditto.
3322         * libio/oldiofopen.c: Ditto.
3323         * libio/oldstdfiles.c: Ditto.
3325         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
3326         for the old _IO_FILE.
3328         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
3329         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
3330         and stderr.
3332         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
3333         and remove INAME.
3335         * libio/stdio.c (stdin, stdout, stdin): Don't use
3336         _IO_FILE_complete.
3338         * libio/oldiofdopen.c: New.
3340         * stdio-common/vfprintf.c (buffered_vfprintf): Set
3341         hp->_vtable_offset to 0.
3343 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
3345         * libc.map (_IO_file_open): Added.
3347         * libio/libioP.h (_IO_file_open): Declared.
3349         * libio/fileops.c (_IO_file_open): New.
3350         (_IO_file_fopen): Call _IO_file_open ().
3352         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
3353         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3355 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3357         * signal/signal.h: Fix selection of signal semantics to match
3358         comment.
3360 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3362         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
3363         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
3364         rt_sigreturn.
3365         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3366         [$(subdir)=signal]: Remove rt_sigreturn.
3367         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
3368         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
3369         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
3371 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3373         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
3374         declarations.
3376 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3378         * iconvdata/extra-module.mk: Expand extra-objs now.
3380 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3382         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
3383         inline functions by feature tests to avoid warning about missing
3384         prototype declarations.
3386 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3388         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
3389         return code for non existent +name entries.
3390         * nis/nss_compat/compat-pwd.c: Likewise.
3391         * nis/nss_compat/compat-spwd.c: Likewise.
3393 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
3395         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
3396         (EIO): Likewise.
3397         (ENOSPC): Likewise.
3398         (EEXIST): Likewise.
3399         (__errno_location): Likewise.
3401         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
3403         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
3405 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3407         * sunrpc/publickey.c: Use new NSS interface.
3409 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
3411         * manual/malloc.texi: Document mtrace/muntrace and the concept.
3413 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3415         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
3416         value, to match spirit of the standard.
3417         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
3418         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
3419         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3421 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3423         * manual/signal.texi (Signal Stack): Remove spurious @item.
3425 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3427         * rt/aio.h: Remove double semicolon.
3429         * rt/librt.map: Add aio_init.
3431 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
3433         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
3434         * Makefile (subdirs): Replace rt by $(rt).
3436         * shlib-versions: Use version .2 for NSS modules.
3438         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
3439         argument.
3440         * pwd/fgetpwent_r.c: Likewise.
3441         * spwd/fgetspent_r.c: Likewise.
3442         * spwd/sgetspent_r.c: Likewise.
3443         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
3444         Store error number in *ERRNOP.  Little optimization.
3445         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
3446         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
3447         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
3448         (__internal_getnetgrent_r): New argument.
3449         Call __internal_setnetgrent_reuse with new argument.
3450         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
3451         * inet/netgroup.h: Add argument to prototypes.
3452         * nis/nisplus-parser.h: Likewise.
3453         * nis/nss_compat/compat-grp.c: Change everything to store error
3454         code through provided pointer and not use errno.
3455         * nis/nss_compat/compat-pwd.c: Likewise.
3456         * nis/nss_compat/compat-spwd.c: Likewise.
3457         * nis/nss_nis/nis-alias.c: Likewise.
3458         * nis/nss_nis/nis-ethers.c: Likewise.
3459         * nis/nss_nis/nis-grp.c: Likewise.
3460         * nis/nss_nis/nis-hosts.c: Likewise.
3461         * nis/nss_nis/nis-netgrp.c: Likewise.
3462         * nis/nss_nis/nis-network.c: Likewise.
3463         * nis/nss_nis/nis-proto.c: Likewise.
3464         * nis/nss_nis/nis-publickey.c: Likewise.
3465         * nis/nss_nis/nis-pwd.c: Likewise.
3466         * nis/nss_nis/nis-rpc.c: Likewise.
3467         * nis/nss_nis/nis-service.c: Likewise.
3468         * nis/nss_nis/nis-spwd.c: Likewise.
3469         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3470         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3471         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3472         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3473         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3474         * nis/nss_nisplus/nisplus-network.c: Likewise.
3475         * nis/nss_nisplus/nisplus-parser.c: Likewise.
3476         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3477         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3478         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3479         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3480         * nis/nss_nisplus/nisplus-service.c: Likewise.
3481         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3482         * nss/nss_db/db-XXX.c: Likewise.
3483         * nss/nss_db/db-alias.c: Likewise.
3484         * nss/nss_db/db-netgrp.c: Likewise.
3485         * nss/nss_files/files-XXX.c: Likewise
3486         * nss/nss_files/files-alias.c: Likewise
3487         * nss/nss_files/files-netgrp.c: Likewise
3488         * nss/nss_files/files-parse.c: Likewise
3489         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
3490         parameter of get functions.
3491         * nss/getXXent_r.c: Likewise.
3493         * localedata/tst-fmon.c: Print debug info if test fails.
3495         * rt/Makefile (routines): Add aio_notify.
3496         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
3497         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
3498         * rt/aio_fsync.c: Likewise.
3499         * rt/aio_misc.c: Likewise.
3500         * rt/aio_misc.h: Likewise.
3501         * rt/aio_read.c: Likewise.
3502         * rt/aio_read64.c: Likewise.
3503         * rt/aio_suspend.c: Likewise.
3504         * rt/aio_write.c: Likewise.
3505         * rt/aio_write64.c: Likewise.
3506         * rt/lio_listio.c: Likewise.
3507         * rt/lio_listio64.c: Likewise.
3508         * rt/aio_notify.c: New file.
3510         * sysdeps/generic/bits/sigset.h: Pretty print.
3512         * sysdeps/posix/pwrite.c: Define weak alias only if function is
3513         really defined as __pwrite.
3515         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
3516         instead of pread64.
3517         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3519         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
3520         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
3521         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
3522         size in syscall.
3523         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3524         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3525         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
3526         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3527         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3528         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3529         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
3530         for ACT being NULL.
3531         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
3532         RT signals.
3533         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
3534         __NR_pread is not defined.
3535         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
3536         __NR_pwrite is not defined.
3538 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3540         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
3541         handle for /etc/group back in some more cases.
3542         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
3543         handle for /etc/passwd back in some more cases.
3544         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
3545         handle for /etc/shadow back in some more cases.
3547 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
3549         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
3550         beyound its size.
3551         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
3552         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
3554 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
3556         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
3557         handling.  Don't use macros, we need functions.  Use inline functions
3558         for optimization.
3559         * sysdeps/wordsize-64/inttypes.h: Likewise.
3560         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
3561         and wcstoumax.
3562         * sysdeps/wordsize-64/Makefile: Likewise.
3563         * sysdeps/wordsize-32/Dist: Likewise.
3564         * sysdeps/wordsize-64/Dist: Likewise.
3565         * sysdeps/wordsize-32/strtoimax.c: New file.
3566         * sysdeps/wordsize-32/strtoumax.c: New file.
3567         * sysdeps/wordsize-32/wcstoimax.c: New file.
3568         * sysdeps/wordsize-32/wcstoumax.c: New file.
3569         * sysdeps/wordsize-64/strtoimax.c: New file.
3570         * sysdeps/wordsize-64/strtoumax.c: New file.
3571         * sysdeps/wordsize-64/wcstoimax.c: New file.
3572         * sysdeps/wordsize-64/wcstoumax.c: New file.
3574 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
3576         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
3577         that transparent union works.
3578         * sysdeps/generic/wait4.c (__wait4): Likewise.
3579         * sysdeps/generic/wait.c (__wait): Likewise.
3581         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
3582         size_t.
3584         * sysdeps/generic/syscall.c (syscall): Return value and arg are
3585         long, to match prototype.
3587         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
3588         have mremap() yet.
3590         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
3592         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
3594         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
3596         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
3597         __rlim_t.
3599         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
3601         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
3603         * io/sys/stat.h (S_ISLNK): Always false if we don't have
3604         __S_IFLNK.
3606         * sysdeps/standalone/close.c (_STDIO_H): Define before including
3607         <bits/stdio_lim.h>.
3608         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
3610 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
3612         * posix/sys/wait.h: Don't use transparent unions in C++.
3614 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3616         * time/time.h: Add strfxtime.
3618         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
3619         sysv_signal, strfxtime, pread64, pwrite64.
3621 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
3623         Alpha changes for EGCS:
3624         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
3625         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
3626         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
3627         (_start): Likewise.
3628         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
3630 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
3632         The kernel expects the arguments in a different order.
3633         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
3634         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
3636         * FAQ.in: New file.
3637         * gen-FAQ.pl: New file.
3638         * Makefile (FAQ): Add rule to generate from FAQ.in.
3640         * iconvdata/Makefile: Treat libJIS like the other modules.
3642         * rt/librt.map: New file.
3644         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
3645         inclusion.
3646         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
3647         comment.
3649 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
3651         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
3652         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3653         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
3654         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3656 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3658         * string/bits/string2.h: Fix spellings.
3660         * string/string.h: Fix spellings.
3662 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3664         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
3665         declaration to __syscall_rt_sigaction.
3667         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
3668         non-existant <sigcontext.h>.
3670 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3672         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
3673         typo.
3675 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3677         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
3679         * Makeconfig (shared-thread-library): Correct spelling.
3681         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
3682         <asm/pci.h>.
3684 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3686         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
3687         constants from Linux headers. Pointed out by
3688         csmall@scooter.o.i.net. [PR libc/369]
3690 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3692         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
3694 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3696         * configure.in: If --enable-add-ons is given without an
3697         argument, set the addons list to all subdirs with a configure
3698         script.
3700 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
3702         * Makeconfig: Add shared-thread-library variable.
3704         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
3705         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
3706         here.
3707         * sysdeps/m68k/fpu/e_acos.c: Likewise.
3708         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3709         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3710         * sysdeps/m68k/fpu/e_pow.c: Likewise.
3711         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3712         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3713         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3714         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3715         * sysdeps/m68k/fpu/s_atan.c: Likewise.
3716         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3717         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3718         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3719         * sysdeps/m68k/fpu/s_csin.c: Likewise.
3720         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3721         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3722         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3723         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3724         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3725         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3726         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3727         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
3728         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3729         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
3730         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3731         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
3733         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
3734         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
3735         * signal/Makefile (headers): Add bits/siginfo.h.
3736         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
3737         (distribute): Add testrtsig.h.
3738         * signal/allocrtsig.c: New file.
3739         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
3740         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
3741         __libc_current_sigrtmax.
3742         * sysdeps/generic/sigqueue.c: New file.
3743         * sysdeps/generic/sigtimedwait.c: New file.
3744         * sysdeps/generic/sigwaitinfo.c: New file.
3745         * sysdeps/generic/testrtsig.h: New file.
3746         * sysdeps/generic/bits/siginfo.h: New file.
3747         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
3748         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
3749         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
3750         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
3751         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
3752         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
3753         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
3754         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
3755         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
3756         * sysdeps/unix/sysv/linux/sigpending.c: New file.
3757         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
3758         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
3759         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
3760         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
3761         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
3762         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
3763         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
3764         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
3765         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
3766         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
3767         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
3768         and _POSIX_REALTIME_SIGNALS.
3769         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
3770         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
3771         update _NSIG.
3772         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
3773         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
3774         definitions.
3776         * Makefile (subdirs): Add rt.
3777         * shlib-versions: Add entry for librt.
3778         * rt/Makefile: New file.
3779         * rt/aio.h: New file.
3780         * rt/aio_cancel.c: New file.
3781         * rt/aio_error.c: New file.
3782         * rt/aio_fsync.c: New file.
3783         * rt/aio_misc.c: New file.
3784         * rt/aio_misc.h: New file.
3785         * rt/aio_read.c: New file.
3786         * rt/aio_read64.c: New file.
3787         * rt/aio_return.c: New file.
3788         * rt/aio_suspend.c: New file.
3789         * rt/aio_write.c: New file.
3790         * rt/aio_write64.c: New file.
3791         * rt/lio_listio.c: New file.
3792         * rt/lio_listio64.c: New file.
3793         * sysdeps/generic/aio_sigqueue.c: New file.
3794         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
3795         * sysdeps/unix/sysv/linux/Dist: Add new files
3796         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
3797         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
3798         rt_sigqueueinfo, rt_sigaction.
3800         * posix/Makefile (headers): Add bits/environments.h.
3801         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
3802         and _CS_LFS_CFLAGS on 64bit platforms.
3803         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
3804         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
3805         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
3806         compilation modules.
3807         * sysdeps/wordsize-32/bits/environments.h: New file.
3808         * sysdeps/wordsize-64/bits/environments.h: New file.
3810         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
3811         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
3812         __libc_pid.
3813         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
3814         0xf00baa.
3816         * string/string.h: Add declaration of __strverscmp.
3817         * string/strverscmp.c: Rename function ot __strverscmp and make old
3818         name weak alias.
3820         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
3821         * sysdeps/generic/enbl-secure.c: Likewise.
3822         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3824         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
3826         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
3828 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
3830         * posix/sys/wait.h: Use __transparent_union__ instead of
3831         transparent_union.  Reported by Roland McGrath.
3833 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3835         * resolv/inet_neta.c (inet_neta): Change type of first parameter
3836         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
3837         [PR libc/366].
3839         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
3841         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
3843 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3845         * grp/initgroups.c: Increase buffer if it is too small.
3847 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
3849         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
3850         fields, this is no ISO C.  Reported by Andreas Jaeger.
3852 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3854         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
3856 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
3858         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
3859         _SYS_UTSNAME_H not _UTSNAME_H.
3861 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3863         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
3864         computing s_scale.
3866 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3868         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
3869         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
3870         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
3872         * math/libm-test.c (csqrt_test): Add testcase.
3874 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
3876         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
3877         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
3878         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
3880 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3882         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
3884 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3886         * math/libm-test.c (acos_test): Add more tests.
3887         (asin_test): Likewise.
3888         (atan_test): Likewise.
3889         (exp_test): Likewise.
3890         (sin_test): Likewise.
3891         (sqrt_test): Likewise.
3892         (cpow_test): Likewise.
3893         (csqrt_test): Likewise.
3894         (cexp_test): Correct typo in gcc version test.
3896 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
3898         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
3899         <bits/setjmp.h>.
3900         * sysdeps/arm/setjmp.S: Likewise.
3902         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
3904 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
3906         * stdio/stdio.h: Add prototype for tmpfile64().
3908 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
3910         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
3911         prototype to keep in step with libio version.
3913         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
3915 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
3917         * sysdeps/generic/Makefile: Don't try to use make_siglist if
3918         cross-compiling.
3920 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
3922         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
3923         load GOT ptr before jumping to _exit.
3924         Reported by Xavier Leroy.
3926 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
3928         * Makefile (subdirs): Add iconvdata and localedata.
3930         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
3932         * iconv/gconv_conf.c (read_conf_file): Little optimization.
3934         * iconvdata/8bit-gap.c: New file.
3935         * iconvdata/8bit-generic.c: Renamed from ...
3936         * iconvdata/iso8859-generic.c: ...this.
3937         * iconvdata/configure: Removed.
3938         * iconvdata/Makefile: Add new modules and better rules.
3939         * iconvdata/iso6937.c: Minor bug fixes.
3940         * iconvdata/iso8859-1.c: Likewise.
3941         * iconvdata/t61.c: Likewise.
3942         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
3943         Minor bug fixes.
3944         * iconvdata/iso8859-3.c: Likewise.
3945         * iconvdata/iso8859-4.c: Likewise.
3946         * iconvdata/iso8859-5.c: Likewise.
3947         * iconvdata/iso8859-6.c: Likewise.
3948         * iconvdata/iso8859-7.c: Likewise.
3949         * iconvdata/iso8859-8.c: Likewise.
3950         * iconvdata/iso8859-9.c: Likewise.
3951         * iconvdata/iso8859-10.c: Likewise.
3952         * iconvdata/ebcdic-at-de-a.c: New file.
3953         * iconvdata/ebcdic-at-de.c: New file.
3954         * iconvdata/ebcdic-ca-fr.c: New file.
3955         * iconvdata/hp-roman8.c: New file.
3956         * iconvdata/koi-8.c: New file.
3957         * iconvdata/koi8-r.c: New file.
3958         * iconvdata/koi8-h.c: New file.
3959         * iconvdata/latin-greek-1.c: New file.
3960         * iconvdata/latin-greek-1.h: New file.
3961         * iconvdata/latin-greek.c: New file.
3962         * iconvdata/latin-greek.h: New file.
3963         * iconvdata/jis0201.c: New file.
3964         * iconvdata/jis0201.h: New file.
3965         * iconvdata/jis0208.c: New file.
3966         * iconvdata/jis0208.h: New file.
3967         * iconvdata/jis0212.c: New file.
3968         * iconvdata/jis0212.h: New file.
3969         * iconvdata/sjis.c: New file.
3970         * iconvdata/gap.pl: New file.  Script to generate table header.
3971         * iconvdata/gaptab.pl: New file.
3972         * iconvdata/gconv-modules: Add info about new modules.
3974         * locale/programs/charmap.c: Also examine alias names given in charmap
3975         files.
3977         * localedata/*: Add to here from add-on.  We need the information
3978         to generate tables for iconv.
3980         Update from db-2.3.14.
3981         * db2/Makefile: Updated.
3982         * db2/config.h: Likewise.
3983         * db2/db.h: Likewise.
3984         * db2/db_int.h: Likewise.
3985         * db2/btree/bt_cursor.c: Likewise.
3986         * db2/btree/bt_delete.c: Likewise.
3987         * db2/btree/bt_put.c: Likewise.
3988         * db2/btree/bt_search.c: Likewise.
3989         * db2/btree/bt_split.c: Likewise.
3990         * db2/btree/btree_auto.c: Likewise.
3991         * db2/common/db_appinit.c: Likewise.
3992         * db2/common/db_apprec.c: Likewise.
3993         * db2/common/db_err.c: Likewise.
3994         * db2/common/db_region.c: Likewise.
3995         * db2/db/db_auto.c: Likewise.
3996         * db2/db/db_dispatch.c: Likewise.
3997         * db2/db/db_ret.c: Likewise.
3998         * db2/dbm/dbm.c: Likewise.
3999         * db2/hash/hash_auto.c: Likewise.
4000         * db2/include/btree_ext.h: Likewise.
4001         * db2/include/common_ext.h: Likewise.
4002         * db2/include/db.h.src: Likewise.
4003         * db2/include/db_cxx.h: Likewise.
4004         * db2/include/db_ext.h: Likewise.
4005         * db2/include/db_int.h.src: Likewise.
4006         * db2/include/lock.h: Likewise.
4007         * db2/include/log.h: Likewise.
4008         * db2/include/mp.h: Likewise.
4009         * db2/include/mp_ext.h: Likewise.
4010         * db2/include/os_ext.h: Likewise.
4011         * db2/include/os_func.h: Likewise.
4012         * db2/lock/lock.c: Likewise.
4013         * db2/lock/lock_deadlock.c: Likewise.
4014         * db2/log/log.c: Likewise.
4015         * db2/log/log_archive.c: Likewise.
4016         * db2/log/log_auto.c: Likewise.
4017         * db2/log/log_get.c: Likewise.
4018         * db2/log/log_put.c: Likewise.
4019         * db2/mp/mp_bh.c: Likewise.
4020         * db2/mp/mp_fget.c: Likewise.
4021         * db2/mp/mp_fopen.c: Likewise.
4022         * db2/mp/mp_fput.c: Likewise.
4023         * db2/mp/mp_fset.c: Likewise.
4024         * db2/mp/mp_open.c: Likewise.
4025         * db2/mp/mp_pr.c: Likewise.
4026         * db2/mp/mp_region.c: Likewise.
4027         * db2/mp/mp_sync.c: Likewise.
4028         * db2/mutex/README: Likewise.
4029         * db2/mutex/mutex.c: Likewise.
4030         * db2/os/os_open.c: Likewise.
4031         * db2/os/os_func.c: Removed.
4032         * db2/os/os_config.c: New file.
4033         * db2/os/os_spin.c: New file.
4034         * db2/txn/txn.c: Likewise.
4035         * db2/txn/txn_auto.c: Likewise.
4037 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
4039         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
4040         __typeof for C++ since this fails for class members.
4041         Reported by Neal Becker <neal@ctd.comsat.com>.
4043 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4045         * configure.in: Check for a working makeinfo (3.11 or better).
4046         * config.make.in: Add MAKEINFO to be substituted.
4047         * manual/Makefile: Don't update info if makeinfo is too old.
4049 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
4051         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
4052         * sysdeps/alpha/__longjmp.S: Likewise.
4053         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
4054         not <bits/termios.h>.
4056         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
4057         __llseek and make llseek and lseek64 weak aliases.
4058         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4059         Patches by a sun <asun@zoology.washington.edu>.
4061 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4063         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
4064         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4065         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4066         * misc/sys/syslog.h: Clean up BSD header.
4068 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4070         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
4072         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
4073         for ctan(+-inf,x).
4074         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
4075         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
4077         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
4078         csqrt (-1), ctanh(i*pi/4).
4080 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4082         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
4084 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
4086         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
4088 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4090         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
4092 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
4094         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
4095         and use.  Define GETCWD_RETURN_TYPE instead and use it.
4096         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
4097         of GETCWD_STORYGE_CLASS and put the return type and the
4098         `internal_function' in the right order for gcc 2.7.2.
4100 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4102         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
4103         incompatible with Linux 2.1.x.  Packages using modules
4104         (e.g. modutils) should/do provide their own version.  Suggested by
4105         Richard Henderson.
4107         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
4109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4110         [$(subdir)=socket]: Remove sys/module.h.
4112 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
4114         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
4115         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
4117         * iconv/gconv_close.c: Correct freeing of descriptor data.
4118         * iconv/gconv_simple.c: Return correct error values for illegal or
4119         incomplete characters.
4121         * Makefile (iconvdata/%): Special goal to simplify iconvdata
4122         development.
4123         * iconvdata/Makefile: New file.
4124         * iconvdata/configure: Likewise.
4125         * iconvdata/extra-module.mk: Likewise.
4126         * iconvdata/gconv-modules: Likewise.
4127         * iconvdata/iso6937.c: Likewise.
4128         * iconvdata/iso8859-1.c: Likewise.
4129         * iconvdata/iso8859-10.c: Likewise.
4130         * iconvdata/iso8859-10.h: Likewise.
4131         * iconvdata/iso8859-2.c: Likewise.
4132         * iconvdata/iso8859-2.h: Likewise.
4133         * iconvdata/iso8859-3.c: Likewise.
4134         * iconvdata/iso8859-3.h: Likewise.
4135         * iconvdata/iso8859-4.c: Likewise.
4136         * iconvdata/iso8859-4.h: Likewise.
4137         * iconvdata/iso8859-5.c: Likewise.
4138         * iconvdata/iso8859-5.h: Likewise.
4139         * iconvdata/iso8859-6.c: Likewise.
4140         * iconvdata/iso8859-6.h: Likewise.
4141         * iconvdata/iso8859-7.c: Likewise.
4142         * iconvdata/iso8859-7.h: Likewise.
4143         * iconvdata/iso8859-8.c: Likewise.
4144         * iconvdata/iso8859-8.h: Likewise.
4145         * iconvdata/iso8859-9.c: Likewise.
4146         * iconvdata/iso8859-9.h: Likewise.
4147         * iconvdata/iso8859-generic.c: Likewise.
4148         * iconvdata/t61.c: Likewise.
4150         * string/Makefile (routines): Add strcasestr.
4151         * string/string.h: Add prototype for strcasestr.
4152         * sysdeps/generic/strcasestr.c: New file.
4153         * wcsmbs/mbrtowc.c: Simplify special case a bit.
4154         * wcsmbs/wcrtomb.c: Likewise.
4155         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
4156         * wcsmbs/wcsnrtombs.c: Likewise.
4157         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
4158         partial character is read.
4159         * wcsmbs/wcsrtombs.c: Likewise.
4160         * wcsmbs/wmemrtombs.c: Likewise.
4161         * wcsmbs/wmemrtowcs.c: Likewise.
4163         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
4164         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
4165         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
4166         * sysdeps/i386/elf/setjmp.S: Likewise.
4167         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
4168         <bits/termios.h>.
4170         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
4171         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
4173         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
4174         * sysvipc/sys/ipc.h: Likewise.
4175         * sysvipc/sys/msg.h: Likewise.
4176         * sysvipc/sys/sem.h: Likewise.
4177         * sysvipc/sys/shm.h: Likewise.
4179         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
4180         used directly.
4181         * sysdeps/alpha/bits/setjmp.h: Likewise.
4182         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4183         * sysdeps/arm/bits/endian.h: Likewise.
4184         * sysdeps/arm/bits/setjmp.h: Likewise.
4185         * sysdeps/generic/bits/byteswap.h: Likewise.
4186         * sysdeps/generic/bits/confname.h: Likewise.
4187         * sysdeps/generic/bits/dirent.h: Likewise.
4188         * sysdeps/generic/bits/dlfcn.h: Likewise.
4189         * sysdeps/generic/bits/endian.h: Likewise.
4190         * sysdeps/generic/bits/fenv.h: Likewise.
4191         * sysdeps/generic/bits/huge_val.h: Likewise.
4192         * sysdeps/generic/bits/in.h: Likewise.
4193         * sysdeps/generic/bits/ioctl-types.h: Likewise.
4194         * sysdeps/generic/bits/ioctls.h: Likewise.
4195         * sysdeps/generic/bits/ipc.h: Likewise.
4196         * sysdeps/generic/bits/msq.h: Likewise.
4197         * sysdeps/generic/bits/poll.h: Likewise.
4198         * sysdeps/generic/bits/resource.h: Likewise.
4199         * sysdeps/generic/bits/sched.h: Likewise.
4200         * sysdeps/generic/bits/sem.h: Likewise.
4201         * sysdeps/generic/bits/setjmp.h: Likewise.
4202         * sysdeps/generic/bits/shm.h: Likewise.
4203         * sysdeps/generic/bits/sigaction.h: Likewise.
4204         * sysdeps/generic/bits/sigcontext.h: Likewise.
4205         * sysdeps/generic/bits/socket.h: Likewise.
4206         * sysdeps/generic/bits/stat.h: Likewise.
4207         * sysdeps/generic/bits/statfs.h: Likewise.
4208         * sysdeps/generic/bits/stdio_lim.h: Likewise.
4209         * sysdeps/generic/bits/termios.h: Likewise.
4210         * sysdeps/generic/bits/time.h: Likewise.
4211         * sysdeps/generic/bits/uio.h: Likewise.
4212         * sysdeps/generic/bits/utmp.h: Likewise.
4213         * sysdeps/generic/bits/utmpx.h: Likewise.
4214         * sysdeps/generic/bits/utsname.h: Likewise.
4215         * sysdeps/generic/bits/waitflags.h: Likewise.
4216         * sysdeps/generic/bits/waitstatus.h: Likewise.
4217         * sysdeps/gnu/bits/utmp.h: Likewise.
4218         * sysdeps/gnu/bits/utmpx.h: Likewise.
4219         * sysdeps/i386/bits/byteswap.h: Likewise.
4220         * sysdeps/i386/bits/endian.h: Likewise.
4221         * sysdeps/i386/bits/huge_val.h: Likewise.
4222         * sysdeps/i386/bits/setjmp.h: Likewise.
4223         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4224         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4225         * sysdeps/m68k/bits/byteswap.h: Likewise.
4226         * sysdeps/m68k/bits/endian.h: Likewise.
4227         * sysdeps/m68k/bits/setjmp.h: Likewise.
4228         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4229         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
4230         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4231         * sysdeps/mach/hurd/bits/stat.h: Likewise.
4232         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
4233         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
4234         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
4235         * sysdeps/mips/bits/dlfcn.h: Likewise.
4236         * sysdeps/mips/bits/endian.h: Likewise.
4237         * sysdeps/mips/bits/setjmp.h: Likewise.
4238         * sysdeps/mips/dec/bits/endian.h: Likewise.
4239         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
4240         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
4241         * sysdeps/mips/p40/bits/endian.h: Likewise.
4242         * sysdeps/powerpc/bits/endian.h: Likewise.
4243         * sysdeps/powerpc/bits/fenv.h: Likewise.
4244         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4245         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
4246         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4247         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4248         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
4249         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4250         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
4251         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4252         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
4253         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
4254         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4255         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
4256         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
4257         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
4258         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
4259         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
4260         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
4261         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
4262         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
4263         * sysdeps/unix/common/bits/dirent.h: Likewise.
4264         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
4265         * sysdeps/unix/sysv/bits/stat.h: Likewise.
4266         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4267         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4268         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
4269         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4270         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
4271         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4272         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4273         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
4274         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4275         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4276         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4277         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
4278         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4279         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
4280         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
4281         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4282         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4283         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4284         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4285         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4286         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4287         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4288         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
4289         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
4290         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4291         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4292         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
4293         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4294         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4295         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4296         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
4297         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
4298         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4299         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4300         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4301         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4302         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
4303         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4304         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
4305         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4306         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4307         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4308         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4309         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4311         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4312         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4313         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
4314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4316         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
4317         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4318         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4319         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4320         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
4321         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
4322         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
4323         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
4324         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
4325         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
4326         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
4327         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
4328         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
4329         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4330         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4331         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
4332         * sysdeps/vax/bits/huge_val.h: Likewise.
4333         * sysdeps/vax/bits/setjmp.h: Likewise.
4334         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
4335         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
4337 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4339         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
4341 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
4343         * strftime.c (strftime):
4344         No longer any need to undef or declare if emacs is defined.
4345         (my_strftime): When checking a -1 returned by mktime, don't blow up
4346         if localtime_r returns NULL.
4348 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4350         * README.template: Fix spelling.
4352 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4354         * configure.in: Enhance --enable-add-ons description a wee bit.
4356 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4358         * glibcbug.in: Add more information of build environment and flags.
4360 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4362         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
4363         it into ENOENT.
4365 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
4367         * elf/dl-support.c: Call __libc_init_secure to make sure
4368         __libc_enable_secure is defined early.
4369         * sysdeps/generic/enbl-secure.c: Change function name to
4370         __libc_init_secure and make it global instead of a constructor.
4372         * iconv/gconv.c: Fix lots of bugs.
4373         * iconv/gconv.h: Likewise.
4374         * iconv/gconv_builtin.h: Likewise.
4375         * iconv/gconv_close.c: Likewise.
4376         * iconv/gconv_conf.c: Likewise.
4377         * iconv/gconv_db.c: Likewise.
4378         * iconv/gconv_dl.c: Likewise.
4379         * iconv/gconv_open.c: Likewise.
4380         * iconv/gconv_simple.c: Likewise.
4381         * iconv/iconv.c: Likewise.
4382         * iconv/iconv_close.c: Likewise.
4383         * iconv/iconv_open.c: Likewise.
4385         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
4386         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
4387         * wcsmbs/wmemrtombs.c: New file.
4388         * wcsmbs/wmemrtowcs.c: New file.
4390 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
4392         * iconv/gconv_simple.c: Fix lots of bugs.
4393         * iconv/iconv_open.c: Normalize names before passing them to
4394         __gconv_open.
4396         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
4398         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
4399         * stdio-common/test-popen.c: Add test for above change.
4401         * math/libm-test.c: Print test results also using %a format,
4402         specified in PRINTF_XEXPR macro.
4403         * math/test-double.c: Define PRINTF_XEXPR.
4404         * math/test-float.c: Likewise.
4405         * math/test-ldouble.c: Likewise.
4406         * math/test-idouble.c: Likewise.
4407         * math/test-ifloat.c: Likewise.
4408         * math/test-ildoubl.c: Likewise.
4410         * stdio-common/vfscanf.c: Recognize a in format specifier only as
4411         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
4412         FP number format.
4414         * stdlib/strtod.c: Little code cleanup.
4416         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
4417         compiling in math subdir.
4419         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
4420         instead of __LIBC_M81_MATH_INLINES.
4421         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4422         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4423         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4424         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4425         * sysdeps/m68k/fpu/k_cos.c: Likewise.
4426         * sysdeps/m68k/fpu/k_sin.c: Likewise.
4427         * sysdeps/m68k/fpu/k_tan.c: Likewise.
4428         * sysdeps/m68k/fpu/s_atan.c: Likewise.
4429         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4430         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4431         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4432         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4433         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4434         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4435         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4436         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4437         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4438         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4439         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4440         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
4441         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4442         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
4443         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4444         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
4445         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
4446         __LIBC_INTERNAL_MATH_INLINES is defined.
4448         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
4449         of compare macros from ISO C 9X.  Optimize generic versions a bit.
4450         Define __signbit inline functions and __ieee754_sqrt which can be
4451         used if the ompiler is fixed.
4453         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
4455 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4457         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
4458         sysdeps/generic in the whole dep file, not only in the first line.
4460 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4462         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
4464 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4466         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
4467         place.
4469 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4471         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
4472         is non-empty.
4474 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
4476         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
4477         return value.
4479 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
4481         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
4482         readlink succeeds but the return value is too long.
4484         * stdio-common/printf_fphex.c: Determine sign of number correctly.
4486 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
4488         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
4489         __remqu for Alpha.
4491 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
4493         * sysdeps/generic/sys/ucontext.h: Stub context file.
4495         * libio/iofprintf.c: Removed.  We use the stdio-common version.
4497         * manual/Makefile (distribute): Add stdio-fp.c.
4499         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
4501         * db2/Makefile (distribute): Add include/os_func.h, README and
4502         mutex/tsl_parisc.s.
4504         * hesiod/Makefile (distribute): Add README.hesiod.
4506 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
4508         * iconv/gconv.c: Correctly call transformation function.
4510         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
4512 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4514         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
4515         wrong results for e.g. remquo (3,2, &x)).
4516         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
4517         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
4519 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4521         * configure.in (ld --version-script): Test if the same symbol
4522         maybe defined in all versions (needed by recent changes to
4523         libc.map and supported with binutils 2.8.1.0.17) and issue warning
4524         if versioning is not supported/enabled.
4525         (bash test): Correct test case.
4527         * math/libm-test.c: Added counting/reporting of number of test cases.
4529         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
4530         use awk instead.
4532         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
4534 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4536         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
4538 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
4540         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
4541         Replace revoke call by use of REVOKE.
4542         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
4543         empty and #include generic version.
4544         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4546 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
4548         * libc.map: Add socket functions with __libc_* names.
4549         Reported by Andreas Jaeger.
4551 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4553         * libc.map: Tidy up (remove duplicates, sort entries).
4555 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4557         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
4559 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
4561         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
4562         again after successful call.
4563         Patch by Marc Lehmann <pcg@goof.com>.
4565 1997-11-17  Paul Eggert  <eggert@twinsun.com>
4567         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
4568         as some hosts need this to declare localtime_r properly.
4570 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
4572         * libc.map: Add iconv_open, iconv, and iconv_close.
4574 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
4576         * iconv/Makefile: New file.
4577         * iconv/gconv.c: New file.
4578         * iconv/gconv.h: New file.
4579         * iconv/gconv_builtin.c: New file.
4580         * iconv/gconv_builtin.h: New file.
4581         * iconv/gconv_close.c: New file.
4582         * iconv/gconv_conf.c: New file.
4583         * iconv/gconv_db.c: New file.
4584         * iconv/gconv_dl.c: New file.
4585         * iconv/gconv_open.c: New file.
4586         * iconv/gconv_simple.c: New file.
4587         * iconv/iconv.c: New file.
4588         * iconv/iconv.h: New file.
4589         * iconv/iconv_close.c: New file.
4590         * iconv/iconv_open.c: New file.
4591         * include/gconv.h: New file.
4593         * Makeconfig: Define gconvdir.
4594         * Makefile (subdirs): Add iconv.
4596         * string/bits/string2.h: Add optimization for strtok_r.
4598         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
4599         for NULL.
4600         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4601         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
4603         * configure.in: Correct test for bash2.
4604         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4606         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
4607         (CFLAGS-locfile.c): Likewise.
4608         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4610         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
4611         non-existing entry if the table is full.
4613         * posix/regex.h: Pretty print.
4615         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
4617         * sysdeps/posix/ctermid.c: Simplify a bit.
4619         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
4621 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4623         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
4624         <sys/types.h> instead of <asm/types.h>.
4626 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4628         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
4630 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
4632         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
4633         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
4634         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
4635         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
4636         fclose): Added to GLIBC_2.1.
4638         * libio/Makefile (routines, shared-only-routines): Add
4639         oldiofclose.  Remove oldfreopen.
4641         * libio/freopen.c (freopen): When PIC is defined, call
4642         _IO_old_freopen () for old stdio.
4644         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
4645         (_IO_fclose, fclose): Use _IO_new_fclose as default version
4646         for GLIBC_2.1.
4648         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
4649         instead of _IO_file_close_it.
4651         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
4652         to _IO_2_1_stdxxx_.
4653         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
4654         is defined.
4656         * libio/libioP.h (_IO_old_do_flush): New.
4658         * libio/oldfileops.c (_IO_old_file_close_it,
4659         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
4660         Call _IO_old_do_flush () instead of _IO_do_flush ().
4661         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
4662         _IO_do_write ().
4664         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
4665         instead of _IO_file_init ().
4666         Bind old symbols to version GLIBC_2.0.
4668         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
4669         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
4670         _IO_stdxxx_.
4671         (_IO_check_libio): New function in .init.
4673         * libio/oldiofclose.c: New file.
4675         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
4676         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
4677         (DEF_STDFILE): Don't use default_symbol_version.
4679         * libio/stdio.c (stdin, stdout, stderr): Set to
4680         _IO_2_1_stdxxx_._
4681         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
4682         stdxxx.
4684         * csu/Makefile (distribute): Add init.c.
4685         (extra-objs): Add init.o for ELF.
4686         (start-installed-name): Add $(objpfx)init.o.
4688         * csu/init.c: New file.
4690 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
4692         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
4693         definition as the default.
4695 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
4697         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
4699 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4701         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
4702         (PR 351).
4704 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
4706         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
4707         to preserve condition codes on function call.
4709 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4711         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
4713 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4715         * math/libm-test.c (asin_test): Add epsilon for float.
4716         (tan_test): Add epsilon for float.
4717         (log1p_test): Add epsilon for float.
4718         (inverse_functions): Add epsilons.
4720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
4721         net/if_packet.h.
4723         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
4725 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4727         * md5-crypt/Makefile (extra-objs): Make recursively expanded
4728         variable, since $(object-suffixes) is not defined yet.
4730 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4732         * db2/Makefile (distribute): db185/db185_int.src ->
4733         db185/db185_int.h.
4735 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4737         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
4738         exactly one.
4740 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4742         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
4743         name.
4744         * sysdeps/generic/e_acosl.c: Likewise.
4745         * sysdeps/generic/e_asinl.c: Likewise.
4746         * sysdeps/generic/e_atan2l.c: Likewise.
4747         * sysdeps/generic/e_expl.c: Likewise.
4748         * sysdeps/generic/e_fmodl.c: Likewise.
4749         * sysdeps/generic/e_j0l.c: Likewise.
4750         * sysdeps/generic/e_j1l.c: Likewise.
4751         * sysdeps/generic/e_jnl.c: Likewise.
4752         * sysdeps/generic/e_lgammal_r.c: Likewise.
4753         * sysdeps/generic/e_log10l.c: Likewise.
4754         * sysdeps/generic/e_logl.c: Likewise.
4755         * sysdeps/generic/e_powl.c: Likewise.
4756         * sysdeps/generic/e_sqrtl.c: Likewise.
4757         * sysdeps/generic/e_exp2l.c: Likewise.
4759 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4761         * Make-dist (+sysdep-names): Remove extra paren.
4762         * Makefile (distribute): Add stub-tag.h.
4763         * elf/Makefile (distribute): Add atomicity.h.
4764         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
4765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4766         [$(subdir)=socket]: Add net/if_packet.h.
4767         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
4768         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
4769         net/if_packet.h, scsi/sg.h.
4771 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4773         * Makefile (install): Quote $(CC) expansion.
4775 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4777         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
4778         working /proc cwd and no restrictions on path length.  Following
4779         some ideas from Andi Kleen <ak@muc.de> (PR 350).
4781 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4783         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
4784         * nis/nss_compat/compat-pwd.c: Likewise.
4785         * nis/nss_compat/compat-spwd.c: Likewise.
4787 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
4789         * sysdeps/libm-i387/s_fdim.S: New file.
4790         * sysdeps/libm-i387/s_fdimf.S: New file.
4791         * sysdeps/libm-i387/s_fdiml.S: New file.
4792         * sysdeps/libm-i387/i686/s_fdim.S: New file.
4793         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
4794         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
4796 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4798         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
4799         pointer to unsigned char.
4801 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4803         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
4805         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
4807         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
4809 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4811         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
4812         ilogb(0/NaN).
4813         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
4814         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
4816 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
4818         * sysdeps/libm-i387/s_fmin.S: New file.
4819         * sysdeps/libm-i387/s_fminf.S: New file.
4820         * sysdeps/libm-i387/s_fminl.S: New file.
4821         * sysdeps/libm-i387/s_fmax.S: New file.
4822         * sysdeps/libm-i387/s_fmaxf.S: New file.
4823         * sysdeps/libm-i387/s_fmaxl.S: New file.
4824         * sysdeps/libm-i387/i686/s_fmin.S: New file.
4825         * sysdeps/libm-i387/i686/s_fminf.S: New file.
4826         * sysdeps/libm-i387/i686/s_fminl.S: New file.
4827         * sysdeps/libm-i387/i686/s_fmax.S: New file.
4828         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
4829         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
4831 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
4833         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
4834         * sysdeps/unix/sysv/linux/send.S: Likewise.
4835         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4836         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4837         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4838         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4839         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4840         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4841         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
4843 See ChangeLog.7 for earlier changes.