Update
[glibc.git] / ChangeLog
blobab24a4902135ae979288263be24a133184b1c36d
1 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
3         * posix/wordexp-test.c: If expansion or substitution occurs
4         anywhere in a word, the entire word is subject to field-splitting.
6         * posix/wordexp.c (parse_glob): Look for end of word instead of
7         end of field when deciding what to glob.
8         (field_split_word): New function, now the only place where
9         field-splitting is performed.
10         (parse_dollars): New parameter - tell the caller if
11         field-splitting should be performed on this word.
13         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
14         succeeded (or failed with WRDE_NOSPACE).
16 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
18         * posix/wordexp.c (wordexp): Don't convert IFS characters to
19         blanks.
21         * posix/wordexp-test.c: Words not the result of expansion or
22         substitution should remain unchanged.
24 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
26         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
27         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
29 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
31         * stdio-common/Makefile: Include Makeconfig so that
32         $(inst_includedir) is defined.
34 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
36         * io/pwd.c: Include <mcheck.h>.
38 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
40         * nscd/pwdcache.c (save_pwd): Correct copying.
41         * nscd/grpcache.c (save_grp): Likewise.
43 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
45         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
46         (free_pwd): Adjust for this change.
47         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
48         (free_grp): Adjust for this change.
50 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
52         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
54 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
56         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
57         (install-others): Add bits/stdio_lim.h.
58         Add rule to install bits/stdio_lim.h.
60         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
62         * Makefile (distribute): Add include/sys/mman.h.
64         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
65         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
66         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
68         * grp/initgroups.c: Include stdlib.h.
69         Patch by Zack Weinberg.
71 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
73         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
74         for field-splitting :abc: is correct, and that two fields should
75         result. Revert tests to reflect this.
77         * posix/wordexp.c (w_emptyword): Remove function.
78         (exec_comm): Don't use w_emptyword.
79         (parse_param): Likewise.
81 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
83         * sysdeps/arm/fpu/Dist: Moved to...
84         * sysdeps/arm/Dist: ...here.
85         * sysdeps/posix/Dist: Removed.
86         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
87         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
89 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
91         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
93 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
95         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
97 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
99         * libc-work/nis/nss_nisplus/nisplus-service.c
100         (_nss_nisplus_parse_servent): Convert port in network byte order.
102 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
104         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
105         to provide only malloc and calloc.
106         * include/stdlib.h: Support the above.
107         * string/bits/string2.h: Use __need_malloc_and_calloc when
108         including stdlib.h.
109         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
111         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
112         * iconvdata/iso646.c: Include <stdlib.h>.
114 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
116         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
117         * sysdeps/libm-ieee754/w_pow.c: Likewise.
118         * sysdeps/libm-ieee754/w_powf.c: Likewise.
119         * sysdeps/libm-ieee754/w_powl.c: Likewise.
121 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
123         * stdio-common/stdio_lim.h.in: New file.  All parameters
124         are adjustable at build time.
125         * Rules: Add a rule to build bits/stdio_lim.h from
126         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
127         all subdirectories know how to make the file.  It can't be
128         in Makerules because then it gets built at top level and the
129         dependencies are wrong.)
131         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
132         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
133         stdio_lim.h.
134         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
135         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
136         * sysdeps/posix/Makefile: Removed.
137         * sysdeps/posix/mk-stdiolim.c: Removed.
138         * sysdeps/generic/bits/stdio_lim.h: Removed.
140 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
142         * argp/argp-help.c: Fixup indentation.
143         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
144         * resolv/nss_dns/dns-network.c: Likewise.
145         * resolv/res_send.c: Likewise.
146         * rt/aio_cancel.c: Likewise.
147         * rt/aio_misc.c: Likewise.
149 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
151         * Makefile (install-symbolic-link): Remove the link list file at last.
152         * Makerules (install-clean-symbolic-link-list): Removed.
154 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
156         * timezone/tst-timezone.c: Print time in UTC to get consistent
157         output.
159 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
161         * elf/rtld.c (_dl_rpath): Removed.
162         * elf/dl-support.c (_dl_path): Removed.
163         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
164         (CFLAGS-dl-support.c): Removed.
166         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
167         uses changed.
168         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
169         instead of appending it to the main map's rpath info.
170         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
171         DT_RPATHs.  This makes it effective again.
172         (decompose_rpath): Remove second parameter, callers changed.
173         (fillin_rpath): Allocate enough space in curwd.
174         (expand_dynamic_string_token): Cope with get_origin returning -1.
176 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
178         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
179         passwd.adjunct.
181         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
182         invalid password.
184 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
186         * locale/programs/locale.c: Update dates.
188 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
190         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
191         size_t is defined.  Some reordering of defenitions to make
192         maintaining this file in parallel with the linux-specific file easier.
194 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
196         * io/pwd.c (main): Add call to mtrace.
198         * malloc/mtrace.pl: Quote @ in string.
200 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
202         * posix/wordexp.c (parse_arith): Fix memory leaks.
203         (exec_comm): Likewise.
204         (parse_param): Likewise.
205         (wordexp): Likewise.
206         (exec_comm): Reduce number of function return points.
207         (parse_param): Likewise.
208         (wordexp): Likewise.
210 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
212         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
213         yield three fields, not two.  Test both parameter expansion and
214         command substitution for correct field-splitting behaviour.
216         * posix/wordexp.c (w_emptyword): New function.
217         (parse_param): Use it.
218         (exec_comm): Likewise, for consistency with the way parse_param
219         splits fields.
220         (parse_param): Fix some memory leaks.
222 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
224         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
225         Don't mark asm `volatile'.
226         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
227         from the data cache too.  Assume it isn't in the instruction cache yet.
228         (__elf_machine_fixup_plt): Clear the modified address from the caches.
230 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
232         * sysdeps/generic/segfault.c (install_handler): Install signal
233         handler with SA_ONSTACK instead of setting the stack flags to
234         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
235         defined.
237 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
239         * signal/signal.h: Fix multiple inclusion guard to cover the
240         entire file.
241         * wcsmbs/wchar.h: Remove prototype of internal function
242         __mbsrtowcs.
243         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
244         arithmetic on `void *'.
246 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
248         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
250         * posix/wordexp.c (wordexp): Perform word-splitting instead of
251         field-splitting here.
252         (wordexp): If out of memory mid-word, free the word (but still
253         leave pwordexp alone for caller to see).
254         (parse_param): Allow for zero-length fields (smarter checking of
255         memory allocation failure).
256         (w_addword): Convert NULL words to "".
257         (wordexp): Convert left-over IFS characters to blanks (like bash).
259 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
261         * configure.in: Use test -f instead of test -e.
262         Patch by John Tobey <jtobey@banta-im.com>.
264         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
265         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
266         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
267         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
268         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
269         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
270         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
271         Patches by John Tobey <jtobey@banta-im.com>.
273         * time/strftime.c (my_strftime): Delay use of *tp values until
274         latest possible point to allow partly initialized structures
275         (e.g., from strptime).
277         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
278         and NATS-SEFI.
279         Define *-routines variables for new modules.
280         (distribute): Add .c files for new modules.
281         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
282         and nats-sefi.h.
283         Add rules for header generation.
284         * iconvdata/gconv-modules: Add entries for new modules.
285         * iconvdata/iso_10367-box.c: New file.
286         * iconvdata/mac-is.c: New file.
287         * iconvdata/nats-dano.c: New file.
288         * iconvdata/nats-sefi.c: New file.
290 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
292         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
293         loader if PIC is not defined.
295 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
297         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
298         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
299         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
300         and ISO_5428.
301         Define *-routines variables for new modules.
302         (distribute): Add .c files for new modules.
303         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
304         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
305         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
306         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
307         Add rules for header generation.
308         * iconvdata/gconv-modules: Add entries for new modules.
309         * iconvdata/csn_369103.c: New file.
310         * iconvdata/cwi.c: New file.
311         * iconvdata/dec-mcs.c: New file.
312         * iconvdata/ecma-cyrillic.c: New file.
313         * iconvdata/gost_19768-74.c: New file.
314         * iconvdata/greek-ccitt.c: New file.
315         * iconvdata/greek7-old.c: New file.
316         * iconvdata/greek7.c: New file.
317         * iconvdata/inis-8.c: New file.
318         * iconvdata/inis-cyrillic.c: New file.
319         * iconvdata/inis.c: New file.
320         * iconvdata/iso6937-2.c: New file.
321         * iconvdata/iso_2033.c: New file.
322         * iconvdata/iso_5427-ext.c: New file.
323         * iconvdata/iso_5427.c: New file.
324         * iconvdata/iso_5428.c: New file.
326         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
327         entries.
328         Convert U02dd correctly.
330 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
332         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
333         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
334         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
335         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
337 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
339         * resolv/res_init.c (res_init): Handle resolv.conf file with only
340         one nameserver correctly.  Patch by HJ Lu.
342         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
343         and ANSI_X3.110.
344         Define *-routines variables for new modules.
345         (distribute): Add .c files for new modules.
346         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
347         Add rules for hedaer generation.
348         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
349         * iconvdata/ansi_x3.110.c: New file.
350         * iconvdata/asmo_449.c: New file.
351         * iconvdata/baltic.c: New file.
352         * iconvdata/iec_p27-1.c: New file.
354         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
355         entries.
356         Convert U02dc correctly.
358         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
359         * math/atest-exp2.c: Likewise.
360         * math/atest-sincos.c: Likewise.
362         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
363         is defined.
365 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
367         * string/strcoll.c: Optimize a few expressions.
368         * string/strxfrm.c: Likewise.
370 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
372         * manual/locale.texi: Fix typos.
374 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
376         * stdlib/random_r.c (__setstate_r): Allow call with same state
377         array as currently used (PR libc/774).
379         * include/limits.h: Include gcc's header even if this file is
380         found more than once before it (PR libc/778)
382         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
383         (sysdep_headers): Remove sys/debugreg.h.
384         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
385         (sysdep_headers): Add sys/debugreg.h.
386         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
387         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
389         * stdio-common/tmpnam.c: Move local static variable buf to
390         toplevel and rename to tmpnam_buffer to ease debugging.
391         Patch by Joe Keane <jgk@jgk.org>.
392         Optimize s == NULL case a bit.
394         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
395         correction.
397 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
399         * resolv/res_init.c (res_init): Initialize _res.nscount and
400         _res.nsaddr.sin_port differently for the can when no loopback
401         is available to allow immediate timeout in non-networking environments.
402         Patch by Cristian Gafton <gafton@redhat.com>.
404 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
406         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
407         BAR and not EM DASH.
408         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
409         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
410         Fixes PR libc/717.
412 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
414         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
415         for test.
416         * timezone/tst-timezone.c (tests): Fix typo in last patch.
418         * time/tzfile.c (__tzfile_read): Handle case when there are no
419         transitions.  Set __timezone based on computed offset.
420         * time/tzset.c (tzset_internal): Set __timezone before returning.
422         * time/tzset.c (tzset_internal): Optimize handling of local string
423         copy.
425 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
427         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
428         libc/776).
430 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
432         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
433         (csqrt_test): Likewise.
434         * sysdeps/powerpc/bits/fenv.h: Add parens.
436 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
438         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
439         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
440         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
442 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
444         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
445         the special `-1' pointer.
447 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
449         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
450         inline.
452 1998-09-07  Paul Eggert  <eggert@twinsun.com>
454         * time/mktime.c (__EXTENSIONS__): Define if not defined.
455         (_REENTRANT): Remove.  It has undesirable consequences in
456         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
457         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
458         is what we want.
459         * time/strftime.c: Likewise.
461 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
463         * elf/dl-error.c: Fix spelling.
465 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
467         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
468         * stdio-common/_itoa.c: Likewise.
469         * stdio-common/printf_fp.c: Likewise.
470         * stdio-common/vfscanf.c: Likewise.
471         * wcsmbs/wcstok.c: Likewise.
472         * sysdeps/generic/glob.c: Likewise.
473         * posix/getopt.c: Likewise.
474         * sysdeps/posix/getaddrinfo.c: Likewise.
475         * posix/wordexp.c: Likewise.
476         * io/ftw.c: Likewise.
477         * io/fts.c: Likewise.
478         * misc/getpass.c: Likewise.
479         * iconv/gconv_conf.c: Likewise.
480         * argp/argp-fmtstream.c: Likewise.
481         * argp/argp-help.c: Likewise.
482         * elf/dl-load.c: Likewise.
483         * locale/programs/stringtrans.c: Likewise.
484         * catgets/gencat.c: Likewise.
485         * posix/getconf.c: Likewise.
486         * iconv/gconv_conf.c: Likewise.
487         * iconv/iconv_prog.c: Likewise.
489         * string/strcoll.c: Optimize a few expressions.
490         * string/strxfrm.c: Likewise.
492 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
494         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
495         level to avoid uninit variable warning.
497 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
499         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
500         instead of _dl_default_scope[2] as argument to _dl_init_next.
502         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
503         C9x macro.
505 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
507         Fix compatibility problems introduced in last change.
508         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
509         defined.
510         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
511         -DWEAK_GMON_START to CFLAGS-initfini.s.
513         * elf/dl-object.c (_dl_new_object): Store map address in
514         _dl_loaded if _dl_loaded is NULL.
515         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
517         * sysdeps/generic/setrlimit64.c: Remove stub warning.
519 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
521         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
522         quiet.
523         * db2/btree/bt_cursor.c: Likewise.
524         * db2/common/db_region.db_c: Likewise.
525         * db2/common/db_salloc.db_c: Likewise.
526         * db2/db/db.c: Likewise.
527         * db2/db/db_rec.c: Likewise.
528         * db2/hash/hash.c: Likewise.
529         * db2/hash/hash_page.c: Likewise.
530         * db2/hash/hash_rec.c: Likewise.
531         * db2/log/log_findckp.c: Likewise.
532         * db2/log/log_get.c: Likewise.
533         * db2/log/log_put.c: Likewise.
534         * db2/mp/mp_fget.c: Likewise.
535         * db2/mp/mp_fput.c: Likewise.
536         * db2/mp/mp_region.c: Likewise.
537         * stdlib/strtol.c: Likewise.
538         * string/strcoll.c: Likewise.
539         * string/strxfrm.c: Likewise.
540         * argp/argp-help.c: Likewise.
541         * argp/argp-parse.c: Likewise.
542         * resolv/res_debug.c: Likewise.
544 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
546         * math/tgmath.h (scalb): Only define for __USE_MISC or
547         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
549 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
551         * libio/stdio.h: Fix comment.
553         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
554         __USE_ISOC9X.
556 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
558         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
560         * elf/dl-open.c: Quiet -Wparentheses warnings.
561         * iconvdata/johab.c: Likewise.
562         * iconvdata/uhc.c: Likewise.
563         * inet/inet_net.c: Likewise.
564         * io/fts.c: Likewise.
565         * locale/newlocale.c: Likewise.
566         * misc/getttyent.c: Likewise.
567         * misc/mntent_r.c: Likewise.
568         * misc/ttyslot.c: Likewise.
569         * nscd/nscd_conf.c: Likewise.
570         * nss/nsswitch.c: Likewise.
571         * resolv/gethnamaddr.c: Likewise.
572         * resolv/nsap_addr.c: Likewise.
573         * resolv/res_debug.c: Likewise.
574         * stdio-common/_itoa.c: Likewise.
575         * stdlib/strtod.c: Likewise.
576         * string/strverscmp.c: Likewise.
577         * sunrpc/svc.c: Likewise.
578         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
579         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
580         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
581         * sysdeps/posix/getaddrinfo.c: Likewise.
583 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
585         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
586         for use of global scope.
587         * elf/dlvsym.c (dlvsym_doit): Likewise.
589 1998-09-02  Paul Eggert  <eggert@twinsun.com>
591         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
592         copy the redundant bytes at the end of the format as-is; don't
593         just copy their first byte and then rescan, as that might get
594         us an encoding error.
595         Account correctly for the length of multibyte sequences in the
596         format.
598 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
600         * posix/wordexp-test.c: Add tests for different IFS values.
601         Change unquoted-newline test so that newline is not in IFS.
603         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
604         determining IFS characters.  Return WRDE_BADCHAR for unquoted
605         special characters _except_ if they are separators.
607 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
609         * include/tgmath.h: New file.
611         * libio/stdio.h: Correct reversed #ifs.
612         Patch by Zack Weinberg.
614         * manual/creature.texi: Better explain reason for feature select
615         macros.
616         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
618 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
620         * include/alloca.h: Add multiple-inclusion guard.
621         * include/db.h: Likewise.
622         * include/db_185.h: Likewise.
623         * include/dlfcn.h: Likewise.
624         * include/fcntl.h: Likewise.
625         * include/grp.h: Likewise.
626         * include/libintl.h: Likewise.
627         * include/mntent.h: Likewise.
628         * include/pwd.h: Likewise.
629         * include/sched.h: Likewise.
630         * include/search.h: Likewise.
631         * include/setjmp.h: Likewise.
632         * include/shadow.h: Likewise.
633         * include/signal.h: Likewise.
634         * include/stdio.h: Likewise.
635         * include/stdlib.h: Likewise.
636         * include/string.h: Likewise.
637         * include/termios.h: Likewise.
638         * include/time.h: Likewise.
639         * include/ulimit.h: Likewise.
640         * include/utmp.h: Likewise.
641         * include/wchar.h: Likewise.
642         * include/sys/file.h: Likewise.
643         * include/sys/gmon.h: Likewise.
644         * include/sys/ioctl.h: Likewise.
645         * include/sys/mman.h: Likewise.
646         * include/sys/resource.h: Likewise.
647         * include/sys/select.h: Likewise.
648         * include/sys/socket.h: Likewise.
649         * include/sys/statfs.h: Likewise.
650         * include/sys/time.h: Likewise.
651         * include/sys/times.h: Likewise.
652         * include/sys/wait.h: Likewise.
654 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
656         * version.h (VERSION): Bump to 2.0.96.
658         Rewrite runtime linker to be truly thread-safe.  There is now no
659         global variable specifying the scope.  We create all needed
660         scopes at the time the link maps are created.
661         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
662         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
663         l_symbolic_searchlist, l_scope, and l_local_scope elements in
664         struct link_map.
665         * elf/dl-close.c: Rewritten accordingly.
666         * elf/dl-deps.c: Likewise.
667         * elf/dl-error.c: Likewise.
668         * elf/dl-init.c: Likewise.
669         * elf/dl-load.c: Likewise.
670         * elf/dl-lookup.c: Likewise.
671         * elf/dl-object.c: Likewise.
672         * elf/dl-open.c: Likewise.
673         * elf/dl-reloc.c: Likewise.
674         * elf/dl-runtime.c: Likewise.
675         * elf/dl-support.c: Likewise.
676         * elf/dl-symbol.c: Likewise.
677         * elf/dl-version.c: Likewise.
678         * elf/dlsym.c: Likewise.
679         * elf/dlvsym.c: Likewise.
680         * elf/ldsodefs.h: Likewise.
681         * elf/rtld.c: Likewise.
682         * iconv/gconv_dl.c: Likewise.
683         * nss/nsswitch.c: Likewise.
684         * sysdeps/i386/dl-machine.h: Likewise.
685         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
687         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
688         Define RTLD_DEFAULT.
690 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
692         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
693         __getopt_clean_environment with __environ instead of envp.
695 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
697         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
699         * string/argz-extract.c (__argz_extract): Add de-consting cast for
700         setting results.
702         * string/argz.h (argz_next): Add de-consting cast for return.
703         * string/argz-next.c (__argz_next): Likewise.
705         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
706         Don't add netinet/udp.h, netinet/ip_icmp.h here.
707         * sysdeps/gnu/Makefile: Do it here instead.
708         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
709         * sysdeps/gnu/Dist: ... to here.
711         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
712         sysdeps/unix/sysv/linux/netinet/tcp.h,
713         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
715 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
717         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
718         * string/argz-next.c, string/argz-extract.c: Fix defns.
720 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
722         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
724         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
725         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
726         * sysdeps/generic/sysd-stdio.c: Likewise.
728 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
730         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
731         (_dl_map_object_from_fd): Make NAME argument const.
732         Remove last parameter in _dl_new_object call.
733         (print_search_path): Correct construction of composed path name.
734         (_dl_map_object): Prevent looking at RPATH of the main map twice.
735         Remove last parameter in _dl_new_object call.
736         * elf/dl-object.c: Remove last parameter.  Determine whether create
737         origin entry based on empty realname.  Handle file in root directory
738         correctly.
739         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
740         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
741         Remove last parameter in _dl_new_object call.
742         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
743         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
745 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
747         * elf/dl-close.c (_dl_close): Add more comments and correct some.
748         Free l_searchlist and l_dupsearchlist.
750         * debug/catchsegv.sh: Add one more pair of quotes.
752 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
754         * elf/dl-load.c (add_name_to_object): Change return type to void and
755         make NAME parameter const.  Allocate room for NAME in same memory
756         block used for l_libname entry.
757         (_dl_map_object_from_fd): Don't free NAME on failure.
758         (map_segment): Pass SONAME to add_name_to_object, not a copy.
759         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
760         _dl_map_object_from_fd.
761         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
762         memory block used for l_libname entry.
763         * elf/dl-close.c: Adjust free()ing for this change.
765 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
767         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
769         * malloc/mtrace.c: Add bug report address.  Update email address.
770         Add more @XXX@ to print correct address size.
772         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
773         really initialized.
775         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
776         for munmap call instead of examining phdr again.
777         Free all malloc()ed strings and arrays.
779 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
781         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
782         dl-machine.h.
783         * sysdeps/powerpc/dl-machine.c: New file.
784         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
785         files.  Revise ELF_PREFERRED_ADDRESS to take account of
786         the new mapping information (fixes bug involving huge bloated
787         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
788         * sysdeps/powerpc/dl-start.S: New file.
790         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
791         l_map_end.
792         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
793         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
794         others.  Call elf_dynamic_do_##reloc only once (to save even more
795         space).
796         * elf/link.h: Add new members l_map_start and l_map_end to keep
797         track of the memory map.
798         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
799         the executable.
801 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
803         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
804         Reported by Andreas Jaeger.
806         * posix/glob.h: Use __size_t instead of size_t in definitions and
807         make sure this is defined.
809 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
811         * manual/locale.texi: Almost complete rewrite.  Document more functions
812         and functionality.
813         * manual/arith.texi: Correct reference.
814         * manual/string.texi: Pretty printing.
816         * manual/texinfo.tex: Update from last available version.
818 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
820         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
821         invalid password.
822         (_nss_nis_getpwuid_r): Likewise.
823         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
825         * inet/rcmd.c: Implement netgroup support.
826         Patch by Dick Streefland <dick_streefland@tasking.com>.
828 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
830         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
831         object on the list is removed.  Don't use this code for PIC.
832         Reported by HJ Lu [PR libc/770].
834 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
836         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
838         * include/stdio.h: Add __vsscanf.
840         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
841         __USE_ISOC9X.
842         Remove __vsscanf declaration.
843         Always declare fgetpos and fsetpos.
845         * math/math.h: Define isinf as macro.
846         * math/bits/mathcalls.h: Change to declare __isinf all the time.
847         Don't declare scalb for ISO C 9x.
849         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
851         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
853         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
854         sys/ucontext.h.
856         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
857         macros.
859 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
861         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
862         Reported by jreising@frequentis.com [PR libc/767].
864 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
866         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
867         fl.l_start at beginning of function.
868         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
870 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
872         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
873         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
875         * nscd/nscd.init: Make it work in RedHat systems.
876         Patch by Christian Gafton.
878 1998-08-29  Philip Blundell  <philb@gnu.org>
880         * catgets/Makefile: Don't try to run test programs when
881         cross-compiling.
883 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
885         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
886         Reported by Zack Weinberg.
888 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
890         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
891         * elf/Makefile (distribute): Remove ldd.sh.in.
893 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
895         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
896         variable.
898 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
900         * sysdeps/i386/register-dump.h: Move to ...
901         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
903 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
905         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
906         with load address, not map address.
907         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
908         parameter and use this value.
909         * sysdeps/arm/dl-machine.h: Likewise.
910         * sysdeps/i386/dl-machine.h: Likewise.
911         * sysdeps/m68k/dl-machine.h: Likewise.
912         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
913         parameter.
914         * sysdeps/powerpc/dl-machine.h: Likewise
915         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
916         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
918 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
920         * elf/rtld.c (process_envvars): Fix copy&paste error.
922         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
923         memalign hook.
924         (realloc_hook_ini): Don't overwrite memalign hook.
925         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
926         Reported by Philippe Troin <phil@fifi.org>.
928         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
929         Patch by Philippe Troin <phil@fifi.org>.
931 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
933         * sysdeps/generic/segfault.c (install_handler): Protect the
934         non-POSIX signals with #ifdef.
935         (catch_segfault): Add missing mode parameter for open.
936         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
937         other termination signals.
939 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
941         * debug/Makefile (distribute): Add register-dump.h.
943 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
945         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
947 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
949         * elf/Makefile (distribute): Add dl-origin.h.
950         * sysdeps/generic/dl-origin.h: New file.
951         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
952         * elf/link.h (struct link_map): Add l_origin field.
953         * elf/dl-load.c (expand_dynamic_string_token): New function.
954         (decompose_path): Remove WHERE argument, take link map pointer instead.
955         Call expand_dynamic_string_token instead of local_strdup to make copy
956         of rpath.
957         (_dl_init_paths): Call decompose_path with correct argument.
958         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
959         not defined.
960         Check EI_OSABI and EI_ABIVERSION fields in header.
961         Call _dl_new_object with extra argument.
962         (_dl_map_object): Call decompose_path with correct argument.
963         Call expand_dynamic_string_token instead of local_strdup to also
964         expand DST.
965         Call _dl_new_object with extra argument.
966         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
967         but the main one if new argument is nonzero.
968         * elf/ldsodefs.h: Adjust for _dl_new_object change.
969         * elf/dl-support.c: Define _dl_origin_path.
970         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
971         (dl_main): Call _dl_new_object with extra argument.
973         * elf/dl-close (_dl_close): Free l_name and l_origin.
975         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
976         modifier in asm, not c.
978         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
979         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
981 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
983         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
984         variable so that map can be freed.
985         Reported by Philippe Troin <phil@fifi.org>.
987         * elf/dl-open.c (dl_open_worker): Correct test for extending global
988         scope array.
989         Patch by Philippe Troin <phil@fifi.org>.
991 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
993         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
994         Don't call writev() with a 100-element vector.
995         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
996         return address.
998         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
999         In particular, set __libc_stack_end.
1000         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1001         undefined.  Fix copyright notice.
1003 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1005         * math/Makefile (gmp-objs): New variable.
1006         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1007         Depend on it.
1008         (tests): Add atest-exp atest-sincos atest-exp2.
1009         (tests-static): Remove atest-exp atest-sincos atest-exp2.
1011 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
1013         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1014         to toplevel.
1015         (_dl_unload_cache): New function.
1016         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1017         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1018         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1020         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1021         Correct comment for O_LARGEFILE.
1022         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1023         Change O_LARGEFILE to correct value.
1025 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
1027         * libio/iogetline.c (_IO_getline_info): Don't read anything for
1028         N == 0.  Patch by HJ Lu.
1030 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
1032         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1034 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1036         * argp/argp.h: Use __inline__ not inline.
1038         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1039         an input register as being clobbered.
1040         * sysdeps/i386/memset.c (memset): Likewise.
1041         * sysdeps/i386/bzero.c (__bzero): Likewise.
1042         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1044 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1046         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1047         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1049 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
1051         * debug/catchsegv.sh: Handle text preceding backtrace better.
1052         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
1053         to be installed for other signals than SIGSEGV.
1054         * sysdeps/generic/register-dump.h: New file.
1055         * sysdeps/i386/register-dump.h: New file.
1056         * sysdeps/powerpc/register-dump.h: New file.
1058         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1059         sigcontextinfo.h.
1060         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1062 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
1064         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1066 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1068         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1069         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1070         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1071         getresuid, getresgid.
1073 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
1075         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
1076         pointer in userland.
1078 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1080         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1081         and fix value.
1083 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1085         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
1086         over arguments Bourne shell compatible.  Don't exit unsuccessfully
1087         if nonelf returns successfully.  Avoid duplicating most of the
1088         script.
1089         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1090         around $file.
1092 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1094         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1095         sys/reg.h.
1096         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1097         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1099 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1101         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1102         __modify_ldt and modify_ldt.
1103         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1105         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1106         Use orl $-1 instead of movl $-1 to save two bytes.
1107         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1108         Likewise.
1110 1998-08-17  H.J. Lu  <hjl@gnu.org>
1112         * libio/Versions (_IO_do_write, _IO_file_attach,
1113         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1114         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1115         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1116         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1118         * libio/fileops.c (_IO_do_write, _IO_file_attach,
1119         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1120         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1121         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1122         _IO_file_write, _IO_file_xsputn): Change the prefix to
1123         "_IO_new_". Added to GLIBC_2.1.
1125         * libio/libioP.h (_IO_do_write, _IO_file_attach,
1126         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1127         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1128         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1129         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1130         "_IO_new_".
1132         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1133         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1134         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1135         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1136         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1138 1998-08-23  Richard Henderson  <rth@cygnus.com>
1140         * Makeconfig (LDFLAGS): Remove.
1142         * csu/initfini.c: Return to .text before __gmon_start__.
1144         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1145         (STO_MIPS_*): Rename from STO_*.
1146         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1147         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1149         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1150         (main): e3s is negative on zero.
1151         * math/atest-exp2.c: Likewise.
1152         * math/atest-sincos.c: Likewise.
1154 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1156         * Makerules (install): Add comment about absolute paths.
1158 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1160         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1161         array to NUL to handle maxlen==1 case correctly.
1162         Patch by HJ Lu.
1164 1998-08-23  Richard Henderson  <rth@cygnus.com>
1166         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1167         * sysdeps/alpha/elf/crtend.S: Likewise.
1168         * sysdeps/alpha/elf/start.S: Likewise.
1170         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1171         non-standard pv usage.
1173         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1174         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1175         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1176         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1177         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1178         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1179         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1180         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1181         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1182         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1183         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1185         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1186         a finite non-denormal, deferring to the full IEEE version otherwise.
1188         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1189         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
1190         * sysdeps/alpha/fpu/s_floor.c: New.
1191         * sysdeps/alpha/fpu/s_floorf.c: New.
1192         * sysdeps/alpha/fpu/s_ceil.c: New.
1193         * sysdeps/alpha/fpu/s_ceilf.c: New.
1195 1998-08-22  Philip Blundell  <philb@gnu.org>
1197         * sysdeps/arm/bits/string.h: New file.
1199 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1201         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1202         document it.
1204         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1205         test for recent Linux 2.1.100+ headers.
1207 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1209         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1211 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1213         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1215 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1217         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1218         * elf/Makefile (ldso_install): Likewise.
1220 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1222         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1223         create weak alias.
1224         * include/db.h: Declare __nss_db_open.
1225         * db2/Versions: Export it.
1227         * db2/makedb.c: Convert to use db2 API.
1228         * nss/nss_db/db-XXX.c: Likewise.
1229         * nss/nss_db/db-netgrp.c: Likewise.
1230         * nss/nss_db/db-alias.c: Likewise.
1231         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1233 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1235         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1236         sys_setresuid, already built automatically (or not).
1237         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1238         instead of __syscall_setresuid and add back setresuid.
1239         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1240         __syscall_setresuid.
1242 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1244         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1246 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1248         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1249         BASH-ONLY marked region.
1250         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1252 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1254         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1255         _IO_SYSSEEK fails.
1257         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1259         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1260         element.
1262 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1264         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1265         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1266         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1267         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1268         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1269         those magic comments, and to use /bin/sh for @BASH@.
1270         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1271         * elf/ldd.sh.in: File removed.
1273 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1275         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1276         cast them to unsigned long int.
1277         * pwd/putpwent.c (putpwent): Likewise.
1278         Patch by John Tobey <jtobey@banta-im.com>.
1280 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1282         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1283         _IO_pos_BAD.
1285 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1287         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1288         _IO_SYSSEEK fails.
1290 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1292         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1293         Add umount and umount2.
1294         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1295         * sysdeps/unix/sysv/linux/umount.S: New file.
1296         * sysdeps/unix/sysv/linux/umount2.S: New file.
1297         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1298         Define MNT_FORCE.
1300         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1301         Add sys/sendfile.h.
1302         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1303         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1305         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1307         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1308         sendfile.
1310 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1312         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1313         * elf/ldd.bash.in: Likewise.
1315         * elf/sln.c: Avoid warning for no main prototype.
1317         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1318         O_WRITE.
1319         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1322         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1323         F_GETSIG.
1324         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1325         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1326         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1328 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1330         * sysdeps/arm/fpu/ieee754.h: Move to...
1331         * sysdeps/arm/ieee754.h: ... here.
1333         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1334         Don't set the condition flags unnecessarily.
1335         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1336         registers correctly.
1338         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1339         (patch from Scott Bambrough).
1341         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1343         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1344         NULL, just call it unconditionally.
1345         (__gmon_start__): Provide stub version as a weak symbol.
1347 1998-07-30  Philip Blundell  <philb@gnu.org>
1349         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1350         by Scott Bambrough)
1352         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1353         like `@' in .type directives.
1355         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1356         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1358         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1360 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1362         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1363         (F_GETOWN): Likewise.
1365         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1366         Linux 2.1.117).
1368 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1370         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1371         already defined.
1373 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1375         * include/features.h: Define __USE_EXTERN_INLINES for recent
1376         enough gcc.
1377         * argp/argp.h: Define extern inline functions only if
1378         __USE_EXTERN_INLINES is defined.
1379         * libio/stdio.h: Likewise.
1380         * math/math.h: Likewise.
1381         * stdlib/stdlib.h: Likewise.
1382         * string/argz.h: Likewise.
1383         * sysdeps/generic/bits/sigset.h: Likewise.
1384         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1385         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1386         * sysdeps/wordsize-32/inttypes.h: Likewise.
1387         * sysdeps/wordsize-64/inttypes.h: Likewise.
1388         * wcsmbs/wchar.h: Likewise.
1390         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1391         to allow compilation without optimization.
1393 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1395         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1396         more entries.
1397         * nis/nss_compat/compat-initgroups.c: Likewise.
1398         * nis/nss_compat/compat-pwd.c: Likewise.
1399         * nis/nss_compat/compat-spwd.c: Likewise.
1400         * nis/nss_nis/nis-alias.c: Likewise.
1401         * nis/nss_nis/nis-ethers.c: Likewise.
1402         * nis/nss_nis/nis-grp.c: Likewise.
1403         * nis/nss_nis/nis-hosts.c: Likewise.
1404         * nis/nss_nis/nis-initgroups.c: Likewise.
1405         * nis/nss_nis/nis-network.c: Likewise.
1406         * nis/nss_nis/nis-proto.c: Likewise.
1407         * nis/nss_nis/nis-pwd.c: Likewise.
1408         * nis/nss_nis/nis-rpc.c: Likewise.
1409         * nis/nss_nis/nis-service.c: Likewise.
1410         * nis/nss_nis/nis-spwd.c: Likewise.
1412         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1414         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1416         * nis/yp_xdr.c: Remove 1024 byte limit.
1417         * nis/ypupdate_xdr.c: Likewise.
1419         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1420         wrong data.
1422 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1424         * Rules (binaries-static, binaries-shared static pattern rules):
1425         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1427         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1428         this here, overriding Makeconfig generic value so we link against
1429         the RPC libs.
1431 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1433         * posix/tstgetopt.c (options): Add NULL entry at end
1434         Patch by Adrian Miranda <ade@psg.com>.
1436 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1438         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1439         to 9.
1441 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1443         * elf/elf.h: Add PPC Diab relocations.
1445         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1447 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1449         * manual/texinfo.tex: Update.
1451 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1453         * sysdeps/powerpc/backtrace.c: New file.
1455 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1457         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1458         sigjmp_save.
1459         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1461 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1463         * Makefile (install-symbolic-link): Fix spelling.
1465 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1467         * elf/elf.h (SHT_HIOS): Fix value.
1469 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1471         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1472         part of the expansion, this is undefined by the standard.
1474 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1476         * posix/getconf.c: Add support for systems with incomplete confname.h.
1478         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1480         * sysdeps/posix/wait3.c: Make it work.
1482 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1484         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1485         (elf/ldso_install): Remove.
1487         * elf/Makefile (distribute): Add sln.c.
1488         (others): Add sln.
1489         (others-static): Add sln.
1490         (install-rootsbin): Add sln.
1491         (others-static): Add sln.
1492         (ldso_install): Remove.
1494 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1496         * Makerules (install-clean-symbolic-link-list): Make phony.
1497         * Makefile (install-symbolic-link): Make phony.  Depend on
1498         subdir_install for parallel makes.
1501 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1503         * elf/Makefile (distribute): Add sln.c
1505 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1507         * elf/sln.c: New file.
1509         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1510         (install-clean-symbolic-link-list): New target.
1511         (install): Depend on install-clean-symbolic-link-list.
1512         (make-shlib-link): Changed for $(symbolic-link-list).
1514         * Makefile (install-symbolic-link): New target.
1515         (install): Depend on install-symbolic-link.
1517 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1519         * include/unistd.h: Protect against multiple inclusion.
1521         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1522         is defined, not is glob is defined.
1523         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1525 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1527         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1528         xdr_string for ut_line, ut_name and ut_host.
1530 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1532         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1533         /var/mail in accordance with FHS 2.0.
1534         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1536 1998-08-12  Richard Henderson  <rth@cygnus.com>
1538         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1539         Update aliases for cancelation.
1541         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1542         playing with symbol versions.
1544 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1546         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1547         multiple inclusion protection.
1548         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1549         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1550         define all these to 1.
1551         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1553 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1555         * sysdeps/mach/usleep.c: Include <unistd.h>.
1556         (usleep): Return void.
1558 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1560         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1561         decl to inhibit warning in if_freenameindex defn.
1563         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1565         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1567         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1568         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1569         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1570         * sysdeps/mach/usleep.c: Likewise.
1572         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1574         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1575         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1576         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1577         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1578         * sysdeps/mach/usleep.c (usleep): Likewise.
1579         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1580         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1581         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1582         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1584 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1586         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1587         (glob64): Fix typo.
1589         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1590         %p arg to fprintf, since `void *' is the right type already.
1592 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1594         * sysdeps/mach/hurd/getcwd.c
1595         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1596         for unknown root directories.
1597         (__getcwd): Return NULL when the current root directory could not
1598         be reached.
1600 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1602         * string/strsignal.c (strsignal): Count real-time signals from zero.
1605 See ChangeLog.8 for earlier changes.