1 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
3 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
4 (install-others): Add bits/stdio_lim.h.
5 Add rule to install bits/stdio_lim.h.
7 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
9 * Makefile (distribute): Add include/sys/mman.h.
11 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
12 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
13 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
15 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
17 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
18 for field-splitting :abc: is correct, and that two fields should
19 result. Revert tests to reflect this.
21 * posix/wordexp.c (w_emptyword): Remove function.
22 (exec_comm): Don't use w_emptyword.
23 (parse_param): Likewise.
25 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
27 * sysdeps/arm/fpu/Dist: Moved to...
28 * sysdeps/arm/Dist: ...here.
29 * sysdeps/posix/Dist: Removed.
30 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
31 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
33 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
35 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
37 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
39 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
41 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
43 * libc-work/nis/nss_nisplus/nisplus-service.c
44 (_nss_nisplus_parse_servent): Convert port in network byte order.
46 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
48 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
49 to provide only malloc and calloc.
50 * include/stdlib.h: Support the above.
51 * string/bits/string2.h: Use __need_malloc_and_calloc when
53 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
55 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
56 * iconvdata/iso646.c: Include <stdlib.h>.
58 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
60 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
61 * sysdeps/libm-ieee754/w_pow.c: Likewise.
62 * sysdeps/libm-ieee754/w_powf.c: Likewise.
63 * sysdeps/libm-ieee754/w_powl.c: Likewise.
65 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
67 * stdio-common/stdio_lim.h.in: New file. All parameters
68 are adjustable at build time.
69 * Rules: Add a rule to build bits/stdio_lim.h from
70 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
71 all subdirectories know how to make the file. It can't be
72 in Makerules because then it gets built at top level and the
73 dependencies are wrong.)
75 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
76 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
78 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
79 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
80 * sysdeps/posix/Makefile: Removed.
81 * sysdeps/posix/mk-stdiolim.c: Removed.
82 * sysdeps/generic/bits/stdio_lim.h: Removed.
84 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
86 * argp/argp-help.c: Fixup indentation.
87 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
88 * resolv/nss_dns/dns-network.c: Likewise.
89 * resolv/res_send.c: Likewise.
90 * rt/aio_cancel.c: Likewise.
91 * rt/aio_misc.c: Likewise.
93 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
95 * Makefile (install-symbolic-link): Remove the link list file at last.
96 * Makerules (install-clean-symbolic-link-list): Removed.
98 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
100 * timezone/tst-timezone.c: Print time in UTC to get consistent
103 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
105 * elf/rtld.c (_dl_rpath): Removed.
106 * elf/dl-support.c (_dl_path): Removed.
107 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
108 (CFLAGS-dl-support.c): Removed.
110 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
112 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
113 instead of appending it to the main map's rpath info.
114 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
115 DT_RPATHs. This makes it effective again.
116 (decompose_rpath): Remove second parameter, callers changed.
117 (fillin_rpath): Allocate enough space in curwd.
118 (expand_dynamic_string_token): Cope with get_origin returning -1.
120 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
122 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
125 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
128 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
130 * locale/programs/locale.c: Update dates.
132 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
134 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
135 size_t is defined. Some reordering of defenitions to make
136 maintaining this file in parallel with the linux-specific file easier.
138 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
140 * io/pwd.c (main): Add call to mtrace.
142 * malloc/mtrace.pl: Quote @ in string.
144 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
146 * posix/wordexp.c (parse_arith): Fix memory leaks.
147 (exec_comm): Likewise.
148 (parse_param): Likewise.
150 (exec_comm): Reduce number of function return points.
151 (parse_param): Likewise.
154 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
156 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
157 yield three fields, not two. Test both parameter expansion and
158 command substitution for correct field-splitting behaviour.
160 * posix/wordexp.c (w_emptyword): New function.
161 (parse_param): Use it.
162 (exec_comm): Likewise, for consistency with the way parse_param
164 (parse_param): Fix some memory leaks.
166 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
168 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
169 Don't mark asm `volatile'.
170 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
171 from the data cache too. Assume it isn't in the instruction cache yet.
172 (__elf_machine_fixup_plt): Clear the modified address from the caches.
174 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
176 * sysdeps/generic/segfault.c (install_handler): Install signal
177 handler with SA_ONSTACK instead of setting the stack flags to
178 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
181 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
183 * signal/signal.h: Fix multiple inclusion guard to cover the
185 * wcsmbs/wchar.h: Remove prototype of internal function
187 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
188 arithmetic on `void *'.
190 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
192 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
194 * posix/wordexp.c (wordexp): Perform word-splitting instead of
195 field-splitting here.
196 (wordexp): If out of memory mid-word, free the word (but still
197 leave pwordexp alone for caller to see).
198 (parse_param): Allow for zero-length fields (smarter checking of
199 memory allocation failure).
200 (w_addword): Convert NULL words to "".
201 (wordexp): Convert left-over IFS characters to blanks (like bash).
203 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
205 * configure.in: Use test -f instead of test -e.
206 Patch by John Tobey <jtobey@banta-im.com>.
208 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
209 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
210 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
211 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
212 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
213 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
214 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
215 Patches by John Tobey <jtobey@banta-im.com>.
217 * time/strftime.c (my_strftime): Delay use of *tp values until
218 latest possible point to allow partly initialized structures
219 (e.g., from strptime).
221 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
223 Define *-routines variables for new modules.
224 (distribute): Add .c files for new modules.
225 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
227 Add rules for header generation.
228 * iconvdata/gconv-modules: Add entries for new modules.
229 * iconvdata/iso_10367-box.c: New file.
230 * iconvdata/mac-is.c: New file.
231 * iconvdata/nats-dano.c: New file.
232 * iconvdata/nats-sefi.c: New file.
234 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
236 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
237 loader if PIC is not defined.
239 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
241 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
242 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
243 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
245 Define *-routines variables for new modules.
246 (distribute): Add .c files for new modules.
247 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
248 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
249 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
250 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
251 Add rules for header generation.
252 * iconvdata/gconv-modules: Add entries for new modules.
253 * iconvdata/csn_369103.c: New file.
254 * iconvdata/cwi.c: New file.
255 * iconvdata/dec-mcs.c: New file.
256 * iconvdata/ecma-cyrillic.c: New file.
257 * iconvdata/gost_19768-74.c: New file.
258 * iconvdata/greek-ccitt.c: New file.
259 * iconvdata/greek7-old.c: New file.
260 * iconvdata/greek7.c: New file.
261 * iconvdata/inis-8.c: New file.
262 * iconvdata/inis-cyrillic.c: New file.
263 * iconvdata/inis.c: New file.
264 * iconvdata/iso6937-2.c: New file.
265 * iconvdata/iso_2033.c: New file.
266 * iconvdata/iso_5427-ext.c: New file.
267 * iconvdata/iso_5427.c: New file.
268 * iconvdata/iso_5428.c: New file.
270 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
272 Convert U02dd correctly.
274 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
276 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
277 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
278 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
279 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
281 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
283 * resolv/res_init.c (res_init): Handle resolv.conf file with only
284 one nameserver correctly. Patch by HJ Lu.
286 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
288 Define *-routines variables for new modules.
289 (distribute): Add .c files for new modules.
290 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
291 Add rules for hedaer generation.
292 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
293 * iconvdata/ansi_x3.110.c: New file.
294 * iconvdata/asmo_449.c: New file.
295 * iconvdata/baltic.c: New file.
296 * iconvdata/iec_p27-1.c: New file.
298 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
300 Convert U02dc correctly.
302 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
303 * math/atest-exp2.c: Likewise.
304 * math/atest-sincos.c: Likewise.
306 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
309 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
311 * string/strcoll.c: Optimize a few expressions.
312 * string/strxfrm.c: Likewise.
314 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
316 * manual/locale.texi: Fix typos.
318 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
320 * stdlib/random_r.c (__setstate_r): Allow call with same state
321 array as currently used (PR libc/774).
323 * include/limits.h: Include gcc's header even if this file is
324 found more than once before it (PR libc/778)
326 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
327 (sysdep_headers): Remove sys/debugreg.h.
328 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
329 (sysdep_headers): Add sys/debugreg.h.
330 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
331 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
333 * stdio-common/tmpnam.c: Move local static variable buf to
334 toplevel and rename to tmpnam_buffer to ease debugging.
335 Patch by Joe Keane <jgk@jgk.org>.
336 Optimize s == NULL case a bit.
338 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
341 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
343 * resolv/res_init.c (res_init): Initialize _res.nscount and
344 _res.nsaddr.sin_port differently for the can when no loopback
345 is available to allow immediate timeout in non-networking environments.
346 Patch by Cristian Gafton <gafton@redhat.com>.
348 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
350 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
352 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
353 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
356 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
358 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
360 * timezone/tst-timezone.c (tests): Fix typo in last patch.
362 * time/tzfile.c (__tzfile_read): Handle case when there are no
363 transitions. Set __timezone based on computed offset.
364 * time/tzset.c (tzset_internal): Set __timezone before returning.
366 * time/tzset.c (tzset_internal): Optimize handling of local string
369 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
374 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
376 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
377 (csqrt_test): Likewise.
378 * sysdeps/powerpc/bits/fenv.h: Add parens.
380 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
382 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
383 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
384 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
386 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
388 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
389 the special `-1' pointer.
391 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
393 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
396 1998-09-07 Paul Eggert <eggert@twinsun.com>
398 * time/mktime.c (__EXTENSIONS__): Define if not defined.
399 (_REENTRANT): Remove. It has undesirable consequences in
400 Solaris 2.6 (e.g. it turns off the putc macro). Defining
401 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
403 * time/strftime.c: Likewise.
405 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
407 * elf/dl-error.c: Fix spelling.
409 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
411 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
412 * stdio-common/_itoa.c: Likewise.
413 * stdio-common/printf_fp.c: Likewise.
414 * stdio-common/vfscanf.c: Likewise.
415 * wcsmbs/wcstok.c: Likewise.
416 * sysdeps/generic/glob.c: Likewise.
417 * posix/getopt.c: Likewise.
418 * sysdeps/posix/getaddrinfo.c: Likewise.
419 * posix/wordexp.c: Likewise.
420 * io/ftw.c: Likewise.
421 * io/fts.c: Likewise.
422 * misc/getpass.c: Likewise.
423 * iconv/gconv_conf.c: Likewise.
424 * argp/argp-fmtstream.c: Likewise.
425 * argp/argp-help.c: Likewise.
426 * elf/dl-load.c: Likewise.
427 * locale/programs/stringtrans.c: Likewise.
428 * catgets/gencat.c: Likewise.
429 * posix/getconf.c: Likewise.
430 * iconv/gconv_conf.c: Likewise.
431 * iconv/iconv_prog.c: Likewise.
433 * string/strcoll.c: Optimize a few expressions.
434 * string/strxfrm.c: Likewise.
436 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
438 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
439 level to avoid uninit variable warning.
441 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
443 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
444 instead of _dl_default_scope[2] as argument to _dl_init_next.
446 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
449 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
451 Fix compatibility problems introduced in last change.
452 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
454 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
455 -DWEAK_GMON_START to CFLAGS-initfini.s.
457 * elf/dl-object.c (_dl_new_object): Store map address in
458 _dl_loaded if _dl_loaded is NULL.
459 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
461 * sysdeps/generic/setrlimit64.c: Remove stub warning.
463 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
465 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
467 * db2/btree/bt_cursor.c: Likewise.
468 * db2/common/db_region.db_c: Likewise.
469 * db2/common/db_salloc.db_c: Likewise.
470 * db2/db/db.c: Likewise.
471 * db2/db/db_rec.c: Likewise.
472 * db2/hash/hash.c: Likewise.
473 * db2/hash/hash_page.c: Likewise.
474 * db2/hash/hash_rec.c: Likewise.
475 * db2/log/log_findckp.c: Likewise.
476 * db2/log/log_get.c: Likewise.
477 * db2/log/log_put.c: Likewise.
478 * db2/mp/mp_fget.c: Likewise.
479 * db2/mp/mp_fput.c: Likewise.
480 * db2/mp/mp_region.c: Likewise.
481 * stdlib/strtol.c: Likewise.
482 * string/strcoll.c: Likewise.
483 * string/strxfrm.c: Likewise.
484 * argp/argp-help.c: Likewise.
485 * argp/argp-parse.c: Likewise.
486 * resolv/res_debug.c: Likewise.
488 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
490 * math/tgmath.h (scalb): Only define for __USE_MISC or
491 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
493 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
495 * libio/stdio.h: Fix comment.
497 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
500 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
502 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
504 * elf/dl-open.c: Quiet -Wparentheses warnings.
505 * iconvdata/johab.c: Likewise.
506 * iconvdata/uhc.c: Likewise.
507 * inet/inet_net.c: Likewise.
508 * io/fts.c: Likewise.
509 * locale/newlocale.c: Likewise.
510 * misc/getttyent.c: Likewise.
511 * misc/mntent_r.c: Likewise.
512 * misc/ttyslot.c: Likewise.
513 * nscd/nscd_conf.c: Likewise.
514 * nss/nsswitch.c: Likewise.
515 * resolv/gethnamaddr.c: Likewise.
516 * resolv/nsap_addr.c: Likewise.
517 * resolv/res_debug.c: Likewise.
518 * stdio-common/_itoa.c: Likewise.
519 * stdlib/strtod.c: Likewise.
520 * string/strverscmp.c: Likewise.
521 * sunrpc/svc.c: Likewise.
522 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
523 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
524 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
525 * sysdeps/posix/getaddrinfo.c: Likewise.
527 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
529 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
530 for use of global scope.
531 * elf/dlvsym.c (dlvsym_doit): Likewise.
533 1998-09-02 Paul Eggert <eggert@twinsun.com>
535 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
536 copy the redundant bytes at the end of the format as-is; don't
537 just copy their first byte and then rescan, as that might get
538 us an encoding error.
539 Account correctly for the length of multibyte sequences in the
542 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
544 * posix/wordexp-test.c: Add tests for different IFS values.
545 Change unquoted-newline test so that newline is not in IFS.
547 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
548 determining IFS characters. Return WRDE_BADCHAR for unquoted
549 special characters _except_ if they are separators.
551 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
553 * include/tgmath.h: New file.
555 * libio/stdio.h: Correct reversed #ifs.
556 Patch by Zack Weinberg.
558 * manual/creature.texi: Better explain reason for feature select
560 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
562 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
564 * include/alloca.h: Add multiple-inclusion guard.
565 * include/db.h: Likewise.
566 * include/db_185.h: Likewise.
567 * include/dlfcn.h: Likewise.
568 * include/fcntl.h: Likewise.
569 * include/grp.h: Likewise.
570 * include/libintl.h: Likewise.
571 * include/mntent.h: Likewise.
572 * include/pwd.h: Likewise.
573 * include/sched.h: Likewise.
574 * include/search.h: Likewise.
575 * include/setjmp.h: Likewise.
576 * include/shadow.h: Likewise.
577 * include/signal.h: Likewise.
578 * include/stdio.h: Likewise.
579 * include/stdlib.h: Likewise.
580 * include/string.h: Likewise.
581 * include/termios.h: Likewise.
582 * include/time.h: Likewise.
583 * include/ulimit.h: Likewise.
584 * include/utmp.h: Likewise.
585 * include/wchar.h: Likewise.
586 * include/sys/file.h: Likewise.
587 * include/sys/gmon.h: Likewise.
588 * include/sys/ioctl.h: Likewise.
589 * include/sys/mman.h: Likewise.
590 * include/sys/resource.h: Likewise.
591 * include/sys/select.h: Likewise.
592 * include/sys/socket.h: Likewise.
593 * include/sys/statfs.h: Likewise.
594 * include/sys/time.h: Likewise.
595 * include/sys/times.h: Likewise.
596 * include/sys/wait.h: Likewise.
598 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
600 * version.h (VERSION): Bump to 2.0.96.
602 Rewrite runtime linker to be truly thread-safe. There is now no
603 global variable specifying the scope. We create all needed
604 scopes at the time the link maps are created.
605 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
606 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
607 l_symbolic_searchlist, l_scope, and l_local_scope elements in
609 * elf/dl-close.c: Rewritten accordingly.
610 * elf/dl-deps.c: Likewise.
611 * elf/dl-error.c: Likewise.
612 * elf/dl-init.c: Likewise.
613 * elf/dl-load.c: Likewise.
614 * elf/dl-lookup.c: Likewise.
615 * elf/dl-object.c: Likewise.
616 * elf/dl-open.c: Likewise.
617 * elf/dl-reloc.c: Likewise.
618 * elf/dl-runtime.c: Likewise.
619 * elf/dl-support.c: Likewise.
620 * elf/dl-symbol.c: Likewise.
621 * elf/dl-version.c: Likewise.
622 * elf/dlsym.c: Likewise.
623 * elf/dlvsym.c: Likewise.
624 * elf/ldsodefs.h: Likewise.
625 * elf/rtld.c: Likewise.
626 * iconv/gconv_dl.c: Likewise.
627 * nss/nsswitch.c: Likewise.
628 * sysdeps/i386/dl-machine.h: Likewise.
629 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
631 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
634 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
636 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
637 __getopt_clean_environment with __environ instead of envp.
639 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
641 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
643 * string/argz-extract.c (__argz_extract): Add de-consting cast for
646 * string/argz.h (argz_next): Add de-consting cast for return.
647 * string/argz-next.c (__argz_next): Likewise.
649 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
650 Don't add netinet/udp.h, netinet/ip_icmp.h here.
651 * sysdeps/gnu/Makefile: Do it here instead.
652 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
653 * sysdeps/gnu/Dist: ... to here.
655 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
656 sysdeps/unix/sysv/linux/netinet/tcp.h,
657 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
659 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
661 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
662 * string/argz-next.c, string/argz-extract.c: Fix defns.
664 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
666 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
668 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
669 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
670 * sysdeps/generic/sysd-stdio.c: Likewise.
672 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
674 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
675 (_dl_map_object_from_fd): Make NAME argument const.
676 Remove last parameter in _dl_new_object call.
677 (print_search_path): Correct construction of composed path name.
678 (_dl_map_object): Prevent looking at RPATH of the main map twice.
679 Remove last parameter in _dl_new_object call.
680 * elf/dl-object.c: Remove last parameter. Determine whether create
681 origin entry based on empty realname. Handle file in root directory
683 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
684 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
685 Remove last parameter in _dl_new_object call.
686 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
687 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
689 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
691 * elf/dl-close.c (_dl_close): Add more comments and correct some.
692 Free l_searchlist and l_dupsearchlist.
694 * debug/catchsegv.sh: Add one more pair of quotes.
696 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
698 * elf/dl-load.c (add_name_to_object): Change return type to void and
699 make NAME parameter const. Allocate room for NAME in same memory
700 block used for l_libname entry.
701 (_dl_map_object_from_fd): Don't free NAME on failure.
702 (map_segment): Pass SONAME to add_name_to_object, not a copy.
703 (_dl_map_object): Don't create copy of NAME. Pass NAME to
704 _dl_map_object_from_fd.
705 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
706 memory block used for l_libname entry.
707 * elf/dl-close.c: Adjust free()ing for this change.
709 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
711 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
713 * malloc/mtrace.c: Add bug report address. Update email address.
714 Add more @XXX@ to print correct address size.
716 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
719 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
720 for munmap call instead of examining phdr again.
721 Free all malloc()ed strings and arrays.
723 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
725 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
727 * sysdeps/powerpc/dl-machine.c: New file.
728 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
729 files. Revise ELF_PREFERRED_ADDRESS to take account of
730 the new mapping information (fixes bug involving huge bloated
731 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
732 * sysdeps/powerpc/dl-start.S: New file.
734 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
736 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
737 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
738 others. Call elf_dynamic_do_##reloc only once (to save even more
740 * elf/link.h: Add new members l_map_start and l_map_end to keep
741 track of the memory map.
742 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
745 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
747 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
748 Reported by Andreas Jaeger.
750 * posix/glob.h: Use __size_t instead of size_t in definitions and
751 make sure this is defined.
753 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
755 * manual/locale.texi: Almost complete rewrite. Document more functions
757 * manual/arith.texi: Correct reference.
758 * manual/string.texi: Pretty printing.
760 * manual/texinfo.tex: Update from last available version.
762 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
764 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
766 (_nss_nis_getpwuid_r): Likewise.
767 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
769 * inet/rcmd.c: Implement netgroup support.
770 Patch by Dick Streefland <dick_streefland@tasking.com>.
772 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
774 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
775 object on the list is removed. Don't use this code for PIC.
776 Reported by HJ Lu [PR libc/770].
778 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
780 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
782 * include/stdio.h: Add __vsscanf.
784 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
786 Remove __vsscanf declaration.
787 Always declare fgetpos and fsetpos.
789 * math/math.h: Define isinf as macro.
790 * math/bits/mathcalls.h: Change to declare __isinf all the time.
791 Don't declare scalb for ISO C 9x.
793 * math/tgmath.h: Define fma. Rewrite the underlying macros.
795 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
797 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
800 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
803 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
805 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
806 Reported by jreising@frequentis.com [PR libc/767].
808 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
810 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
811 fl.l_start at beginning of function.
812 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
814 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
816 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
817 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
819 * nscd/nscd.init: Make it work in RedHat systems.
820 Patch by Christian Gafton.
822 1998-08-29 Philip Blundell <philb@gnu.org>
824 * catgets/Makefile: Don't try to run test programs when
827 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
829 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
830 Reported by Zack Weinberg.
832 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
834 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
835 * elf/Makefile (distribute): Remove ldd.sh.in.
837 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
839 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
842 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
844 * sysdeps/i386/register-dump.h: Move to ...
845 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
847 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
849 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
850 with load address, not map address.
851 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
852 parameter and use this value.
853 * sysdeps/arm/dl-machine.h: Likewise.
854 * sysdeps/i386/dl-machine.h: Likewise.
855 * sysdeps/m68k/dl-machine.h: Likewise.
856 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
858 * sysdeps/powerpc/dl-machine.h: Likewise
859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
862 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
864 * elf/rtld.c (process_envvars): Fix copy&paste error.
866 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
868 (realloc_hook_ini): Don't overwrite memalign hook.
869 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
870 Reported by Philippe Troin <phil@fifi.org>.
872 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
873 Patch by Philippe Troin <phil@fifi.org>.
875 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
877 * sysdeps/generic/segfault.c (install_handler): Protect the
878 non-POSIX signals with #ifdef.
879 (catch_segfault): Add missing mode parameter for open.
880 * debug/catchsegv.sh: Avoid termination message from shell. Allow
881 other termination signals.
883 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
885 * debug/Makefile (distribute): Add register-dump.h.
887 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
889 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
891 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
893 * elf/Makefile (distribute): Add dl-origin.h.
894 * sysdeps/generic/dl-origin.h: New file.
895 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
896 * elf/link.h (struct link_map): Add l_origin field.
897 * elf/dl-load.c (expand_dynamic_string_token): New function.
898 (decompose_path): Remove WHERE argument, take link map pointer instead.
899 Call expand_dynamic_string_token instead of local_strdup to make copy
901 (_dl_init_paths): Call decompose_path with correct argument.
902 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
904 Check EI_OSABI and EI_ABIVERSION fields in header.
905 Call _dl_new_object with extra argument.
906 (_dl_map_object): Call decompose_path with correct argument.
907 Call expand_dynamic_string_token instead of local_strdup to also
909 Call _dl_new_object with extra argument.
910 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
911 but the main one if new argument is nonzero.
912 * elf/ldsodefs.h: Adjust for _dl_new_object change.
913 * elf/dl-support.c: Define _dl_origin_path.
914 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
915 (dl_main): Call _dl_new_object with extra argument.
917 * elf/dl-close (_dl_close): Free l_name and l_origin.
919 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
920 modifier in asm, not c.
922 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
923 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
925 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
927 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
928 variable so that map can be freed.
929 Reported by Philippe Troin <phil@fifi.org>.
931 * elf/dl-open.c (dl_open_worker): Correct test for extending global
933 Patch by Philippe Troin <phil@fifi.org>.
935 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
937 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
938 Don't call writev() with a 100-element vector.
939 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
942 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
943 In particular, set __libc_stack_end.
944 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
945 undefined. Fix copyright notice.
947 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
949 * math/Makefile (gmp-objs): New variable.
950 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
952 (tests): Add atest-exp atest-sincos atest-exp2.
953 (tests-static): Remove atest-exp atest-sincos atest-exp2.
955 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
957 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
959 (_dl_unload_cache): New function.
960 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
961 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
962 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
964 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
965 Correct comment for O_LARGEFILE.
966 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
967 Change O_LARGEFILE to correct value.
969 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
971 * libio/iogetline.c (_IO_getline_info): Don't read anything for
972 N == 0. Patch by HJ Lu.
974 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
976 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
978 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
980 * argp/argp.h: Use __inline__ not inline.
982 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
983 an input register as being clobbered.
984 * sysdeps/i386/memset.c (memset): Likewise.
985 * sysdeps/i386/bzero.c (__bzero): Likewise.
986 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
988 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
990 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
991 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
993 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
995 * debug/catchsegv.sh: Handle text preceding backtrace better.
996 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
997 to be installed for other signals than SIGSEGV.
998 * sysdeps/generic/register-dump.h: New file.
999 * sysdeps/i386/register-dump.h: New file.
1000 * sysdeps/powerpc/register-dump.h: New file.
1002 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1004 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1006 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1008 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1010 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1012 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1013 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1014 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1015 getresuid, getresgid.
1017 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1019 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1020 pointer in userland.
1022 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1024 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1027 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1029 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1030 over arguments Bourne shell compatible. Don't exit unsuccessfully
1031 if nonelf returns successfully. Avoid duplicating most of the
1033 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1036 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1038 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1040 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1041 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1043 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1045 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1046 __modify_ldt and modify_ldt.
1047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1049 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1050 Use orl $-1 instead of movl $-1 to save two bytes.
1051 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1054 1998-08-17 H.J. Lu <hjl@gnu.org>
1056 * libio/Versions (_IO_do_write, _IO_file_attach,
1057 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1058 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1059 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1060 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1062 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1063 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1064 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1065 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1066 _IO_file_write, _IO_file_xsputn): Change the prefix to
1067 "_IO_new_". Added to GLIBC_2.1.
1069 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1070 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1071 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1072 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1073 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1076 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1077 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1078 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1079 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1080 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1082 1998-08-23 Richard Henderson <rth@cygnus.com>
1084 * Makeconfig (LDFLAGS): Remove.
1086 * csu/initfini.c: Return to .text before __gmon_start__.
1088 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1089 (STO_MIPS_*): Rename from STO_*.
1090 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1091 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1093 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1094 (main): e3s is negative on zero.
1095 * math/atest-exp2.c: Likewise.
1096 * math/atest-sincos.c: Likewise.
1098 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1100 * Makerules (install): Add comment about absolute paths.
1102 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1104 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1105 array to NUL to handle maxlen==1 case correctly.
1108 1998-08-23 Richard Henderson <rth@cygnus.com>
1110 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1111 * sysdeps/alpha/elf/crtend.S: Likewise.
1112 * sysdeps/alpha/elf/start.S: Likewise.
1114 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1115 non-standard pv usage.
1117 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1118 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1119 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1120 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1121 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1122 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1123 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1124 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1125 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1126 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1127 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1129 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1130 a finite non-denormal, deferring to the full IEEE version otherwise.
1132 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1133 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1134 * sysdeps/alpha/fpu/s_floor.c: New.
1135 * sysdeps/alpha/fpu/s_floorf.c: New.
1136 * sysdeps/alpha/fpu/s_ceil.c: New.
1137 * sysdeps/alpha/fpu/s_ceilf.c: New.
1139 1998-08-22 Philip Blundell <philb@gnu.org>
1141 * sysdeps/arm/bits/string.h: New file.
1143 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1145 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1148 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1149 test for recent Linux 2.1.100+ headers.
1151 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1153 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1155 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1157 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1159 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1161 * Makefile (elf/ldso_install): Put back. The problem still persists.
1162 * elf/Makefile (ldso_install): Likewise.
1164 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1166 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1168 * include/db.h: Declare __nss_db_open.
1169 * db2/Versions: Export it.
1171 * db2/makedb.c: Convert to use db2 API.
1172 * nss/nss_db/db-XXX.c: Likewise.
1173 * nss/nss_db/db-netgrp.c: Likewise.
1174 * nss/nss_db/db-alias.c: Likewise.
1175 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1177 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1179 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1180 sys_setresuid, already built automatically (or not).
1181 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1182 instead of __syscall_setresuid and add back setresuid.
1183 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1184 __syscall_setresuid.
1186 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1188 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1190 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1192 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1193 BASH-ONLY marked region.
1194 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1196 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1198 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1201 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1203 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1206 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1208 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1209 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1210 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1211 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1212 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1213 those magic comments, and to use /bin/sh for @BASH@.
1214 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1215 * elf/ldd.sh.in: File removed.
1217 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1219 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1220 cast them to unsigned long int.
1221 * pwd/putpwent.c (putpwent): Likewise.
1222 Patch by John Tobey <jtobey@banta-im.com>.
1224 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1226 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1229 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1231 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1234 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1236 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1237 Add umount and umount2.
1238 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1239 * sysdeps/unix/sysv/linux/umount.S: New file.
1240 * sysdeps/unix/sysv/linux/umount2.S: New file.
1241 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1244 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1246 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1247 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1249 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1254 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1256 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1257 * elf/ldd.bash.in: Likewise.
1259 * elf/sln.c: Avoid warning for no main prototype.
1261 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1263 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1266 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1268 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1269 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1272 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1274 * sysdeps/arm/fpu/ieee754.h: Move to...
1275 * sysdeps/arm/ieee754.h: ... here.
1277 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1278 Don't set the condition flags unnecessarily.
1279 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1280 registers correctly.
1282 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1283 (patch from Scott Bambrough).
1285 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1287 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1288 NULL, just call it unconditionally.
1289 (__gmon_start__): Provide stub version as a weak symbol.
1291 1998-07-30 Philip Blundell <philb@gnu.org>
1293 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1296 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1297 like `@' in .type directives.
1299 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1300 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1302 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1304 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1306 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1307 (F_GETOWN): Likewise.
1309 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1312 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1314 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1317 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1319 * include/features.h: Define __USE_EXTERN_INLINES for recent
1321 * argp/argp.h: Define extern inline functions only if
1322 __USE_EXTERN_INLINES is defined.
1323 * libio/stdio.h: Likewise.
1324 * math/math.h: Likewise.
1325 * stdlib/stdlib.h: Likewise.
1326 * string/argz.h: Likewise.
1327 * sysdeps/generic/bits/sigset.h: Likewise.
1328 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1329 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1330 * sysdeps/wordsize-32/inttypes.h: Likewise.
1331 * sysdeps/wordsize-64/inttypes.h: Likewise.
1332 * wcsmbs/wchar.h: Likewise.
1334 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1335 to allow compilation without optimization.
1337 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1339 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1341 * nis/nss_compat/compat-initgroups.c: Likewise.
1342 * nis/nss_compat/compat-pwd.c: Likewise.
1343 * nis/nss_compat/compat-spwd.c: Likewise.
1344 * nis/nss_nis/nis-alias.c: Likewise.
1345 * nis/nss_nis/nis-ethers.c: Likewise.
1346 * nis/nss_nis/nis-grp.c: Likewise.
1347 * nis/nss_nis/nis-hosts.c: Likewise.
1348 * nis/nss_nis/nis-initgroups.c: Likewise.
1349 * nis/nss_nis/nis-network.c: Likewise.
1350 * nis/nss_nis/nis-proto.c: Likewise.
1351 * nis/nss_nis/nis-pwd.c: Likewise.
1352 * nis/nss_nis/nis-rpc.c: Likewise.
1353 * nis/nss_nis/nis-service.c: Likewise.
1354 * nis/nss_nis/nis-spwd.c: Likewise.
1356 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1358 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1360 * nis/yp_xdr.c: Remove 1024 byte limit.
1361 * nis/ypupdate_xdr.c: Likewise.
1363 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1366 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1368 * Rules (binaries-static, binaries-shared static pattern rules):
1369 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1371 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1372 this here, overriding Makeconfig generic value so we link against
1375 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1377 * posix/tstgetopt.c (options): Add NULL entry at end
1378 Patch by Adrian Miranda <ade@psg.com>.
1380 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1382 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1385 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1387 * elf/elf.h: Add PPC Diab relocations.
1389 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1391 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1393 * manual/texinfo.tex: Update.
1395 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1397 * sysdeps/powerpc/backtrace.c: New file.
1399 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1401 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1403 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1405 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1407 * Makefile (install-symbolic-link): Fix spelling.
1409 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1411 * elf/elf.h (SHT_HIOS): Fix value.
1413 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1415 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1416 part of the expansion, this is undefined by the standard.
1418 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1420 * posix/getconf.c: Add support for systems with incomplete confname.h.
1422 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1424 * sysdeps/posix/wait3.c: Make it work.
1426 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1428 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1429 (elf/ldso_install): Remove.
1431 * elf/Makefile (distribute): Add sln.c.
1433 (others-static): Add sln.
1434 (install-rootsbin): Add sln.
1435 (others-static): Add sln.
1436 (ldso_install): Remove.
1438 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1440 * Makerules (install-clean-symbolic-link-list): Make phony.
1441 * Makefile (install-symbolic-link): Make phony. Depend on
1442 subdir_install for parallel makes.
1445 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1447 * elf/Makefile (distribute): Add sln.c
1449 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1451 * elf/sln.c: New file.
1453 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1454 (install-clean-symbolic-link-list): New target.
1455 (install): Depend on install-clean-symbolic-link-list.
1456 (make-shlib-link): Changed for $(symbolic-link-list).
1458 * Makefile (install-symbolic-link): New target.
1459 (install): Depend on install-symbolic-link.
1461 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1463 * include/unistd.h: Protect against multiple inclusion.
1465 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1466 is defined, not is glob is defined.
1467 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1469 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1471 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1472 xdr_string for ut_line, ut_name and ut_host.
1474 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1476 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1477 /var/mail in accordance with FHS 2.0.
1478 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1480 1998-08-12 Richard Henderson <rth@cygnus.com>
1482 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1483 Update aliases for cancelation.
1485 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1486 playing with symbol versions.
1488 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1490 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1491 multiple inclusion protection.
1492 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1493 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1494 define all these to 1.
1495 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1497 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1499 * sysdeps/mach/usleep.c: Include <unistd.h>.
1500 (usleep): Return void.
1502 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1504 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1505 decl to inhibit warning in if_freenameindex defn.
1507 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1509 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1511 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1512 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1513 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1514 * sysdeps/mach/usleep.c: Likewise.
1516 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1518 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1519 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1520 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1521 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1522 * sysdeps/mach/usleep.c (usleep): Likewise.
1523 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1524 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1525 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1526 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1528 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1530 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1533 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1534 %p arg to fprintf, since `void *' is the right type already.
1536 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1538 * sysdeps/mach/hurd/getcwd.c
1539 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1540 for unknown root directories.
1541 (__getcwd): Return NULL when the current root directory could not
1544 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1546 * string/strsignal.c (strsignal): Count real-time signals from zero.
1549 See ChangeLog.8 for earlier changes.