1 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3 * rt/lio_listio.c (lio_listio): Always disable individual
5 * rt/Makefile: Add rules to build and run tst-aio2.
6 * rt/tst-aio2.c: New file.
8 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
9 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
11 2000-07-25 Mark Kettenis <kettenis@gnu.org>
13 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
14 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
15 leading and trailing spaces from host, user and domain name.
17 2000-07-25 Jes Sorensen <jes@linuxcare.com>
19 * csu/defs.awk: Add support for need_endp.
21 2000-07-25 Mark Kettenis <kettenis@gnu.org>
23 * resolv/resolv.h: Remove __P from res_send_qhook and
24 res_send_rhook typedefs.
26 2000-07-25 Bruno Haible <haible@clisp.cons.org>
28 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
30 2000-07-25 Ulrich Drepper <drepper@redhat.com>
32 * iconv/gconv_builtin.h: Add WCHAR_T alias.
34 2000-07-25 Mark Kettenis <kettenis@gnu.org>
36 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
37 calling thread, set the cancellation flag and return success
40 2000-07-25 Ulrich Drepper <drepper@redhat.com>
42 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
43 * libio/tst-widetext.c: New file.
44 * libio/tst-widetext.input: New file.
46 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
48 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
49 empty external buffer correctly.
51 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
53 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
54 __STRING(entry) and not #entry.
55 (_RTLD_EPILOGUE): Likewise.
56 * sysdeps/mips/mips64/dl-machine.h: Likewise.
58 2000-07-25 Andreas Jaeger <aj@suse.de>
60 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
61 according to changes in test program, run also with static only
63 ($(objpfx)tst-printf.out): Likewise.
65 * stdio-common/tst-unbputc.sh: Likewise.
66 * stdio-common/tst-printf.sh: Likewise.
68 2000-07-25 Ulrich Drepper <drepper@redhat.com>
70 * libio/wfileops.c (_IO_wdo_write): Correct return value.
72 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
75 * libio/fileops.c: Pretty print.
77 2000-07-23 Bruno Haible <haible@clisp.cons.org>
79 * wctype/wchar-lookup.h: New file.
80 * wctype/iswctype.c: Include "wchar-lookup.h".
81 (__iswctype): Support alternate locale format with 3-level tables.
82 * wctype/iswctype_l.c (__iswctype_l): Likewise.
83 * wctype/towctrans.c (__towctrans): Likewise.
84 * wctype/towctrans_l.c (__towctrans_l): Likewise.
85 * wctype/wcfuncs.c: Include "wchar-lookup.h".
86 (__ctype32_wctype, __ctype32_wctrans): Declare external.
87 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
88 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
89 __iswxdigit, towlower, towupper): Support alternate locale format
91 * wctype/wcextra.c (iswblank): Likewise.
92 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
93 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
94 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
95 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
96 format with 3-level tables.
97 * wctype/wcextra_l.c (__iswblank_l): Likewise.
98 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
99 format, return a 3-level table pointer.
100 * wctype/wctype_l.c (__wctype_l): Likewise.
101 * wctype/wctrans.c (wctrans): Likewise.
102 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
103 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
104 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
105 (iswctype): Remove macro definition.
106 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
107 (internal_wcwidth): Support alternate locale format with 3-level
109 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
111 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
112 Define them as being type "word".
113 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
114 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
115 __ctype32_width): New exported variables.
116 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
117 alternate locale format. Don't initialize __ctype_names and
118 __ctype_width in the alternate locale format.
119 * locale/programs/localedef.h (oldstyle_tables): New declaration.
120 * locale/programs/localedef.c (oldstyle_tables): New variable.
121 (OPT_OLDSTYLE): New macro.
122 (options): Add --old-style option.
123 (parse_opt): Handle --old-style option.
124 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
125 map_offset, class_3level, map_3level, width_3level members.
126 (ctype_output): Support for alternate locale format: Computation of
127 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
128 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
129 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
130 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
131 now contain both class and map tables.
132 (struct wctype_table): New type.
133 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
135 (struct wcwidth_table): New type.
136 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
138 (struct wctrans_table): New type.
139 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
141 (allocate_arrays): Support for alternate locale format: Set
142 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
143 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
144 to the first 256 characters. Compute ctype->map_3level. Set
145 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
146 instead of ctype->width.
148 2000-07-24 Ulrich Drepper <drepper@redhat.com>
150 * libio/iogetwline.c (_IO_getwline_info): Use wide character
153 2000-07-24 Jakub Jelinek <jakub@redhat.com>
155 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
156 in wide characters, not bytes.
157 * libio/tst_putwc.c (do_test): Add test for writing lots of data
160 2000-07-22 Bruno Haible <haible@clisp.cons.org>
162 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
163 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
164 LC_MEASUREMENT, LC_IDENTIFICATION.
166 * locale/xlocale.h (struct __locale_struct): Increase size of
168 * locale/duplocale.c (__duplocale): Copy newly added categories as
170 * locale/freelocale.c (__freelocale): Free newly added categories.
171 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
172 If a base is given, use it, don't simply return it.
174 2000-07-22 Bruno Haible <haible@clisp.cons.org>
176 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
177 variables, copied_key and copied_salt, instead of boolean variables.
179 2000-07-24 Andreas Jaeger <aj@suse.de>
181 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
184 * grp/initgroups.c (initgroups_dyn_function): Renamed from
185 initgroups_function, adopted prototype for change from 2000-07-23.
186 (initgroups): Follow type change.
188 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
189 & PAGE_MASK case, reformat.
191 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
192 from stdin and setup environment.
194 2000-07-24 Andreas Schwab <schwab@suse.de>
196 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
198 2000-07-23 Ulrich Drepper <drepper@redhat.com>
200 * string/endian.h: Explain the _*_ENDIAN constant values a bit
201 more. Patch by scarlet@mit.edu [PR libc/1799].
203 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
206 * argp/argp-parse.c (parser_finalize): Reverse order in which
207 parsers are run for ARGP_KEY_END. [PR libc/1755].
209 * grp/initgroups.c (initgroups): Don't limit the possible number
210 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
211 the setgroups call while the call fails and descrease the number
212 of groups each round.
213 The name of the initgroups function in the NSS modules changed.
214 (compat_call): Adapt for dynamic resizing.
215 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
216 Implement dynamic resizing.
217 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
219 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
220 * hesiod/Versions: Change exported interface name.
221 * nis/Versions: Change exported interface name.
223 2000-07-23 Ulrich Drepper <drepper@redhat.com>
225 * locale/iso-639.def: Some errors corrected.
226 Patch by Keld Simonsen.
228 * include/limits.h: Update non-gcc portion.
229 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
231 2000-07-22 Mark Kettenis <kettenis@gnu.org>
233 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
234 program's data space, reallocate only the space that was just
235 deallocated to release its backing space.
237 2000-07-23 Ulrich Drepper <drepper@redhat.com>
239 * stdio-common/vfprintf.c (process_string_arg): For wide character
240 version, handle precision also correctly.
242 * nss/nss_files/files-hosts.c: Correct problem with three or more
243 entries with the same name.
245 * nss/nss_files/files-hosts.c: Implement multi handling.
246 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
248 2000-07-22 Ulrich Drepper <drepper@redhat.com>
250 * nss/nss_files/files-parse.c: Don't pollute namespace by using
253 * grp/Makefile: Change Makefiles and tests to run only when necessary.
254 * malloc/Makefile: Likewise.
255 * malloc/tst-mtrace.sh: Likewise.
256 * posix/Makefile: Likewise.
257 * posix/globtest.sh: Likewise.
258 * posix/wordexp-tst.sh: Likewise.
259 * string/Makefile: Likewise.
261 2000-07-22 Mark Kettenis <kettenis@gnu.org>
263 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
264 size instead of LC_ALL to take into account the new locale
267 2000-07-22 Ulrich Drepper <drepper@redhat.com>
269 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
270 remainders of hash table.
271 * locale/categories.def: Remove remainders of transliteration
273 * locale/langinfo.h: Likewise.
274 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
275 transliteration tables.
277 * locale/gen-translit.pl: New file.
278 * locale/C-translit.h.in: New file.
279 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
280 data pointers with data from this file.
281 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
283 Add rule to generate C-translit.h.
284 * intl/tst-translit.c (main): Update for now performed
287 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
288 (it's no input error).
289 * stdio-common/tstscanf.c: Add test case for format %f with input --.
290 * stdio-common/scanf12.c: Correct expected result for first scanf.
292 * stdio-common/vfprintf.c (process_string_arg): Correct handling
293 of multibyte character strings in %s format with precision.
295 2000-07-21 Ulrich Drepper <drepper@redhat.com>
297 * locale/programs/ld-collate.c (collate_read): Allow collating
298 symbols and elements be named in reorder-after instructions.
299 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
301 * locale/programs/ld-collate.c (handle_ellipsis): Test for
302 duplication with generated name, not the name of the first
304 Patch by Yong Li <yong.li@asu.edu>.
306 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
307 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
309 2000-07-21 Wolfram Gloger <wg@malloc.de>
311 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
312 allocations only if a non-main arena cannot be extended.
314 2000-07-21 Ulrich Drepper <drepper@redhat.com>
316 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
317 in DF_1_NODEFLIB handling.
319 2000-07-21 Andreas Jaeger <aj@suse.de>
321 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
324 * libio/fwide.c: Include <wchar.h> for prototype.
326 2000-07-21 Greg McGary <greg@mcgary.org>
328 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
329 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
330 Define in terms of chunk_at_offset.
331 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
332 (next_bin, prev_bin): offset by size of real array elements.
333 (chunk_align): Make `m' a scalar, since that's how it's used.
335 2000-07-21 Greg McGary <greg@mcgary.org>
337 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
339 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
340 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
341 Wrap bounds around argv & envp and each of their string members.
342 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
343 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
344 symbol in BP_SYM (). Discard bounds of address arg.
345 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
347 Discard bounds on address arg, add bounds to return value.
349 2000-07-20 Ulrich Drepper <drepper@redhat.com>
351 * elf/Makefile (tests): Add filter. Add rules to generate filter.
352 * elf/filter.c: New file.
353 * elf/filtmod1.c: New file.
354 * elf/filtmod2.c: New file.
356 * elf/rtld.c: Define _dl_bind_not variable.
357 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
358 * elf/dl-support.c: Likewise.
359 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
360 * elf/dl-runtime.c (fixup): Don't remember looked up value if
362 (profile_fixup): Likewise.
364 * libio/Makefile (routines): Add fwide.
365 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
366 fwide now. Internal calls to _IO_fwide must do locking themselves
367 or don't need locking.
368 * libio/fwide.c: New file.
370 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
372 * elf/Makefile: Add no modules for nodelete test.
373 * elf/nodelmod3.c: New file.
374 * elf/nodelmod4.c: New file.
375 * elf/nodelete.c: Also test case where dependency of dlopen() object
378 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
379 * elf/nodlopen.c: New file.
380 * elf/nodlopenmod.c: New file.
381 * include/dlfcn.h: Define __RTLD_DLOPEN.
382 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
383 and this is a dlopen() call, do not load the binary.
384 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
385 * dlfcn/dlopenold.c: Likewise.
386 * configure.in: Add test for -z nodelete option.
387 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
389 2000-07-20 Mark Kettenis <kettenis@gnu.org>
391 Make Hesiod NSS module thread-safe.
393 * hesiod/README.hesiod: Update.
395 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
396 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
397 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
398 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
400 * hesiod/nss_hesiod/hesiod-init.c: New file.
401 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
402 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
403 * hesiod/nss_hesiod/nss_hesiod.h: New file.
404 * hesiod/nss_hesiod/hesiod-service.c
405 (_nss_hesiod_getservbyport_r): New function. Provide support for
406 looking up services by port number.
407 * hesiod/nss_hesiod/hesiod-proto.c: New file.
409 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
410 * hesiod/hesiod.h: Likewise.
411 * hesiod/hesiod_p.h: Likewise.
413 2000-07-20 Mark Kettenis <kettenis@gnu.org>
415 Fix problems with `struct __res_state' getting too big.
416 * resolv/resolv.h (struct __sockaddr_in): New definition.
417 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
418 the private parts of the structure to save some space.
419 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
420 (struct sockaddr_in *) in call to sock_eq.
421 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
423 2000-07-20 Ulrich Drepper <drepper@redhat.com>
425 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
426 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
428 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
429 to _dl_map_object. Return immediately if no object loaded.
430 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
431 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
432 if it exists into l_flags_1 word.
433 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
434 it to determine whether loading is wanted or not.
435 (_dl_map_object): Likewise.
436 Call _dl_map_object_from_fd with new parameter.
437 * sysdeps/generic/ldsodefs.h: Update prototype.
438 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
439 * elf/rtld.c: Likewise.
440 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
441 * elf/Makefile (tests): Add noload. Add rules to generate noload.
442 * elf/noload.c: New file.
443 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
444 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
445 * sysdeps/mips/bits/dlfcn.h: Likewise.
446 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
447 (tests-nodelete-yes): Define.
448 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
449 Add rules to build nodelete and modules.
450 * elf/nodelete.c: New file.
451 * elf/nodelmod1.c: New file.
452 * elf/nodelmod2.c: New file.
453 * configure.in: Add test for -z nodelete option.
454 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
456 * libio/Makefile (tests): Add tst_wprintf2.
457 (tst_wprintf2-ARGS): Define.
458 * libio/tst_wprintf2.c: New file.
459 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
461 * libio/wfiledoalloc.c: Only allocate external buffer if this
464 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
465 something in the buffer. gconv call can write up to end of the
466 buffer, not only _IO_write_end.
467 (_IO_wfile_overflow): Allocate also external buffer.
469 2000-07-19 Ulrich Drepper <drepper@redhat.com>
471 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
472 strings with precision in vfwprintf correctly.
473 * stdio-common/vfprintf.c: Fix completely broken handling of
474 unbuffered wide character streams.
475 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
477 * resolv/Makefile (distribute): Add README.
479 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
481 2000-07-18 Mark Kettenis <kettenis@gnu.org>
483 Update resolver code to BIND 8.2.3-T5B.
485 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
487 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
488 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
490 * resolv/Banner: BIND-8.2.3-T5B.
492 * resolv/base64.c: Update from BIND 8.2.3-T5B.
493 * resolv/herror.c: Likewise.
494 * resolv/inet_addr.c: Likewise.
495 * resolv/inet_net_ntop.c: Likewise.
496 * resolv/inet_net_pton.c: Likewise.
497 * resolv/inet_neta.c: Likewise.
498 * resolv/inet_ntop.c: Likewise.
499 * resolv/nsap_addr.c: Likewise.
500 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
501 IPv6 addresses (ISC bug #520).
503 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
504 * resolv/ns_parse.c: Likewise.
505 * resolv/ns_netint.c: Likewise.
506 * resolv/ns_samedomain.c: Likewise.
507 * resolv/ns_ttl.c: Likewise.
508 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
509 RCS ID in object file.
511 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
512 * resolv/res_mkquery.c: Likewise.
513 * resolv/res_query.c: Likewise.
514 * resolv/res_init.c: Likewise.
515 (res_setoptions): Mark internal.
516 * resolv/res_send.c: Likewise.
517 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
518 by using poll instead.
519 * resolv/res_comp.c: Likewise.
520 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
521 weak alias for __dn_expand.
522 * resolv/res_data.c: Likewise.
523 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
524 in _res.options. Avoids a potential security risk by avoiding a
526 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
527 res_mkquery, res_query, res_querydomain adn res_search weak
528 aliases for __res_mkquery, __res_query, __res_querydomain and
530 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
531 instead to avoid close(0).
532 (res_init): Always use the static resolver context.
533 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
534 alias for __res_init.
536 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
537 RES_SET_H_ERRNO and accompanying comment to...
538 * include/resolv.h: ... here.
540 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
541 * resolv/arpa/nameser_compat.h: Likewise.
543 2000-07-18 Ulrich Drepper <drepper@redhat.com>
545 * nss/makedb.c (main): Compare result of load_db with
546 NSS_STATUS_SUCCESS and not 0.
547 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
549 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
551 2000-07-18 Greg McGary <greg@mcgary.org>
553 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
554 (EXTEND_BUFFER): Use it.
556 2000-07-18 Ulrich Drepper <drepper@redhat.com>
558 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
559 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
560 __builtin_return_address.
561 * dlfcn/dlopenold.c: Likewise.
562 * dlfcn/dlsym.c: Likewise.
563 * dlfcn/dlvsym.c: Likewise.
564 * elf/dl-profstub.c: Likewise.
565 * malloc/malloc.c: Likewise.
566 * sysdeps/generic/machine-gmon.h: Likewise.
567 Based on a patch by schwidefsky@de.ibm.com.
569 2000-07-18 Andreas Jaeger <aj@suse.de>
571 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
572 NULL to elf_machine_fixup_plt t argument to silence GCC.
574 * include/string.h: Add prototype for __memchr.
576 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
578 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
581 2000-07-18 Ulrich Drepper <drepper@redhat.com>
583 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
585 * locale/C-ctype.c: Add initializers for gap elements.
586 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
589 2000-07-16 Ulrich Drepper <drepper@redhat.com>
591 * nscd/nscd.c (print_version): Update copyright year.
593 2000-07-17 Greg McGary <greg@mcgary.org>
595 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
596 keyletters F, I, S, W. Remove unused keyletter V. Surround
597 signature argnames with angle-brackets for use as word delimiters,
598 and to induce syntax errors for any args not handled. Split
599 multi-echo echoes and comment each stage.
600 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
601 * sysdeps/unix/inet/syscalls.list: Likewise.
602 * sysdeps/unix/mman/syscalls.list: Likewise.
603 * sysdeps/unix/syscalls.list: Likewise.
604 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
605 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
606 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
607 * sysdeps/unix/sysv/syscalls.list: Likewise.
608 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
610 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
611 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
612 qualifiers. Don't check NULL-terminator of argv & envp.
613 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
614 unbounded pointer type in word-size assertion.
615 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
616 cases to stifle warnings.
618 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
620 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
622 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
623 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
626 * Makerules (o-objects): Supplement with $(o-objects$o).
627 * string/Makefile (o-objects.ob): Add variable to pull
628 unbounded versions of memcpy, memset and memchr into libc_b.
630 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
631 rather than non-existent __ubp_memchr.
632 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
633 (_CHECK_STRING, _CHECK_N): New macros.
634 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
635 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
636 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
637 Add weak alias "memchr".
638 * sysdeps/generic/memchr.c: Likewise.
639 * sysdeps/i386/memchr.S: Likewise.
640 * sysdeps/ia64/memchr.S: Likewise.
641 * sysdeps/m68k/memchr.S: Likewise.
642 * sysdeps/sparc/sparc32/memchr.S: Likewise.
643 * sysdeps/sparc/sparc64/memchr.S: Likewise.
644 * sysdeps/vax/memchr.s: Likewise.
646 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
648 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
649 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
650 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
651 __BOUNDED_POINTERS__.
652 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
653 for __BOUNDED_POINTERS__.
655 2000-07-17 Bruno Haible <haible@clisp.cons.org>
657 * iconv/gconv_open.c (__gconv_open): Initialize the __data
658 field of struct __gconv_trans_data differently. Don't pass NULL to
659 trans_init_fct. Simplify list append operation.
661 2000-07-14 Bruno Haible <haible@clisp.cons.org>
663 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
664 not only those having tsearch.
666 2000-07-17 Ulrich Drepper <drepper@redhat.com>
668 * locale/langinfo.h: Add placeholder values in enum for removed
671 2000-07-17 Jakub Jelinek <jakub@redhat.com>
673 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
674 chain if the PHDR check fails.
676 2000-07-17 Mark Kettenis <kettenis@gnu.org>
678 * nss/getent.c (print_hosts): Make sure we always print a space
679 between numeric addresses and hostnames.
681 2000-07-17 Wolfram Gloger <wg@malloc.de>
683 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
684 i.e. if n_mmaps_max>0.
686 2000-07-16 Mark Kettenis <kettenis@gnu.org>
688 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
689 values to remove possible clash with other AI_* constants.
690 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
691 hexadecimal constants to stress the fact they're in fact
694 2000-07-15 Mark Kettenis <kettenis@gnu.org>
696 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
697 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
700 2000-07-16 Ulrich Drepper <drepper@redhat.com>
702 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
703 parameters of memset calls to avoid warnings.
705 2000-07-15 Ulrich Drepper <drepper@redhat.com>
707 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
710 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
711 Patch by Greg McGary <greg@mcgary.org>.
713 * io/Makefile (tests): Add tst-getcwd.
714 * io/tst-getcwd.c: New file.
716 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
718 2000-07-15 Jakub Jelinek <jakub@redhat.com>
720 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
723 2000-07-13 Jakub Jelinek <jakub@redhat.com>
725 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
726 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
728 2000-07-12 H.J. Lu <hjl@gnu.org>
730 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
732 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
733 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
734 (sysdep-routines): Add clone2.
735 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
737 2000-07-13 Jes Sorensen <jes@linuxcare.com>
739 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
740 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
742 2000-06-05 David Mosberger <davidm@hpl.hp.com>
744 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
745 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
746 Change type of si_band from "int" to "long".
747 (si_imm) [USE_GNU]: Define
748 (si_isr) [USE_GNU]: Ditto.
749 (ILL_BREAK) [USE_GNU]: Ditto.
750 (FPE_DECOVF) [USE_GNU]: Ditto.
751 (FPE_DECDIV) [USE_GNU]: Ditto.
752 (FPE_DECERR) [USE_GNU]: Ditto.
753 (FPE_INVASC) [USE_GNU]: Ditto.
754 (FPE_INVDEC) [USE_GNU]: Ditto.
755 (TRAP_BRANCH) [USE_GNU]: Ditto.
756 (TRAP_HWBKPT) [USE_GNU]: Ditto.
758 2000-07-06 Jes Sorensen <jes@linuxcare.com>
760 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
761 bits/sigcontext as struct mcontext does not depend on it.
763 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
765 2000-07-04 Jes Sorensen <jes@linuxcare.com>
767 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
769 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
771 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
773 2000-06-22 Jes Sorensen <jes@linuxcare.com>
775 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
777 2000-07-15 Ulrich Drepper <drepper@redhat.com>
779 * intl/Makefile (test-srcs): Add tst-translit.
781 Add rules to build and run tst-translit.
782 * intl/tst-translit.c: New file.
783 * intl/tst-translit.sh: New file.
784 * intl/translit.po: New file.
786 2000-07-14 Ulrich Drepper <drepper@redhat.com>
788 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
789 transliteration function did its job, continue, don't stop.
791 * iconvdata/iso646.c: Little optimizations in body for conversion
794 2000-07-14 Mark Kettenis <kettenis@gnu.org>
796 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
798 2000-07-14 Mark Kettenis <kettenis@gnu.org>
800 * configure.in: Check for pwd binary.
801 * config.make.in: Add PWD_P to be subsituted.
802 * Makerules: Use $(PWD_P) instead of /bin/pwd.
804 2000-07-14 Ulrich Drepper <drepper@redhat.com>
806 * iconvdata/Makefile (modules): Add GB18030.
807 (distribute): Add gb18030.c.
808 * iconvdata/gconv-modules: Add entries for GB18030 module.
809 * iconvdata/gb18030.c: New file.
810 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
813 2000-07-13 Andreas Jaeger <aj@suse.de>
815 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
818 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
819 * inet/getnetgrent.c (free_mem): Likewise.
820 * misc/mntent.c (free_mem): Likewise.
821 * nss/getXXbyYY.c (free_mem): Likewise.
822 * nss/getXXent.c (free_mem): Likewise.
823 * pwd/fgetpwent.c (free_mem): Likewise.
824 * shadow/fgetspent.c (free_mem): Likewise.
826 2000-07-14 Ulrich Drepper <drepper@redhat.com>
828 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
829 64-bit architecture correctly [PR libc/1794].
831 2000-07-13 Ulrich Drepper <drepper@redhat.com>
833 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
834 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
835 report that we are out of memory.
836 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
837 * elf/dl-libc.c (dlerror_run): Likewise.
838 * elf/dl-open.c (_dl_open): Likewise.
839 * elf/rtld.c (dl_main): Likewise.
840 * elf/dl-error.c: Define _dl_out_of_memory.
841 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
843 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
846 * dlfcn/dlerror.c (free_key_mem): Also free error string.
848 * iconv/loop.c: Fix comment.
850 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
852 2000-07-13 Andreas Jaeger <aj@suse.de>
854 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
855 getcwd (NULL, size) with size > 0.
856 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
858 2000-07-13 Andreas Jaeger <aj@suse.de>
860 * posix/Makefile: Remove build rules for libposix.
862 2000-07-13 Andreas Schwab <schwab@suse.de>
864 * sysdeps/generic/glob.c (glob): Fix memory leak.
865 [SHELL]: Remove reference to undefined variable `files'.
868 2000-07-13 Andreas Jaeger <aj@suse.de>
870 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
873 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
874 memory if it was allocated.
876 2000-07-12 Ulrich Drepper <drepper@redhat.com>
878 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
881 * iconv/gconv_open.c (__gconv_open): Reapply
882 2000-07-12 Bruno Haible <haible@clisp.cons.org>
884 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
886 * iconv/gconv_open.c: Undo last two changes for now. They break
889 2000-07-12 Andreas Jaeger <aj@suse.de>
891 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
893 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
894 (CFLAGS-dl-cache.c): Likewise.
895 (CFLAGS-ldconfig.c): Added, passes directory locations.
897 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
899 * elf/ldconfig.c (LD_SO_CONF): Likewise.
900 (main): Use configured LIBDIR and SLIBDIR.
902 2000-07-11 Jakub Jelinek <jakub@redhat.com>
904 * math/bits/cmathcalls.h (cimag): Add __THROW.
905 (creal, conj): Likewise.
906 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
909 2000-07-12 H.J. Lu <hjl@gnu.org>
911 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
912 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
914 2000-07-12 Ulrich Drepper <drepper@redhat.com>
916 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
919 2000-07-12 Bruno Haible <haible@clisp.cons.org>
921 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
923 2000-07-12 Bruno Haible <haible@clisp.cons.org>
925 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
928 2000-07-12 Bruno Haible <haible@clisp.cons.org>
930 * iconv/gconv_open.c (__gconv_open): Initialize
931 result->__steps[cnt].__data.
933 2000-07-12 Mark Kettenis <kettenis@gnu.org>
935 * nss/getent.c (services_keys): Pass port number in network byte
936 order in call to getservbyport.
938 2000-07-11 Andreas Jaeger <aj@suse.de>
940 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
942 * intl/Makefile (do-gettext-test): Likewise.
943 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
945 2000-07-11 Andreas Schwab <schwab@suse.de>
947 * Makeconfig (run-program-prefix): New rule.
948 (built-program-cmd): Use run-program-prefix.
950 2000-07-12 Ulrich Drepper <drepper@redhat.com>
952 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
953 and NOEXPR unconditionally available.
955 2000-07-12 Greg McGary <greg@mcgary.org>
957 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
958 * sysdeps/posix/open64.c: Likewise.
959 * sysdeps/generic/fegetenv.c: Likewise.
960 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
961 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
962 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
963 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
964 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
965 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
967 2000-07-11 Greg McGary <greg@mcgary.org>
969 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
970 Add extra level of macro expansion.
971 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
972 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
973 is available at the time `select' prototype is declared.
974 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
975 Collect non-versioned weak aliases. Consider only non-versioned
976 aliases for the user-visible systemcall name. Do checks inline with
977 call to primitive system call.
978 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
979 stand-alone bounds checks to suppress unused value warnings.
980 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
982 2000-07-10 Mark Kettenis <kettenis@gnu.org>
984 * sysdeps/mach/hurd/check_fds.c: New file. Implements
985 file descriptor checking in SUID programs for the Hurd.
987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
988 res_hostalias instead of __hostalias for thread-safety.
990 2000-07-09 Mark Kettenis <kettenis@gnu.org>
992 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
993 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
995 2000-07-10 Ulrich Drepper <drepper@redhat.com>
997 * include/features.h: Include ISO C99 features if the compiler used
998 is an ISO C99 compiler.
999 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1001 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1003 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1005 2000-07-10 Andreas Jaeger <aj@suse.de>
1007 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1008 it's overridden by libpthreads.
1009 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1010 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1011 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1015 * malloc/Makefile: Run tst-mtrace only with shared libs.
1017 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1020 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1022 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1023 that gpreg really points to the GOT section of the calling object.
1024 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1025 checking a start address of first one.
1027 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1030 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1032 2000-07-10 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1035 (string_alias->strong_alias).
1037 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1039 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1041 2000-07-07 Greg McGary <greg@mcgary.org>
1043 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1044 have no names without leading underscores.
1046 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1048 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1051 * stdio-common/Makefile (tests): Remove tst-printf here...
1052 (tests-srcs): ...and add it here.
1053 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1054 Add rules to run tst-printf.sh.
1055 * stdio-common/tst-printf.c: Move code around so that there is really
1056 no further output where it's stated.
1057 * stdio-common/tst-printf.sh: New file.
1059 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1061 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1062 (do_write): Renamed from pwrite.
1063 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1064 `struct _IO_cookie_file'.
1066 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1068 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1070 * malloc/tst-mtrace.sh: Run mtrace script.
1072 2000-07-07 Greg McGary <greg@mcgary.org>
1074 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1075 Move all three components of a bounded pointer.
1077 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1079 * locale/programs/locale.c (write_locales): Don't simply add all
1080 directories found in the subdir, test whether at least the
1081 LC_CTYPE file is in there.
1083 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1085 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1086 * iconvdata/euc-kr.c: Likewise.
1088 * stdio-common/vfprintf.c (process_string_arg): Check result of
1089 wcrtomb call and bail out if it failed.
1091 * malloc/Makefile (test-srcs): Add tst-mtrace.
1092 (distribute): Add tst-mtrace.sh.
1093 Add rule to run tst-mtrace.sh.
1094 * malloc/tst-mtrace.c: New file.
1095 * malloc/tst-mtrace.sh: New file.
1097 * include/signal.h: Declare __libc_sigaction.
1098 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1099 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1100 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1101 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1102 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1103 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1106 * configure.in: Fix CFLAGS-memprofstat.c definition after
1108 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1110 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1113 instead of NULL to elf_machine_fixup_plt t argument.
1114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1115 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1118 2000-07-06 Andreas Jaeger <aj@suse.de>
1120 * crypt/Makefile (LDLIBS-cert): Removed.
1121 (LDLIBS-md5c-test): Removed.
1122 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1123 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1125 2000-07-06 Andreas Jaeger <aj@suse.de>
1127 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1128 of the proc system is "proc".
1130 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1131 thread library for static programs.
1133 2000-07-06 Greg McGary <greg@mcgary.org>
1135 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1137 * sysdeps/generic/strcpy.c: Add bounds checks.
1138 * sysdeps/unix/fxstat.c: Likewise.
1139 * sysdeps/unix/xstat.c: Likewise.
1140 * sysdeps/unix/common/lxstat.c: Likewise.
1141 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1142 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1143 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1144 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1145 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1146 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1147 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1148 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1149 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1150 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1151 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1152 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1153 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1154 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1155 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1156 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1157 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1158 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1159 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1160 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1161 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1162 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1163 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1164 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1165 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1166 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1167 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1168 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1169 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1170 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1171 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1172 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1173 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1174 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1175 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1176 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1177 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1178 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1179 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1180 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1182 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1183 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1184 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1185 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1186 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1187 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1188 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1189 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1190 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1191 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1192 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1193 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1194 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1195 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1196 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1197 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1198 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1199 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1200 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1204 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1206 * string/endian.h (__LONG_LONG_PAIR): New macro.
1207 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1208 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1209 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1210 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1211 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1212 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1213 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1214 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1215 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1216 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1217 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1218 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1220 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1222 2000-07-06 Andreas Jaeger <aj@suse.de>
1224 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1227 * math/test-fpucw.c: Include <stdio.h> for printf.
1229 2000-07-05 Greg McGary <greg@mcgary.org>
1231 * sysdeps/generic/bp-checks.h: New file.
1232 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1233 with list of #include files.
1234 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1235 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1236 Don't generate BP thunk if `V' appears in signature.
1237 Generate thunks with complete bounds checks.
1238 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1239 * sysdeps/unix/inet/syscalls.list: Likewise.
1240 * sysdeps/unix/mman/syscalls.list: Likewise.
1241 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1242 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1246 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1248 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1249 result. Search first in /etc/mtab (proc/mounts would be stupid).
1250 If mount not in the file fall back on /proc.
1252 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1253 string got copied in.
1254 Patch by Solar Designer <solar@false.com>.
1256 2000-07-05 Andreas Jaeger <aj@suse.de>
1258 * manual/install.texi (Installation): Update information about
1260 (Configuring and compiling): Update for glibc 2.2.
1262 2000-07-04 Andreas Jaeger <aj@suse.de>
1264 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1265 (_FPU_IEEE): Likewise.
1267 * math/Makefile (tests): Add test-fpucw.
1269 * math/test-fpucw.c (main): New file.
1271 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1273 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1275 * locale/programs/ld-collate.c (collate_output): Also write out the
1276 collation sequence values and the wide character string for the
1277 collation symbol table.
1279 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1280 * posix/fnmatch_loop.c: Implement collating symbol handling.
1281 * posix/tst-fnmatch.input: Add more tests, especially for collating
1284 * posix/regex.c: Fix comment.
1286 2000-07-05 Andreas Jaeger <aj@suse.de>
1288 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1289 (_FPU_GETCW): Remove extra colon.
1290 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1292 * posix/fnmatch_loop.c (FCT): Only declare len if
1293 !WIDE_CHAR_VERSION to silence GCC.
1295 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1297 * sysdeps/generic/strchrnul.c: Likewise.
1298 * sysdeps/generic/strlen.c: Likewise.
1299 * sysdeps/generic/strchr.c: Likewise.
1300 * sysdeps/generic/memchr.c: Likewise.
1302 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1304 * posix/fnmatch_loop.c: Implement equivalence class handling.
1305 * posix/tst-fnmatch.input: Add tests for equivalence class
1308 * posix/fnmatch_loop.c: Improve performance for single-byte
1309 character sets by not using btowc.
1311 * posix/tst-fnmatch.input: Add tests for locale dependent
1313 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1315 * posix/tst-fnmatch.input: Add more test cases.
1317 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1318 are not aligned to alignof(md5_uint32) do it before calling
1319 __md5_process_bytes.
1320 * crypt/md5.c: Make sure buffers are aligned.
1321 * crypt/md5.h: Likewise.
1322 Reported by Solar Designer <solar@false.com>.
1324 * crypt/Makefile: Add dependencies for test programs.
1326 * Rules: Define LC_ALL=C in environments of all programs we run.
1328 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1330 2000-07-03 H.J. Lu <hjl@gnu.org>
1332 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1333 is 2 + elem + offset, not 2 + elem + offset + 2.
1335 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1337 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1339 * posix/Makefile (tests): Add tst-fnmatch.
1340 (tst-fnmatch-ENV): Define.
1341 * posix/tst-fnmatch.c: New file.
1342 * posix/tst-fnmatch.sh: New file.
1344 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1346 * locale/programs/charmap.c (charmap_read): Prepend
1347 the condition filename == NULL.
1349 2000-07-03 Greg McGary <greg@mcgary.org>
1351 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1353 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1354 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1356 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1357 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1358 (FILEBUF_LITERAL): Add cast for CHAIN init.
1359 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1360 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1361 Revert type of `fp' to _IO_FILE*.
1362 (_IO_iter_file): Remove cast.
1363 (_IO_iter_next): Elide intermediate member reference.
1365 * sysdeps/powerpc/strchr.S: Check bounds.
1366 Wrap extern symbols in BP_SYM ().
1368 2000-07-03 Andreas Jaeger <aj@suse.de>
1370 * dlfcn/Makefile (generated): New.
1372 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1374 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1375 (__uflow): Likewise.
1376 (__underflow): Likewise.
1377 * libio/wgenops.c (__wunderflow): Likewise.
1378 * stdio-common/tst-unbputc.c: New file.
1379 * stdio-common/tst-unbputc.sh: New file.
1380 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1382 * po/en_GB.po: New file.
1383 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1385 2000-07-01 Andreas Jaeger <aj@suse.de>
1387 * intl/Makefile (generated-dirs): New.
1389 * elf/Makefile (generated): trusted-dirs.h is always generated,
1390 move out of build-shared condition.
1391 (generated): Merge the two entries for build-shared.
1393 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1395 * debug/Makefile (distribute): Add xtrace.sh.
1397 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1399 * version.h (VERSION): Bump to 2.1.91.
1401 * configure.in: Update warning comment. glibc should not be
1404 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1405 ioperm.c, sys/procfs.h, and sys/io.h.
1407 * sysdeps/powerpc/Dist: Add bp-asm.h.
1409 * assert/Depend: Add localedata.
1410 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1411 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1413 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1414 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1415 relocation address to prevent unaligned trap.
1416 Suggested by Richard Henderson <rth@cygnus.com>.
1418 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1420 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1421 if redirecting and either redirection is done using defines or
1424 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1426 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1427 generated expressions.
1428 Patch by Darren McClelland <dmcclell@zetec.com>.
1430 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1431 since zic uses setlocale and gettext but we cannot make it use the
1432 new locale data since zic calls a shell which might not use the
1435 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1436 handling the internation currency symbol. POSIX says that the
1437 fourth character is used to separate the currency symbol from the
1438 value. Therefore it does not have to be printed. But we cannot
1439 remove the space if the currency symbol is printed before the
1440 number since this is what many locales expect.
1442 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1443 whether this information is available.
1445 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1446 buffers in case the translation is too large. Remember allocated
1447 memory blocks in a list.
1448 (free_mem): Free memory for translations.
1450 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1452 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1453 information is available set the string length to zero.
1455 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1457 2000-06-30 Greg McGary <greg@mcgary.org>
1459 * sysdeps/powerpc/bp-asm.h: New file.
1460 * sysdeps/powerpc/__longjmp.S: Check bounds.
1461 Wrap extern symbols in BP_SYM ().
1462 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1463 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1464 * sysdeps/powerpc/setjmp.S: Likewise.
1465 * sysdeps/powerpc/add_n.S: Likewise.
1466 * sysdeps/powerpc/addmul_1.S: Likewise.
1467 * sysdeps/powerpc/lshift.S: Likewise.
1468 * sysdeps/powerpc/rshift.S: Likewise.
1469 * sysdeps/powerpc/mul_1.S: Likewise.
1470 * sysdeps/powerpc/sub_n.S: Likewise.
1471 * sysdeps/powerpc/submul_1.S: Likewise.
1472 * sysdeps/powerpc/strlen.S: Likewise.
1473 * sysdeps/powerpc/memset.S: Likewise.
1474 * sysdeps/powerpc/stpcpy.S: Likewise.
1475 * sysdeps/powerpc/strcmp.S: Likewise.
1476 * sysdeps/powerpc/strcpy.S: Likewise.
1477 * sysdeps/powerpc/elf/bzero.S: Likewise.
1479 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1480 Line up operands column with tabs.
1482 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1484 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1486 * sysdeps/ia64/htonl.S: New file.
1487 * sysdeps/ia64/htons.S: New file.
1488 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1489 floating point registers.
1490 Patches by Dan Pop <Dan.Pop@cern.ch>.
1492 2000-06-30 Andreas Jaeger <aj@suse.de>
1494 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1497 * io/Makefile (CFLAGS-test-lfs.c): New.
1498 (tests): Add test-lfs.
1500 * io/test-lfs.c: New file.
1502 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1504 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1507 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1509 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1511 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1513 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1514 alias to the fstatfs call.
1516 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1517 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1519 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1520 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1522 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1523 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1524 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1525 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1527 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1528 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1530 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1531 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1533 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1534 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1536 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1538 2000-06-29 Andreas Jaeger <aj@suse.de>
1540 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1542 (print_err_message): Likewise.
1543 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1545 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1547 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1548 used as words is properly aligned.
1550 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1553 2000-06-29 Greg McGary <greg@mcgary.org>
1555 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1556 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1557 length 7..9, just in case...
1558 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1560 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1561 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1562 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1563 (PUSH_SIGNAL_MASK): New macro.
1564 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1565 LEAVE is unnecessary. Check bounds of jmp_buf.
1566 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1567 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1568 immediately before tail-call.
1569 * sysdeps/i386/setjmp.S: Likewise.
1570 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1571 * sysdeps/i386/bsd-setjmp.S: Likewise.
1573 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1575 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1577 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1578 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1579 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1580 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1581 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1582 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1584 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1586 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1588 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1589 we later need to calling free().
1590 Patch by Matt Wilson <msw@redhat.com>.
1592 * stdio-common/tst-printf.c: Add test for above problem.
1594 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1596 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1597 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1599 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1601 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1602 prototype for abs().
1603 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1605 2000-06-23 Andreas Jaeger <aj@suse.de>
1607 * config.h.in: Don't use regparm with bounded pointers.
1609 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1611 * stdlib/grouping.h: Correctly handle multibyte thousands
1612 separator and decimal point.
1613 * stdlib/stdtod.c: Likewise.
1614 * sysdeps/generic/strtol.c: Likewise.
1616 * locale/categories.def: Add entries for wide character decimal point
1617 and thousands separator in numeric and monetary category.
1619 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1621 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1622 second definition and initialization of decimal.
1624 2000-06-28 Greg McGary <greg@mcgary.org>
1626 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1628 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1629 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1631 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1632 (struct _IO_FILE_plus *).
1633 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1634 THIS, since _IO_JUMPS no longer does it implicitly.
1635 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1636 arg type as (struct _IO_FILE_plus *).
1637 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1638 arg as (_IO_strfile *).
1639 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1640 Declare 1st arg as (_IO_strfile *).
1641 * libio/fileops.c (_IO_new_file_init): Declare
1642 arg type as (struct _IO_FILE_plus *).
1643 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1644 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1645 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1646 Declare iteration pointer as (struct _IO_FILE_plus *).
1647 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1648 (struct _IO_FILE_plus *).
1649 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1650 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1651 (_IO_check_libio): Set user-visible handles to
1652 (struct _IO_FILE_plus *).
1653 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1654 to (struct _IO_FILE_plus *).
1656 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1657 whose high bound includes vtable to all functions that will use
1658 vtable. For streambufs, pass pointer whose bounds include struct
1660 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1661 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1662 * libio/iofopen.c (_IO_new_fopen): Likewise.
1663 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1664 * libio/iofopen64.c (_IO_fopen64): Likewise.
1665 * libio/iopopen.c (_IO_new_popen): Likewise.
1666 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1667 * libio/memstream.c (open_memstream): Likewise.
1668 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1669 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1670 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1671 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1672 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1673 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1674 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1675 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1676 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1677 * stdlib/strfmon.c (__strfmon_l): Likewise.
1678 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1679 (vfprintf): Qualify computed-goto targets as unbounded.
1681 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1683 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1684 thousands separator correctly.
1686 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1687 * stdio-common/vfwscanf.c: Likewise.
1689 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1691 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1692 count into signatures for most calls.
1694 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1696 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1697 the generic parser now.
1699 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1701 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1702 table entries are 32 bit on the ia64 (as specified by the ABI),
1703 not 64 bit as on the Alpha.
1705 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1706 change of objects to use 32 bit hash table indices (see above).
1708 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1710 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1711 prototype for abs().
1713 2000-06-28 Wolfram Gloger <wg@malloc.de>
1715 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1716 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1717 may have been reached.
1719 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1721 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1722 symbols in multi-character weights correctly.
1724 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1725 depending on whether the input string is empty or not.
1727 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1728 given state and not avoiding this by modifying a local object.
1729 * wcsmbs/wcrtomb.c: Likewise.
1731 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1732 object since some incomplete characters might be in there.
1734 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1735 sequences with first byte 0x8e correctly.
1737 * iconvdata/jis0208.h: Remove redundant test.
1739 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1741 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1742 Add it where it is needed now.
1744 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1745 the input charset into account when generating the hash table.
1746 (allocate_arrays): Correct setting default width. Not all empty slots
1747 in the table are filled, only those not covert explicitly by the
1748 locale description and in the charset.
1750 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1751 return values from the wctrans function.
1753 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1754 wide character version.
1755 For %C handling, test correct pointer variable for NULL.
1757 * wcsmbs/wctob.c: Handle WEOF special.
1759 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1761 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1762 always-true test to avoid warning.
1764 2000-06-27 Greg McGary <greg@mcgary.org>
1766 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1767 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1768 (symbol_version, default_symbol_version): Factor redundant
1769 definitions out of conditional.
1771 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1773 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1776 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1778 * include/libc-symbols.h (symbol_version): Add extra level of
1780 (default_symbol_version): Likewise.
1782 2000-06-26 Greg McGary <greg@mcgary.org>
1784 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1785 for BP return value & push implicit struct-return pointer to
1787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1788 (SYSCALL_ERROR_HANDLER): Likewise.
1789 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1790 (SYSCALL_ERROR_HANDLER): Likewise.
1792 * Makeconfig: Add missing comment.
1793 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1794 BP-flavored startup object.
1795 ($(objpfx)b$(start-installed-name)): New rule.
1796 * include/libc-symbols.h (symbol_set_declare): Change type
1797 of `__start_##set' and `__stop_##set' to pointer-to-function.
1798 (symbol_set_declare): Change type of `set' to array of
1799 pointer-to-function.
1800 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1801 pointer-to-function.
1803 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1805 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1806 Remove clock_* and timer_* entries.
1807 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1808 arg-count with signatures.
1810 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1811 Check bounds of arguments.
1812 * sysdeps/i386/addmul_1.S: Likewise.
1813 * sysdeps/i386/lshift.S: Likewise.
1814 * sysdeps/i386/mul_1.S: Likewise.
1815 * sysdeps/i386/rshift.S: Likewise.
1816 * sysdeps/i386/sub_n.S: Likewise.
1817 * sysdeps/i386/submul_1.S: Likewise.
1818 * sysdeps/i386/i586/add_n.S: Likewise.
1819 * sysdeps/i386/i586/addmul_1.S: Likewise.
1820 * sysdeps/i386/i586/lshift.S: Likewise.
1821 * sysdeps/i386/i586/rshift.S: Likewise.
1822 * sysdeps/i386/i586/sub_n.S: Likewise.
1823 * sysdeps/i386/i686/add_n.S: Likewise.
1825 * sysdeps/i386/memchr.S: Likewise.
1826 * sysdeps/i386/memcmp.S: Likewise.
1827 * sysdeps/i386/rawmemchr.S: Likewise.
1828 * sysdeps/i386/i586/bzero.S: Likewise.
1829 * sysdeps/i386/i586/memcpy.S: Likewise.
1830 * sysdeps/i386/i586/mempcpy.S: Likewise.
1831 * sysdeps/i386/i586/memset.S: Likewise.
1832 * sysdeps/i386/i686/bzero.S: Likewise.
1833 * sysdeps/i386/i686/memcpy.S: Likewise.
1834 * sysdeps/i386/i686/mempcpy.S: Likewise.
1835 * sysdeps/i386/i686/memset.S: Likewise.
1837 * sysdeps/i386/stpcpy.S: Likewise.
1838 * sysdeps/i386/stpncpy.S: Likewise.
1839 * sysdeps/i386/strchr.S: Likewise.
1840 * sysdeps/i386/strchrnul.S: Likewise.
1841 * sysdeps/i386/strcspn.S: Likewise.
1842 * sysdeps/i386/strpbrk.S: Likewise.
1843 * sysdeps/i386/strrchr.S: Likewise.
1844 * sysdeps/i386/strspn.S: Likewise.
1845 * sysdeps/i386/strtok.S: Likewise.
1846 * sysdeps/i386/strtok_r.S: Likewise.
1847 * sysdeps/i386/i486/strcat.S: Likewise.
1848 * sysdeps/i386/i486/strlen.S: Likewise.
1849 * sysdeps/i386/i586/strchr.S: Likewise.
1850 * sysdeps/i386/i586/strcpy.S: Likewise.
1851 * sysdeps/i386/i586/strlen.S: Likewise.
1852 * sysdeps/i386/i686/strcmp.S: Likewise.
1853 * sysdeps/i386/i686/strtok.S: Likewise.
1854 * sysdeps/i386/i686/strtok_r.S: Likewise.
1856 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1857 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1858 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1859 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1860 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1862 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1863 * sysdeps/i386/mul_1.S: Likewise.
1864 * sysdeps/i386/submul_1.S: Likewise.
1865 * sysdeps/i386/i586/add_n.S: Likewise.
1866 * sysdeps/i386/i586/addmul_1.S: Likewise.
1867 * sysdeps/i386/i586/lshift.S: Likewise.
1868 * sysdeps/i386/i586/mul_1.S: Likewise.
1869 * sysdeps/i386/i586/rshift.S: Likewise.
1870 * sysdeps/i386/i586/sub_n.S: Likewise.
1871 * sysdeps/i386/i586/submul_1.S: Likewise.
1873 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1875 * rt/Makefile (librt-routines): Add clock_nanosleep.
1876 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1877 * sysdeps/generic/clock_nanosleep.c: New file.
1878 * sysdeps/unix/clock_nanosleep.c: New file.
1879 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1880 * time/time.h: Declare clock_nanosleep.
1882 2000-06-26 Greg McGary <greg@mcgary.org>
1884 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1885 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1886 (ALIGN): Cleanup surrounding conditionals.
1888 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1889 Call ENTER/LEAVE macros.
1890 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1891 * sysdeps/i386/submul_1.S: Likewise.
1893 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1894 syntax. Define & use symbolic argument stack offsets. Call
1896 * sysdeps/i386/i586/mul_1.S: Likewise.
1897 * sysdeps/i386/i586/submul_1.S: Likewise.
1899 2000-06-25 Greg McGary <greg@mcgary.org>
1901 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1904 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1906 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1907 * iconvdata/gen-8bit-gap.sh: Likewise.
1908 * iconvdata/gen-8bit.sh: Likewise.
1910 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1912 * locale/programs/ld-collate.c (collate_read): Don't actually read
1913 the copy locale if we are ignoring the content.
1915 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1918 * locale/programs/ld-collate.c: Correct handling of different
1920 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1921 as extra parameter from which to copy category information.
1923 (load_locale): Likewise.
1924 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1926 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1927 * locale/programs/locfile.h: Likewise.
1928 * locale/programs/locfile-kw.gperf: Add entry for script.
1929 * locale/programs/locfile-token.h: Add tok_script.
1931 * locale/programs/locale.c: Update copyright year.
1932 * locale/programs/localedef.c: Likewise.
1934 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1936 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1937 Jens Moeller <jens.moeller@waii.com>.
1939 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1941 * locale/programs/ld-name.c (name_finish): Add missing format
1942 specifier to test for name_fmt.
1944 * locale/programs/ld-address.c (iso639): Correct length of string
1946 (iso3166): Likewise.
1948 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1950 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1953 * elf/elf.h (NT_PRFPXREG): Define.
1955 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1957 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1958 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1960 2000-06-23 Andreas Schwab <schwab@suse.de>
1962 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1965 2000-06-23 Andreas Jaeger <aj@suse.de>
1967 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1969 * io/test-stat.c: Add copyright header, mention Maciej.
1971 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1972 SYS_mincore, SYS_madvise): Added.
1974 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1977 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1979 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1980 (CFLAGS-tst_putwc.c): New definition.
1981 * libio/tst_getwc.c: New file.
1982 * libio/tst_getwc.input: New file.
1983 * libio/tst_putwc.c: New file.
1985 * include/string.h: Add prototype for __strdup.
1987 2000-06-22 Greg McGary <greg@mcgary.org>
1989 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1990 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1993 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1995 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1997 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1999 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2001 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2003 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2004 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2006 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2008 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2009 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2011 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2012 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2013 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2014 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2015 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2016 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2017 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2018 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2019 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2020 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2021 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2022 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2023 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2024 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2027 2000-06-22 Andreas Jaeger <aj@suse.de>
2029 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2032 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2034 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2036 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2038 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2041 2000-06-21 Greg McGary <greg@mcgary.org>
2043 * Makerules (elide-routines.*, elide-bp-thunks):
2044 Define unconditionally.
2046 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2048 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2050 2000-06-21 Andreas Jaeger <aj@suse.de>
2052 * io/Makefile (tests): Add test-stat.
2053 (CFLAGS-test-stat.c): New.
2055 * io/test-stat.c: New file from Maciej W. Rozycki
2056 <macro@ds2.pg.gda.pl>.
2058 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2060 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2061 in __rlimit_resource to make them match the kernel order.
2062 rlim_t is always 64 bit, use __rlim64_t to declare it
2065 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2067 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2068 RLIM_INFINITY before defining it to avoid clash with kernel header
2070 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2072 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2074 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2076 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2078 2000-06-21 Andreas Jaeger <aj@suse.de>
2080 * stdio-common/temptest.c: Include <stdlib.h>.
2081 * stdio-common/tst-fileno.c: Likewise.
2082 * stdio-common/scanf4.c: Likewise.
2083 * stdio-common/scanf5.c: Likewise.
2084 * time/clocktest.c: Likewise.
2085 * posix/test-vfork.c: Likewise.
2086 * posix/globtest.c: Likewise.
2087 * io/test-utime.c: Likewise.
2088 * wctype/test_wcfuncs.c: Likewise.
2089 * crypt/cert.c: Likewise.
2091 * stdio-common/tst-printfsz.c: Include <string.h>.
2092 * libio/tst_swscanf.c: Likewise.
2093 * libio/tst_wscanf.c: Likewise.
2094 * posix/runtests.c: Likewise.
2095 * posix/tst-getaddrinfo.c: Likewise.
2096 * posix/wordexp-test.c: Likewise.
2097 * misc/tst-efgcvt.c: Likewise.
2099 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2100 * nss/test-netdb.c: Likewise.
2102 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2103 supported kernel for MIPS.
2105 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2106 * rt/aio_suspend.c: Likewise.
2108 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2110 * math/libm-test.inc: Include <string.h>.
2112 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2114 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2116 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2118 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2119 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2121 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2123 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2125 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2127 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2129 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2131 * locale/programs/ld-collate.c (insert_value): Now take string and
2132 length instead of struct token* parameter. Adjust use of token.
2133 (handle_ellipsis): Likewise.
2134 (collate_read): Allow <Uxxxx> names and transform them into names
2135 to be passed to insert_value and handle_ellipsis.
2137 * locale/programs/ld-ctype.c (uninames): New array with names of
2138 digits in <Uxxxxxxxx> format.
2139 (ctype_finish): Correct search for space character value. Likewise
2140 for default outdigits values.
2142 2000-06-20 Greg McGary <greg@mcgary.org>
2144 * Makerules (objects): Add BP thunks.
2146 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2148 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2149 in width definitions.
2151 2000-06-20 Andreas Jaeger <aj@suse.de>
2153 * sysdeps/mips/fpu/libm-test-ulps: New file.
2155 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2158 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2160 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2162 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2164 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2165 change in gconv_builtin.h.
2167 * malloc/Makefile: Change all references to memprof into memusage.
2168 * malloc/memprof.c: Rename to...
2169 * malloc/memusage.c: ...this. New file.
2170 * malloc/memprof.sh: Rename to...
2171 * malloc/memusage.sh: ...this. New file.
2172 * malloc/memprofstat.c: Rename to...
2173 * malloc/memusagestat.c: ...this. New file.
2174 * sysdeps/alpha/memprof.h: Rename to..
2175 * sysdeps/alpha/memusage.h: ...this. New file.
2176 * sysdeps/arm/memprof.h: Rename to..
2177 * sysdeps/arm/memusage.h: ...this. New file.
2178 * sysdeps/generic/memprof.h: Rename to..
2179 * sysdeps/generic/memusage.h: ...this. New file.
2180 * sysdeps/i386/memprof.h: Rename to..
2181 * sysdeps/i386/memusage.h: ...this. New file.
2182 * sysdeps/ia64/memprof.h: Rename to..
2183 * sysdeps/ia64/memusage.h: ...this. New file.
2184 * sysdeps/m68k/memprof.h: Rename to..
2185 * sysdeps/m68k/memusage.h: ...this. New file.
2186 * sysdeps/mips/memprof.h: Rename to..
2187 * sysdeps/mips/memusage.h: ...this. New file.
2188 * sysdeps/powerpc/memprof.h: Rename to..
2189 * sysdeps/powerpc/memusage.h: ...this. New file.
2190 * sysdeps/sparc/memprof.h: Rename to..
2191 * sysdeps/sparc/memusage.h: ...this. New file.
2192 * sysdeps/sh/memprof.h: Rename to..
2193 * sysdeps/sh/memusage.h: ...this. New file.
2195 * elf/sprof.c (print_version): Update year.
2197 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2198 table entry values. Use D_PTR.
2199 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2200 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2202 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2204 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2205 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2206 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2207 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2209 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2213 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2215 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2216 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2217 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2219 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2221 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2224 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2225 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2227 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2230 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2232 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2234 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2236 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2238 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2240 * iconv/gconv_int.h (strict gconv_module): Remove all members
2241 associated with regular expressions. Use a simple string as the
2243 * iconv/gconv_db.c: Remove code handling regular expressions.
2244 * iconv/gconv_conf.c: Likewise.
2245 * iconv/iconv_prog.c: Likewise.
2246 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2248 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2249 General namespace cleanup.
2250 (struct __gconv_trans_data): Add next field.
2251 (struct __gconv_step_data): Make __trans a pointer.
2252 * iconv/gconv_conf.c: Split out code to find gconv directories from
2253 __gconv_read_conf in new functions.
2254 * iconv/gconv_int.h: Define new data structure and declare new
2255 functions for handling of gconv directory list.
2256 * iconv/gconv_open.c: Allow more than one error handling step being
2257 used. Call function to load error handling module if it is none
2258 of the builtin transformations.
2259 * iconv/gconv_close.c: Add code to free transliteration data.
2260 * iconv/gconv_trans.c: Add functions to load and unload modules
2261 implementing transliteration etc.
2262 * iconv/skeleton.c: Call all context functions now that more than
2263 one module is allowed.
2264 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2265 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2266 where the full error handling using transliteration is needed.
2267 * iconvdata/8bit-gap.c: Likewise.
2268 * iconvdata/8bit-generic.c: Likewise.
2269 * iconvdata/ansi_x3.110.c: Likewise.
2270 * iconvdata/big5.c: Likewise.
2271 * iconvdata/big5hkscs.c: Likewise.
2272 * iconvdata/euc-cn.c: Likewise.
2273 * iconvdata/euc-jp.c: Likewise.
2274 * iconvdata/euc-kr.c: Likewise.
2275 * iconvdata/euc-tw.c: Likewise.
2276 * iconvdata/gbgbk.c: Likewise.
2277 * iconvdata/gbk.c: Likewise.
2278 * iconvdata/iso-2022-cn.c: Likewise.
2279 * iconvdata/iso-2022-jp.c: Likewise.
2280 * iconvdata/iso-2022-kr.c: Likewise.
2281 * iconvdata/iso646.c: Likewise.
2282 * iconvdata/iso8859-1.c: Likewise.
2283 * iconvdata/iso_6937-2.c: Likewise.
2284 * iconvdata/iso_6937.c: Likewise.
2285 * iconvdata/johab.c: Likewise.
2286 * iconvdata/sjis.c: Likewise.
2287 * iconvdata/t.61.c: Likewise.
2288 * iconvdata/uhc.c: Likewise.
2289 * iconvdata/unicode.c: Likewise.
2290 * iconvdata/utf-16.c: Likewise.
2291 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2292 structure correctly after last change.
2293 * wcsmbs/btowc.c: Likewise.
2294 * wcsmbs/mbrtowc.c: Likewise.
2295 * wcsmbs/mbsnrtowcs.c: Likewise.
2296 * wcsmbs/mbsrtowcs.c: Likewise.
2297 * wcsmbs/wcrtomb.c: Likewise.
2298 * wcsmbs/wcsnrtombs.c: Likewise.
2299 * wcsmbs/wcsrtombs.c: Likewise.
2300 * wcsmbs/wctob.c: Likewise.
2302 * localedata/Makefile: Set -Wno-format for some files since gcc does
2303 not know all the format specifiers.
2305 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2307 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2309 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2311 2000-06-18 Andreas Jaeger <aj@suse.de>
2313 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2314 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2316 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2318 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2320 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2322 * locale/programs/ld-ctype.c (ctype_output): Really write out
2323 mboutdigits information.
2324 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2325 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2326 * localedata/tests/trans.def: Add outdigit information.
2328 * localedata/tst-mbswcs3.c: Remove comment.
2330 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2331 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2332 * libio/tst_wprintf.c (main): Add test for I flag.
2334 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2335 * locale/langinfo.h: Add entries for translit_ignore information.
2336 * locale/categories.def: Add entries for new LC_CTYPE elements.
2337 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2338 pointer instead of "" where possible.
2339 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2340 * intl/Depend: Add localedata.
2341 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2342 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2344 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2346 * locale/langinfo.h: Add entries for default_missing information.
2347 * locale/C-ctype.c: Add initializers for new fields.
2348 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2350 * locale/categories.h: Add entries for all LC_CTYPE values.
2351 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2354 * localedata/tst-trans.c: Write out an error message if class is
2357 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2358 * iconv/gconv_open.c: Remove error handling specification from `from'
2360 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2361 new parameter to always enable transliteration.
2362 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2364 (struct locale_data): Add new members use_translit and options.
2365 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2366 character set name contained modifier TRANSLIT.
2367 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2369 (_nl_unload_locale): Free options string if necessary.
2370 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2371 the locale names suggested this.
2372 * locale/C-address.c: Add two new initialilzers to adjust data
2373 structure for new format.
2374 * locale/C-collate.c: Likewise.
2375 * locale/C-ctype.c: Likewise.
2376 * locale/C-identification.c: Likewise.
2377 * locale/C-measurement.c: Likewise.
2378 * locale/C-messages.c: Likewise.
2379 * locale/C-monetary.c: Likewise.
2380 * locale/C-name.c: Likewise.
2381 * locale/C-numeric.c: Likewise.
2382 * locale/C-paper.c: Likewise.
2383 * locale/C-telephone.c: Likewise.
2384 * locale/C-time.c: Likewise.
2386 * locale/setlocale.c: Add some more __builtin_expect.
2388 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2390 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2392 (__gconv_init_fct): Remove two parameters.
2393 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2394 gconv_transliterate. Remove two parameters.
2395 Change prototypes of builtin functions according to __gconv_fct change.
2396 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2397 != NULL only during error handling. Stop in this case after the
2399 * iconv/gconv_trans.c: Replace with real implementation for
2400 __gconv_transliterate.
2401 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2402 * iconv/gconv.c: Change calls to downstream functions once again.
2403 Use NULL for the fifth parameter instead of pointer to output buffer.
2404 * libio/iofwide.c: Likewise.
2405 * wcsmbs/btowc.c: Likewise.
2406 * wcsmbs/mbrtowc.c: Likewise.
2407 * wcsmbs/mbsnrtowcs.c: Likewise.
2408 * wcsmbs/mbsrtowcs.c: Likewise.
2409 * wcsmbs/wcrtomb.c: Likewise.
2410 * wcsmbs/wcsnrtombs.c: Likewise.
2411 * wcsmbs/wcsrtombs.c: Likewise.
2412 * wcsmbs/wctob.c: Likewise.
2413 * iconv/gconv_simple.c: Remove two parameters from error handling
2415 * iconvdata/8bit-gap.c: Likewise.
2416 * iconvdata/8bit-generic.c: Likewise.
2417 * iconvdata/ansi_x3.110.c: Likewise.
2418 * iconvdata/big5.c: Likewise.
2419 * iconvdata/big5hkscs.c: Likewise.
2420 * iconvdata/euc-cn.c: Likewise.
2421 * iconvdata/euc-jp.c: Likewise.
2422 * iconvdata/euc-kr.c: Likewise.
2423 * iconvdata/euc-tw.c: Likewise.
2424 * iconvdata/gbgbk.c: Likewise.
2425 * iconvdata/gbk.c: Likewise.
2426 * iconvdata/iso-2022-cn.c: Likewise.
2427 * iconvdata/iso-2022-jp.c: Likewise.
2428 * iconvdata/iso-2022-kr.c: Likewise.
2429 * iconvdata/iso646.c: Likewise.
2430 * iconvdata/iso8859-1.c: Likewise.
2431 * iconvdata/iso_6937-2.c: Likewise.
2432 * iconvdata/iso_6937.c: Likewise.
2433 * iconvdata/johab.c: Likewise.
2434 * iconvdata/sjis.c: Likewise.
2435 * iconvdata/t.61.c: Likewise.
2436 * iconvdata/uhc.c: Likewise.
2437 * iconvdata/unicode.c: Likewise.
2438 * iconvdata/utf-16.c: Likewise.
2440 2000-06-15 Greg McGary <greg@mcgary.org>
2442 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2443 of callnum assignment. Tolerate callnum expressions containing
2446 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2448 * login/Makefile (utmpd): Remove rule to build utmpd.
2450 * csu/Versions: Move libgcc frame handling functions from here...
2451 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2452 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2453 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2454 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2455 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2456 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2458 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2460 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2462 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2464 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2466 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2468 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2469 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2470 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2471 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2473 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2475 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2476 defined, terminate quotes and read them after the comment char.
2477 * configure.in (HAVE_SECTION_QUOTES): Test whether
2478 __attribute__((section ("x"))) puts quotes around x or not.
2479 * config.h.in (HAVE_SECTION_QUOTES): Add.
2480 * configure: Rebuilt.
2482 2000-06-14 Andreas Jaeger <aj@suse.de>
2484 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2485 depending on the configure option --sysconfdir.
2486 Closes PR libc/1762.
2487 Patch by Andreas Schwab <schwab@suse.de>.
2489 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2491 Reported by Jim Pick <jim@jimpick.com>.
2493 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2495 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2496 crashing the application. Emit some simple error message.
2497 Reported by mju@panasas.com [PR libc/1769].
2499 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2501 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2503 * crypt/Makefile (distribute): Add md5.h.
2505 * Makefile (distribute): Add include/shlib-compat.h.
2507 * Make-dist: Search for tests also in sysdeps hierachy.
2509 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2510 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2512 * sysdeps/sparc/Subdirs: New file.
2514 * locale/Makefile (distribute): Add weightwc.h and
2515 programs/localedef.h.
2517 * time/Makefile (distribute): Add datemsk.
2519 * sysdeps/ia64/Dist: Add softpipe.h.
2521 * sysdeps/unix/sysv/aix/Dist: New file.
2523 * posix/setpgrp.c: Moved to...
2524 * sysdeps/generic/setpgrp.c: ...here. New file.
2525 * io/mknod.c: Moved to...
2526 * sysdeps/generic/mknod.c: ...here. New file.
2528 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2530 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2532 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2534 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2535 gprsave0.S, gprrest1.S, and gprrest0.S.
2537 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2539 * posix/Makefile (routines): Add spawnattr_getsigmask,
2540 spawnattr_getschedpolicy, spawnattr_getschedparam,
2541 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2542 spawnattr_setschedparam.
2543 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2544 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2545 posix_spawnattr_setschedparam.
2547 * posix/spawnattr_setschedparam.c: Fix typo.
2549 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2552 * login/programs/utmpd.c: Removed.
2553 * login/programs/utmpd.h: Removed.
2554 * login/programs/utmpd-private.h: Removed.
2556 * Makefile (distribute): Add include/db_185.h and include/db.h.
2558 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2561 * elf/Makefile (distribute): Add missing files.
2563 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2564 * elf/eval.c: Moved to...
2565 * dlfcn/eval.c: ...here. New file.
2567 * Makefile (distribute): Also distribute ChangeLog.1?.
2569 * Make-dist (+tsrcs): Remove .args handling here as well.
2571 * rt/Makefile (tests): Add tst-timer.
2572 * sysdeps/generic/tst-timer.c: New file.
2574 * Makerules (sources): Don't add BP sources here.
2576 * login/Makefile (distribute): Remove xtmp.h.
2578 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2579 is true. Reported by Bruno Haible <haible@ilog.fr>.
2581 2000-06-13 Andreas Jaeger <aj@suse.de>
2583 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2584 Patch by Ralf Baechle <ralf@gnu.org>.
2586 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2588 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2589 for mincore syscall.
2591 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2592 __BOUNDED_POINTERS__ is not defined.
2594 2000-06-07 Greg McGary <greg@mcgary.org>
2596 * sysdeps/generic/bp-sym.h: New file.
2597 * sysdeps/generic/bp-start.h: New file.
2598 * sysdeps/i386/elf/start.S: Designate BP symbols.
2599 * sysdeps/generic/libc-start.c: Wrap bounds around
2600 argv & envp and each of their string members.
2602 2000-06-07 Greg McGary <greg@mcgary.org>
2604 * sysdeps/unix/make-syscalls.sh: Add comments to
2605 output that aid debugging & comprehension.
2606 Map simple syscall signatures to number of args.
2607 Generate BP syscall thunk definitions.
2608 * sysdeps/generic/bp-thunks.h: New file.
2609 * sysdeps/unix/syscalls.list: Replace arg-count with
2610 simple return+arg signature.
2611 * sysdeps/unix/common/syscalls.list: Likewise.
2612 * sysdeps/unix/inet/syscalls.list: Likewise.
2613 * sysdeps/unix/mman/syscalls.list: Likewise.
2614 * sysdeps/unix/sysv/syscalls.list: Likewise.
2615 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2618 2000-06-07 Greg McGary <greg@mcgary.org>
2620 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2621 for all files *.[cS].
2622 (CFLAGS-.ob): Don't optimize sibling calls.
2623 (bppfx): New variable.
2624 * Makerules (elide-bp-thunks): New variable.
2625 (elide-routines.*): Elide BP-* files for all but *.ob.
2626 (sources): Include bp-thunks.
2628 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2630 * iconv/gconv_simple.c: Remove unnecessary prototype.
2632 * iconv/gconv_trans.c: Pretty print.
2634 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2636 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2637 minimal kernel versions. Add information about IA-64 kernel.
2639 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2640 specific minimal supported kernel versions to be specified.
2642 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2643 step data structure.
2644 * wcsmbs/btowc.c: Likewise.
2645 * wcsmbs/mbrtowc.c: Likewise.
2646 * wcsmbs/mbsnrtowcs.c: Likewise.
2647 * wcsmbs/mbsrtowcs.c: Likewise.
2648 * wcsmbs/wcrtomb.c: Likewise.
2649 * wcsmbs/wcsnrtombs.c: Likewise.
2650 * wcsmbs/wcsrtombs.c: Likewise.
2651 * wcsmbs/wctob.c: Likewise.
2653 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2654 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2656 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2658 * misc/sys/cdefs.h: Remove one more __P.
2660 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2663 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2664 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2665 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2667 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2668 Yutaka Niibe <gniibe@chroot.org>
2670 * configure.in: Add machine sh3, sh4.
2671 * elf/elf.h: Add SH specific declarations of relocations.
2672 * shlib-versions: Add sh*-*-linux* cases.
2674 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2676 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2677 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2678 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2679 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2680 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2681 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2683 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2684 instead of KERNEL_MATH_EMULATION.
2685 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2686 KERNEL_MATH_EMULATION.
2688 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2689 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2690 * sysdeps/sh/dl-machine.h: ...here. New file.
2691 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2692 and include generic SH version.
2693 * sysdeps/sh/sh3/bits/endian.h: Move to...
2694 * sysdeps/sh/bits/endian.h: ...here. New file.
2695 * sysdeps/sh/sh4/bits/endian.h: Removed.
2696 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2697 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2698 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2700 * include/libc-symbols.h (link_warning): Work around a change in
2701 GAS which warns about changing section attributes.
2702 Proposed by Nick Clifton <nickc@redhat.com>.
2704 2000-06-12 H.J. Lu <hjl@gnu.org>
2706 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2708 2000-06-11 H.J. Lu <hjl@gnu.org>
2710 * sysdeps/i386/fpu/Versions: New file.
2712 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2714 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2716 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2719 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2721 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2722 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2723 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2725 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2726 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2727 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2729 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2730 Yutaka Niibe <gniibe@chroot.org>
2732 * sysdeps/sh/Dist: New file.
2733 * sysdeps/sh/Implies: New file.
2734 * sysdeps/sh/elf/initfini.c: New file.
2735 * sysdeps/sh/gmp-mparam.h: New file.
2736 * sysdeps/sh/init-first.c: New file.
2737 * sysdeps/sh/machine-gmon.h: New file.
2738 * sysdeps/sh/memcpy.S: New file.
2739 * sysdeps/sh/memprof.h: New file.
2740 * sysdeps/sh/memset.S: New file.
2741 * sysdeps/sh/sh3/__longjmp.S: New file.
2742 * sysdeps/sh/sh3/bits/endian.h: New file.
2743 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2744 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2745 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2746 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2747 * sysdeps/sh/sh3/dl-machine.h: New file.
2748 * sysdeps/sh/sh3/setjmp.S: New file.
2749 * sysdeps/sh/sh4/__longjmp.S: New file.
2750 * sysdeps/sh/sh4/bits/endian.h: New file.
2751 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2752 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2753 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2754 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2755 * sysdeps/sh/sh4/dl-machine.h: New file.
2756 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2757 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2758 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2759 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2760 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2761 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2762 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2763 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2764 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2765 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2766 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2767 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2768 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2769 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2770 * sysdeps/sh/sh4/setjmp.S: New file.
2771 * sysdeps/sh/elf/start.S: New file.
2772 * sysdeps/sh/sys/ucontext.h: New file.
2773 * sysdeps/sh/strlen.S: New file.
2774 * sysdeps/sh/sysdep.h: New file.
2775 * sysdeps/unix/sh/sysdep.S: New file.
2776 * sysdeps/unix/sh/sysdep.h: New file.
2777 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2778 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2779 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2780 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2781 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2782 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2783 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2784 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2785 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2786 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2787 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2788 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2789 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2790 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2791 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2792 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2793 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2794 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2795 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2796 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2797 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2798 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2799 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2800 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2801 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2802 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2803 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2804 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2805 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2806 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2807 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2808 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2809 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2810 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2811 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2812 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2813 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2814 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2815 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2816 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2817 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2818 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2819 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2820 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2821 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2822 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2823 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2824 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2825 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2826 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2828 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2830 * Rules (%.out): Define GCONV_PATH in the environment.
2831 * assert/Depend: New file.
2832 * iconvdata/Depend: New file.
2833 * intl/Depend: New file.
2834 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2835 * intl/tst-gettext.sh: Likewise.
2836 * iconv/Makefile (routines): Add gconv_trans.
2837 * iconv/gconv_trans.c: New file.
2838 * iconv/gconv.h (struct __gconv_trans_data): New type.
2839 (__gconv_fct): New parameter with starting position in output buffer.
2840 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2841 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2842 (struct __gconv_step): Add new member __trans.
2843 * iconv/gconv_int.h: Pretty print prototypes.
2844 (gconv_transliterate): New prototype.
2845 (__BUILTIN_TRANS): Update for new conversion function interface.
2846 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2847 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2848 in names, find appropriate function, and install in the conversion
2849 steps it can be used.
2850 * iconv/skeleton.c: Add additional parameter for beginning of output
2851 buffer. Change calls of downstream functions.
2852 * iconv/loop.c: Change loop function interface completely. Pass in
2853 step and step_data structure. Remove optimization for BODY with
2854 NEED_LENGTH_TEST == 0.
2855 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2856 appropriate error handling code to use transliteration steps. Remove
2857 optimization for BODY with NEED_LENGTH_TEST == 0.
2858 * iconvdata/8bit-gap.c: Likewise.
2859 * iconvdata/8bit-generic.c: Likewise.
2860 * iconvdata/ansi_x3.110.c: Likewise.
2861 * iconvdata/big5.c: Likewise.
2862 * iconvdata/big5hkscs.c: Likewise.
2863 * iconvdata/euc-cn.c: Likewise.
2864 * iconvdata/euc-jp.c: Likewise.
2865 * iconvdata/euc-kr.c: Likewise.
2866 * iconvdata/euc-tw.c: Likewise.
2867 * iconvdata/gbgbk.c: Likewise.
2868 * iconvdata/gbk.c: Likewise.
2869 * iconvdata/iso-2022-cn.c: Likewise.
2870 * iconvdata/iso-2022-jp.c: Likewise.
2871 * iconvdata/iso-2022-kr.c: Likewise.
2872 * iconvdata/iso646.c: Likewise.
2873 * iconvdata/iso8859-1.c: Likewise.
2874 * iconvdata/iso_6937-2.c: Likewise.
2875 * iconvdata/iso_6937.c: Likewise.
2876 * iconvdata/johab.c: Likewise.
2877 * iconvdata/sjis.c: Likewise.
2878 * iconvdata/t.61.c: Likewise.
2879 * iconvdata/uhc.c: Likewise.
2880 * iconvdata/unicode.c: Likewise.
2881 * iconvdata/utf-16.c: Likewise.
2882 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2884 * wcsmbs/btowc.c: Likewise.
2885 * wcsmbs/mbrtowc.c: Likewise.
2886 * wcsmbs/mbsnrtowcs.c: Likewise.
2887 * wcsmbs/mbsrtowcs.c: Likewise.
2888 * wcsmbs/wcrtomb.c: Likewise.
2889 * wcsmbs/wcsnrtombs.c: Likewise.
2890 * wcsmbs/wcsrtombs.c: Likewise.
2891 * wcsmbs/wctob.c: Likewise.
2893 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2895 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2896 other header files. Mention about 128-byte cache line sizes.
2897 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2898 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2899 for current calling sequence.
2900 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2902 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2903 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2906 and setrlimit syscalls for backwards compatibility.
2908 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2910 * iconv/skeleton.c: Rename converted written to correcter name
2912 * iconv/gconv.c: Rename converted variable to correcter name
2914 * iconv/gconv_int.h: Likewise.
2915 * iconv/gconv_simple.c: Likewise.
2916 * iconv/iconv.c: Likewise.
2917 * iconv/loop.c: Likewise.
2918 * iconvdata/8bit-gap.c: Likewise.
2919 * iconvdata/8bit-generic.c: Likewise.
2920 * iconvdata/ansi_x3.110.c: Likewise.
2921 * iconvdata/big5.c: Likewise.
2922 * iconvdata/big5hkscs.c: Likewise.
2923 * iconvdata/euc-cn.c: Likewise.
2924 * iconvdata/euc-jp.c: Likewise.
2925 * iconvdata/euc-kr.c: Likewise.
2926 * iconvdata/gbgbk.c: Likewise.
2927 * iconvdata/gbk.c: Likewise.
2928 * iconvdata/iso-2022-cn.c: Likewise.
2929 * iconvdata/iso-2022-jp.c: Likewise.
2930 * iconvdata/iso-2022-kr.c: Likewise.
2931 * iconvdata/iso646.c: Likewise.
2932 * iconvdata/iso8859-1.c: Likewise.
2933 * iconvdata/iso_6937-2.c: Likewise.
2934 * iconvdata/iso_6937.c: Likewise.
2935 * iconvdata/johab.c: Likewise.
2936 * iconvdata/sjis.c: Likewise.
2937 * iconvdata/t.61.c: Likewise.
2938 * iconvdata/uhc.c: Likewise.
2939 * iconvdata/unicode.c: Likewise.
2940 * iconvdata/utf-16.c: Likewise.
2942 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2943 __cmsg_data field with __extension__.
2945 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2947 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2949 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2951 * iconv/gconv_simple.c: Fix various small bugs in several
2954 * iconv/loop.c: Fix comment.
2956 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2958 * elf/link.h: Remove libc internal declarations.
2959 * include/link.h: Move them here.
2961 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2963 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2964 Patch by Dan Pop <Dan.Pop@cern.ch>.
2966 Rewrite error message handling.
2967 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2969 * elf/dl-error (struct catch): Add objname member.
2970 (_dl_signal_error): Take new parameter with object name. When
2971 passing message on simply store object name and duplicate error
2973 (_dl_catch_error): Take new parameter. Store object name in the
2975 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2976 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2977 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2978 (dlerror): Add objname to asprintf() parameters.
2979 (_dl_error_run): Pass new parameter to _dl_catch_error.
2980 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2981 * elf/dl-open.c (_dl_open): Likewise.
2982 * elf/rtld.c (dl_main): Likewise.
2983 * elf/dl-close.c: Mark error messages with N_().
2984 * elf/dl-deps.c: Likewise.
2985 * elf/dl-error.c: Likewise.
2986 * elf/dl-load.c: Likewise.
2987 * elf/dl-open.c: Likewise.
2988 * elf/dl-reloc.c: Likewise.
2989 * elf/dl-support.c: Likewise.
2990 * elf/dl-sym.c: Likewise.
2991 * elf/dl-version.c: Likewise.
2992 * elf/dl-lookup.c: Add comments about problems with error message
2994 * elf/dl-reloc.c: Likewise.
2995 * elf/dl-version.c: Likewise.
2997 2000-06-09 H.J. Lu <hjl@gnu.org>
2999 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3002 * dlfcn/Makefile (distribute): Add failtestmod.c.
3003 (tests): Add failtest.
3004 Add rules to build and run failtest.
3005 * dlfcn/failtest.c: New file.
3006 * dlfcn/failtestmod.c: New file.
3008 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3010 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3011 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3012 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3013 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3014 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3016 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3018 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3019 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3021 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3022 Ulrich Drepper <drepper@redhat.com>
3024 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3025 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3026 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3027 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3028 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3029 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3031 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3033 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3034 to find correct mount point despite wrong information from the
3037 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3039 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3040 the address of a symbol so function pointers are handled properly.
3042 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3044 * sysdeps/i386/Dist: Add bp-asm.h.
3046 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3047 defaultdir variable instead of "/var/shm" everywhere.
3048 (defaultdir): Change to /dev/shm/.
3050 2000-06-08 Greg McGary <greg@mcgary.org>
3052 * sysdeps/i386/bp-asm.h: New file.
3053 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3054 offsets. Add ENTER/LEAVE macros for optionally maintaining
3055 frame-pointer chain when debugging.
3056 * sysdeps/i386/add_n.S: Likewise.
3057 * sysdeps/i386/addmul_1.S: Likewise.
3058 * sysdeps/i386/lshift.S: Likewise.
3059 * sysdeps/i386/memchr.S: Likewise.
3060 * sysdeps/i386/memcmp.S: Likewise.
3061 * sysdeps/i386/mul_1.S: Likewise.
3062 * sysdeps/i386/rawmemchr.S: Likewise.
3063 * sysdeps/i386/rshift.S: Likewise.
3064 * sysdeps/i386/stpcpy.S: Likewise.
3065 * sysdeps/i386/stpncpy.S: Likewise.
3066 * sysdeps/i386/strchr.S: Likewise.
3067 * sysdeps/i386/strchrnul.S: Likewise.
3068 * sysdeps/i386/strcspn.S: Likewise.
3069 * sysdeps/i386/strpbrk.S: Likewise.
3070 * sysdeps/i386/strrchr.S: Likewise.
3071 * sysdeps/i386/strspn.S: Likewise.
3072 * sysdeps/i386/strtok.S: Likewise.
3073 * sysdeps/i386/sub_n.S: Likewise.
3074 * sysdeps/i386/submul_1.S: Likewise.
3075 * sysdeps/i386/elf/setjmp.S: Likewise.
3076 * sysdeps/i386/i486/strcat.S: Likewise.
3077 * sysdeps/i386/i486/strlen.S: Likewise.
3078 * sysdeps/i386/i586/add_n.S: Likewise.
3079 * sysdeps/i386/i586/lshift.S: Likewise.
3080 * sysdeps/i386/i586/memcpy.S: Likewise.
3081 * sysdeps/i386/i586/memset.S: Likewise.
3082 * sysdeps/i386/i586/rshift.S: Likewise.
3083 * sysdeps/i386/i586/strchr.S: Likewise.
3084 * sysdeps/i386/i586/strcpy.S: Likewise.
3085 * sysdeps/i386/i586/strlen.S: Likewise.
3086 * sysdeps/i386/i586/sub_n.S: Likewise.
3087 * sysdeps/i386/i686/add_n.S: Likewise.
3088 * sysdeps/i386/i686/memcpy.S: Likewise.
3089 * sysdeps/i386/i686/mempcpy.S: Likewise.
3090 * sysdeps/i386/i686/memset.S: Likewise.
3091 * sysdeps/i386/i686/strcmp.S: Likewise.
3093 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3095 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3097 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3098 256 and don't use OPEN_MAX.
3100 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3101 use it instead of LINK_MAX.
3102 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3104 2000-06-08 Andreas Jaeger <aj@suse.de>
3106 * libio/genops.c (_IO_list_lock): Only compile body if we're
3108 (_IO_list_unlock): Likewise.
3109 (_IO_list_resetlock): Likewise.
3111 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3113 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3114 unless user defined it.
3116 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3117 if not defined by the user.
3119 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3120 * libio/iofwrite.c (_IO_fwrite): Likewise.
3122 * time/time.h: Add missing __THROW for clock_getcpuclockid
3125 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3126 * include/elf.h: Include also <dl-dtprocnum.h>.
3127 * elf/dl-deps.c: Likewise.
3128 * elf/dl-lookup.c: Likewise.
3129 * elf/dl-runtime.c: Likewise.
3130 * elf/dl-version.c: Likewise.
3131 * elf/do-rel.h: Likewise.
3132 * elf/dynamic-link.h: Likewise.
3133 * elf/link.h: Likewise.
3134 * elf/rtld.c: Likewise.
3135 * sysdeps/generic/dl-dtprocnum.h: New file.
3136 * sysdeps/ia64/dl-dtprocnum.h: New file.
3137 * sysdeps/mips/dl-dtprocnum.h: New file.
3138 * sysdeps/sparc/dl-dtprocnum.h: New file.
3140 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3142 * elf/do-lookup.h: Add some __builtin_expect.
3144 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3146 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3147 (_dl_dynamic_weak): New variable.
3148 * elf/dl-support.c: Likewise.
3149 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3150 * elf/do-lookup.h: If we find a weak definition treat it like a
3151 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3152 case treat it like before.
3154 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3156 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3158 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3159 using l_map_start and l_map_end.
3161 * elf/dl-version.c: Add __builtin_expect in many places.
3163 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3166 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3168 Lock for stdio stream list becomes global, for use in LinuxThreads.
3170 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3171 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3172 _IO_list_resetlock): New interface for iterating global list of
3173 streams without accessing the _IO_list_all global variable,
3174 and for manipulating the lock which protects this list.
3175 * libio/libioP.h: Likewise.
3176 * libio/Version: Add entries for the new functions.
3178 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3179 pointer to _IO_FILE.
3181 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3183 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3184 BIT() must actually be BITw().
3186 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3188 * locale/programs/charmap.c: Allow string arguments for
3189 code_set_name and repertoiremap.
3191 2000-06-07 Andreas Jaeger <aj@suse.de>
3193 * elf/Makefile: Build ldconfig only when building shared libraries.
3195 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3197 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3199 (fdimf, __fdim, fdim): Likewise.
3201 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3203 * locale/findlocale.c: Add __builtin_expect in many places.
3204 * locale/loadlocale.c: Likewise.
3206 2000-06-06 Greg McGary <greg@mcgary.org>
3208 * sysdeps/mips/elf/start.S: Trim redundant code.
3210 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3211 Use C comments throughout. Line up operands column with tabs.
3212 * sysdeps/powerpc/strchr.S: Likewise.
3213 * sysdeps/powerpc/strcmp.S: Likewise.
3214 * sysdeps/powerpc/strcpy.S: Likewise.
3215 * sysdeps/powerpc/strlen.S: Likewise.
3217 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3218 Get low part of &__curbrk with @l.
3220 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3222 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3223 * iconvdata/unicode.c: Likewise.
3224 * iconvdata/uhc.c: Likewise.
3225 * iconvdata/t.61.c: Likewise.
3226 * iconvdata/sjis.c: Likewise.
3227 * iconvdata/johab.c: Likewise.
3228 * iconvdata/iso_6937.c: Likewise.
3229 * iconvdata/iso_6937-2.c: Likewise.
3230 * iconvdata/iso8859-1.c: Likewise.
3231 * iconvdata/iso646.c: Likewise.
3232 * iconvdata/iso-2022-kr.c: Likewise.
3233 * iconvdata/iso-2022-jp.c: Likewise.
3234 * iconvdata/iso-2022-cn.c: Likewise.
3235 * iconvdata/gbgbk.c: Likewise.
3236 * iconvdata/gbk.c: Likewise.
3237 * iconvdata/euc-kr.c: Likewise.
3238 * iconvdata/euc-jp.c: Likewise.
3239 * iconvdata/euc-cn.c: Likewise.
3241 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3243 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3244 * iconvdata/big5.c: Likewise.
3245 * iconvdata/ansi_x3.110.c: Likewise.
3246 * iconvdata/8bit-generic.c: Likewise.
3247 * iconvdata/8bit-gap.c: Likewise.
3248 * iconv/loop.c: Likewise.
3249 * iconv/gconv_db.c: Likewise.
3250 * iconv/gconv_dl.c: Likewise.
3251 * iconv/gconv_simple.c: Likewise.
3252 * iconv/skeleton.c: Likewise.
3254 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3255 (struct __gconv_step_data): Rename __is_last to __flags.
3256 * iconv/gconv_close.c: Change all uses of __is_last.
3257 * iconv/skeleton.c: Likewise.
3258 * iconvdata/iso-2022-cn.c: Likewise.
3259 * iconvdata/iso-2022-jp.c: Likewise.
3260 * iconvdata/iso-2022-kr.c: Likewise.
3261 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3262 Recognize IGNORE error handling, set flag, and remove from name.
3263 * iconv/loop.c (ignore_errors_p): Define.
3264 Add flags parameter to both functions.
3265 * iconv/skeleton.c: Pass flags to all conversion functions.
3266 * iconv/gconv_simple.c: Add flags parameter to all functions.
3267 Don't return error for invald error if ignore flag is set.
3268 (ucs4_internal_loop_single): Add missing pointer increment.
3269 (internal_ucs4le_loop_single): Likewise.
3270 * iconv/iconv_prog.c: Implement handling of -c parameter.
3271 * iconvdata/8bit-gap.c: Don't return error for invald error if
3273 * iconvdata/8bit-generic.c: Likewise.
3274 * iconvdata/ansi_x3.110.c: Likewise.
3275 * iconvdata/big5.c: Likewise.
3276 * iconvdata/big5hkscs.c: Likewise.
3277 * iconvdata/euc-cn.c: Likewise.
3278 * iconvdata/euc-jp.c: Likewise.
3279 * iconvdata/euc-kr.c: Likewise.
3280 * iconvdata/gbgbk.c: Likewise.
3281 * iconvdata/gbk.c: Likewise.
3282 * iconvdata/iso-2022-cn.c: Likewise.
3283 * iconvdata/iso-2022-jp.c: Likewise.
3284 * iconvdata/iso-2022-kr.c: Likewise.
3285 * iconvdata/iso646.c: Likewise.
3286 * iconvdata/iso8859-1.c: Likewise.
3287 * iconvdata/iso_6937-2.c: Likewise.
3288 * iconvdata/iso_6937.c: Likewise.
3289 * iconvdata/johab.c: Likewise.
3290 * iconvdata/sjis.c: Likewise.
3291 * iconvdata/t.61.c: Likewise.
3292 * iconvdata/uhc.c: Likewise.
3293 * iconvdata/unicode.c: Likewise.
3294 * iconvdata/utf-16.c: Likewise.
3295 * libio/fileops.c: Likewise.
3296 * libio/iofwide.c: Likewise.
3297 * wcsmbs/btowc.c: Likewise.
3298 * wcsmbs/mbrtowc.c: Likewise.
3299 * wcsmbs/mbsnrtowcs.c: Likewise.
3300 * wcsmbs/mbsrtowcs.c: Likewise.
3301 * wcsmbs/wcrtomb.c: Likewise.
3302 * wcsmbs/wcsnrtombs.c: Likewise.
3303 * wcsmbs/wcsrtombs.c: Likewise.
3304 * wcsmbs/wctob.c: Likewise.
3306 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3309 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3311 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3312 counter for the object we are releasing, just decrement it.
3313 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3315 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3317 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3320 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3322 * iconvdata/big5hkscs.c: New file.
3323 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3325 * iconvdata/gconv-modules: Add entry for new module.
3326 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3327 (distribute): Add big5hkscs.c.
3329 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3331 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3332 inlines to match prototypes in mathcalls.h.
3333 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3334 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3335 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3336 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3338 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3340 * elf/elf.h (SHT_SUNW_move): Define.
3342 * elf/elf.h: Add more Solaris compatiblity definitions.
3344 2000-06-03 Andreas Jaeger <aj@suse.de>
3346 * sysdeps/powerpc/dl-start.S: Close open comment.
3348 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3350 * inet/Versions: Fix typo in rresvport_af export.
3352 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3354 * math/tgmath.h: Pretty print.
3356 2000-06-02 Andreas Jaeger <aj@suse.de>
3358 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3359 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3361 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3363 * elf/rtld.c (process_envvars): Test for = after variable name.
3365 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3367 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3368 have extra call to __gmon_start__, use the pointer we already have.
3370 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3373 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3374 binutils. gas now emits a jump through the PLT instead of a
3375 relative jump if the jump target is an exported symbol.
3377 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3379 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3381 2000-05-31 Andreas Jaeger <aj@suse.de>
3383 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3386 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3387 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3389 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3391 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3393 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3395 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3397 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3398 * locale/localeconv.c: Make function versioned (with same definition).
3400 * elf/Makefile (modules-names): Strip before using it.
3402 2000-05-30 Andreas Jaeger <aj@suse.de>
3404 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3405 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3406 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3407 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3408 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3409 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3411 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3413 * Makefile: Add GNU make magic.
3415 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3417 * inet/rcmd.c: Remove __P. Remove unused variables.
3418 (iruserfopen): Make first parameter const.
3419 (ruserok_sa): Return result of ruserok2_sa.
3420 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3421 * inet/rexec.c: Remove unused variables. Other small cleanups.
3422 * inet/ruserpass.c: Remove __P. Remove unused variables.
3423 (ruserpass): Check results of memory allocation.
3424 * include/netdb.h: Add prototype for ruserpass.
3426 2000-05-29 Andreas Jaeger <aj@suse.de>
3428 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3431 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3433 * inet/rcmd.c (rresvport_af): Use correct port number.
3435 2000-05-26 Andreas Schwab <schwab@suse.de>
3437 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3438 entries in all-sonames.
3439 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3440 preserving the old name if different for compatibility.
3442 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3444 * posix/Makefile (tests): Add tst-spawn.
3445 (tst-spawn-ARGS): New variable.
3446 * posix/tst-spawn.c: New file.
3448 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3449 * posix/spawn_faction_adddup2.c: Likewise.
3450 * posix/spawn_faction_addopen.c: Likewise.
3451 * posix/spawni.c: Correctly test for success of dup2 calls.
3453 * posix/tst-preadwrite.c: Check success of malloc call.
3455 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3457 * posix/Makefile (tests): Add tst-exec.
3458 (tst-exec-ARGS): New variable.
3459 * posix/tst-exec.c: New file.
3461 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3463 2000-05-04 Andreas Jaeger <aj@suse.de>
3465 * string/string.h: Remove __strdup prototype, it's not needed in
3468 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3470 * posix/Makefile (tests): Add tst-fork.
3471 * posix/tst-fork.c: New file.
3473 * resolv/inet_pton.c: Loose __P.
3475 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3477 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3478 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3479 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3480 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3481 _IO_CHECK_WIDE fails.
3483 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3485 * po/da.po: New file.
3487 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3488 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3490 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3491 (Other iconv Implementations): Fix typo.
3492 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3494 2000-05-27 Andreas Jaeger <aj@suse.de>
3496 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3498 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3500 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3501 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3502 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3503 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3505 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3506 endianness to decide how to pass arguments.
3507 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3509 * elf/vismain.c: Use test-skeleton interface.
3510 (TEST_FUNCTION): New macro.
3511 (do_test): Renamed from main.
3513 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3515 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3516 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3518 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3519 handling of AI_V4MAPPED flag.
3521 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3522 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3523 perform lookup for T_A type and tell getanswer_r to convert the
3524 result with new argument.
3525 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3526 Don't convert addresses from IPv4 to IPv6 here.
3527 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3528 IPv6 is wanted. Allow qtype and type from reply to disagree if
3529 IPv4 mapping has to be done. Perform mappings if required by the
3530 caller and not if RES_USE_INET6 bit in _res.options is set.
3531 Add several __builtin_expect.
3533 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3535 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3537 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3540 * posix/tst-preadwrite.c: Allow parallel execution of
3541 tst-preadwrite and tst-preadwrite64.
3543 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3544 * posix/tst-truncate.c: New file.
3545 * posix/tst-truncate64.c: New file.
3547 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3550 * posix/Makefile (tests): Add tst-preadwrite64.
3551 * posix/tst-preadwrite.c: Alloc file being used also for testing
3552 pread64 and pwrite64.
3553 * posix/tst-preadwrite64.c: New file.
3555 2000-05-26 Andreas Jaeger <aj@suse.de>
3557 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3558 of arguments dependend on endianness.
3559 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3561 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3563 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3564 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3565 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3566 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3568 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3569 endianness to check how to pass argument.
3570 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3572 * elf/ldconfig.h: Update parameter list for process_elf_file.
3574 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3575 Add parameter file_length and pass it ot process_elf*file.
3577 * sysdeps/generic/readelflib.c (check_ptr): New.
3578 (process_elf_file): Use check_ptr to check all accesses to the
3579 mmapped file. Add parameter file_length.
3581 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3584 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3585 Closes PR libc/1573, reported by Bradley White
3586 <bww@laurelnetworks.com>.
3588 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3590 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3591 __FAST_MATH__ is defined.
3593 2000-05-22 Andreas Jaeger <aj@suse.de>
3595 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3596 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3598 * manual/math.texi (FP Function Optimizations): Document gcc
3599 -ffast-math behaviour with mathinlines.
3601 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3602 functions unless -ffast-math is given to gcc.
3604 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3606 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3607 __sincosl): Guard with __USE_GNU.
3609 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3611 * csu/Makefile (routines): Add check_fds.
3612 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3613 binaries. Add various __builtin_expect.
3614 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3615 * sysdeps/generic/check_fds.c: ...here. New file.
3617 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3618 binaries if file /etc/suid-debug is available.
3620 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3621 and wcseqorder members.
3622 (struct locale_collate_t): Likewise.
3623 (collate_finish): Assign collation sequence value to each character.
3624 Create tables for output.
3625 (collate_output): Write out tables with collation sequence information.
3626 * locale/C-collate.c: Provide C locale data for collation sequence
3628 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3629 _NL_COLLATE_COLLSEQWC.
3630 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3631 _NL_COLLATE_COLLSEQWC.
3632 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3633 include fnmatch_loop.c.
3634 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3635 character is matched by range expression. Use collation sequence
3636 table. Outside glibc fall back on simple character value comparison.
3638 2000-05-24 Andreas Jaeger <aj@suse.de>
3640 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3643 * intl/Makefile: Run gettext-test only if msgfmt is available.
3645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3646 Define it for newer kernels.
3648 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3650 * elf/dl-sym.c: Minor cleanups.
3652 * configure.in: Add test for .protected.
3653 * config.make.in: Add have-protected variable.
3654 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3655 (tests-vis-yes): Add vismain.
3656 (modules-names): Add $(modules-vis-$(have-protected)).
3657 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3658 Add rules to generate and run vismain.
3659 * elf/vismain.c: New file.
3660 * elf/vismod1.c: New file.
3661 * elf/vismod2.c: New file.
3662 * elf/vismod3.c: New file.
3664 2000-05-23 Andreas Jaeger <aj@suse.de>
3666 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3668 * manual/search.texi (Array Sort Function): Document that qsort is
3669 not necessarily in-place.
3671 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3672 Closes PR libc/1731.
3674 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3675 * dirent/scandir64.c: Likewise.
3676 * pwd/getpw.c: Likewise.
3677 * stdlib/bsearch.c (bsearch): Likewise.
3678 * stdlib/tst-strtoll.c: Likewise.
3679 * localedata/collate-test.c: Likewise.
3680 * localedata/xfrm-test.c: Likewise.
3681 * posix/bsd-getpgrp.c: Likewise.
3682 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3683 * sysdeps/generic/bits/siginfo.h: Likewise.
3684 * sysdeps/generic/bits/sockaddr.h: Likewise.
3685 * sysdeps/generic/sys/swap.h: Likewise.
3686 * sysdeps/generic/sys/sysinfo.h: Likewise.
3687 * sysdeps/generic/vfork.c: Likewise.
3688 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3689 * sysdeps/mach/hurd/fdopen.c: Likewise.
3690 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3691 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3692 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3693 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3694 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3696 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3698 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3699 * shadow/lckpwdf.c: Likewise.
3700 * stdlib/tst-strtol.c: Likewise.
3701 * sysdeps/generic/tcsetattr.c: Likewise.
3702 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3703 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3705 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3707 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3708 free it and set to (void *) -1.
3710 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3712 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3713 not the second character in the range.
3714 * stdio-common/tstscanf.c (main): Add testcase for the above.
3715 Reported by jik@kamens.brookline.ma.us.
3717 2000-05-21 H.J. Lu <hjl@gnu.org>
3719 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3720 with noexec and noplt parameter.
3721 (do_lookup): Likewise.
3723 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3724 do_lookup. Support STV_PROTECTED.
3725 (_dl_lookup_symbol_skip): Likewise.
3726 (_dl_lookup_versioned_symbol): Likewise.
3727 (_dl_lookup_versioned_symbol_skip): Likewise.
3729 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3731 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3733 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3735 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3736 * sysdeps/i386/bits/huge_val.h: Likewise.
3737 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3738 * sysdeps/m68k/bits/huge_val.h: Likewise.
3739 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3740 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3742 2000-05-22 Andreas Jaeger <aj@suse.de>
3744 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3747 2000-05-19 Andreas Jaeger <aj@suse.de>
3749 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3750 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3751 breaks compilation without linuxthreads.
3753 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3755 * sysdeps/ia64/memccpy.S: New file.
3756 * sysdeps/ia64/memchr.S: New file.
3757 * sysdeps/ia64/memcmp.S: New file.
3758 * sysdeps/ia64/memcpy.S: New file.
3759 * sysdeps/ia64/memmove.S: New file.
3760 * sysdeps/ia64/memset.S: New file.
3761 * sysdeps/ia64/strcat.S: New file.
3762 * sysdeps/ia64/strchr.S: New file.
3763 * sysdeps/ia64/strcmp.S: New file.
3764 * sysdeps/ia64/strcpy.S: New file.
3765 * sysdeps/ia64/strlen.S: New file.
3766 * sysdeps/ia64/strncmp.S: New file.
3767 * sysdeps/ia64/strncpy.S: New file.
3768 * sysdeps/ia64/softpipe.h: New file.
3769 Patches by Dan Pop <Dan.Pop@cern.ch>.
3771 * manual/memory.texi: Document memory handling functions (mlock,
3772 munlock, mlockall, munlockall, brk, and sbrk)
3773 * manual/time.texi: Document timespec and friends.
3774 * manual/conf.texi: Fix references.
3775 * manual/ctype.texi: Likewise.
3776 * manual/errno.texi: Likewise.
3777 * manual/intro.texi: Likewise.
3778 * manual/locale.texi: Likewise.
3779 * manual/sysinfo.texi: Likewise.
3780 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3782 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3784 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3785 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3787 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3789 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3792 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3794 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3795 * locale/localeconv.c: Initialize new elements from ISO C99.
3796 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3797 new standard elements.
3798 * locale/categories.def: Adjust accordingly.
3800 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3801 * iconv/iconv.c: Likewise.
3802 * conform/data/iconv.h-data: Likewise.
3803 * iconv/iconv_prog.c (process_block): Remove const from second
3805 (main): Remove const from addr definition.
3806 * manual/charset.texi (Generic Conversion Interface): Remove from
3807 inbuf parameter of iconv.
3809 * intl/dcigettext.c: Fix typo in comment.
3811 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3813 * resolv/res_libc.c (_res): Initialize _sock to -1.
3815 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3817 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3818 (fopencookie@@GLIBC_2.2): New.
3819 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3820 (fopencookie@GLIBC_2.0): New.
3821 * libio/Versions: Add fopencookie to GLIBC_2.2.
3823 2000-05-18 Andreas Jaeger <aj@suse.de>
3825 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3826 Closes PR libc/1731.
3828 * manual/arith.texi (Parsing of Integers): Fix typo.
3829 Closes PR libc/1744, reported by blp@gnu.org.
3831 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3833 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3834 __extension__ to hexadecimal floating constant notation.
3835 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3837 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3838 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3840 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3841 HUGE_VALL): Likewise.
3842 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3843 HUGE_VALL): Likewise.
3844 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3846 2000-05-17 Andreas Jaeger <aj@suse.de>
3848 * string/envz.h: Add pure attributes if possible.
3850 * string/argz.h: argz_count is a pure function.
3852 * string/strings.h: Add pure and const attributes if possible.
3854 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3855 possibly searching through the whole memory.
3856 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3858 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3860 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3862 (_dl_cache_check_flags): Likewise.
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3866 2000-05-17 Andreas Jaeger <aj@suse.de>
3868 * manual/creature.texi (Feature Test Macros): Remove paragraph
3869 since the description is wrong.
3870 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3872 * scripts/config.sub: New version.
3873 * scripts/config.guess: Likewise.
3874 * manual/texinfo.tex: Likewise.
3876 * time/test_time.args: Removed.
3877 * time/Makefile (test_time-ARGS): Added contents here instead.
3879 * posix/tstgetopt.args: Removed.
3880 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3882 * Rules: Allow arguments for test files to be specified in
3883 Makefile with testname-ARGS; remove rules with .args in it.
3885 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3886 remove old bogus rule for opendir-tst1.args.
3888 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3890 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3891 into objdir. This allows a readonly sourcetree.
3892 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3894 2000-05-16 Andreas Jaeger <aj@suse.de>,
3895 David Huggins-Daines <dhd@linuxcare.com>
3897 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3898 cache_data in case of only new cache format correctly.
3900 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3903 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3904 struct cache_file_new.
3906 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3909 * elf/cache.c (save_cache): Align struct new_file_cache.
3910 (print_cache): Likewise.
3912 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3914 * elf/soinit.c (__libc_global_ctors): Move
3915 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3916 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3917 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3918 variable, don't define it to __res_state call.
3920 2000-05-13 Andreas Jaeger <aj@suse.de>
3922 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3924 (AF_PPPOX): Likewise.
3925 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3926 (AF_PPPOX): Likewise.
3928 2000-05-12 Andreas Jaeger <aj@suse.de>
3930 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3931 Reported by tmoestl@gmx.net, closes PR libc/1732.
3933 2000-05-11 Jan Hubicka <jh@suse.cz>
3935 * misc/sys/cdefs.h: Add support for pure attribute.
3937 * include/string.h: Add __attribute_pure__ to various functions.
3938 * string/string.h: Likewise.
3940 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3942 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3946 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3948 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3950 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3951 at proper place. Compute the high nibble correctly.
3953 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3955 * elf/ldconfig.c: Include elf.h.
3957 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3958 (_dl_vsym): Likewise.
3959 Reported by Owen Taylor <otaylor@redhat.com>.
3961 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3964 2000-05-08 Andreas Jaeger <aj@suse.de>
3966 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3968 * intl/bindtextdom.c (set_binding_values): Add prototype.
3970 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3972 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3973 call to elf_machine_fixup_plt.
3974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3977 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3979 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3980 they are not dlclose'd from underneath us.
3982 2000-05-08 Andreas Schwab <schwab@suse.de>
3984 * posix/execle.c: Fix size parameter of memcpy.
3986 2000-05-08 Andreas Schwab <schwab@suse.de>
3988 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3989 getpagesize syscall if available.
3991 2000-05-08 Andreas Jaeger <aj@suse.de>
3993 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3996 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3998 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3999 sizeof(struct link_map *) chunks, not in bytes.
4001 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4003 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4004 only needed for locale.
4005 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4006 It's only needed for catgets.
4007 Patches by Greg McGary <gkm@eng.ascend.com>.
4009 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4011 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4012 Remove duplicate <errno.h> include. Remove inclusion of
4013 <libintl.h> and "nsswitch.h".
4014 (set_cloexec_flag): New function, broken out of dbopen.
4015 (dbopen): Changed return type to `enum
4016 nss_status'. Mostly rewritten to make sure that we do not report
4017 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4018 (internal_setent): Change return type to nss_status.
4019 Document, and make sure that the function
4020 behaves accordingly. Make dynamically loading the database
4021 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4023 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4025 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4027 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4028 c_get function member.
4029 * nss/nss_db/nss_db.h: Add and tweak some comments.
4030 (DBT): Move typedef before NSS_DBC typedef.
4031 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4033 2000-05-07 H.J. Lu <hjl@gnu.org>
4035 * csu/initfini.c: Moved to ....
4036 * sysdeps/generic/initfini.c: ...here.
4038 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4040 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4042 * manual/resource.texi: Document POSIX scheduling functions.
4043 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4045 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4046 reading anything. Reported by Andries.Brouwer@cwi.nl.
4048 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4049 for x since promotion in comparison might leads to unexpected
4050 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4052 * iconv/Makefile (tests): Add tst-iconv1.
4053 * iconv/tst-iconv1.c: New file.
4054 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4055 empty input buffer over full output buffer.
4056 (ucs4_internal_loop): Likewise.
4057 (ucs4_internal_loop_unaligned): Likewise.
4058 (internal_ucs4le_loop): Likewise.
4059 (internal_ucs4le_loop_unaligned): Likewise.
4060 (ucs4le_internal_loop): Likewise.
4061 (ucs4le_internal_loop_unaligned): Likewise.
4062 Reported by yaoz@nih.gov.
4064 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4066 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4067 returned != __GCONV_OK, there is nothing to clean up.
4069 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4071 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4072 OUTPUT_CHARSET environment variables.
4074 2000-05-06 Andreas Jaeger <aj@suse.de>
4076 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4077 (struct cache_file_new): New.
4078 (struct file_entry): New (moved from cache.c).
4079 (struct cache_file): New (moved from cache.c).
4081 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4082 from _dl_load_cache_lookup.
4083 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4084 the different cache formats.
4085 New variable cache_new for new format.
4087 * elf/ldconfig.h: Change according to changes in cache.c and
4088 ldconfig.c; remove cache_libcmp; add opt_format.
4090 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4091 stuff that's defined in those headers.
4092 Add hwcap to struct lib_entry.
4093 (opt_format): New variable to select cache format.
4094 (options): Add format parameter.
4095 (is_hwcap): New function.
4096 (path_hwcap): New function.
4097 (parse_opt): Handle new format parameter.
4098 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4100 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4101 ldconfig is part of glibc.
4102 Include dl-cache.h and remove stuff that's defined there.
4103 (struct cache_entry): Add new member hwcap.
4104 (print_entry): Print hwcap, cleanup a bit.
4105 (print_cache): Print new and old formats.
4106 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4107 (save_cache): Save new and old formats.
4108 (add_to_cache): Handle hwcap.
4110 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4111 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4112 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4113 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4114 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4115 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4117 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4119 * intl/dcigettext.c (alignof): New macro.
4120 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4121 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4124 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4126 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4129 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4131 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4132 (mempcpy): Correct typo is parameter list.
4134 2000-05-06 Andreas Jaeger <aj@suse.de>
4136 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4137 functions unless -ffast-math is given to gcc.
4139 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4141 * po/ko.po: Update from translation team.
4143 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4145 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4146 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4147 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4148 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4149 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4150 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4152 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4153 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4154 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4156 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4157 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4158 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4159 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4161 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4162 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4164 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4166 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4167 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4169 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4170 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4172 * sysdeps/ia64/Implies: New file.
4173 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4174 * sysdeps/ia64/Makefile: New file.
4175 * sysdeps/ia64/gmp-mparam.h: New file,
4177 * sysdeps/ia64/elf/start.S: New file.
4179 * sysdeps/ia64/bits/fenv.h: New file.
4181 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4183 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4185 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4187 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4188 ia64 has 64 bit .hash entries just as the Alpha.
4190 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4192 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4194 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4196 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4197 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4198 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4199 * sysdeps/ia64/fpu/fegetenv.c: New file.
4200 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4201 * sysdeps/ia64/fpu/fegetround.c: New file.
4202 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4203 * sysdeps/ia64/fpu/fesetenv.c: New file.
4204 * sysdeps/ia64/fpu/fesetround.c: New file.
4205 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4206 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4207 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4208 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4209 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4211 2000-05-05 Andreas Jaeger <aj@suse.de>
4213 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4215 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4216 (_dl_string_hwcap): New, does nothing.
4218 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4219 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4220 (_dl_string_hwcap): New function, converts from string to hwcap
4222 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4223 (_DL_HWCAP_COUNT): New.
4224 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4225 (_dl_string_hwcap): New function, converts from string to hwcap
4227 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4228 (_DL_HWCAP_COUNT): New.
4229 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4230 (_dl_string_hwcap): New function, converts from string to hwcap
4233 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4235 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4236 * sysdeps/ia64/Dist: New file.
4238 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4239 parameter to mprotect and for variable assignments.
4241 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4243 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4244 validity of map before dereferencing it.
4246 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4248 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4250 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4251 lookup to the arguments to elf_machine_fixup_plt().
4253 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4254 of the symbol being resolved to input argument list and make the
4255 function return the pointer to the reloc.
4257 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4258 return valuie to lookup_t and return the value.
4259 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4260 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4261 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4262 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4264 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4266 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4267 Make it an inline function returning value after calling
4268 __elf_machine_fixup_plt().
4270 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4273 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4274 obtain the symbol address.
4276 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4277 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4279 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4280 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4283 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4285 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4286 symbol address of an object.
4288 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4289 the symbol address of an object.
4291 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4292 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4293 (_dl_lookup_symbol_skip): Likewise.
4294 (_dl_lookup_versioned_symbol): Likewise.
4295 (_dl_lookup_versioned_symbol_skip): Likewise.
4297 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4299 * elf/rtld.c (_dl_start): Get the function pointer return address
4300 via _dl_start_address for architectures that need a function
4301 pointer descriptor rather than just a pointer (ia64).
4303 * sysdeps/generic/dl-lookupcfg.h: New file.
4304 * sysdeps/ia64/dl-lookupcfg.h: New file.
4305 * sysdeps/ia64/dl-machine.h: New file.
4306 * sysdeps/ia64/dl-symaddr.c: New file.
4307 * sysdeps/ia64/dl-fptr.c: New file.
4309 * elf/elf.h: Add IA-64 specific definitions.
4311 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4313 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4316 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4318 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4321 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4323 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4324 symbol. Call _dl_init rather than the old way.
4326 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4328 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4329 test for pointer in range of DSO address space.
4331 2000-05-04 Andreas Jaeger <aj@suse.de>
4333 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4335 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4337 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4338 calls of _nl_make_l10nflist.
4340 * libio/stdio.h: Make fseeko and ftello prototypes available is
4341 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4343 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4344 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4346 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4348 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4349 before calling tfind.
4351 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4353 * resolv/resolv.h (res_querydomain): Remove redefinition to
4354 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4356 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4358 * po/gl.po: Update from translation team.
4360 * manual/intro.texi (Program Basics): Change section title.
4361 * manual/process.texi: Fix reference.
4362 (Executing a File): Add reference exec in other section.
4363 * manual/signal.texi: Fix reference.
4364 * manual/startup.texi: Document syscall function.
4365 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4367 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4369 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4370 * intl/bindtextdom.c (set_binding_values): New function.
4371 (bindtextdomain): Call it.
4372 (bind_textdomain_codeset): New function.
4373 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4374 (free_mem): Free each binding's codeset.
4375 * intl/gettextP.h (struct binding): Add codeset field.
4376 (_nl_find_domain): Add domainbinding argument.
4377 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4378 Pass it to _nl_make_l10nflist.
4379 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4380 (_nl_make_l10nflist): Add domainbinding argument.
4381 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4382 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4383 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4385 * manual/message.texi: New node "Charset conversion in gettext".
4387 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4389 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4390 appropriate. Handle possible __read error.
4392 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4394 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4396 * intl/loadinfo.h (__builtin_expect): Likewise.
4397 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4398 __builtin_expect where appropriate.
4399 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4400 * intl/localealias.c (extend_alias_table): Return an error indicator.
4401 (read_alias_file): Bail out if extend_alias_table fails.
4403 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4405 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4406 * intl/localealias.c: Likewise.
4408 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4410 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4411 Initialize domain->plural and domain->nplurals even if there is no
4414 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4416 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4417 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4418 In case of failure, goto converted.
4420 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4422 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4423 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4424 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4427 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4429 * intl/dcigettext.c (transcmp): Compare the domains as well.
4430 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4432 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4435 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4437 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4438 Reported by Bruno Haible.
4440 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4442 * manual/arith.texi: Remove @w from @itemize.
4444 2000-05-02 Andreas Jaeger <aj@suse.de>
4446 * conform/data/tar.h-data: Add some checks for specific values.
4448 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4451 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4454 * conform/data/netinet/in.h-data: Add exact checks for the values
4455 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4457 * conform/data/float.h-data: Add some minimal values.
4459 * conform/conformtest.pl: Test for macros with string constants,
4460 check for minimum and maximum values.
4461 Add limits.h to headers.
4463 * conform/data/cpio.h-data: Test for value of MAGIC.
4465 * conform/data/limits.h-data: New file.
4467 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4469 * math/Makefile (headers): Add bits/fenvinline.h.
4471 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4473 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4474 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4476 * posix/Versions: Change posix_spawnattr_getdefault and
4477 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4478 and posix_spawnattr_setsigdefault respectively.
4479 * posix/spawn.h: Likewise.
4480 * posix/spawnattr_getdefault.h: Likewise.
4481 * posix/spawnattr_setdefault.h: Likewise.
4482 * conform/data/spawn.h-data: Likewise.
4484 2000-05-01 Andreas Jaeger <aj@suse.de>
4486 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4488 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4490 * manual/sysinfo.texi: Document getdomainname, setdomainname
4492 * manual/string.texi: Fix typo.
4493 * manual/terminal.texi: Document gtty and stty.
4494 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4496 2000-04-30 Andreas Jaeger <aj@suse.de>
4498 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4499 accordance with Austin Draft.
4501 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4503 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4504 to recognize second character in comment line.
4506 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4507 ENOBUFS if we are out of memory.
4509 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4510 available if __USE_XOPEN2K.
4511 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4512 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4513 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4515 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4517 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4518 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4520 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4522 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4523 Recognize option -s, -c, and -l.
4525 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4527 * nscd/nscd.c: Start new session for nscd, drop privilegs
4528 to configured user if requested and no -S parameter are used.
4529 * nscd/nscd.conf: Add new option "server-user".
4530 * nscd/nscd_conf.c: Add support for new "server-user" option.
4531 * nscd/nscd.h: Add declaration for server_user variable.
4532 Based on patch by Chris Wing <wingc@engin.umich.edu>
4534 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4536 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4537 that changing the __restore and __restore_rt signal return code
4540 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4542 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4545 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4547 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4549 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4551 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4552 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4554 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4555 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4556 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4557 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4558 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4559 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4560 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4561 posix_fallocate, and posix_madvise.
4562 * conform/data/netdb.h-data: New file.
4563 * conform/data/pthread.h-data: Add pthread_barrier_t,
4564 pthread_barrierattr_t, pthread_barrier_destroy,
4565 pthread_barrier_init, pthread_barrier_wait,
4566 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4567 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4568 pthread_condattr_getclock, pthread_condattr_setclock,
4569 pthread_getcpuclockid, pthread_mutex_timedlock,
4570 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4571 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4572 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4573 * conform/data/sched.h-data: Add sched_ss_low_priority,
4574 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4576 * conform/data/semaphore.h-data: Add sem_timedwait.
4577 * conform/data/signal.h-data: Add SIGIO.
4578 * conform/data/spawn.h-data: New file.
4579 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4580 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4581 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4582 Fix typo in gmtime_r definition.
4583 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4584 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4585 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4586 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4587 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4588 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4589 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4590 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4591 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4592 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4593 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4594 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4595 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4596 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4597 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4598 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4599 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4600 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4601 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4602 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4603 typo in off_t definition.
4604 * conform/data/net/if.h-data: New file.
4605 * conform/data/netinet/in.h-data: New file.
4606 * conform/data/netinet/tcp.h-data: New file.
4607 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4608 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4609 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4610 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4611 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4612 and posix_typed_mem_open.
4613 * conform/data/sys/socket.h-data: New file.
4614 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4615 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4616 pthread_barrierattr_t, and pthread_spinlock_t.
4617 * conform/data/sys/un.h-data: New file.
4618 * conform/data/sys/utsname.h-data: New file.
4620 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4622 * inet/gethstbyad.c (gethostbyname): Likewise.
4623 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4624 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4625 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4626 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4628 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4629 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4630 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4631 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4632 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4633 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4634 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4635 and second parameter.
4637 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4640 2000-04-29 Andreas Jaeger <aj@suse.de>
4642 * conform/data/arpa/inet.h-data: New file.
4644 2000-04-28 Geoff Clare <gwc@unisoft.com>
4646 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4647 path passed to ftw() or nftw() is an empty string.
4648 Closes PR libc/1710.
4650 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4652 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4653 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4654 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4655 * localedata/tst-mbswcs4.c: New file.
4656 * localedata/tst-mbswcs5.c: New file.
4658 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4659 == NULL. Little optimization.
4661 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4662 DT_PREINIT_ARRAYSZ).
4663 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4665 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4666 overflows in conversion from ASCII.
4668 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4670 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4671 * Makerules (full_config_sysdirs): Likewise.
4672 * MakeTAGS (full_config_sysdirs): Likewise.
4674 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4676 * .cvsignore: Remove linuxthreads.
4677 * po/.cvsignore: Remove *.pot.
4678 * posix/glob/.cvsignore: Removed.
4679 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4681 2000-04-25 Andreas Jaeger <aj@suse.de>
4683 * conform/Makefile (distribute): Also distribute contents of
4686 * Makerules (no_deps): Remove abi-versions.h.
4688 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4690 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4692 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4693 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4694 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4695 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4696 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4697 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4700 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4702 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4704 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4706 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4707 * intl/l10nflist.c: Likewise.
4709 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4711 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4712 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4713 * intl/textdomain.c [!_LIBC]: Likewise.
4714 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4715 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4716 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4719 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4721 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4722 character set conversion also in the case the translation was found
4723 after a hash collision or through binary search. Store the maximum
4724 index together with the converted message. Use iconv() when available.
4725 In case of out of memory during conversion, return the unconverted
4726 translated string, not NULL.
4728 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4730 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4731 to avoid name clashes with the ia32 linker.
4733 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4735 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4738 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4740 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4741 strtoumax, strfry, and memfrob.
4742 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4743 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4745 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4746 if this function is available.
4748 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4751 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4753 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4755 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4757 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4758 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4759 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4760 * localedata/tst-mbswcs3.c: New file.
4762 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4764 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4765 characters. Don't handle incomplete characters as errors.
4766 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4767 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4768 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4769 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4770 * localedata/tst-mbswcs2.c: New file.
4772 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4773 stored character in state in UNPACK_BYTES macro.
4774 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4775 test for available characters, handle result of BODY code correctly.
4776 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4777 (distribute): Add tst-mbswcs.sh.
4778 Add rule to run tst-mbswcs.sh.
4779 * localedata/tst-mbswcs.sh: New file.
4780 * localedata/tst-mbswcs1.c: New file.
4782 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4784 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4785 allocation fixups centrally, fix __builtin_expect call, return NULL
4786 on failure, not NIS_NOMEMORY.
4788 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4790 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4792 * intl/loadinfo.h (internal_function): Define if not already defined.
4794 2000-04-27 Andreas Jaeger <aj@suse.de>
4796 * intl/libintl.h: Fix typo, reported by Bruno Haible
4797 <haible@clisp.cons.org>.
4799 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4801 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4802 setting the state to GMON_PROF_BUSY.
4804 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4806 * elf/dl-profile.c (_dl_start_profile): define all variables which
4807 do not have to be global as local variables.
4809 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4810 patch. Keep needed tests for failed memory allocation.
4812 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4813 __builtin_expect saying that we don't normally expect to profile.
4815 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4816 __builtin_expect where desirable.
4818 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4820 * manual/Makefile (chapters): Add syslog.
4821 * manual/syslog.texi: New file.
4822 * manual/math.texi: Fix references.
4823 * manual/terminal.texi: Likewise.
4824 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4826 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4828 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4829 stdlib.h was not included or __USE_XOPEN not defined.
4831 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4833 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4834 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4836 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4838 * manual/examples/subopt.c (mount_opts): Add missing terminating
4840 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4842 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4843 * libio/ftello.c: Likewise.
4844 * libio/ftello64.c: Likewise.
4845 * libio/ioftell.c: Likewise.
4846 * sysdeps/generic/memrchr.c: Likewise.
4847 * sysdeps/posix/libc_fatal.c: Likewise.
4848 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4849 * misc/fstab.c: Include <string.h> for strcmp prototype.
4850 * sysdeps/generic/ldsodefs.h: Likewise.
4851 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4852 Patch by Kurt Roeckx <Q@ping.be>.
4854 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4855 Remove db-open. Change all uses.
4856 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4858 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4860 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4861 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4862 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4863 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4864 with .set noat/at to shut up warnings.
4865 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4866 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4867 compilation if __NR_pciconfig_iobase is not defined.
4868 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4871 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4873 * manual/sysinfo.texi: Fix typo.
4874 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4875 Replace "high precision time" with "high accuracy clock".
4877 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4879 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4880 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4882 * nis/nis_subr.c: Use __builtin_expect.
4883 * nis/ypclnt.c: Likewise.
4884 * nis/nis_getservlist.c: Likewise.
4885 * nis/nis_creategroup.c: Likewise.
4887 * nis/nis_callback.c (__nis_create_callback): Check result of
4888 memory allocation. Fix memory leaks. Use __builtin_expect.
4889 (__nis_destroy_callback): Fix memory leaks.
4891 2000-04-21 Andreas Jaeger <aj@suse.de>
4893 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4894 * sysdeps/mips/mips64/add_n.S: Likewise.
4895 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4896 * sysdeps/mips/mips64/lshift.S: Likewise.
4897 * sysdeps/mips/mips64/mul_1.S: Likewise.
4898 * sysdeps/mips/mips64/rshift.S: Likewise.
4899 * sysdeps/mips/mips64/setjmp.S: Likewise.
4900 * sysdeps/mips/mips64/sub_n.S: Likewise.
4901 * sysdeps/mips/mips64/submul_1.S: Likewise
4902 * sysdeps/unix/mips/sysdep.S: Likewise.
4904 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4905 and update comment. The strtab from _dl_relocate_object can be
4908 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4910 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4911 * iconv/iconv_close.c (iconv_close): Likewise.
4912 * iconv/iconv_open.c (iconv_open): Likewise.
4914 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4915 __builtin_expect where useful.
4917 * grp/initgroups.c (initgroups): Test for result of memory
4918 allocation and punt if it fails.
4920 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4921 * grp/fgetgrent.c (fgetfrent): Likewise.
4922 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4924 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4926 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4928 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4930 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4931 don't search for NUL byte to decrement counter.
4932 Reported by Ulrich.Brink@sap.com.
4934 * iconv/gconv_simple.c: Define separate functions to convert from
4935 UCS4/UCS4-LE to the internal encoding.
4936 * iconv/gconv_builtin.h: Use separate functions to convert from
4937 UCS4/UCS4-LE to the internal encoding.
4938 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4939 __gconv_transform_ucs4le_internal.
4941 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4942 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4944 * iconv/skeleton.c: Add some more __builtin_expect.
4945 * iconv/loop.c: Likewise.
4947 2000-03-08 H.J. Lu <hjl@gnu.org>
4949 * posix/regex.c (regex_compile): Correctly handle "\{" when
4950 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4952 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4954 * manual/stdio.texi: Give advise about handling error when using
4956 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4958 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4960 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4961 field to nelems * sizeof (uint32_t).
4962 * locale/programs/ld-address.c (address_output): Align word fields
4964 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4965 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4967 Avoid giving arbitrary garbage in the crncystr field.
4968 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4969 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4971 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4972 Don't restart idx pointers to idx end at the decimal_point_wc field.
4973 * locale/programs/ld-time.c (time_output): week_1stday should be
4974 word, not byte. Align it properly.
4976 2000-04-19 H.J. Lu <hjl@gnu.org>
4978 * csu/gmon-start.c (_start): Declared as "extern void".
4981 2000-04-18 Andreas Jaeger <aj@suse.de>
4983 * manual/install.texi (Running make install): Don't mention utmpd
4986 2000-04-18 Andreas Jaeger <aj@suse.de>
4988 * linuxthreads/Versions: Use ld instead of ld.so.
4990 * elf/Makefile (ld-map): Use ld.map.
4992 * Versions.def: Use ld instead of ld.so.
4993 * elf/Versions: Likewise.
4994 * sysdeps/mach/hurd/Versions: Likewise.
4996 2000-04-20 Andreas Jaeger <aj@suse.de>
4998 * elf/rtld.c (print_statistics): Move ifndef further up.
4999 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5000 (dl_main): Likewise.
5002 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5004 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5005 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5007 * po/cs.po: Update from translation team.
5009 * sysdeps/generic/updwtmp.c: Remove daemon support.
5011 * login/Makefile (routines): Remove utmp_daemon.
5013 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5014 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5015 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5016 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5018 * elf/rtld.c: Display statitics option also if hp timing is not
5021 * login/programs/connection.c: Removed.
5022 * login/programs/database.c Removed.
5023 * login/programs/error.c: Removed.
5024 * login/programs/request.c: Removed.
5025 * login/programs/xtmp.c: Removed.
5026 * login/programs/xtmp.h: Removed.
5027 * login/Makefile: Remove rules for utmpd.
5028 * login/README.utmpd: Removed.
5029 * login/utmp_daemon.c: Removed.
5030 * login/getutent_r.c: Remove references to daemon functions.
5031 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5034 2000-04-18 Andreas Jaeger <aj@suse.de>
5036 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5037 2.2 for libnsl, libresolv, librt, libnss_*.
5039 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5041 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5043 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5045 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5046 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5047 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5048 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5049 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5050 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5051 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5052 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5053 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5054 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5055 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5056 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5057 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5059 * sysdeps/unix/sysv/aix/msync.c: New file.
5060 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5061 * sysdeps/unix/sysv/aix/net/if.h: New file.
5062 * sysdeps/unix/sysv/aix/pipe.c: New file.
5063 * sysdeps/unix/sysv/aix/poll.c: New file.
5064 * sysdeps/unix/sysv/aix/rename.c: New file.
5065 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5066 * sysdeps/unix/sysv/aix/select.c: New file.
5067 * sysdeps/unix/sysv/aix/semctl.c: New file.
5068 * sysdeps/unix/sysv/aix/semget.c: New file.
5069 * sysdeps/unix/sysv/aix/semop.c: New file.
5070 * sysdeps/unix/sysv/aix/sendto.c: New file.
5071 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5072 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5073 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5074 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5075 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5076 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5077 * sysdeps/unix/sysv/aix/setsid.c: New file.
5078 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5079 * sysdeps/unix/sysv/aix/shmat.c: New file.
5080 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5081 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5082 * sysdeps/unix/sysv/aix/shmget.c: New file.
5083 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5084 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5085 * sysdeps/unix/sysv/aix/socket.c: New file.
5086 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5087 * sysdeps/unix/sysv/aix/speed.c: New file.
5088 * sysdeps/unix/sysv/aix/symlink.c: New file.
5089 * sysdeps/unix/sysv/aix/sync.c: New file.
5090 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5091 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5092 * sysdeps/unix/sysv/aix/times.c: New file.
5093 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5094 * sysdeps/unix/sysv/aix/umask.c: New file.
5095 * sysdeps/unix/sysv/aix/unlink.c: New file.
5096 * sysdeps/unix/sysv/aix/ustat.c: New file.
5097 * sysdeps/unix/sysv/aix/utimes.c: New file.
5099 2000-04-18 Andreas Jaeger <aj@suse.de>
5101 * manual/startup.texi (Environment Access): Fix putenv prototype
5102 according to recent changes.
5103 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5106 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5109 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5111 * posix/Makefile (tests): Add tst-getaddrinfo.
5112 * posix/tst-getaddrinfo.c: New file.
5114 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5116 * manual/sysinfo.texi: Document that umount2 is not widely available.
5118 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5119 signal timing is not really implemented.
5121 2000-04-17 Andreas Jaeger <aj@suse.de>
5123 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5125 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5127 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5130 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5132 * manual/intro.texi: Change reference from System Information to
5134 * manual/users.texi: Likewise.
5135 * manual/conf.texi: Likewise.
5136 * manual/sysinfo.texi: Document mount, umount, and umount2.
5137 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5139 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5141 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5142 Create wnumstr as well as numstr to support wide character output
5145 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5147 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5148 modification and move it...
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5150 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5151 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5152 switch to $(LD) on sparc-linux.
5154 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5156 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5157 and setresuid from sysdep_routines.
5159 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5161 * manual/Makefile (chapters): Add resource.
5163 * manual/time.texi: Move section on resources to...
5164 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5166 * manual/setjmp.texi: Adjust back reference.
5167 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5169 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5171 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5172 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5173 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5174 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5175 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5176 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5177 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5178 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5179 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5180 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5181 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5182 * sysdeps/unix/sysv/aix/Implies: New file.
5183 * sysdeps/unix/sysv/aix/Versions: New file.
5184 * sysdeps/unix/sysv/aix/bind.c: New file.
5185 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5186 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5187 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5188 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5189 * sysdeps/unix/sysv/aix/chdir.c: New file.
5190 * sysdeps/unix/sysv/aix/chmod.c: New file.
5191 * sysdeps/unix/sysv/aix/chroot.c: New file.
5192 * sysdeps/unix/sysv/aix/creat.c: New file.
5193 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5194 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5195 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5196 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5197 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5198 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5199 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5200 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5201 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5202 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5203 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5204 * sysdeps/unix/sysv/aix/link.c: New file.
5205 * sysdeps/unix/sysv/aix/madvise.c: New file.
5206 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5207 * sysdeps/unix/sysv/aix/mknod.c: New file.
5208 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5209 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5210 * sysdeps/unix/sysv/aix/msgget.c: New file.
5211 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5213 2000-04-17 Andreas Jaeger <aj@suse.de>
5215 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5216 as suggested by Ulrich Drepper.
5217 (__dl_runtime_resolve): Remove unused variable, initialize sym
5219 (RTLD_START): Document OFFSET_GP_GOT.
5220 (OFFSET_GP_GOT): New magic value.
5221 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5222 (elf_machine_got_rel): Only declare strtab if needed.
5223 (elf_machine_relplt): Removed, it's not needed.
5224 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5226 * sysdeps/mips/add_n.S: Add newline at EOF.
5227 * sysdeps/mips/rshift.S: Likewise.
5228 * sysdeps/mips/mul_1.S: Likewise.
5229 * sysdeps/mips/lshift.S: Likewise.
5230 * sysdeps/mips/addmul_1.S: Likewise.
5232 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5234 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5236 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5237 * elf/dl-lookup.c: Likewise.
5238 * elf/dl-init.c (_dl_init): Likewise.
5239 * elf/dl-fini.c (_dl_fini): Likewise.
5240 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5241 * elf/dl-close.c (_dl_close): Likewise.
5242 * elf/rtld.c (_dl_start_final): Likewise.
5244 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5246 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5248 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5249 only fall back on using Linux.
5251 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5252 Before testing versions check that we actually loaded the object
5253 and whether we are in trace mode. If not loaded during tracing don't
5254 test versions in this object.
5255 (_dl_check_all_versions): Take new parameter and pass to
5256 _dl_check_map_versions.
5257 * sysdeps/generic/ldsodefs.h: Update prototypes for
5258 _dl_check_all_versions and _dl_check_map_versions.
5259 * elf/rtld.c (struct version_check_args): Add dotrace.
5260 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5261 (dl_main): Pass info about trace mode to version_check_doit.
5262 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5263 _dl_check_all_versions.
5265 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5267 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5269 * manual/argp.texi: Document index parameter of argp_parse.
5271 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5273 2000-04-14 Andreas Jaeger <aj@suse.de>
5275 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5276 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5278 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5280 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5282 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5283 compat_symbol call for old adjtime.
5285 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5286 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5288 * posix/Makefile (headers): Add spawn.h.
5289 (distribute): Add spawn_int.h.
5290 (routines): Add spawn_faction_init, spawn_faction_destroy,
5291 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5292 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5293 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5294 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5295 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5296 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5297 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5298 posix_spawnattr_init, posix_spawnattr_destroy,
5299 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5300 posix_spawnattr_getflags, posix_spawnattr_setflags,
5301 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5303 * posix/spawn.c: New file.
5304 * posix/spawn.h: New file.
5305 * posix/spawn_faction_addclose.c: New file.
5306 * posix/spawn_faction_adddup2.c: New file.
5307 * posix/spawn_faction_addopen.c: New file.
5308 * posix/spawn_faction_destroy.c: New file.
5309 * posix/spawn_faction_init.c: New file.
5310 * posix/spawn_int.h: New file.
5311 * posix/spawnattr_destroy.c: New file.
5312 * posix/spawnattr_getdefault.c: New file.
5313 * posix/spawnattr_getflags.c: New file.
5314 * posix/spawnattr_getpgroup.c: New file.
5315 * posix/spawnattr_getschedparam.c: New file.
5316 * posix/spawnattr_getschedpolicy.c: New file.
5317 * posix/spawnattr_getsigmask.c: New file.
5318 * posix/spawnattr_init.c: New file.
5319 * posix/spawnattr_setdefault.c: New file.
5320 * posix/spawnattr_setflags.c: New file.
5321 * posix/spawnattr_setpgroup.c: New file.
5322 * posix/spawnattr_setschedparam.c: New file.
5323 * posix/spawnattr_setschedpolicy.c: New file.
5324 * posix/spawnattr_setsigmask.c: New file.
5325 * posix/spawni.c: New file.
5326 * posix/spawnp.c: New file.
5328 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5329 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5331 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5333 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5334 * malloc/malloc.c: Implement posix_memalign for glibc.
5335 * include/stdlib.h: Add prototype for __posix_memalign.
5336 * stdlib/stdlib.h: Add prototype for posix_memalign.
5338 2000-04-14 Andreas Jaeger <aj@suse.de>
5340 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5342 (elf_machine_got_rel): Cast sym correctly.
5344 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5345 * sysdeps/mips/addmul_1.S: Likewise.
5346 * sysdeps/mips/lshift.S: Likewise.
5347 * sysdeps/mips/mul_1.S: Likewise.
5348 * sysdeps/mips/rshift.S: Likewise.
5349 * sysdeps/mips/sub_n.S: Likewise.
5350 * sysdeps/mips/submul_1.S: Likewise.
5352 * stdlib/stdlib.h: Fix typo in comment.
5354 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5355 2.2 for libdl, ld and libm.
5357 * sysdeps/generic/madvise.c: Fix typos.
5359 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5361 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5363 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5366 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5368 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5369 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5370 Make old name weak alias.
5371 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5372 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5373 Make old name weak alias.
5374 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5376 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5377 posix_fallocate, and posix_fallocate64.
5378 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5379 posix_fallocate, and posix_fallocate64.
5380 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5381 posix_fallocate, and posix_fallocate64.
5382 * sysdeps/generic/fadvise.c: New file.
5383 * sysdeps/generic/fadvise64.c: New file.
5384 * sysdeps/generic/fallocate.c: New file.
5385 * sysdeps/generic/fallocate64.c: New file.
5386 * sysdeps/posix/fallocate.c: New file.
5387 * sysdeps/posix/fallocate64.c: New file.
5388 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5389 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5390 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5391 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5392 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5393 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5395 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5398 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5399 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5401 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5403 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5404 * misc/sys/mman.h (posix_madvise): Add prototype.
5405 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5406 old name and posix_madvise weak aliases.
5407 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5408 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5409 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5410 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5415 2000-04-13 Andreas Jaeger <aj@suse.de>
5417 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5419 (elf_machine_got_rel): Only add runtime display if needed.
5420 (elf_machine_got_rel): Handle symbol versioning.
5422 2000-04-13 Andreas Jaeger <aj@suse.de>
5424 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5426 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5429 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5430 with some applications.
5431 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5433 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5434 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5435 * sysdeps/mips/setjmp.S: Likewise.
5437 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5439 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5441 * posix/globtest.sh: Work around inconsistency with expanding ~/
5442 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5444 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5446 * posix/getconf.c: Add support for many more POSIX options.
5447 * sysdeps/posix/sysconf.c: Likewise.
5448 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5449 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5451 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5452 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5453 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5454 CLOCK_THREAD_CPUTIME_ID.
5455 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5456 CLOCK_PROCESS_CPUTIME_ID.
5457 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5458 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5459 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5460 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5462 * malloc/Makefile (tests): Add tst-calloc.
5463 * malloc/tst-calloc.c: New file.
5465 * sysdeps/arm/libm-test-ulps: New file.
5467 * malloc/malloc.c: Undo all of today's changes.
5469 * locale/programs/locale.c (show_info): Don't try to look into
5470 data for LC_ALL (there is none).
5472 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5473 avoid writing over boundary.
5474 Patch by Greg McGary <gkm@eng.ascend.com>.
5476 * sysdeps/arm/memprof.h: New file.
5478 2000-04-12 Andreas Jaeger <aj@suse.de>
5480 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5482 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5483 for memmem declaration.
5485 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5487 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5489 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5491 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5493 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5494 Patch by Bart Veer <bartv@redhat.com>.
5496 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5499 2000-04-11 Andreas Jaeger <aj@suse.de>
5501 * sysdeps/mips/dl-machine.h: Update some comments.
5502 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5504 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5506 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5507 _POSIX_SHARED_MEMORY_OBJECTS.
5509 * rt/Makefile (tests): Add tst-shm.
5510 Add rules to generate tst-shm.
5511 * rt/tst-shm.c: New file.
5513 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5516 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5517 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5518 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5519 * sysdeps/generic/shm_open.c: New file.
5520 * sysdeps/generic/shm_unlink.c: New file.
5521 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5522 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5523 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5524 __endmntent, __getmntent_r, __setmntent, and __statfs.
5526 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5527 fragmentation by allocating new memory at the end instead of
5530 * posix/globtest.sh: Fix last change.
5532 2000-04-10 Philip Blundell <philb@gnu.org>
5534 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5535 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5536 IPV6_DROP_MEMBERSHIP.
5537 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5540 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5542 * elf/readlib (process_file): Close streams in case of an error.
5544 2000-04-09 Andreas Jaeger <aj@suse.de>
5546 * elf/readlib.c (process_file): Check if file is big enough to
5547 contain aout and ELF headers.
5548 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5550 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5552 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5554 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5556 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5558 * rt/Makefile (tests): Add tst-clock.
5559 Add rules to build tst-clock.
5560 * rt/tst-clock.c: New file.
5561 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5562 about initialization of nsec.
5563 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5564 about initialization of freq. Set retval to zero if successful.
5565 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5567 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5569 * Versions.def (librt): Add GLIBC_2.2.
5570 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5571 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5572 timer_getoverr, timer_gettime, and timer_settime.
5573 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5574 clock_settime, timer_create, timer_delete, timer_getoverrun,
5575 timer_gettime, and timer_settime.
5576 * sysdeps/generic/clock_getcpuclockid.c: New file.
5577 * sysdeps/generic/get_clockfreq.c: New file.
5578 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5579 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5580 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5581 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5582 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5583 * sysdeps/unix/i386/i686/Implies: New file.
5584 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5585 * time/Makefile (routines): Move clock_getres, clock_gettime,
5586 clock_settime, timer_create, timer_delete, timer_getoverr,
5587 timer_gettime, and timer_settime to rt/Makefile.
5588 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5589 clock_settime, timer_create, timer_delete, timer_getoverrun,
5590 timer_gettime, and timer_settime.
5591 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5593 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5594 and not const as attribute name.
5596 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5598 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5600 2000-04-10 Andreas Schwab <schwab@suse.de>
5602 * posix/globtest.sh: Skip tests that depend on unreadable
5603 directories if run as root.
5605 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5607 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5608 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5610 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5612 * sysdeps/unix/clock_gettime.c: New file.
5613 * sysdeps/unix/clock_settime.c: New file.
5614 * sysdeps/posix/clock_getres.c: New file.
5616 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5618 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5619 lseek call be passing in a buffer which never allow a successful
5620 first getdents syscall if not at leas the initial entry can be
5621 stored in the user buffer.
5623 * localedata/Makefile: Add rules to clean up directories created by
5626 2000-04-09 Geoff Clare <gwc@unisoft.com>
5628 * localedata/tst-fmon.data: Added new tests for strfmon()
5629 using test locales with all combinations of cs_precedes,
5630 sign_posn and sep_by_space.
5631 * localedata/tst-fmon.sh: Updated to support the new tests.
5632 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5633 the localedef source for the new strfmon() test locale.
5634 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5635 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5636 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5637 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5638 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5639 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5640 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5641 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5642 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5643 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5644 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5645 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5646 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5647 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5649 * stdlib/strfmon.c: Correct problems with missing or extra
5650 spaces for unusual combinations of sign_posn and sep_by_space.
5651 Improved left-precision alignment code.
5653 2000-04-07 Andreas Jaeger <aj@suse.de>
5655 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5657 2000-04-10 Andreas Jaeger <aj@suse.de>
5659 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5661 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5663 Implement handling of restartable conversion functions according to
5665 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5666 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5667 * iconv/gconv.c: Pass additional parameter to conversion function.
5668 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5669 (internal_ucs4le_loop_single): New function.
5670 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5671 (__gconv_transform_internal_ascii): Likewise.
5672 (__gconv_transform_internal_utf8): Likewise.
5673 (__gconv_transform_utf8_internal): Likewise.
5674 (__gconv_transform_ucs2_internal): Likewise.
5675 (__gconv_transform_internal_ucs2): Likewise.
5676 (__gconv_transform_ucs2reverse_internal): Likewise.
5677 (__gconv_transform_internal_ucs2reverse): Likewise.
5678 (internal_ucs4le_loop_unaligned): Before return
5679 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5680 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5681 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5682 * iconv/loop.c: Fit in definition of function to convert one character
5683 for processing of left-over bytes from the state object.
5684 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5685 inend to match names in loop functions.
5686 (RESET_INPUT_BUFFER): Change apprpriately.
5687 (gconv): If needed, call function to process bytes from the state
5688 object. Similar at the end: store left over bytes if input is
5690 Take extra argument and add new argument to all calls of the
5691 conversion function.
5692 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5693 information in the state object to not conflict with length count.
5694 * iconvdata/iso-2022-jp.c: Likewise.
5695 * iconvdata/iso-2022-kr.c: Likewise.
5696 * iconvdata/unicode.c: Adjust for change change in parameters of
5698 * iconvdata/utf-16.c: Likewise.
5699 * libio/iofwide.c: Add new parameter to all calls of conversion
5701 * wcsmbs/btowc.c: Likewise.
5702 * wcsmbs/mbrtowc.c: Likewise.
5703 * wcsmbs/mbsnrtowcs.c: Likewise.
5704 * wcsmbs/mbsrtowcs.c: Likewise.
5705 * wcsmbs/wcrtomb.c: Likewise.
5706 * wcsmbs/wcsnrtombs.c: Likewise.
5707 * wcsmbs/wcsrtombs.c: Likewise.
5708 * wcsmbs/wctob.c: Likewise.
5710 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5713 2000-04-07 Andreas Jaeger <aj@suse.de>
5715 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5718 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5720 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5721 element a union to allow byte access.
5722 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5724 * iconvdata/iso-2022-jp.c: Likewise.
5725 * iconvdata/iso-2022-kr.c: Likewise.
5726 * wcsmbs/mbsinit.c: Likewise.
5727 * stdlib/mblen.c: Likewise.
5728 * stdio-common/printf-parse.h: Likewise.
5730 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5732 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5733 kernel does not allow relative seeks on descriptors associated
5734 with directories. Go back to get the position in the directory
5735 every time we enter the function. Return -1 and set errno if one
5736 entry could be read from the kernel but does not fit into the
5737 buffer passed in by the user.
5739 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5740 Support ..(2).. ellipsis.
5741 (parse_charmap): Recognize ..(2).. etc and pass step down.
5742 Correctly generate names for UCS4 characters.
5744 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5745 (ctype_finish): We know the wide character value for <SP>,
5747 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5748 (charclass_ucs4_ellipsis): Likewise.
5749 (read_translit_ignore_entry): Store ellipsis step.
5750 (ctype_read): Recognize ..(2).. etc and pass step down.
5752 * locale/programs/linereader.c (lr_token): When seeing comment
5753 character ignore only rest of line in sources but stop at escaped
5755 Recognize ..(2).. and ....(2).....
5757 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5758 and tok_ellipsis4_2.
5760 2000-04-06 Andreas Jaeger <aj@suse.de>
5762 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5763 removed, remove it here also.
5764 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5766 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5769 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5771 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5772 include bits/sigcontext.h.
5773 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5775 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5777 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5778 collation symbol definition. Value in quivalence definition must
5779 be defined, don't check that it is not.
5781 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5782 values as character names.
5784 * locale/programs/ld-ctype.c (get_character): Handle missing
5785 repertoire map correctly.
5787 2000-04-05 Cristian Gafton <gafton@redhat.com>
5789 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5790 because it is used in generic code.
5791 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5792 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5793 * intl/gettext.c: Include <locale.h>.
5794 * intl/ngettext.c: Likewise.
5796 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5798 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5799 socklen_t type for size.
5800 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5801 init function interface.
5802 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5803 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5805 (__jmp_buf): Declare the whole type structure here, don't use
5808 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5810 * iconv/skeleton.c (put16u): Fix typo.
5811 Reported by Bruno Haible <haible@ilog.fr>.
5813 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5814 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5815 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5816 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5817 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5820 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5821 * Makefile (distribute): Add abi-versions.awk and
5823 Patches by Torsten Duwe <duwe@caldera.de>.
5825 2000-04-05 Andreas Schwab <schwab@suse.de>
5827 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5829 2000-04-05 Andreas Schwab <schwab@suse.de>
5831 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5832 entry point, used on Hurd.
5834 2000-04-04 Andreas Jaeger <aj@suse.de>
5836 * intl/Makefile: Only run the gettext test with shared libraries.
5838 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5840 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5841 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5843 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5845 * Makeconfig: Undo last change.
5846 * configure.in: If --disable-shared was given, don't set VERSIONING,
5847 don't define DO_VERSIONING, and don't give scare warning for no
5849 * configure: Regenerated.
5851 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5853 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5855 2000-04-04 Andreas Jaeger <aj@suse.de>
5857 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5859 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5861 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5862 STV_HIDDEN and STV_INTERNAL during lookup.
5863 (profile_fixup): Likewise.
5864 * elf/dl-reloc.c (RESOLVE): Likewise.
5866 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5867 unaligned so that it compiles for system which need unaligned
5870 2000-04-04 Andreas Schwab <schwab@suse.de>
5872 * elf/cache.c (print_entry): Only look at the type field when
5875 2000-04-04 Andreas Schwab <schwab@suse.de>
5877 * iconvdata/big5.c (BODY): Fix typo.
5879 2000-04-04 Andreas Schwab <schwab@suse.de>
5881 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5882 function interface. Remove unused _dl_start_user entry point.
5884 2000-04-03 Andreas Jaeger <aj@suse.de>
5886 * include/arpa/inet.h (__inet_aton): Add protoype.
5888 2000-04-01 Andreas Jaeger <aj@suse.de>
5890 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5892 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5893 * sysdeps/mach/mips/thread_state.h: Likewise.
5895 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5896 * sysdeps/generic/fegetenv.c: Likewise.
5897 * sysdeps/generic/fesetenv.c: Likewise.
5898 * sysdeps/generic/feupdateenv.c: Likewise.
5899 * sysdeps/generic/fraiseexcpt.c: Likewise.
5900 * sysdeps/generic/fsetexcptflg.c: Likewise.
5901 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5902 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5903 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5904 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5906 2000-04-02 H.J. Lu <hjl@gnu.org>
5908 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5910 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5912 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5913 (add_name_to_object): Add cast in malloc call.
5914 (fillin_rpath): Optimize loop to initialize ->status a bit.
5916 * sysdeps/i386/dl-machine.h: Undo last change.
5917 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5918 Restore %edx register after call here.
5920 * sysdeps/arm/atomicity.h: New file.
5921 Contributed by Jesper Skov <jskov@redhat.com>.
5923 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5925 * Makeconfig (preprocess-versions): Undo last change.
5926 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5928 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5929 here, before we might move the stack.
5930 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5931 (init1): And not here.
5933 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5934 change, to restore argc value in call-clobbered register after
5935 RTLD_START_SPECIAL_INIT, which will contain a call.
5937 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5938 allocating and initializing L->l_initfini.
5940 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5942 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5944 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5945 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5946 (open_path): Change type of fourth parameter. Make pointer to array
5947 of pointers. Create variable dirs with original type.
5948 Track whether any directory for the object exists and if not,
5949 change *DIRSP to (void*) -1 to signal there is no such search path.
5950 (_dl_map_object): Change all calls of open_path.
5951 Rewrite decompose_rpath calls.
5953 2000-03-31 Andreas Schwab <schwab@suse.de>
5955 * string/strfry.c: Declare STATE as array of char instead of int
5956 and do not initialize it (done by initstate_r). Pass correct
5959 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5961 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5963 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5964 instruction out of the code.
5966 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5968 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5969 element at this position.
5971 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5972 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5974 * elf/dl-lookup.c (add_dependency): New function.
5975 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5976 dynamically loaded object.
5977 (_dl_lookup_symbol_skip): Likewise.
5978 (_dl_lookup_versioned_symbol): Likewise.
5979 (_dl_lookup_versioned_symbol_skip): Likewise.
5980 * elf/dl-open.c: Don't define _dl_load_lock here...
5981 * elf/rtld.c: ...but here...
5982 * elf/dl-support.c: ...and here.
5983 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5985 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5987 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5989 * dlfcn/glrefmain.c: Add one more debug message.
5991 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5993 * Makerules (sysd-versions): Use ( ) instead of { }.
5995 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5996 optimize for the non-debugging case.
5997 * elf/dl-lookup.c: Likewise.
5998 * sysdeps/generic/libc-start.c: Likewise.
6000 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6002 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6003 (init1): Don't initialize __environ here, since init already does it.
6004 (first_init): New function, broken out of _init.
6005 (_hurd_stack_setup): Use it.
6006 [SHARED] (_dl_init_first): New function, renamed from old _init.
6007 (init1) [SHARED]: Don't call posixland_init here.
6008 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6009 [SHARED] (_init): Define as alias for posixland_init.
6010 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6011 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6012 RTLD_START_SPECIAL_INIT before calling initializers.
6013 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6014 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6015 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6016 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6018 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6019 since we define the function with the name `tmpfile'.
6021 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6022 * hurd/Versions: Likewise.
6024 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6026 * elf/dl-runtime.c (fixup): Fix typo in comment.
6028 * resolv/netdb.h (getnameinfo): All length parameters are of type
6030 * inet/getnameinfo.c: Likewise.
6032 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6034 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6035 (gethostname): Change type of second parameter to socklen_t.
6036 * include/unistd.h (__gethostname): Change type of second
6037 parameter to socklen_t.
6038 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6039 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6040 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6041 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6043 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6044 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6045 Allow definition elsewhere.
6046 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6047 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6048 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6049 * sysdeps/generic/bits/types.h: Define __socklen_t.
6050 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6051 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6052 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6053 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6054 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6055 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6056 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6058 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6059 (inet_lnaof): Likewise.
6060 (inet_netof): Likewise.
6061 (inet_network): Likewise.
6062 (inet_aton): Likewise.
6063 (inet_makeaddr): Change parameter types to in_addr_t.
6064 (inet_neta): Likewise.
6065 (inet_ntop): Change type of last parameter to socklen_t.
6066 (inet_aton): Only make available if __USE_MISC.
6067 (inet_neta): Likewise.
6068 (inet_net_ntop): Likewise.
6069 (inet_net_pton): Likewise.
6070 (inet_nsap_ntoa): Likewise.
6072 * inet/in.h: Define in_port_t type.
6073 Define in_addr_t type.
6074 (struct in_addr): Use in_addr_t in definition.
6075 (IN_CLASSA): Use cast to in_addr_t.
6076 (IN_CLASSB): Likewise.
6077 (IN_CLASSC): Likewise.
6078 (IN_CLASSD): Likewise.
6079 (IN_EXPERIMENTAL): Likewise.
6080 (IN_BADCLASS): Likewise.
6081 (INADDR_ANY): Likewise.
6082 (INADDR_BROADCAST): Likewise.
6083 (INADDR_NONE): Likewise.
6084 (INADDR_LOOPBACK): Likewise.
6085 (INADDR_UNSPEC_GROUP): Likewise.
6086 (INADDR_ALLHOSTS_GROUP): Likewise.
6087 (INADDR_ALLRTRS_GROUP): Likewise.
6088 (INADDR_MAX_LOCAL_GROUP): Likewise.
6089 (struct sockaddr_in): Use in_port_t for sin_port element.
6090 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6091 Use uint8_t instead of u_int8_t.
6093 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6094 Call __inet_aton instead of inet_aton.
6095 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6097 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6098 (innetgr): Likewise.
6099 (struct addrinfo): Use socklen_t for ai_addrlen element.
6101 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6102 IPV6_RECVERR): New defines.
6104 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6105 * inet/getnetbyad.c: Likewise.
6106 * inet/getnetbyad_r.c: Likewise.
6107 * nis/nss_nis/nis-network.c: Likewise.
6108 * nis/nssplus_nis/nisplus-network.c: Likewise.
6109 * nss/nss_files/files-network.c: Likewise.
6110 * resolv/netdb.h: Define uint32_t if not already happened.
6111 Include bits/netdb.h. Remove definition of struct netent.
6112 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6113 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6114 * sysdeps/generic/bits/netdb.h: New file.
6115 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6117 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6118 (tests): Add glrefmain.
6119 Add rules to build modules and run tests. Ignore result of glrefmain
6120 for now since it fails.
6121 * dlfcn/glrefmain.c: New file.
6122 * dlfcn/glreflib1.c: New file.
6123 * dlfcn/glreflib2.c: New file.
6125 * test-skeleton.c: Include <string.h> for strsignal prototype.
6127 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6130 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6131 former init-first.h. Initialize __libc_multiple_libcs.
6133 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6135 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6136 #if expression for use of unaligned function to the one used in
6137 the definition of these functions.
6138 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6139 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6140 (internal_ucs4le_loop_unaligned): New function.
6142 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6144 (module-names): Add dep1, dep2, dep3, and dep4.
6145 Add dependencies for dep* modules and order.
6146 Define rule for order.out which checks the result.
6147 * elf/dep1.c: New file.
6148 * elf/dep2.c: New file.
6149 * elf/dep3.c: New file.
6150 * elf/dep4.c: New file.
6151 * elf/order.c: New file.
6153 * elf/dl-init.c: Fix typo in comment.
6155 2000-03-31 Andreas Jaeger <aj@suse.de>
6157 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6158 init function interface.
6159 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6161 2000-03-31 Andreas Jaeger <aj@suse.de>
6163 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6164 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6165 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6166 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6167 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6169 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6170 anymore, update comment.
6172 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6174 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6175 SHLIB_COMPAT - the struct is always needed.
6177 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6179 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6180 * elf/dl-support.c: Define _dl_starting_up.
6182 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6184 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6185 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6187 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6189 * elf/Makefile (dl-routines): Remove preinit.
6190 * elf/Versions: Remove _dl_preinit.
6191 * elf/dl-preinit.c: Removed. Move content into...
6192 * elf/dl-init.c: ...here.
6193 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6195 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6198 2000-03-29 Geoff Clare <gwc@unisoft.com>
6200 * stdlib/strfmon.c: Corrected problems with the code that
6201 sets default values for [np]_sep_by_space and
6202 [np]_sign_posn; also the new positive/negative alignment
6203 code from the previous patch was not quite right for
6206 * localedata/tst-fmon.data: Changes corresponding to the
6207 two sets of fixes made to stdlib/strfmon.c.
6209 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6211 * malloc/malloc.c: Declare bit flags UL so that they will not
6212 default to int size when being inverted.
6214 2000-03-29 Andreas Jaeger <aj@suse.de>
6216 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6217 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6219 2000-03-29 Andreas Jaeger <aj@suse.de>,
6220 Ralf Baechle <ralf@uni-koblenz.de>
6222 * Makeconfig: Introduce new variable SHARED to mark code used in
6224 * elf/dl-close.c: Use it instead of PIC.
6225 * elf/dl-load.c: Likewise.
6226 * elf/dl-open.c: Likewise.
6227 * hurd/geteuids.c: Likewise.
6228 * include/libc-symbols.h: Likewise.
6229 * include/shlib-compat.h: Likewise.
6230 * libio/freopen.c: Likewise.
6231 * linuxthreads/cancel.c: Likewise.
6232 * linuxthreads/pthread.c: Likewise.
6233 * linuxthreads/wrapsyscall.c: Likewise.
6234 * nss/nsswitch.c: Likewise.
6235 * stdio-common/vfprintf.c: Likewise.
6236 * sysdeps/arm/init-first.c: Likewise.
6237 * sysdeps/i386/init-first.c: Likewise
6238 * sysdeps/generic/init-first.c: Likewise.
6239 * sysdeps/generic/libc-start.c: Likewise.
6240 * sysdeps/mips/init-first.c: Likewise.
6241 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6242 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6243 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6244 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6245 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6247 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6249 2000-03-29 Andreas Jaeger <aj@suse.de>
6251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6252 Use D_PTR to access relocated entries in l_info.
6253 (elf_machine_rela): Likewise.
6255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6257 (elf_machine_rela): Likewise.
6259 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6261 (__elf_machine_fixup_plt): Likewise.
6262 (__process_machine_rela): Likewise.
6264 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6265 (elf_machine_rela): Likewise.
6267 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6268 (elf_machine_rel): Likewise.
6270 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6271 (elf_machine_fixup_plt): Likewise.
6272 (elf_machine_rela): Likewise.
6274 2000-03-29 Andreas Jaeger <aj@suse.de>
6276 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6277 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6278 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6279 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6280 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6281 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6282 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6283 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6284 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6286 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6287 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6288 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6289 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6292 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6293 macros, remove K&R prototypes.
6295 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6297 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6298 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6301 2000-03-30 Andreas Jaeger <aj@suse.de>
6303 * misc/sys/cdefs.h: Remove K&R support.
6305 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6307 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6309 * iconv/loop.c: Likewise.
6311 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6313 * iconv/loop.c (put16): Remove __const. Fix access index.
6314 (put32): Remove __const. Use uint32_t instead of uint16_t.
6315 * iconv/skeleton.c: Likewise.
6317 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6319 * mach/Versions (libc: GLIBC_2.0)
6320 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6321 __vm_allocate on this.
6322 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6323 mutex- and spinlock-related symbols on this.
6324 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6325 New version set. Lock-related symbols go here instead in this case.
6326 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6327 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6328 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6330 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6331 Put them here instead.
6332 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6333 New version set. Those cthreads symbols go here instead in this case.
6334 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6336 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6338 * elf/dl-init.c (_dl_init): We don't need to call constructors
6339 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6341 Implement dynamic determination of constructor/destructor order in
6343 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6344 (GLIBC_2.2): Add _dl_init.
6345 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6346 r_duplist is not anymore allocated separately. l_initfini is and
6347 therefore free it if necessary.
6348 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6349 malloc block. Otherwise allocate l_initfini list only.
6350 Put dependencies for the object in l_initfini list.
6351 Sort dependencies for the object to be loaded topologically.
6352 * elf/dl-fini.c: Before running the destructors sort the topologically.
6353 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6354 call constructors instead of iterating over the pointers. Get list of
6355 objects for which to run constructors from l_initfini element. Accept
6356 argc, argv, and env as parameters and pass them to the constructors.
6357 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6358 with size of dynamic section.
6359 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6360 _dl_init_next and calling constructors ourself.
6361 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6362 Take argc, argv, and env as parameters and pass them to the
6363 constructors. Rewrite to call all constructors and not iterate over
6365 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6366 precompute l_initcount and l_preinitcount.
6367 * elf/link.h (struct link_map): Add l_ldnum member.
6368 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6369 l_initcount, and l_preinitcount. Add l_initfini.
6370 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6372 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6374 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6375 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6376 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6377 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6378 conventions now match.
6380 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6381 effect for shared objects. Don't emit message and call only for
6384 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6386 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6387 CSA_Z243.4-1985-1..UCS2.
6388 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6391 2000-03-29 Andreas Jaeger <aj@suse.de>
6393 * include/unistd.h: Remove duplicate entry for __rmdir.
6394 Remove declaration of __mkdir since __mkdir is declared in
6397 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6398 by Michael Deutschmann <michael@talamasca.ocis.net>.
6400 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6401 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6402 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6403 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6404 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6406 2000-03-28 Andreas Jaeger <aj@suse.de>
6408 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6409 declaration, the prototype is defined via bits/mathcalls.h.
6410 (__sincosf): Likewise.
6411 (__sincosl): Likewise.
6415 (__finite): Likewise.
6416 (__inline_mathcodeNP): New macro without prototype
6418 (__inline_mathcodeNP2): Likewise.
6419 (__inline_mathcodeNP3): Likewise.
6420 (__inline_mathcodeNP_): Likewise.
6421 (__inline_mathcodeNP2_): Likewise.
6422 (__inline_mathcodeNP3_): Likewise.
6423 (__inline_mathopNP): Likewise.
6424 (__inline_mathop_declNP): Likewise.
6425 (__inline_mathop_declNP_): Likewise.
6426 (__inline_mathcode_): Use __inline_mathcodeNP_.
6427 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6428 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6429 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6430 (__expm1l): Don't define prototype, the prototype is defined via
6436 (__atan2l): Likewise.
6441 (__fabsl): Likewise.
6459 (__sqrtl): Likewise.
6469 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6471 * Makerules: If make variable md5 is defined to yes after
6472 generating dependencies generate MD5 sum for the object.
6474 * iconv/gconv_builtin.h: Fix length in transformation definition
6477 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6479 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6480 allow as well reading from/writing to unaligned addresses on machines
6481 which don't support this in hardware. Use FCTNAME macro to define
6482 function name. Include the file a second time for platforms which
6483 need special unaligned handling.
6484 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6485 to access potentially unaligned addresses. These macros are intended
6486 to be used only outside the loops.
6487 (unaligned): New definition. In case the machine can handle unaligned
6488 access define as zero. Otherwise as a variable which is initialized
6489 as nonzero in case the buffer passed in at runtime is unaligned with
6490 respect to the character set encoding involved.
6491 Call aligned or unaligned looop functions according to unaligned
6493 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6494 of direct casting pointer to potentially handle unaligned memory
6496 * iconvdata/8bit-generic.c: Likewise.
6497 * iconvdata/ansi_x3.110.c: Likewise.
6498 * iconvdata/big5.c: Likewise.
6499 * iconvdata/euc-cn.c: Likewise.
6500 * iconvdata/euc-jp.c: Likewise.
6501 * iconvdata/euc-kr.c: Likewise.
6502 * iconvdata/euc-tw.c: Likewise.
6503 * iconvdata/gbk.c: Likewise.
6504 * iconvdata/iso-2022-cn.c: Likewise.
6505 * iconvdata/iso-2022-jp.c: Likewise.
6506 * iconvdata/iso-2022-kr.c: Likewise.
6507 * iconvdata/iso646.c: Likewise.
6508 * iconvdata/iso_6937-2.c: Likewise.
6509 * iconvdata/iso_6937.c: Likewise.
6510 * iconvdata/johab.c: Likewise.
6511 * iconvdata/sjis.c: Likewise.
6512 * iconvdata/t.61.c: Likewise.
6513 * iconvdata/uhc.c: Likewise.
6514 * iconvdata/unicode.c: Likewise.
6515 * iconvdata/utf-16.c: Likewise.
6517 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6520 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6521 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6523 * malloc/mcheck.h (mcheck_check_all): Declare.
6525 * stdio-common/Makefile (tests): Add tst-obprintf.
6527 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6529 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6530 Declare pthread_sigmask.
6532 * csu/version.c: Add 2000 to copyright years.
6533 Remove Emacs local variables section.
6535 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6537 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6538 __gconv_transform_internal_ucs2little): Remove declarations.
6539 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6540 __gconv_transform_internal_ucs2): Never need to bswap_16.
6541 (__gconv_transform_ucs2reverse_internal,
6542 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6544 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6546 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6547 obsoleting version not being defined at all, in which case the
6548 result is always true.
6550 * Makeconfig (preprocess-versions): New canned sequence for running
6551 cpp on shlib-versions and the like.
6552 (soversions.i): Use it.
6553 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6554 Versions.def and Versions files.
6556 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6558 * stdio-common/tst-obprintf.c (main): Add another check to see
6559 obstack_printf handling all possible beginnings of the block
6560 inside an obstack chunk.
6562 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6563 install mcheck handler.
6565 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6568 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6570 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6572 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6573 on [HAVE_ELF && DO_VERSIONING].
6575 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6577 * stdio-common/tst-obprintf.c: New file.
6579 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6581 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6582 _IO_OVERFLOW directly instead through __overflow.
6584 * locale/programs/localedef.c (construct_output_path): If path
6585 contains a / compute the end of the directory name correctly.
6587 * include/features.h: Undef and document __USE_XOPEN2K.
6589 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6590 whenever a function is called. Initiated by calling mcheck_pedantic
6592 * malloc/mcheck.h: Declare mcheck_pedantic.
6593 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6594 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6597 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6599 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6600 * dlfcn/dlopenold.c: Likewise.
6601 * nss/getXXbyYY_r.c: Likewise.
6602 * nss/getXXent_r.c: Likewise.
6603 * hurd/hurdinit.c: Likewise.
6604 * hurd/compat-20.c: Likewise.
6605 * libio/oldiofopen.c: Likewise.
6606 * libio/oldiofclose.c: Likewise.
6607 * libio/oldiofdopen.c: Likewise.
6608 * libio/oldfileops.c: Likewise.
6609 * libio/oldstdfiles.c: Likewise.
6610 * libio/oldiofsetpos.c: Likewise.
6611 * libio/oldiofgetpos.c: Likewise.
6612 * libio/oldiofgetpos64.c: Likewise.
6613 * libio/oldiofsetpos64.c: Likewise.
6614 * libio/oldiopopen.c: Likewise.
6615 * libio/oldpclose.c: Likewise.
6616 * libio/oldtmpfile.c: Likewise.
6617 * libio/freopen.c (freopen): Likewise.
6618 * libio/iofclose.c (_IO_new_fclose): Likewise.
6620 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6621 (reboot): Declare it.
6623 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6625 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6627 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6629 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6630 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6631 We need this for the sbrk decl, which can be included without Unix98.
6633 2000-03-20 Richard Henderson <rth@cygnus.com>
6635 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6636 argument to yperr2nss is an int, not size_t.
6637 * posix/regex.c (print_partial_compiled_pattern): Cast all
6638 ptrdiff_t to long for printing.
6639 (print_compiled_pattern): Use Z for printing size_t.
6640 * posix/testfnm.c (tests): Avoid trigraphs.
6641 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6642 Use a C comment, not an assembly comment.
6644 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6645 of __ASSUME_32BITUIDS.
6647 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6649 * libio/iofopncook.c: Remove K&R prototypes.
6651 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6653 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6654 an initial value of 1024 instead of RLIM_INFINITY.
6656 * Versions.def (libmachuser, libhurduser): Remove these sections,
6657 since these libraries do not presently use symbol versions.
6659 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6660 is RLIM_INFINITY, return -1 instead.
6662 2000-03-24 Andreas Jaeger <aj@suse.de>
6664 * Makefile (postclean): Added soversions.i.
6666 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6668 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6669 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6670 and _FPU_IEEE. Change _FPU_RESERVED.
6672 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6674 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6676 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6678 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6679 (gaih_inet): Remove unused duplicate variable.
6681 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6682 Don't use __libc_sa_len, which only exists for Linux. Just handle
6683 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6684 only flavors supported by this function anyway.
6686 2000-03-24 Geoff Clare <gwc@unisoft.com>
6688 * stdlib/strfmon.c: Corrected problems with missing signs and
6689 missing or extra spaces; allow for sign strings longer than
6690 one character; add padding to ensure positive and negative
6691 formats are aligned when a left precision is used.
6693 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6695 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6696 Patch by John Mizel <John.Mizel@msdw.com>.
6698 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6700 * manual/install.texi: Remove references to crypt add-on.
6702 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6704 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6705 section while taking the _hurd_rlimit_lock.
6706 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6708 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6710 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6713 * sysdeps/mach/hurd/if_index.c: New file.
6715 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6716 * sysdeps/gnu/net/if.h: here.
6717 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6718 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6719 * sysdeps/generic/net/if.h: New file. Declares just the standard
6720 functions and `struct if_nameindex' type.
6721 * socket/Makefile (headers): Add net/if.h here.
6722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6723 * sysdeps/mach/hurd/Dist: Remove it here.
6724 * sysdeps/unix/sysv/linux/Dist: And here.
6725 * sysdeps/generic/if_index.c: Include <net/if.h>.
6727 2000-03-24 Andreas Jaeger <aj@suse.de>
6729 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6730 access relocated entries in l_info.
6731 (elf_machine_got_rel): Likewise.
6732 (elf_machine_runtime_setup): Likewise.
6733 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6734 (elf_machine_runtime_setup): Likewise.
6735 (__dl_runtime_resolve): Likewise.
6737 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6739 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6740 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6741 according to RFC 2553.
6742 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6743 * inet/getnameinfo.c: Likewise.
6744 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6746 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6748 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6749 Remove no-op pointer increment.
6751 2000-03-23 Andreas Jaeger <aj@suse.de>
6753 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6754 follow change for libio.h from 2000-03-10.
6756 2000-03-23 Andreas Jaeger <aj@suse.de>
6758 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6760 * elf/dl-debug.c: Likewise.
6761 * elf/dl-deps.c: Likewise.
6762 * elf/dl-error.c: Likewise.
6763 * elf/dl-fini.c: Likewise.
6764 * elf/dl-init.c: Likewise.
6765 * elf/dl-load.c: Likewise.
6766 * elf/dl-lookup.c: Likewise.
6767 * elf/dl-minimal.c: Likewise.
6768 * elf/dl-object.c: Likewise.
6769 * elf/dl-open.c: Likewise.
6770 * elf/dl-preinit.c: Likewise.
6771 * elf/dl-profile.c: Likewise.
6772 * elf/dl-profstub.c: Likewise.
6773 * elf/dl-reloc.c: Likewise.
6774 * elf/dl-runtime.c: Likewise.
6775 * elf/dl-support.c: Likewise.
6776 * elf/dl-symbol.c: Likewise.
6777 * elf/dl-version.c: Likewise.
6778 * elf/rtld.c: Likewise.
6779 * elf/sprof.c: Likewise.
6780 * sysdeps/generic/dl-cache.c: Likewise.
6781 * sysdeps/generic/dl-origin.c: Likewise.
6782 * sysdeps/generic/dl-sysdep.c: Likewise.
6783 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6784 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6785 * sysdeps/generic/libc-start.c: Likewise.
6786 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6787 * sysdeps/powerpc/dl-machine.c: Likewise.
6788 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6790 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6791 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6793 * elf/ldsodefs.h: Move file to ...
6794 * sysdeps/generic/ldsodefs.h: ... here.
6796 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6798 * sysdeps/mips/elf/ldsodefs.h: New file.
6800 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6802 (_dl_check_map_versions): Likewise.
6803 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6804 * elf/dl-load.c (_dl_init_paths): Likewise.
6805 (_dl_map_object): Likewise.
6806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6807 (elf_get_dynamic_info): Likewise.
6808 * elf/do-lookup.h (FCT): Likewise.
6809 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6810 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6811 * elf/dl-addr.c (_dl_addr): Likewise.
6812 * elf/dl-runtime.c (profile_fixup): Likewise.
6814 * elf/dl-init.c (_dl_init_next): Likewise.
6815 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6816 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6817 (DISTINGUISH_LIB_VERSIONS): Likewise.
6818 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6819 (elf_machine_rel): Likewise.
6821 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6822 for writable dynamic section.
6824 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6826 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6827 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6829 2000-03-22 Andreas Jaeger <aj@suse.de>
6831 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6832 from latest Linux kernel.
6834 2000-03-21 Andreas Jaeger <aj@suse.de>
6836 * Versions.def: Add version 2.1.4.
6838 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6840 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6841 * libio/oldiofopen.c: Likewise.
6842 * libio/oldiofclose.c: Likewise.
6843 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6845 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6847 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6848 indicating the first version set to obsolete the conditionalized code.
6849 (compat_symbol): New macro.
6850 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6851 rhs be the ABI_* macro for the subsuming version. Assign increasing
6852 integer values to the ABI_* macros for supported versions.
6853 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6854 compat_symbol macro.
6856 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6858 * nscd/connections.c (nscd_run): Pretty print.
6859 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6861 * manual/charset.texi: Fix typos. Rephrase.
6862 * manual/process.texi: Likewise.
6863 * manual/signal.texi: Likewise.
6864 Patches by Mike Coleman <mkc@kc.net>.
6866 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6868 * libio/iofdopen.c: Likewise.
6869 * libio/iofgetpos.c: Likewise.
6870 * libio/iofgetpos64.c: Likewise.
6871 * libio/iofopen.c: Likewise.
6872 * libio/iofsetpos.c: Likewise.
6873 * libio/iofsetpos64.c: Likewise.
6874 * libio/iopopen.c: Likewise.
6875 * libio/oldiofopen.c: Likewise.
6876 * libio/pclose.c: Likewise.
6877 * sysdeps/gnu/siglist.c: Likewise.
6878 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6880 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6881 chance to expand VERSION_##lib##_##version.
6883 * libio/fileops.c: Use new macros from shlib-compat.h to define
6885 * libio/iofclose.c: Likewise.
6886 * libio/oldiofclose.c: Likewise.
6887 Patch by Roland McGrath <roland@frob.com>.
6889 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6891 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6892 Lay out struct sigcontext according to what really gets passed on
6894 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6895 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6896 (prgregset_t, prfpregset_t): Define to elf_* types.
6897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6898 Define to correct value.
6899 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6901 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6903 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6905 * scripts/firstversions.awk: Allow multiple version sets in the
6906 "earliest version" specification, meaning that version sets in the
6907 gaps between listed versions should be folded into the earliest later
6908 version that is explicitly listed.
6909 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6910 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6912 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6914 * iconv/gconv_builtin.c: Include <endian.h>.
6915 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6916 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6917 according to current platform.
6918 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6919 __gconv_transform_internal_ucs2reverse, and
6920 __gconv_transform_internal_ucs4le.
6921 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6922 __gconv_transform_ucs2reverse_internal and
6923 __gconv_transform_internal_ucs2reverse.
6924 * iconvdata/Makefile (modules): Add UNICODE.
6925 (distribute): Add unicode.c.
6926 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6927 * iconvdata/unicode.c: New file.
6929 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6930 determine byte order of input and convert accordingly.
6932 * iconvdata/utf-16.c (gconv_init): Fix typo.
6934 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6936 * iconvdata/gconv-modules: Fix typo.
6938 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6941 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6943 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6945 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6947 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6949 * misc/Makefile (routines): Add mincore.
6951 2000-03-20 Andreas Jaeger <aj@suse.de>
6953 * sysdeps/generic/mincore.c: New stub file.
6955 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6956 from latest Linux kernel.
6958 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6960 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6961 _SC_GETPW_R_SIZE_MAX.
6963 2000-03-20 Richard Henderson <rth@cygnus.com>
6965 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6968 2000-03-20 Richard Henderson <rth@cygnus.com>
6970 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6971 of arithmetic instructions.
6973 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6974 with the fpcr. Protect from INV exception.
6975 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6976 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6977 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6979 * sysdeps/alpha/fpu/s_copysign.c: New.
6980 * sysdeps/alpha/fpu/s_copysignf.c: New.
6981 * sysdeps/alpha/fpu/s_fabs.c: New.
6982 * sysdeps/alpha/fpu/s_fabsf.c: New.
6983 * sysdeps/alpha/fpu/s_rint.c: New.
6984 * sysdeps/alpha/fpu/s_rintf.c: New.
6986 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6988 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6990 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6991 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6992 Use physical addresses not KSEG addresses.
6993 (io_system): Add PYXIS.
6994 (io): Remove hae.reg, sys, hae_shift.
6995 (stb_mb, stw_mb, stl_mb, __sethae): New.
6996 (inline_outb, inline_outw, inline_outl): Don't set hae.
6997 (inline_inb, inline_inw, inline_inl): Likewise.
6998 (dense_sethae): New null function.
6999 (struct cpuinfo_data): New.
7000 (process_cpuinfo): Use local and stack variables, not static.
7001 Move readlink check here from init_iosys.
7002 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7004 (_hae_shift): Calculate it here.
7005 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7006 add pciconfig_iobase.
7008 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7010 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7011 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7013 * scripts/versions.awk: Fixed version renaming code to distinguish
7016 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7018 * include/stdlib.h: Add prototype for __cxa_atexit.
7020 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7021 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7023 2000-03-17 Cristian Gafton <gafton@redhat.com>
7025 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7026 existing rtld-installed-name.
7027 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7028 replace existing rtld-installed-name using $(symbolic-link-prog).
7030 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7032 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7033 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7034 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7037 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7039 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7040 glob64. Since there is no glob64 in the LFS proposal applications
7041 can assume that glob handles LFS situations. glob64 is only needed
7042 if alternative filesystem functions are used.
7044 2000-03-19 Geoff Clare <gwc@unisoft.com>
7046 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7047 when GLOB_DOOFFS is set; correct handling of patterns
7048 containing escaped wildcards (and no unescaped ones);
7049 GLOB_ERR flag was being ignored in some situations.
7051 * posix/globtest.c, posix/globtest.sh: Updated to include
7052 tests for the problems fixed by the above changes to glob.c.
7054 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7056 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7058 * Makeconfig (soversion.i): Use only first match for each lib.
7060 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7062 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7063 rather than $(sysd-dirs-done) to protect these rules.
7065 * Makerules (version-renames.def): Target removed.
7066 (Versions.all): Depend on soversions.i directly and parse it.
7068 * Makeconfig (soversions.i): New target, input-reading parts of
7069 soversions.mk generation moved here; result is a canonicalized
7070 list "LIB VERSION [SET]" for this configuration.
7071 (soversions.mk): Use that as input. Don't emit map-firstversions.
7072 * Makerules (version-renames.def): New target, generated from
7073 soversions.i with contents that was in $(map-firstversions).
7074 (Versions.all): Don't depend on soversions.mk, depend on
7075 version-renames.def instead; just cat it into the input.
7077 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7078 for $(map-firstversions), which better handles it being empty.
7080 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7081 supported version for libc 0.2.90.libio to GLIBC_2.2.
7083 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7084 and use it to emit new variable `map-firstversions'.
7085 * scripts/firstversions.awk: New file.
7086 * Makerules (Versions.all): Use scripts/firstversions.awk and
7087 the $(map-firstversions) value to generate a modified versions list
7088 that includes renames in "A = B" syntax for each version set earlier
7089 than the "earliest symbol version" named in shlib-versions.
7090 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7091 rename version set A to B in the output to the intermediate file.
7092 * scripts/abi-versions.awk: New file.
7093 * Makerules (abi-versions.h): New target, generated by that script.
7094 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7095 * include/shlib-compat.h: New file, uses that generated header.
7097 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7099 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7100 after stripping # comments, and then run it through cpp.
7101 This allows things like "%ifdef FOO" based on config.h settings.
7102 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7104 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7105 and other errors that indicate a pseudo-receive happened, grok through
7106 the message buffer for port rights that need references fixed up.
7108 2000-03-16 Andreas Jaeger <aj@suse.de>
7110 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7112 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7114 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7115 from latest Linux kernel.
7116 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7118 * misc/sys/mman.h: Add prototype for mincore.
7120 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7123 entry for GLIBC_2.0 version of setrlimit.
7124 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7126 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7128 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7129 * nis/nss_compat/compat-initgroups.c: Likewise.
7130 * nis/nss_nis/nis-initgroups.c: Likewise.
7131 * nis/nss_nis/nis-netgrp.c: Likewise.
7132 * nis/nss_nis/nis-proto.c: Likewise.
7133 * nis/nss_nis/nis-rpc.c: Likewise.
7134 * nis/nss_nis/nis-service.c: Likewise.
7135 * nis/ypclnt.c: Likewise.
7137 2000-03-16 Andreas Jaeger <aj@suse.de>
7139 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7140 doesn't exist, correct checks. Fixes PR libc/1649.
7142 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7144 * nscd/hstcache.c: Restore correct UID.
7145 * nscd/pwdcache.c: Likewise.
7146 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7148 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7150 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7151 macros for register names, in line with 2000-03-14 linux change.
7153 * sysdeps/mach/sched_yield.c: New file.
7155 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7157 * sysdeps/generic/lockfile.c: Include <stdio.h>
7158 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7159 case <libio.h> defined them.
7160 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7162 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7163 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7165 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7166 for more pleasing parse error.
7168 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7170 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7172 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7174 * elf/Makefile: Add rules to compile and run constload1 test.
7175 * elf/constload1.c: New file.
7176 * elf/constload2.c: New file.
7177 * elf/constload3.c: New file.
7179 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7181 * sysdeps/posix/open64.c: Make __open64 weak alias.
7182 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7183 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7184 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7185 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7186 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7187 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7188 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7190 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7191 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7193 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7195 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7196 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7198 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7200 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7201 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7203 2000-03-08 Andreas Jaeger <aj@suse.de>
7205 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7207 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7209 * timezone/africa: Update from tzdata2000d.
7210 * timezone/asia: Likewise.
7211 * timezone/australasia: Likewise.
7212 * timezone/europe: Likewise.
7213 * timezone/northamerica: Likewise.
7214 * timezone/southamerica: Likewise.
7216 * po/fr.po: Update from translation team.
7217 * po/de.po: Likewise.
7219 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7220 last parameter. Move code to add map to global scope from here...
7221 * elf/dl-open.c (dl_open_worker): ...here.
7222 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7223 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7225 * locale/programs/ld-collate.c (collate_read): Fix warning.
7227 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7228 values and macros for register names.
7230 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7231 returned by seek cookie function is -1.
7233 2000-03-14 Andreas Jaeger <aj@suse.de>
7235 * locale/localeconv.c (localeconv): Fix typo.
7236 Reported by Andre Charbonneau <andrec@corel.com>.
7238 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7240 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7241 since modules depend on it counting the number of times the conversion
7242 function got called.
7244 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7246 * iconv/gconv.h: Pretty print.
7248 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7250 * posix/wordexp-test.c: Correct one of the tests added in the last
7251 change. Really get the root passwd entry to check again ~root.
7253 2000-03-10 Andreas Jaeger <aj@suse.de>
7255 * manual/filesys.texi (Working Directory): Fix last patch.
7256 Patch by Martin Buchholz <martin@xemacs.org>.
7258 2000-03-10 Andreas Jaeger <aj@suse.de>
7260 * manual/creature.texi (Feature Test Macros): Fix language.
7262 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7264 * mach/devstream.c (devstream_write, devstream_read): New functions.
7265 (input, output): Functions removed.
7266 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7267 using only the vanilla fopencookie interface.
7269 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7270 as macro for __io_functions.
7271 (funcsio): Use cookie_io_functions_t type name.
7272 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7274 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7276 (fopencookie): Use it.
7277 * libio/libio.h: Declare _IO_cookie_init.
7278 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7281 * libio/libio.h (__io_seek_fn): Fix second argument type
7282 to be a pointer, in line with the manual and the old stdio.
7283 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7285 * sysdeps/generic/bits/stdio-lock.h: New file.
7286 This is a stub with #error, but that's better than no file at all.
7288 2000-03-09 Martin Buchholz <martin@xemacs.org>
7290 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7291 * manual/message.texi (Using gettextized software): Doc Fixes.
7292 * manual/message.texi (Message Translation): Doc Fixes.
7293 * manual/filesys.texi (File Size): Doc Fixes.
7294 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7295 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7296 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7297 * manual/install.texi: Doc Fixes.
7298 * manual/search.texi (Hash Search Function): Doc Fixes.
7299 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7300 * FAQ.in: Doc Fixes.
7301 * config.h.in: Doc Fixes.
7302 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7303 Doc Fixes. `allows to' is not correct English.
7305 * elf/rtld.c: Doc fixes.
7306 * manual/creature.texi (Feature Test Macros): Doc fixes.
7307 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7309 * manual/filesys.texi (Working Directory): Check for ERANGE to
7312 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7314 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7315 conditions so as not to clobber the final '\0' when there is only one
7316 element in the vector.
7318 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7320 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7321 broken by 2000-02-27 change.
7323 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7325 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7327 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7328 argument type, for 2000-02-22 change in signal/signal.h declaration.
7330 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7332 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7333 to getdirentries64 (no __), since the Linux implementation
7334 has no __ name, and there is no declaration for the __ name.
7336 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7338 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7339 sed regexp so as not to break directory names including /../ within.
7341 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7342 The sysdeps/generic file is right for BSD. This file was in fact the
7343 Hurd file, but the only difference was the WNOREAP flag that was never
7344 actually implemented or used anywhere.
7346 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7347 since AC_PATH_PROG already does it for us.
7348 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7349 correctness and sh portability. I replaced the broken check
7350 with a more sensible implementation of the apparently intended
7351 semantics, which might still be questionable. Using expr causes
7352 a non-numeric value for `perl -V:apiversion` to be accepted,
7353 refusing to use only a perl that reports a number less than 5;
7354 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7355 * configure: Regenerated.
7357 2000-03-08 Andreas Jaeger <aj@suse.de>
7359 * manual/crypt.texi: Fix paths.
7361 2000-03-07 Andreas Jaeger <aj@suse.de>
7363 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7365 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7368 2000-03-06 Andreas Jaeger <aj@suse.de>
7370 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7371 in __sgn1l, otherwise g++ fails to parse this.
7372 Reported by Sean Chen <sean.chen@turbolinux.com>.
7374 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7376 * configure.in: Compute sizeof-long-double.
7377 * configure: Regenerated.
7378 * config.make.in: Make sizeof-long-double available to sub-makes.
7380 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7382 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7385 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7387 * Makeconfig (rpath-dirs): Add crypt.
7388 (all-subdirs): Remove md5crypt.
7389 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7390 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7391 * sysdeps/generic/crypt-entry.c: Delete.
7392 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7393 * sysdeps/generic/crypt.h: Delete.
7394 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7395 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7396 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7397 * sysdeps/generic/des_impl.c: Delete.
7398 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7399 * crypt/sysdeps: Delete.
7400 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7401 * md5-crypt/Versions: Move to crypt/.
7402 * md5-crypt/md5-crypt.c: Move to crypt/.
7403 * md5-crypt/md5.c: Move to crypt/.
7404 * md5-crypt/md5c-test.c: Move to crypt/.
7405 * md5-crypt/md5test.c: Move to crypt/.
7406 * md5-crypt: Delete.
7407 * crypt/Makefile: Adjust for new structure.
7409 2000-03-03 Paul Eggert <eggert@twinsun.com>
7411 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7412 define to 1 if not defined.
7414 2000-03-03 Andreas Jaeger <aj@suse.de>
7416 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7418 2000-03-03 Andreas Jaeger <aj@suse.de>
7420 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7422 (xdr_int64_t): Correctly handle lower half.
7423 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7425 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7427 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7430 2000-03-02 Andreas Jaeger <aj@suse.de>
7432 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7435 2000-03-02 Andreas Jaeger <aj@suse.de>
7437 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7439 2000-03-01 Andreas Jaeger <aj@suse.de>
7441 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7442 (tests): Added tst-getdate.
7444 * time/tst-getdate.c: New file.
7446 * time/datemsk: New file, needed for tst-getdate.
7448 2000-02-29 Cristian Gafton <gafton@redhat.com>
7450 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7452 2000-02-17 H.J. Lu <hjl@gnu.org>
7454 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7456 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7458 (svcudp_recv): Set up message with the new "xp_pad" field for
7460 (svcudp_reply): Support IP_PKTINFO if available.
7462 2000-03-01 Andreas Jaeger <aj@suse.de>
7464 * time/getdate.c (check_mday): Fix check for february.
7465 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7466 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7468 2000-03-02 Andreas Jaeger <aj@suse.de>
7470 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7471 g++ fails to parse this.
7472 Reported by Sean Chen <sean.chen@turbolinux.com>.
7474 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7476 * io/creat.c: Moved to...
7477 * sysdeps/generic/creat.c: ...here.
7478 * io/creat64.c: Moved to...
7479 * sysdeps/generic/creat64.c: ...here.
7480 * io/lockf.c: Moved to...
7481 * sysdeps/generic/lockf.c: ...here.
7483 * crypt/crypt.texi: Moved to...
7484 * manual/crypt.texi: ...here.
7485 * crypt/examples/genpass.c: Moved to...
7486 * manual/examples/genpass.c: ...here.
7487 * crypt/examples/mygenpass.c: Moved to...
7488 * manual/examples/mygenpass.c: ...here.
7489 * crypt/examples/testpass.c: Moved to...
7490 * manual/examples/testpass.c: ...here.
7492 * manual/Makefile (chapters): Add crypt.
7493 * manual/conf.texi: Add usual header for not-last chapter.
7494 * manual/crypt.texi: Add special header for last chapter.
7496 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7498 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7499 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7500 complain if there is no crypt add-on.
7501 * crypt/configure: Removed.
7503 * crypt/crypt.texi: Update documentation of US export restrictions
7504 to match the 14 Jan 2000 regulations.
7506 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7508 * crypt: New subdirectory, merged in from the crypt add-on.
7510 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7512 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7515 See ChangeLog.10 for earlier changes.