1 2000-09-19 H.J. Lu <hjl@gnu.org>
3 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
4 * malloc/malloc.c (__memalign_hook): Likewise.
5 (memalign_hook_ini): Likewise.
7 2000-09-28 Ulrich Drepper <drepper@redhat.com>
9 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
11 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
12 underlying functions directly.
14 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
15 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
16 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
17 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
18 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
19 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
20 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
25 define it for powerpc for kernel >= 2.4.0.
26 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
28 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
31 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
32 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
33 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
35 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
37 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
39 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
40 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
42 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
44 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
46 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
48 2000-09-27 Andreas Schwab <schwab@suse.de>
50 * math/Makefile (distribute): Explicitly add the long double test
51 sources, to get them included even if long double is not supported.
53 2000-09-27 Jes Sorensen <jes@linuxcare.com>
55 * elf/soinit.c (struct object): Move definition to gccframe.h and
56 include it. Problem identified by HJ Lu.
58 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
59 struct object to be searched for frame unwind info.
60 * sysdeps/generic/gccframe.h: New file. Generic version of
61 struct object to be searched for frame unwind info.
63 2000-09-28 Ulrich Drepper <drepper@redhat.com>
65 * manual/errno.texi: Correct error text for ENXIO.
66 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
68 2000-09-27 Jes Sorensen <jes@linuxcare.com>
70 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
71 exception status bits rather than the exception disable bits.
74 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
75 status of exceptions currently raised rather than which exceptions
78 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
79 rather than unsigned long int.
81 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
82 the exceptions actually requested by the caller and not just
83 disable all exceptions.
85 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
86 the ia64 are enabled by clearing the respective bits in the fpsr,
89 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
90 unsigned long int rather than unsigned long to be consistent with
91 the coding conventions.
93 2000-09-20 H.J. Lu <hjl@gnu.org>
95 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
97 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
99 2000-09-28 Ulrich Drepper <drepper@redhat.com>
101 * string/bits/string2.h: Unify #if usage.
103 2000-09-27 Jakub Jelinek <jakub@redhat.com>
105 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
106 and disabling underflow or overflow, disable inexact as well.
108 2000-09-26 Andreas Jaeger <aj@suse.de>
110 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
112 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
115 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
117 * elf/ldconfig.c (search_dir): Allow unlimited path length.
118 (create_links): Likewise.
120 2000-09-27 Ulrich Drepper <drepper@redhat.com>
122 * posix/tst-dir.c: Test a few error cases of chdir.
124 2000-09-26 Ulrich Drepper <drepper@redhat.com>
126 * math/math_private.h: Don't add long double prototypes if
127 NO_LONG_DOUBLE is defined.
129 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
131 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
132 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
134 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
136 2000-09-26 Jakub Jelinek <jakub@redhat.com>
138 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
139 * sysdeps/sparc/sparc32/ieee754.h: New.
140 * sysdeps/sparc/sparc64/bits/endian.h: Move...
141 * sysdeps/sparc/bits/endian.h: ...here.
142 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
143 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
144 %o1, not %o0 to see if we're parent or child. Optimize.
146 2000-09-26 Jes Sorensen <jes@linuxcare.com>
148 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
150 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
152 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
154 2000-09-20 H.J. Lu <hjl@gnu.org>
156 * sysdeps/ia64/fpu/printf_fphex.c: New file.
158 * sysdeps/ia64/fpu/libm-test-ulps: New file.
160 2000-09-17 H.J. Lu <hjl@gnu.org>
162 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
164 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
165 sysdeps/i386/fpu/s_isinfl.c.
167 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
168 sysdeps/i386/fpu/s_isnanl.c.
170 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
171 sysdeps/i386/fpu/s_nextafterl.c.
173 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
174 sysdeps/i386/fpu/bits/mathdef.h.
176 2000-09-16 H.J. Lu <hjl@gnu.org>
178 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
179 DL_UNMAP_IS_SPECIAL is not defined.
181 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
182 (_dl_unmap): New prototype.
183 (DL_UNMAP): New. Defined as _dl_unmap.
185 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
187 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
189 2000-09-16 H.J. Lu <hjl@gnu.org>
191 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
192 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
194 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
196 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
198 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
199 the memory location of a function from a function descriptor.
201 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
203 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
206 2000-09-14 Jes Sorensen <jes@linuxcare.com>
208 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
209 variable as input argument.
210 (__bswap_32): Likewise.
212 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
213 - found by Jim Wilson <wilson@cygnus.com>
215 2000-09-26 Ulrich Drepper <drepper@redhat.com>
217 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
220 2000-09-26 Andreas Schwab <schwab@suse.de>
222 * locale/programs/ld-collate.c (collate_output): Only require
223 alignment on __alignof__ (int32_t) instead of 4.
224 * locale/loadlocale.c (_nl_load_locale): Likewise.
225 * string/strcoll.c: Likewise.
227 2000-09-26 Jes Sorensen <jes@linuxcare.com>
229 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
230 parentheses around arithmetic used in | statement to kill compiler
233 * math/math_private.h: Add prototype for __finitel.
234 (__ilogbl): Likewise.
235 (__isinfl): Likewise.
236 (__isnanl): Likewise.
238 (__copysignl): Likewise.
239 (__expm1l): Likewise.
240 (__floorl): Likewise.
241 (__frexpl): Likewise.
242 (__ldexpl): Likewise.
243 (__log1pl): Likewise.
246 (__scalbnl): Likewise.
249 (__sincosl): Likewise.
251 2000-09-26 Andreas Schwab <schwab@suse.de>
253 * sysdeps/m68k/fpu/libm-test-ulps: New file
255 2000-09-26 Ulrich Drepper <drepper@redhat.com>
257 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
259 2000-09-26 Andreas Jaeger <aj@suse.de>
261 * misc/mkstemp64.c: New file.
262 * misc/Makefile (routines): Add mkstemp64.
263 * stdlib/stdlib.h: Add prototype and redirection magic.
264 * misc/Versions: Add mkstemp64.
266 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
268 * nscd/dbg_log.c (dbg_log): Add missing format string.
270 2000-09-26 Ulrich Drepper <drepper@redhat.com>
272 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
273 since we filter out the variable once.
274 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
275 * locale/newlocale.c (__newlocale): Likewise.
276 * locale/setlocale.c (setlocale): Likewise.
277 * malloc/malloc.c (ptmalloc_init): Likewise.
278 * resolv/res_hconf.c (_res_hconf_init): Likewise.
279 * resolv/res_init.c (__res_vinit): Likewise.
280 * time/tzfile.c (__tzfile_read): Likewise.
281 * sysdeps/generic/unsecvars.h: New file.
282 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
283 * elf/rtld.c (process_envvars): Likewise.
284 * elf/Makefile (distribute): Add unsecvars.h.
286 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
287 real /dev/null device.
289 * sysdeps/generic/check_fds.c: Include device-nrs.h.
290 * sysdeps/generic/device-nrs.h: New file.
291 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
292 * misc/Makefile (distribute): Add device-nrs.h.
294 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
295 remove possible garbage at the end of the file.
297 2000-09-25 Ulrich Drepper <drepper@redhat.com>
299 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
300 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
301 * stdio-common/tempnam.c: Warn about insecure tempnam.
302 * misc/mktemp.c: Warn about insecure mktemp.
304 * sysdeps/generic/check_fds.c: Check that file opened is really
306 * posix/wordexp.c (exec_comm_child): Likewise.
308 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
310 * locale/Makefile (routines): Add nl_langinfo_l.
311 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
312 * locale/nl_langinfo_l.c: New file.
313 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
316 2000-09-23 Bruno Haible <haible@clisp.cons.org>
318 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
319 (__gbk_to_ucs): Conditionalize private area mappings.
320 (__gbk_from_ucs4_tab9): Likewise.
321 (BODY for TO_LOOP): Likewise.
322 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
323 * iconvdata/testdata/GBK..UTF-8: Likewise.
324 * iconvdata/tst-tables.sh: Enable GBK test.
326 2000-09-23 Bruno Haible <haible@clisp.cons.org>
328 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
329 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
330 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
332 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
333 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
335 2000-09-23 Bruno Haible <haible@clisp.cons.org>
337 * iconvdata/johab.c (final_to_ucs): Fix typos.
338 (jamo_from_ucs_table): Likewise.
339 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
340 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
341 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
342 the range 0xD9E6..0xD9FE.
343 * iconvdata/tst-tables.sh: Enable JOHAB testing.
345 2000-09-25 Ulrich Drepper <drepper@redhat.com>
347 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
350 2000-09-24 Ulrich Drepper <drepper@redhat.com>
352 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
353 stream is in wide mode.
355 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
357 2000-09-21 Bruno Haible <haible@clisp.cons.org>
359 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
361 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
363 2000-09-21 Bruno Haible <haible@clisp.cons.org>
365 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
366 reallocation logic for MALLOC (%as, %aS formats).
368 2000-09-24 Ulrich Drepper <drepper@redhat.com>
370 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
371 Add missing case in va_arg handling for numbers.
372 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
374 * stdio/tst-printf.sh: Adjust expected results.
375 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
377 2000-09-20 Bruno Haible <haible@clisp.cons.org>
379 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
380 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
382 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
383 as equivalent to uppercase hexadecimal digits.
385 2000-09-20 Bruno Haible <haible@clisp.cons.org>
387 * iconvdata/testdata/EUC-KR..UTF8: New file.
388 * iconvdata/testdata/EUC-TW: New file.
389 * iconvdata/testdata/EUC-TW..UTF8: New file.
390 * iconvdata/testdata/EUC-JP: New file.
391 * iconvdata/testdata/EUC-JP..UTF8: New file.
392 * iconvdata/testdata/ISO-2022-JP: New file.
393 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
394 * iconvdata/testdata/ISO-2022-JP-2: New file.
395 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
396 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
397 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
398 * iconvdata/testdata/ISO-2022-CN: New file.
399 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
400 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
401 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
402 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
403 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
405 2000-09-24 Andreas Jaeger <aj@suse.de>
407 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
408 function add_single_dir.
409 (add_single_dir): New function.
410 (search_dir): Use add_single_dir instead of recursing.
412 * sysdeps/generic/dl-cache.h: Include stdint.h.
413 (struct file_entry_new): Use fixed sizes for interoperability
414 between 32bit and 64bit systems, add __unused to make alignment
416 (CACHE_VERSION): Increment.
417 (struct cache_file_new): Use fixed sizes, add one more unused
418 entry to make alignment explicit.
420 2000-09-24 Ulrich Drepper <drepper@redhat.com>
422 * elf/ldconfig.c (search_dir): Make more use of d_type information.
424 2000-09-23 Ulrich Drepper <drepper@redhat.com>
426 * stdio-common/printf-parse.h (parse_one_spec): Clear
427 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
429 2000-09-18 Mark Kettenis <kettenis@gnu.org>
431 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
432 #undef since we don't have msync.
434 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
435 constant since that is what clock_t is.
436 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
438 2000-09-11 Mark Kettenis <kettenis@gnu.org>
440 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
441 multiply by LOAD_SCALE.
443 2000-09-22 Jakub Jelinek <jakub@redhat.com>
445 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
446 (crypt_r, setkey_r, encrypt_r): Likewise.
448 2000-09-22 Andreas Jaeger <aj@suse.de>
450 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
453 * sysdeps/alpha/fpu/libm-test-ulps: New file.
454 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
456 2000-09-21 Andreas Jaeger <aj@suse.de>
458 * math/libm-test.inc (atan_test): Test for existence of function.
459 (expm1_test): Likewise.
460 (acos_test): Likewise.
461 (asin_test): Likewise.
462 (exp_test): Likewise.
463 (log10_test): Likewise.
464 (log_test): Likewise.
465 (pow_test): Likewise.
466 (sqrt_test): Likewise.
467 (cos_test): Likewise.
468 (sin_test): Likewise.
469 (tan_test): Likewise.
470 (log1p_test): Likewise.
471 (log2_test): Likewise.
473 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
475 * libio/oldiofsetpos64.c: Fix alias names.
477 2000-09-21 Martin Buchholz <martin@xemacs.org>
479 * manual/terminal.texi (Allocation): Sample code correction.
481 2000-09-20 Andreas Jaeger <aj@suse.de>
483 * iconvdata/Makefile (generated): Add tst-tables.out.
485 * intl/Makefile (generated): Add test output.
487 2000-09-19 Andreas Jaeger <aj@suse.de>
489 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
490 Reported by Jens-Uwe Mager <jum@helios.de>.
492 2000-09-18 Ulrich Drepper <drepper@redhat.com>
494 * version.h (VERSION): Bump to 2.1.94.
496 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
497 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
498 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
499 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
501 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
503 2000-09-17 Bruno Haible <haible@clisp.cons.org>
505 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
506 range 0xD800..0xDFFF.
507 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
508 (BODY for FROM_LOOP): Likewise.
509 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
510 (internal_ucs2_loop): Likewise.
511 (ucs2reverse_internal_loop): Likewise.
512 (internal_ucs2reverse_loop): Likewise.
514 2000-09-17 Bruno Haible <haible@clisp.cons.org>
516 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
519 2000-09-17 Bruno Haible <haible@clisp.cons.org>
521 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
522 * iconvdata/tst-table-to.c (main): Likewise.
524 2000-09-17 Bruno Haible <haible@clisp.cons.org>
526 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
528 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
529 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
530 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
531 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
532 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
533 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
534 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
535 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
536 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
537 encodings when needed. When outputting an announcement, don't clear
538 most other announcements.
540 2000-09-17 Bruno Haible <haible@clisp.cons.org>
542 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
543 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
545 2000-09-14 Bruno Haible <haible@clisp.cons.org>
547 * intl/Versions: Add bind_textdomain_codeset.
549 2000-09-16 Ralf Baechle <ralf@gnu.org>
551 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
553 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
554 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
555 it will even work when not loaded to the standard address.
556 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
557 before the dynamic linker itself is relocated.
559 2000-09-18 Andreas Jaeger <aj@suse.de>
561 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
562 __ASSUME_32BITUIDS for MIPS.
563 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
564 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
566 2000-09-17 H.J. Lu <hjl@gnu.org>
568 * catgets/Makefile ($(objpfx)de/libc.cat): Use
569 $(make-target-directory) instead of mkdir.
571 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
573 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
574 __ASSUME_32BITUIDS for __powerpc__.
575 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
576 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
578 2000-09-17 Ulrich Drepper <drepper@redhat.com>
580 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
582 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
584 2000-09-16 Jakub Jelinek <jakub@redhat.com>
586 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
588 * sysdeps/m68k/Implies: Likewise.
589 * sysdeps/sparc/sparc64/Implies: Likewise.
591 2000-09-16 Jakub Jelinek <jakub@redhat.com>
593 * elf/readlib.c (process_file): Don't error for stale .so links either.
595 2000-09-16 Ulrich Drepper <drepper@redhat.com>
597 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
600 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
601 Patch by Thorsten Kukuk <kukuk@suse.de>.
603 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
605 (modules-names): Add defaultmod1 and defaultmod2.
606 Add rules to build test objects.
608 2000-09-15 Ulrich Drepper <drepper@redhat.com>
610 * wctype/wctype.h: Always include <bits/types.h>.
611 Reported by Jim Meyering <meyering@ascend.com>.
613 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
614 * elf/dl-support.c: Likewise.
616 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
617 st_blocks member in stat and stat64 structs.
618 Patch by Bill Nottingham <notting@redhat.com>.
620 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
623 * math/complex.h: Don't define _Complex macro for gcc 3. Add
624 __extension__ to _Complex_I definition since gcc warns if -pedantic.
625 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
626 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
628 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
629 necessary. Move includes of POSIX and Unix limits files to the end.
630 * stdlib/Makefile (tests): Add tst-limits.
631 * stdlib/tst-limits.h: New file.
633 2000-09-15 Andreas Jaeger <aj@suse.de>
635 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
637 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
639 2000-09-15 Jakub Jelinek <jakub@redhat.com>
641 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
643 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
644 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
646 2000-09-15 Ulrich Drepper <drepper@redhat.com>
648 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
650 (modules-names): Add nextmod1 and nextmod2.
651 Add rules to build and run next.
652 * elf/next.c: New file.
653 * elf/nextmod1.c: New file.
654 * elf/nextmod2.c: New file.
656 2000-09-14 Jakub Jelinek <jakub@redhat.com>
658 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
660 2000-09-15 Andreas Jaeger <aj@suse.de>
662 * sysdeps/mips/fpu/fenv_libc.h: New file.
663 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
664 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
665 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
667 * sysdeps/mips/fpu/feenablxcpt.c: New file.
668 * sysdeps/mips/fpu/fegetexcept.c: New file.
669 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
671 2000-09-14 Ulrich Drepper <drepper@redhat.com>
673 * intl/Makefile: Avoid unnecessary test reruns.
675 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
677 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
678 to not use sysctl(). Too many architectures have problems with it.
680 2000-09-14 Andreas Jaeger <aj@suse.de>
682 * scripts/config.sub: New version from subversions.gnu.org.
684 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
687 2000-09-14 Jakub Jelinek <jakub@redhat.com>
689 * posix/regex.c (compile_range): Cast collseq index to unsigned char
690 to avoid accessing data before collseq.
692 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
693 pasting strings together.
695 2000-09-14 Greg McGary <greg@mcgary.org>
697 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
699 * sysdeps/generic/bp-semctl.h: Likewise.
700 * sysdeps/generic/bp-start.h: Likewise.
701 * sysdeps/generic/bp-sym.h: Likewise.
702 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
705 2000-09-13 Ulrich Drepper <drepper@redhat.com>
707 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
710 * elf/elf.h: Add missing official relocations.
712 * libio/stdio.h: Define __FILE if __need___FILE is defined.
713 * stdio/stdio.h: Likewise.
714 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
715 * include/stdio.h: Handle __need___FILE like __need_FILE.
716 * include/wchar.h: Use __FILE instead of FILE.
717 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
718 * libio/fwscanf.c: Likewise.
719 * libio/getwc.c: Likewise.
721 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
722 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
723 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
725 * assert/assert.h: Update comment header about ISO C section.
726 * math/complex.h: Likewise.
727 * ctype/ctype.h: Likewise.
728 * include/errno.h: Likewise.
729 * include/limits.h: Likewise.
730 * locale/locale.h: Likewise.
731 * math/math.h: Likewise.
732 * setjmp/setjmp.h: Likewise.
733 * signal/signal.h: Likewise.
734 * stdio/stdio.h: Likewise.
735 * libio/stdio.h: Likewise.
736 * stdlib/stdlib.h: Likewise.
737 * string/string.h: Likewise.
738 * time/time.h: Likewise.
739 * wcsmbs/wchar.h: Likewise.
740 * wctype/wctype.h: Likewise.
741 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
743 2000-09-13 Andreas Jaeger <aj@suse.de>
745 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
747 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
748 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
749 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
751 2000-09-13 Ulrich Drepper <drepper@redhat.com>
753 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
754 constant since this is what clock_t is.
755 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
756 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
757 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
758 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
760 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
761 definitions are requested.
763 2000-09-13 Andreas Jaeger <aj@suse.de>
765 * shlib-versions: libBrokenLocale needs minimal version for ia64,
766 sparc64 and sh to synch with libc.
768 2000-09-13 Ulrich Drepper <drepper@redhat.com>
770 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
771 (distribute): Add iso-2022-cn-ext.c.
772 Add definitions to compile the new module.
773 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
774 * iconvdata/iso-2022-cn-ext.c: New file.
775 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
776 ucs4_from_isoir165. Increment input pointer if successful.
778 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
780 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
782 2000-09-01 Jes Sorensen <jes@linuxcare.com>
784 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
785 __syscall_getdents64 wrapper.
787 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
789 2000-09-12 Ulrich Drepper <drepper@redhat.com>
791 * iconvdata/gb18030.c: Many many changes. Make consistent with
792 charmap and with itself.
793 * iconvdata/tst-tables.sh: Test GB18030.
795 2000-09-11 Ulrich Drepper <drepper@redhat.com>
797 * iconv/skeleton.c: Fix last patch, add missing parameter to
798 unaligned function call.
800 2000-09-10 Bruno Haible <haible@clisp.cons.org>
802 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
805 2000-09-11 Bruno Haible <haible@clisp.cons.org>
807 * locale/programs/ld-collate.c (collate_read): Always initialize
810 2000-09-10 Bruno Haible <haible@clisp.cons.org>
812 * locale/programs/ld-collate.c (collate_finish): Upper bound for
813 ruleidx is 128, not 256.
815 2000-09-11 Ulrich Drepper <drepper@redhat.com>
817 * locale/programs/ld-collate.c (collate_read): Correct check for
818 already inserted entries.
820 2000-09-10 Bruno Haible <haible@clisp.cons.org>
822 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
825 2000-09-10 Bruno Haible <haible@clisp.cons.org>
827 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
828 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
830 2000-09-10 Bruno Haible <haible@clisp.cons.org>
832 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
835 2000-09-10 Bruno Haible <haible@clisp.cons.org>
837 * iconvdata/utf-7.c: New file.
838 * iconvdata/gconv-modules (UTF-7): New module entries.
839 * iconvdata/Makefile (modules): Add UTF-7.
840 (distribute): Add utf-7.c.
841 * iconvdata/testdata/UTF-7: New file.
842 * iconvdata/testdata/UTF-7..UTF8: New file.
843 * iconvdata/TESTS (UTF-7): New entry.
844 * iconvdata/run-iconv-test.sh: Fix confusing output.
846 2000-09-11 Ulrich Drepper <drepper@redhat.com>
848 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
850 2000-09-10 David S. Miller <davem@redhat.com>
852 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
853 frame pointer offset for non-fast path.
855 2000-09-10 Ulrich Drepper <drepper@redhat.com>
857 * locale/programs/3level.h (*_init): Initialize level1, level2,
859 (*_add): Remove a few unnecessary conditionals.
861 2000-09-05 Wolfram Gloger <wg@malloc.de>
863 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
864 ensure usability of mutex as an `in use' flag.
866 2000-09-10 Ulrich Drepper <drepper@redhat.com>
868 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
870 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
871 ugly GMON_WEAK_START hack.
872 Patch by Philip Blundell <philb@gnu.org>.
874 * sysdeps/i386/i486/bits/string.h: Pretty printing.
876 2000-09-09 Ulrich Drepper <drepper@redhat.com>
878 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
879 and PPC_ICBI asm for broken compilers.
880 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
882 2000-09-09 Andreas Jaeger <aj@suse.de>
884 * manual/message.texi (Advanced gettext functions): Fix typo.
886 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
889 2000-09-09 Ulrich Drepper <drepper@redhat.com>
891 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
893 * sysdeps/ia64/memccpy.S: Likewise.
894 Patches by Jim Wilson <wilson@redhat.com>.
896 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
897 before trying to read /proc.
898 Patch by Matt Wilson <msw@redhat.com>.
899 * include/sys/utsname.h: Declare __uname.
900 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
901 * sysdeps/mach/hurd/uname.c: Likewise.
902 * sysdeps/unix/syscalls.list: Likewise.
904 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
907 2000-09-08 Ulrich Drepper <drepper@redhat.com>
909 * posix/getopt.c (_getopt_internal): When long_only is set always
910 recognize conflicts just like before.
912 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
914 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
916 2000-09-08 Greg McGary <greg@mcgary.org>
918 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
919 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
920 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
922 2000-09-08 Andreas Jaeger <aj@suse.de>
924 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
926 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
928 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
929 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
930 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
932 2000-09-07 Ulrich Drepper <drepper@redhat.com>
934 * iconvdata/tst-tables.sh: Enable EUC-KR test.
936 * elf/dl-load.c (lose): Decrement _nl_loaded.
937 (_dl_map_object_from_fd): Don't try to dlopen executables.
939 * iconvdata/tst-tables.sh: Actually return with an error if
940 something goes wrong.
941 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
942 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
944 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
946 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
947 * iconvdata/tst-table-from.c: Include <string.h>.
948 (try): Correct cast in iconv call.
950 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
952 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
953 (sysdep_routines): Remove dl-start.
954 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
956 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
958 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
959 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
961 2000-09-06 Andreas Schwab <schwab@suse.de>
963 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
965 2000-09-07 Ulrich Drepper <drepper@redhat.com>
967 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
969 * scripts/config.sub: Strip out -unknown for Linux targets.
970 Patch by Scott Bambrough <scottb@netwinder.org>.
972 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
975 2000-09-07 Andreas Jaeger <aj@suse.de>
977 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
979 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
982 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
984 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
985 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
987 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
989 * stdlib/tst-bsearch.c (main): Add more test cases.
991 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
992 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
993 Reported by GOTO Masanori <gotom@debian.or.jp>.
995 2000-09-07 Ulrich Drepper <drepper@redhat.com>
997 * posix/Makefile (tests): Add tst-dir.
998 (tst-dir-ARGS): New variable.
999 * posix/tst-dir.c: New file.
1001 2000-09-07 Andreas Jaeger <aj@suse.de>
1003 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1006 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1008 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1010 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1011 use the hack with tryopen_o_directory to determine at runtime
1013 * sysdeps/unix/sysv/linux/opendir.c: New file.
1014 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1015 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1017 * catgets/Depend: New file. Add intl.
1018 * catgets/Makefile (tests): Add tst-catgets.
1019 (generated): Remove de.msg.
1020 (generated-dirs): Add de.
1021 Add dependency if tst-catgets output on de/libc.cat.
1022 * catgets/tst-catgets.c: New file.
1024 * po/ja.po: New file.
1025 * po/el.po: Update from translation team.
1027 * wcsmbs/Depend: New file.
1028 * wcsmbs/Makefile (tests): Add tst-btowc.
1029 (tst-btowc-ENV): Define.
1030 * wcsmbs/tst-btowc.c: New file.
1032 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1033 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1035 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1037 * stdlib/Makefile (tests): Add tst-bsearch.
1038 * stdlib/tst-bsearch.c: New file.
1040 * posix/getopt.c (_getopt_internal): Don't recognize an option
1041 name as ambiguous if it's a prefix for more than one name but the
1042 other struct option values are identical.
1044 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1045 Don't depend on visual inspection of the output file to recognize
1047 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1049 2000-09-06 Andreas Jaeger <aj@suse.de>
1051 * sysdeps/alpha/soft-fp/Dist: New file.
1052 * sysdeps/i386/soft-fp/Dist: New file.
1053 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1054 * sysdeps/mips/soft-fp/Dist: New file.
1055 * sysdeps/powerpc/soft-fp/Dist: New file.
1056 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1057 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1059 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1060 Use sysdep_routines instead of routines to fix make dist failure.
1061 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1063 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1065 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1066 sysdep_headers instead of headers for make dist.
1068 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1071 2000-09-06 Andreas Schwab <schwab@suse.de>
1073 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1075 2000-09-06 Andreas Jaeger <aj@suse.de>
1077 * soft-fp/Makefile (distribute): Remove ChangeLog.
1079 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1080 sysdep_routines instead of routines for make dist.
1082 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1084 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1085 compatibility check for old stream and call _IO_wide in doubt.
1086 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1087 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1088 needed tst for such an old structure and don't do anything.
1089 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1091 2000-09-06 Andreas Jaeger <aj@suse.de>
1093 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1094 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1097 * soft-fp/ChangeLog: Merged with this file.
1099 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1101 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1103 * soft-fp/Makefile (distribute): Add the math functions, too.
1105 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1107 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1109 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1112 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1113 * soft-fp/sysdeps/powerpc/q_*: New files.
1115 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1117 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1118 in wide char case correctly. Don't allocate too long temporary
1119 strings with alloca.
1121 * stdio-common/Makefile (tests): Add tst-swprintf.
1122 (tst-swprintf-ENV): New variable.
1123 * stdio-common/tst-swprintf.c: New file.
1125 2000-09-05 Andreas Jaeger <aj@suse.de>
1127 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1128 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1129 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1131 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1133 * configure.in: Strip out "unknown" from configuration names.
1135 2000-09-05 Andreas Jaeger <aj@suse.de>
1137 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1139 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1140 * sysdeps/sparc/sparc32/Implies: Likewise.
1141 * sysdeps/powerpc/Implies: Likewise.
1143 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1144 * libio/oldiofgetpos64.c: Likewise.
1146 * soft-fp/Makefile (distribute): Remove configure.
1148 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1150 * soft-fp/configure: Remove.
1152 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1153 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1155 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1156 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1158 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1159 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1161 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1162 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1164 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1165 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1167 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1168 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1170 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1171 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1173 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1174 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1176 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1177 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1179 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1180 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1182 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1183 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1185 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1186 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1188 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1189 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1191 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1192 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1194 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1195 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1197 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1198 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1200 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1201 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1203 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1204 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1206 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1207 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1209 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1210 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1212 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1213 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1215 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1216 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1218 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1219 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1221 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1222 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1224 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1225 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1227 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1228 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1230 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1231 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1233 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1234 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1236 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1237 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1239 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1240 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1242 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1243 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1245 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1246 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1248 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1249 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1251 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1252 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1254 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1255 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1257 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1258 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1260 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1261 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1263 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1264 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1266 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1267 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1269 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1270 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1272 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1273 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1275 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1276 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1278 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1279 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1281 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1282 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1284 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1285 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1287 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1288 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1290 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1291 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1293 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1294 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1296 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1297 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1299 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1300 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1302 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1303 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1305 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1306 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1308 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1309 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1311 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1312 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1314 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1315 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1317 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1318 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1320 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1321 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1323 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1324 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1326 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1327 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1329 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1330 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1332 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1333 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1335 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1336 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1338 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1339 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1341 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1342 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1344 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1345 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1347 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1348 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1350 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1351 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1353 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1354 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1356 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1357 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1359 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1360 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1362 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1363 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1365 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1366 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1368 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1369 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1371 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1374 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1375 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1377 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1378 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1380 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1383 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1384 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1386 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1387 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1389 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1390 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1392 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1393 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1395 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1396 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1398 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1399 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1401 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1402 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1404 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1405 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1407 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1408 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1410 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1411 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1413 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1414 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1416 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1417 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1419 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1420 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1422 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1423 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1425 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1426 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1428 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1429 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1431 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1432 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1434 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1437 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1438 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1440 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1441 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1443 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1444 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1446 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1447 change symbol version.
1448 * libio/oldiofgetpos64.c: Likewise.
1449 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1451 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1453 Reported by dyky@kondara.org, closes PR libc/1886.
1455 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1458 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1460 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1461 script when ^C is hit.
1463 * locale/programs/localedef.c (construct_output_path): Correct
1464 computation of endp after asprintf.
1465 * locale/programs/locfile.c (write_locale_data): Don't add extra
1468 2000-09-05 Andreas Jaeger <aj@suse.de>
1470 * scripts/config.guess: New upstream version.
1471 * scripts/config.sub: Likewise.
1472 * manual/texinfo.tex: Likewise.
1474 2000-09-04 Andreas Schwab <schwab@suse.de>
1476 * elf/Makefile (all-dl-routines): New variable.
1477 (elide-routines.os): Use it instead of $(dl-routines).
1478 (all-rtld-routines): New variable.
1479 (extra-objs): Use it instead of $(rtld-routines).
1480 ($(objpfx)dl-allobjs.os): Likewise.
1481 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1482 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1485 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1487 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1488 Set fname to NULL if the module wasn't found.
1490 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1492 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1493 true if trans->name already ends in ".so".
1495 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1497 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1499 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1500 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1501 (__gconv_release_shlib): Change return type to void.
1502 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1503 step->__counter here.
1504 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1505 if the reference is zero.
1506 (release_step): New function.
1507 (gen_steps): Always initialize the __counter to 1. Use release_step.
1508 Don't call the destructor on the step whose initializer failed.
1509 (increment_counter): Use release_step. Don't normally run destructors
1511 (__gconv_close_transform): Use release_step.
1513 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1515 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1516 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1518 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1520 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1521 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1522 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1523 to check for incomplete input.
1524 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1525 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1526 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1527 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1529 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1530 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1531 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1532 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1535 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1537 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1540 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1542 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1545 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1547 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1548 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1551 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1553 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1555 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1557 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1559 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1561 * iconvdata/tst-tables.sh: New file.
1562 * iconvdata/tst-table.sh: New file.
1563 * iconvdata/tst-table-from.c: New file.
1564 * iconvdata/tst-table-to.c: New file.
1565 * iconvdata/tst-table-charmap.sh: New file.
1566 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1567 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1568 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1569 ISIRI-3342.irreversible, SJIS.irreversible.
1570 (tests): Add dependency on tst-tables.out.
1571 (tst-tables.out, tst-tables-clean): New rules.
1572 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1573 * iconvdata/ISIRI-3342.irreversible: New file.
1574 * iconvdata/EUC-JP.irreversible: New file.
1575 * iconvdata/SJIS.irreversible: New file.
1577 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1579 * manual/locale.texi (General Numeric): Update description of
1580 representation of the grouping information in the locale data.
1581 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1583 2000-09-04 Andreas Jaeger <aj@suse.de>
1585 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1586 * iconv/iconv_prog.c (options): Fix typo.
1587 Reported by dyky@kondara.org, closes PR libc/1885.
1589 2000-09-04 Andreas Jaeger <aj@suse.de>
1591 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1592 Reported by Rob Levin <lilo@transvirtual.com>.
1594 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1596 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1597 to the typedefs of __timezone_ptr_t.
1598 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1600 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1602 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1605 2000-09-01 H.J. Lu <hjl@gnu.org>
1607 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1608 to run a binary if it is in $(tests-static).
1610 * Rules (binaries-static): Add $(tests-static).
1612 2000-09-02 Andreas Jaeger <aj@suse.de>
1614 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1616 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1619 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1621 * iconvdata/big5hkscs.c: Regenerated from charmap.
1622 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1623 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1625 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1626 statement. General cleanup.
1628 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1630 * wctype/wcfuncs.c (iswblank): New function.
1631 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1632 * wctype/wcextra.c: Remove file.
1633 * wctype/wcextra_l.c: Remove file.
1634 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1636 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1638 * locale/programs/ld-collate.c (collate_output): Remove redundant
1640 * string/strcoll.c: Likewise.
1641 * string/strxfrm.c: Include assert.h. Add assert calls like in
1644 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1646 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1647 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1648 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1649 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1650 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1651 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1652 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1653 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1654 _NL_CTYPE_GAP5/6 respectively.
1656 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1657 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1658 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1659 Don't initialize __ctype_names and __ctype_width.
1660 * wctype/cname-lookup.h: Remove file.
1661 * wctype/Makefile (distribute): Remove cname-lookup.h.
1662 * wctype/wchar-lookup.h: Include stdint.h.
1663 * wctype/wctype.c (__wctype): Assume new locale format.
1664 * wctype/wctype_l.c (__wctype_l): Likewise.
1665 * wctype/iswctype.c: Don't include cname-lookup.h.
1666 (__iswctype): Assume new locale format.
1667 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1668 (__iswctype_l): Assume new locale format.
1669 * wctype/wctrans.c: Don't include ctype.h.
1670 (wctrans): Assume new locale format.
1671 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1672 * wctype/towctrans.c: Don't include cname-lookup.h.
1673 (__towctrans): Assume new locale format.
1674 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1675 (__towctrans_l): Assume new locale format.
1676 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1677 localeinfo.h instead.
1678 (__NO_WCTYPE): Remove unused macro.
1679 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1681 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1682 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1683 (towlower, towupper): Likewise.
1684 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1685 localeinfo.h instead.
1686 (__NO_WCTYPE): Remove unused macro.
1687 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1688 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1689 __iswxdigit_l): Assume new locale format.
1690 (__towlower_l, __towupper_l): Likewise.
1691 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1692 (__ctype32_b): Remove declaration.
1693 (internal_wcwidth): Assume new locale format.
1694 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1695 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1696 to map32_b, rename width_3level to width.
1697 (ctype_output): Always create new locale format. Don't emit
1698 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1699 (allocate_arrays): Always create new locale format.
1701 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1702 * locale/weightwc.h (findidx): Assume new locale format.
1703 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1705 * string/strxfrm.c (wcsxfrm): Likewise.
1706 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1707 local variable collseq to 'const char *'.
1708 (SUFFIX): Don't use, don't undefine.
1709 * posix/fnmatch.c: Remove SUFFIX definition.
1710 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1711 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1712 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1713 (collate_finish): Always create new locale format. Remove local
1714 variables min_total, act_size.
1715 (collate_output): Always create new locale format. Remove local
1716 variables table_size, names, tablewc. Rename tablewc_3level to
1719 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1721 * locale/programs/ld-collate.c (obstack_int32_grow,
1722 obstack_int32_grow_fast): New inline functions.
1723 (output_weightwc, collate_output): Use them where possible.
1725 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1727 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1728 patch (_mode -> _flags).
1730 * libio/Makefile (headers): Add stdio_ext.h.
1731 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1732 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1733 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1734 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1735 __fsetlocking, and _flushlbf.
1736 * libio/__fbufsize.c: New file.
1737 * libio/__flbf.c: New file.
1738 * libio/__fpending.c: New file.
1739 * libio/__fpurge.c: New file.
1740 * libio/__freadable.c: New file.
1741 * libio/__freading.c: New file.
1742 * libio/__fsetlocking.c: New file.
1743 * libio/__fwritable.c: New file.
1744 * libio/__fwriting.c: New file.
1745 * libio/stdio_ext.h: New file.
1746 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1747 * libio/libio.h (_IO_USER_LOCK): Define.
1748 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1749 test _IO_USER_LOCK flag first.
1751 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1754 2000-09-01 Andreas Jaeger <aj@suse.de>
1756 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1760 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1762 * math/Makefile (tests): Add tst-defintions.
1763 * math/tst-definitions.c: New file.
1765 * stdlib/Makefile (headers): Add bits/wchar.h.
1766 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1767 * sysdeps/generic/bits/wchar.h: New file.
1768 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1769 file to define WCHAR_MIN and WCHAR_MAX.
1770 Change UINT*8_MAX and UIN*16_MAX value to type int.
1771 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1772 file to define WCHAR_MIN and WCHAR_MAX.
1773 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1775 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1776 * sysdeps/generic/bits/mathdef.h: Likewise.
1777 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1778 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1779 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1780 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1781 * locale/locale.h (struct lconv): Add __ prefix to the new members
1783 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1784 imaxdiv optimizations.
1785 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1786 * sysdeps/wordsize-64/ldiv.c: Likewise.
1787 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1789 * sysdeps/generic/bits/fenv.h: Likewise.
1790 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1791 * sysdeps/ia64/bits/fenv.h: Likewise.
1792 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1793 * sysdeps/mips/bits/fenv.h: Likewise.
1794 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1795 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1796 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1798 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1799 * inet/ruserpass.c: Likewise.
1800 * catgets/open_catalog.c: Likewise.
1801 * intl/loadmsgcat.c: Likewise.
1802 * io/getdirname.c: Likewise.
1803 * locale/loadlocale.c: Likewise.
1804 * misc/getusershell.c: Likewise.
1805 * stdlib/canonicalize.c: Likewise.
1806 * sysdeps/posix/euidaccess.c: Likewise.
1807 * sysdeps/posix/isfdtype.c: Likewise.
1808 * sysdeps/posix/posix_fallocate.c: Likewise.
1809 * sysdeps/posix/tempname.c: Likewise.
1810 * sysdeps/unix/grantpt.c: Likewise.
1811 * sysdeps/unix/opendir.c: Likewise.
1812 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1813 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1814 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1815 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1816 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1817 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1818 * sysvipc/ftok.c: Likewise.
1819 * time/getdate.c: Likewise.
1821 * time/getdate.c: Add extra access test.
1823 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1825 * version.h (VERSION): Bump to 2.1.93.
1827 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1828 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1830 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1831 Make this a new rule depending on tst-gettext.out and run mtrace.
1832 * intl/tst-gettext.c: Call mtrace.
1833 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1835 * elf/dl-reloc.c: Add a few more __builtin_expect.
1837 * configure.in: Remove --with-gettext option.
1839 * intl/dcigettext.c (free_mem): Correct freeing of
1840 _nl_domain_bindings list.
1842 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1845 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1847 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1849 * stdio-common/itoa-digits.c: Move upper digits to...
1850 * stdio-common/itoa-udigits.c: ...here. New file.
1851 * stdio-common/Makefile (routines): Add itoa-udigits.
1853 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1854 relocate ld.so don't add supprt for relocations which should not
1857 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1858 __secure_getenv. Instead test __libc_enable_secure once.
1860 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1862 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1864 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1865 whether the new record should be freed if it's a duplicate.
1866 (add_module): Adjust insert_module call.
1867 (__gconv_read_conf): Likewise.
1868 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1870 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1872 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1874 * include/link.h (struct r_search_path_struct): New.
1875 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1876 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1878 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1879 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1880 added at startup time.
1881 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1882 contains element to remember fact that we can free memory.
1883 (all_dirs): Renamed to _dl_all_dirs. Made global.
1884 (_dl_init_all_dirs): New variable.
1885 (fillin_rpath): Save one malloc call.
1886 (decompose_rpath): Change interface. New first parameter points to
1887 r_search_path_struct.
1888 (_dl_init_paths): Adjust for changes. Mark all memory as not
1889 deletable. Set _dl_init_all_paths value.
1890 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1891 parameter replaced with r_search_path_struct *. Information about
1892 freeing now contained in r_search_path_struct.
1893 (_dl_map_object): Adjust for above changes.
1895 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1897 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1898 when adding new entries.
1900 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1901 since the object being loaded can be unloaded.
1903 * iconvdata/Makefile (tests): Add tst-loading.
1904 * iconvdata/tst-loading.c: New file.
1906 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1908 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1909 When comparing a char with an int, always cast the char to
1910 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1911 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1913 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1915 * time/strftime.c (my_strftime): Add compatibility code for use
1916 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1918 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1919 return 0 for success but always < 0 on failure.
1921 * nss/getXXbyYY_r.c: Define result to *result before including
1924 2000-08-30 Andreas Jaeger <aj@suse.de>
1926 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1928 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1930 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1932 * iconvdata/TESTS: Add BIG5HKSCS entry.
1933 * iconvdata/testdata/BIG5HKSCS: New file.
1934 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1936 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1939 * libio/iogetline.c: Set mode before the loop in case n==0.
1940 * libio/iogetwline.c: Likewise.
1942 2000-08-29 H.J. Lu <hjl@gnu.org>
1944 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1946 (_IO_new_file_overflow): Likewise.
1947 * libio/genops.c (_IO_flush_all): Likewise.
1948 * libio/ioftell.c (_IO_ftell): Likewise.
1950 2000-08-29 Akira Higuchi <a@kondara.org>
1952 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1953 and __end_fct fields of struct __gconv_step.
1954 * iconv/Makefile (tests): Add iconv-bug2.
1955 * iconv/iconv-bug2.c: New file.
1957 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1958 instead of 'inptr - inend' to ksc5601_to_ucs4.
1960 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1962 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1963 character or shift sequence is found at the end of the input
1964 string, return__GCONV_INCOMPLETE_INPUT instead of
1965 __GCONV_EMPTY_INPUT.
1966 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1967 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1969 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1970 __GCONV_ILLEGAL_INPUT for 8bit characters.
1972 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1974 * signal/signal.h (sigpause): Move __THROW before __asm__.
1976 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1977 names don't match don't return.
1978 Patch by Olaf Kirch <okir@flash.lst.de>.
1980 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1982 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1984 2000-08-27 H.J. Lu <hjl@gnu.org>
1986 * posix/Makefile (otherlibs): Add for building with static-nss
1989 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1991 * libio/stdio.h: Add fmemopen prototype.
1993 2000-08-25 Andreas Jaeger <aj@suse.de>
1995 * libio/Makefile (routines): Add fmemopen.
1996 (tests): Add test-fmemopen.
1997 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1998 * libio/test-fmemopen.c: New file.
1999 * libio/fmemopen.c: New file.
2000 Patches by Hanno Mueller <kontakt@hanno.de>.
2002 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2004 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2005 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2007 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2008 to avoid crashing statically linked applications.
2010 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2012 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2013 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2015 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2016 If the result is fits in the buffer, copy only as many bytes as needed.
2018 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2019 buffer after copying numbuf into it.
2020 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2022 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2024 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2025 the result. When string_len < len, don't clear the rest of the buffer.
2027 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2029 Support for new LC_COLLATE format.
2030 * locale/coll-lookup.h: New file.
2031 * locale/weightwc.h (findidx): When size == 0, call
2032 collidx_table_lookup.
2033 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2034 * wcsmbs/wcsxfrm.c: Likewise.
2035 * posix/fnmatch.c: Likewise.
2036 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2037 collseq_table_lookup.
2038 * locale/programs/3level.h: New file.
2039 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2040 by including "3level.h".
2041 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2042 collseq_table): New types, defined by including "3level.h".
2043 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2044 (encoding_mask, encoding_byte): Remove.
2045 (utf8_encode): Use simple shifts instead.
2046 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2047 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2048 (collate_output): New local variable tablewc_3level. When
2049 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2050 tablewc_3level instead of tablewc. Change format of TABLEWC and
2051 COLLSEQWC entries written to the file.
2052 * locale/C-collate.c (collseqwc): Change format.
2053 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2055 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2057 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2059 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2060 (locale_ctype_t): New charnames_idx field.
2061 (ctype_startup): Initialize charnames_idx field.
2062 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2064 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2066 * locale/C-ctype.c: Switch to new locale format.
2067 (_nl_C_LC_CTYPE_names): Remove array.
2068 (STRUCT_CTYPE_CLASS): New macro.
2069 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2070 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2071 New three-level tables.
2072 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2073 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2074 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2075 12 class tables and 2 map tables at the end.
2076 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2077 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2078 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2080 (b): Remove trailing semicolon.
2081 (__ctype_names, __ctype_width): Don't initialize.
2082 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2084 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2086 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2087 is guaranteed to be allocated with the same malloc() and may be
2089 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2090 been set to empty by an earlier open_path call, don't pass it again.
2092 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2094 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2095 we are not optimizing.
2097 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2100 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2102 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2104 2000-08-28 Andreas Jaeger <aj@suse.de>
2106 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2108 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2110 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2111 getpeername. Use ISO C style function definition.
2112 (getpeername): Provide weak alias.
2113 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2114 setrlimit. Use ISO C style function definition.
2115 (setrlimit): Provide weak alias.
2117 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2119 * shlib-versions: Add a rule for S/390 to the libm version list.
2120 * sysdeps/s390/Versions: New file.
2121 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2122 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2123 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2124 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2125 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2126 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2127 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2128 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2129 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2130 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2131 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2132 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2133 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2134 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2135 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2136 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2137 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2138 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2140 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2142 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2143 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2145 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2146 * elf/dl-close.c (_dl_close): Print debug message if object is not
2148 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2149 returning to caller.
2151 * po/zh.po: Renamed to...
2152 * po/zh_TW.po: ...this.
2154 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2156 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2158 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2159 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2160 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2161 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2163 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2165 * locale/programs/ld-collate.c (insert_weights): Also update
2166 backpointer of next element.
2167 (collate_read): Allow definition of new collation symbols in stage 2.
2168 Symbol after reorder-after can be UCS4 value.
2169 Allow reordering of collation symbols and elements.
2170 Do not only move reorder entry in new position. Instead call
2171 insert_weight to do this and read the weights.
2173 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2175 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2176 to determine invalid locale name.
2177 * locale/findlocale.c (_nl_find_locale): Likewise.
2179 * posix/annexc.c: Correct test for unavailable feature.
2181 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2184 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2186 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2189 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2190 (sysdep_routines): Add oldgetrlimit64.
2192 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2193 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2194 (tests): Add unload, reldep, reldep2, and reldep3.
2195 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2197 Add rules to build and run unload, reldep, reldep2, and reldep3.
2198 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2199 Don't create relocation dependency if it is nonzero.
2200 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2201 can never happen here.
2202 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2203 Don't create relocation dependency if it is nonzero.
2204 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2205 stuff. This can never happen here.
2206 * sysdeps/generic/ldsodefs.h: Change prototypes.
2207 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2208 _dl_lookup_up and _dl_lookup_versioned_symbol.
2210 * elf/dl-runtime.c (fixup): Likewise.
2211 (profile_fixup): Likewise.
2212 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2214 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2215 * elf/rtld.c (dl_main): Likewise.
2216 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2217 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2218 and pass down the caller map.
2219 (_dl_vsym): Likewise.
2220 * elf/reldep.c: New file.
2221 * elf/reldep2.c: New file.
2222 * elf/reldep3.c: New file.
2223 * elf/reldepmod1.c: New file.
2224 * elf/reldepmod2.c: New file.
2225 * elf/reldepmod3.c: New file.
2226 * elf/reldepmod4.c: New file.
2227 * elf/unload.c: New file.
2228 * elf/unloadmod.c: New file.
2230 * elf/do-lookup.h: Remove unused undef_name parameter.
2231 * elf/dl-lookup.c: Adjust callers.
2233 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2235 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2236 irreversible in recursive call of conversion function to signal that
2237 no error handling is wanted.
2238 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2239 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2240 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2241 recursive error handling call, otherwise to &lirreversible. Use it
2242 for calls to conversion functions.
2243 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2245 (ucs4_internal_loop_unaligned): Likewise.
2246 (ucs4le_internal_loop): Likewise.
2247 (ucs4le_internal_loop_unaligned): Likewise.
2249 2000-08-25 Greg McGary <greg@mcgary.org>
2251 * sysdeps/i386/memchr.S: Check high bound against chars
2253 * sysdeps/i386/memcmp.S: Likewise.
2254 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2255 account for pointers that lie one beyond end-of-buffer.
2257 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2259 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2260 * elf/nodelete.c (fini_ran): New global variable.
2261 (do_test): Before every dlclose call clear fini_ran and test
2262 afterwards that it is not set by the destructors.
2263 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2264 * elf/nodelmod2.c: Likewise.
2265 * elf/nodelmod4.c: Likewise.
2267 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2269 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2270 getrlimit to the list.
2272 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2274 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2275 long double format so use ldbl-96 instead of ldbl-128.
2277 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2279 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2280 even if bits 10 a 11 are non-zero.
2281 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2283 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2284 included before building gnu/lib-names.h
2285 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2287 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2288 marked DF_1_NODELETE.
2290 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2291 since we call sigaction in the child.
2293 2000-08-25 Andreas Jaeger <aj@suse.de>
2295 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2298 2000-08-25 Andreas Jaeger <aj@suse.de>
2300 * manual/arith.texi (Control Functions): Clarify possible
2301 arguments. Closes PR libc/1856.
2303 2000-08-24 H.J. Lu <hjl@gnu.org>
2305 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2306 * malloc/Makefile (tests): Likewise.
2308 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2310 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2312 2000-08-24 Andreas Jaeger <aj@suse.de>
2314 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2315 only if LIBGD is available.
2317 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2319 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2320 problems with now restrict parameter types.
2321 (convaddr4to6): Likewise.
2323 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2325 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2326 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2327 * sysdeps/s390/fpu/fegetexcept.c: New file.
2328 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2331 2000-08-24 Andreas Jaeger <aj@suse.de>
2333 * malloc/Makefile (extra-objs): Add memusagestat.o.
2334 (generated): Added memusage and memusagestat for make clean.
2336 * libio/tst_putwc.c (do_test): Delete temporary file.
2337 Move inclusion of test-skeleton to front to have prototype for
2340 * posix/Makefile (generated): Add wordexp-tst.out.
2342 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2344 * resolv/res_hconf.c (free_mem): Remove not needed if.
2346 * time/tzset.c (free_mem): New function.
2347 * string/strsignal.c (free_mem): New function.
2348 * inet/inet_ntoa.c (free_mem): New function.
2349 * sunrpc/clnt_perr.c (free_mem): New function.
2351 2000-08-24 Andreas Jaeger <aj@suse.de>
2353 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2354 * sysdeps/unix/sysv/syscalls.list: Likewise.
2356 * posix/unistd.h: Move internal prototypes from here ...
2357 * include/unistd.h: ... to here.
2359 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2361 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2363 * grp/initgroups.c (initgroups): Deallocate groups array.
2364 Reported by jani.raiha@sonera.com [PR libc/1868].
2366 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2367 * sysdeps/alpha/Dist: Likewise.
2369 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2371 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2372 destructor). Reported by Solar Designer <solar@false.com>.
2374 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2375 avoid adding double slashes.
2377 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2379 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2380 out of the __REDIRECT macro.
2382 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2384 * stdio-common/vfscanf.c: Add %F format support.
2386 * locale/programs/ld-ctype.c (ctype_output): Make sure
2387 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2388 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2389 (ctype_read): Enable returning of wide character strings for reading
2390 transliteration information.
2392 2000-08-23 Andreas Jaeger <aj@suse.de>
2394 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2395 Use static __inline instead of _EXTERN_INLINE.
2397 * misc/sys/select.h: Move prototypes of __select from here ...
2398 * include/sys/select.h: ... to here.
2400 * socket/sys/socket.h: Move prototypes of __send and __connect
2402 * include/sys/socket.h: ... to here.
2404 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2407 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2410 __setrlimit as strong name. Takes only 2 arguments.
2412 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2413 takes only 2 arguments.
2415 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2417 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2419 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2421 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2423 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2424 default_missing character being specified, pick the first
2427 2000-08-23 Andreas Jaeger <aj@suse.de>
2429 * include/wchar.h: Add some pure attributes.
2431 * time/time.h: Add const attribute for dysize.
2433 * include/stdlib.h: Add malloc attribute to __posix memalign.
2435 * stdlib/stdlib.h: Add some pure and malloc attributes.
2436 * wcsmbs/wchar.h: Likewise.
2438 * dirent/dirent.h: Add some pure attributes.
2439 * include/dirent.h: Likewise.
2441 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2443 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2446 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2448 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2449 missing buffer size checks.
2451 2000-08-23 Andreas Jaeger <aj@suse.de>
2453 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2457 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2458 otherwise __LINUX_KERNEL_VERSION might not be defined.
2459 (MIN): Define if not already defined.
2461 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2463 * stdio-common/vfprintf.c: Handle %F format.
2464 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2465 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2467 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2469 * po/zh.po: New file.
2471 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2472 enough room in target buffer.
2473 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2474 * iconvdata/bug-iconv1.c: New file.
2475 * iconvdata/Makefile (tests): Add bug-iconv1.
2477 * locale/iso-4217.def: Update entry for Nicaragua.
2479 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2481 * hurd/hurdsig.c: Rearrange headers a bit.
2482 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2483 when cthreads is being used.
2485 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2487 * elf/Makefile (distribute): Add dl-osinfo.h.
2488 * sysdeps/generic/dl-osinfo.h: New file.
2489 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2490 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2492 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2493 only for !SHARED case. Get the code from dl-osinfo.h.
2495 * stdlib/random_r.c: Cleanups.
2496 * stdlib/tst-random.c: New file.
2497 * stdlib/Makefile (tests): Add tst-random.
2498 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2500 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2502 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2503 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2504 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2505 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2507 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2509 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2510 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2511 (__syscall__sysctl): Add.
2513 2000-08-21 Andreas Jaeger <aj@suse.de>
2515 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2517 * stdlib/tst-strtoll.c: Likewise.
2519 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2521 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2523 (__initstate_r): Set errno on error.
2524 (__random_r): Likewise.
2525 (__setstate_r): Correct offset when computing
2526 new rptr and fptr. Test for arg_state being NULL.
2527 Reported by Michael Fischer <fischer@cs.yale.edu>.
2529 * posix/regex.h: Add macro definitions to allow compiling outside
2532 * sysdeps/i370/Implies: Removed.
2533 * sysdeps/mvs/Implies: Removed.
2535 * catgets/catgets.c (catopen): Filter out env_var values with / if
2538 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2539 locale name after all getenvs.
2541 * configure.in: Allow sed versions like 3.02.8.
2542 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2544 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2546 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2548 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2550 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2551 of gethostbyname2_r call.
2553 * intl/locale.alias: Add aliases for Korean.
2555 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2557 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2558 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2559 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2560 * sysdeps/s390/fpu/fegetenv.c: New file.
2561 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2562 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2563 * sysdeps/s390/fpu/fenv_libc.h: New file.
2564 * sysdeps/s390/fpu/fesetenv.c: New file.
2565 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2566 * sysdeps/s390/fpu/feupdateenv.c: New file.
2567 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2568 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2569 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2570 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2571 * sysdeps/s390/fpu/ftestexcept.c: New file.
2572 * sysdeps/s390/fpu/libm-test-ulps: New file.
2573 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2574 * sysdeps/s390/initfini.c: New file.
2575 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2576 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2577 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2578 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2579 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2580 sys/procfs.h as proposed by Mark Kettenis.
2581 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2583 2000-08-21 Andreas Jaeger <aj@suse.de>
2585 * include/poll.h: Include include/sys/poll.h to get __poll
2588 * io/sys/poll.h: Move __poll declaration from here...
2589 * include/sys/poll.h: ...to here.
2591 * include/sys/socket.h (__getpeername): Add declaration.
2593 * include/wchar.h (__vswprintf): Add declaration.
2595 * include/stdio.h (__flockfile): Add declaration.
2596 (__funlockfile): Likewise.
2598 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2600 * misc/sys/cdefs.h: Define __restrict_arr.
2601 * include/sys/time.h: Add restrict where required by AGd4.
2602 * inet/arpa/inet.h: Likewise.
2603 * io/sys/stat.h: Likewise.
2604 * io/sys/statvfs.h: Likewise.
2605 * misc/search.h: Likewise.
2606 * misc/sys/select.h: Likewise.
2607 * posix/glob.h: Likewise.
2608 * posix/regex.h: Likewise.
2609 * posix/spawn.h: Likewise.
2610 * posix/unistd.h: Likewise.
2611 * rt/aio.h: Likewise.
2612 * signal/signal.h: Likewise.
2613 * socket/sys/socket.h: Likewise.
2614 * stdlib/ucontext.h: Likewise.
2615 * streams/stropts.h: Likewise.
2616 * string/string.h: Likewise.
2617 * time/time.h: Likewise.
2618 * time/sys/time.h: Likewise.
2620 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2621 and posix_spawnattr_setscheparam.
2623 * libio/stdio.h: Make cuserid prototype again available for all
2626 * argp/argp-help.c: Unify use of function aliases to make more compact
2628 * include/libintl.h: Likewise.
2629 * inet/rcmd.c: Likewise.
2630 * intl/dcigettext.c: Likewise.
2631 * libio/iofputws.c: Likewise.
2632 * libio/iofputws_u.c: Likewise.
2633 * libio/iogetwline.c: Likewise.
2634 * libio/swprintf.c: Likewise.
2635 * malloc/malloc.c: Likewise.
2636 * nss/digits_dots.c: Likewise.
2637 * posix/fnmatch.c: Likewise.
2638 * posix/spawn_faction_addclose.c: Likewise.
2639 * posix/spawn_faction_adddup2.c: Likewise.
2640 * posix/spawn_faction_addopen.c: Likewise.
2641 * posix/spawni.c: Likewise.
2642 * posix/wordexp.c: Likewise.
2643 * posix/spawni.c: Likewise.
2644 * resolv/res_hconf.c: Likewise.
2645 * resolv/res_init.c: Likewise.
2646 * shadow/lckpwdf.c: Likewise.
2647 * signal/sighold.c: Likewise.
2648 * signal/sigrelse.c: Likewise.
2649 * stdio-common/printf-parse.h: Likewise.
2650 * stdio-common/printf-prs.c: Likewise.
2651 * stdio-common/printf_fp.c: Likewise.
2652 * stdio-common/vfprintf.c: Likewise.
2653 * stdio-common/vfscanf.c: Likewise.
2654 * stdlib/rpmatch.c: Likewise.
2655 * sunrpc/create_xid.c: Likewise.
2656 * sunrpc/key_call.c: Likewise.
2657 * sysdeps/generic/setrlimit64.c: Likewise.
2658 * sysdeps/generic/utmp_file.c: Likewise.
2659 * sysdeps/generic/vlimit.c: Likewise.
2660 * sysdeps/posix/posix_fallocate.c: Likewise.
2661 * sysdeps/posix/posix_fallocate64.c: Likewise.
2662 * sysdeps/posix/sigpause.c: Likewise.
2663 * sysdeps/posix/sigset.c: Likewise.
2664 * sysdeps/unix/grantpt.c: Likewise.
2665 * sysdeps/unix/bsd/ualarm.c: Likewise.
2666 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2667 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2668 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2669 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2670 * time/strftime.c: Likewise.
2671 * wcsmbs/wcscoll.c: Likewise.
2672 * wcsmbs/wcsxfrm.c: Likewise.
2674 * time/tst-getdate.c (main): Make error messages more human readable.
2676 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2677 postinc/predec instruction.
2678 (_FPU_SETCW): Likewise.
2679 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2681 2000-08-20 Andreas Jaeger <aj@suse.de>
2683 * time/tst-getdate.c (main): Increase error in case of wrong
2685 Fix typo in test case.
2687 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2689 * ctype/ctype.h (isblank): Make available if ISO C99.
2690 * wctype/wctype.h (iswblank): Make available if ISO C99.
2691 * math/math.h (signgam): Don't make available if ISO C99.
2692 * math/tgmath.h (tgamma): Renamed from gamma.
2693 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2695 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2697 * intl/plural.y (new_exp): Take number of optional parameters in
2698 second parameter. Test for correct number of parameters and free
2699 correctly in case of failure. Adjust all callers.
2700 (yylex): Allow ';' as terminator character.
2702 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2704 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2707 * locale/findlocale.c (free_mem): Also free here->filename.
2709 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2711 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2713 (feexcp_nomask_test): Correct printf args.
2714 (feexcp_mask_test): Likewise.
2716 2000-08-19 Andreas Jaeger <aj@suse.de>
2718 * inet/tst-gethnm.c: Include string.h to provide prototype for
2721 * malloc/mtrace.pl (usage): Inform about --help.
2723 2000-08-19 Wolfram Gloger <wg@malloc.de>
2725 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2728 2000-08-19 Andreas Jaeger <aj@suse.de>
2730 * shlib-versions: Remove libnss_db, libdb and libdb1.
2732 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2734 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2735 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2737 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2738 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2739 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2740 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2741 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2742 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2743 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2745 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2746 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2748 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2750 * include/glob.h (__glob64): Add prototype.
2751 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2752 define glob and glob_in_dir.
2753 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2754 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2757 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2758 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2759 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2762 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2764 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2766 2000-08-17 Andreas Jaeger <aj@suse.de>
2768 * math/test-fenv.c (fe_single_test): New function.
2769 (fe_env_tests): Use fe_single_test.
2770 (feenable_test): New tests for feenable/fedisable and
2772 (feexcp_mask_test): New function.
2773 (feexcp_nomask_test): New function.
2775 2000-08-19 Richard Henderson <rth@cygnus.com>
2777 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2778 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2779 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2780 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2781 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2782 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2783 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2784 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2785 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2786 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2787 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2788 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2789 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2790 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2791 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2792 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2793 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2795 2000-08-19 Andreas Jaeger <aj@suse.de>
2797 * elf/constload1.c: Include <stdio.h> for puts prototype.
2799 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2801 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2802 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2803 a dynamically loaded object remove old l_initfini list.
2804 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2805 remove some dynamically allocated memory blocks in the dynamic
2806 loading data structures.
2807 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2808 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2809 Instead call _dl_check_map_versions only for the dependencies.
2810 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2811 information of initial objects as not free-able.
2812 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2815 * elf/filter.c: Call mtrace.
2816 * elf/restest1.c: Likewise. Close the objects.
2817 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2820 * elf/constload1.c: Add comment explaining not freed memory.
2822 2000-08-18 Andreas Jaeger <aj@suse.de>
2824 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2825 alignment for structs stat and stat64.
2826 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2828 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2830 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2831 handling. Patch by Richard Henderson <rth@twiddle.net>.
2833 * nss/Versions: Remove libnss_db information.
2835 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2837 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2838 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2839 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2840 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2842 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2845 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2847 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2848 (_FPU_SETCW): Likewise.
2849 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2851 * stdio-common/printf_fp.c: Fix chars_needed computation.
2852 Patch by Greg McGary <greg@mcgary.org>.
2854 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2856 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2857 _dl_loaded are NULL.
2859 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2861 * manual/arith.texi (feholdexcept): Returns 0 on success.
2863 2000-08-17 Andreas Jaeger <aj@suse.de>
2865 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2867 Reported by Andi Kleen <ak@suse.de>.
2869 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2871 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2872 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2873 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2875 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2877 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2878 of buf->st_ino and kbuf->st_ino, not __st_ino.
2879 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2880 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2881 directive so that only linux/getdents.c is used, not some
2882 architecture specific one.
2884 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2886 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2887 enabled, not disabled exceptions.
2888 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2889 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2891 2000-08-17 Greg McGary <greg@mcgary.org>
2893 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2894 from test program name when constructing suffix for $(LDLIBS-*).
2895 (bounded-thread-library): New variable.
2897 [build-shared, build-static] (libcrypt-dep): Remove variable.
2898 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2899 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2900 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2901 (librt-tests): Add variable. (tests): Use it.
2902 [build-shared, build-static]
2903 ($(addprefix $(objpfx),$(tests)),
2904 $(addprefix $(objpfx),$(librt-tests))):
2905 Consolidate individual dependencies.
2907 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2909 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2910 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2912 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2914 [build-shared, build-static]
2915 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2916 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2918 2000-08-17 Greg McGary <greg@mcgary.org>
2920 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2921 * sysdeps/unix/make-syscalls.sh: Likewise.
2922 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2923 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2924 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2925 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2928 2000-08-17 Greg McGary <greg@mcgary.org>
2930 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2931 Wrap extern symbols in BP_SYM ().
2932 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2933 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2934 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2935 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2936 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2937 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2938 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2939 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2940 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2941 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2943 2000-08-16 Andreas Schwab <schwab@suse.de>
2945 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2946 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2947 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2949 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2951 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2952 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2953 * elf/dl-support.c: Define _nl_nloaded.
2954 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2955 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2956 object to global list.
2957 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2958 from _dl_loaded list.
2959 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2960 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2963 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2965 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2967 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2969 2000-08-16 Andreas Jaeger <aj@suse.de>
2971 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2973 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2975 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2977 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2979 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2980 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2981 (sysdep_routines): Add oldgetrlimit64.
2982 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2983 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2985 * include/link.h: Undo last patches. Hurd now has stat64.
2986 * elf/Makefile: Likewise.
2987 * elf/dl-load.c: Likewise.
2988 * elf/dl-misc.c: Likewise.
2989 * elf/dl-profile.c: Likewise.
2990 * sysdeps/generic/sysd-link.h: Removed.
2991 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2993 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2994 thread event callback function.
2995 (__aio_notify_only): Use function above.
2996 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2998 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3000 * sysdeps/mach/hurd/lseek64.c: New file.
3002 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3004 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3006 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3008 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3010 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3012 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3014 * sysdeps/mach/hurd/xstatconv.c: New file.
3015 * sysdeps/mach/hurd/fxstat64.c: New file.
3016 * sysdeps/mach/hurd/lxstat64.c: New file.
3017 * sysdeps/mach/hurd/xstat64.c: New file.
3018 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3020 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3022 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3023 Initialize, needed for change in common symbol handling in newer
3024 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3026 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3028 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3029 * elf/constload2.c: Add destructor to unload constload3.
3031 * include/link.h: Include sysd-link.h.
3032 * sysdeps/generic/sysd-link.h: New file.
3033 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3034 * elf/Makefile (distribute): Add sysd-link.h.
3035 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3036 types and functions directly.
3037 * elf/dl-misc.c: Likewise.
3038 * elf/dl-profile.c: Likewise.
3040 * elf/loadfail.c (main): Close all successfully loaded objects.
3042 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3044 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3045 there is already one.
3047 * elf/dl-close.c: Pretty print.
3049 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3051 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3052 global (with file scope). Add __libc_subfreeres function to free the
3054 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3055 in ttyname function.
3057 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3059 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3061 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3062 mapping them to /x5c and /x7e respectively.
3064 * locale/programs/ld-ctype.c: Add support for more definitions after
3067 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3069 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3070 * sysdeps/unix/sysv/linux/kernel-features.h
3071 (__ASSUME_GETDENTS64_SYSCALL): Define.
3072 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3073 syscall if available to get d_type fields.
3074 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3075 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3076 __lxstat64): Export at GLIBC_2.2.
3077 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3079 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3080 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3081 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3082 getdirentries64, versionsort64): Remove.
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3084 getdirentries64, versionsort64): Remove.
3086 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3088 * posix/Makefile: Remove rules to generate glob package.
3090 * posix/Makefile (tests): Add tst-regexloc.
3091 (tst-regexloc-ENV): Add LOCPATH.
3092 * posix/tst-regexloc.c: New file.
3094 2000-08-12 Andreas Jaeger <aj@suse.de>
3096 * include/features.h (__STDC_ISO_10646__): Define.
3097 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3099 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3101 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3103 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3104 for revision 6 and up).
3106 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3108 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3109 to get definitions of just these types.
3111 * signal/signal.h: Define thread signal handling functions also for
3114 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3116 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3117 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3118 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3119 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3121 * sysvipc/sys/shm.h: Define pid_t for XPG.
3123 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3124 they are not anymore required here.
3126 * wcsmbs/wchar.h: Make the various wide char string and stream
3127 functions available for the respective XPG versions.
3129 * nss/Makefile: Remove rules to build and distribute nss_db.
3131 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3132 * sysdeps/generic/scandir64.c: Likewise.
3133 * sysdeps/generic/versionsort64.c: Likewise.
3135 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3136 Benjamin Koznik <bkoz@redhat.com>
3138 * libio/fileops.c: Merge with libstdc++-v3.
3139 * libio/genops.c: Likewise.
3140 * libio/iofclose.c: Likewise.
3141 * libio/iofopen.c: Likewise.
3142 * libio/iofwide.c: Likewise.
3143 * libio/libio.h: Likewise.
3144 * libio/libioP.h: Likewise.
3145 * libio/stdfiles.c: Likewise.
3146 * libio/stdio.c: Likewise.
3147 * libio/wfileops.c: Likewise.
3148 * libio/wgenops.c: Likewise.
3150 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3152 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3154 * locale/programs/localedef.c: Implement --prefix option to allow
3155 writing in standard places of alternative install directories.
3157 * posix/regex.c (compile_range): Implement collation sequence
3158 handling for glibc. Use simple character ordering otherwise and
3161 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3163 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3165 2000-08-12 Andreas Jaeger <aj@suse.de>
3167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3168 __USE_FILE_OFFSET64 correctly for locking.
3169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3171 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3173 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3174 Define for 2.4.1 on sparc as well.
3175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3176 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3177 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3178 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3180 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3182 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3185 2000-08-12 Andreas Jaeger <aj@suse.de>
3187 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3188 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3190 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3191 mips2 for assembler.
3193 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3194 if fnctl64 is not available for F_*LK*64.
3196 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3198 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3201 Define for 2.4.1 on x86.
3202 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3203 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3204 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3206 * dirent/dirent.h: Define DT_WHT.
3208 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3209 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3210 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3211 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3212 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3213 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3215 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3217 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3218 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3219 * inet/Makefile (tests): Add tst-gethnm.
3220 * inet/tst-gethnm.c: New file.
3222 * rt/aio_cancel.c: If canceling a specific request which is running
3223 *really* do nothing.
3224 * rt/aio_misc.h: Add `done' to states of a request.
3225 * rt/aio_misc.c: Add several tests for the correct state.
3226 Simplify request table memory handling.
3228 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3230 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3231 * dirent/scandir64.c: Move...
3232 * sysdeps/generic/scandir64.c: ...here.
3233 * dirent/alphasort64.c: Move...
3234 * sysdeps/generic/alphasort64.c: ...here.
3235 * dirent/versionsort64.c: Move...
3236 * sysdeps/generic/versionsort64.c: ...here.
3237 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3238 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3239 Export symbols at GLIBC_2.2.
3240 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3242 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3243 __versionsort64): Add prototypes.
3244 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3245 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3247 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3249 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3250 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3251 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3252 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3254 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3255 Adjust for kernel-2.4.0-test6 layout.
3256 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3257 GLIBC_2.1 and GLIBC_2.2.
3258 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3259 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3260 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3261 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3262 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3263 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3264 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3265 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3266 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3267 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3268 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3269 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3270 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3271 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3273 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3274 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3275 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3276 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3277 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3278 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3279 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3281 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3282 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3284 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3285 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3286 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3290 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3292 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3294 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3295 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3296 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3297 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3298 st_ino from __st_ino.
3299 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3300 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3301 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3302 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3303 set __st_ino in addition to st_ino.
3304 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3305 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3306 __old_getdents64 as well.
3307 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3308 getdirentries64 and old_getdirentries64 as well.
3309 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3310 __GETDENTS): Define.
3311 (GETDENTS64): Remove.
3312 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3314 (GETDENTS64): Remove.
3315 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3316 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3317 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3319 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3320 __old_readdir64_r as well.
3321 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3322 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3324 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3326 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3327 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3328 define of the kernel.
3329 Add missing __SEG_PSTKOVF definition.
3330 Adjust the padding of struct siginfo and struct sigevent to
3331 match the fact that sigval_t is 64 bit.
3333 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3335 * timezone/zic.c: Update from tzcode2000f.
3336 * timezone/australasia: Update from tzdata2000f.
3337 * timezone/europe: Likewise.
3338 * timezone/southamerica: Likewise.
3339 * timezone/yearistype: Likewise.
3341 2000-08-10 Andreas Jaeger <aj@suse.de>
3343 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3344 stat with current MIPS kernel.
3346 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3348 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3349 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3350 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3351 Remove the junk that's only relevant in the Linux kernel itself.
3352 Add a warning saying that this file is now obsolete, and include
3354 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3355 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3356 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3357 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3358 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3359 and add the notice that the file is primarily there for GDB.
3360 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3362 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3364 * time/tzfile.c (__tzfile_compute): __tzstring zones
3367 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3369 * resolv/resolv.h (__res_state): Surround prototype with
3370 __BEGIN_DECLS/__END_DECLS.
3371 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3373 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3375 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3376 Make independant of asm/resource.h from the Linux kernel.
3378 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3380 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3382 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3384 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3385 * locale/Makefile (locale-CPPFLAGS): Likewise.
3387 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3389 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3392 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3394 * misc/Versions (mincore): Export at GLIBC_2.2.
3396 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3398 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3400 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3402 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3403 socketpair. Made socketpair a weak alias.
3404 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3405 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3406 conforming, but fall back on the old protocol if the socket server
3408 * include/sys/socket.h: Add prototype for __socketpair.
3410 2000-08-09 Andreas Schwab <schwab@suse.de>
3412 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3413 long long modifier is seen.
3415 * elf/nodelete.c (do_test): Remove reference to undefined member
3417 * rt/tst-aio4.c (do_test): Likewise.
3419 * configure.in: Add `-lm' when checking for libgd.
3420 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3423 2000-08-09 Andreas Jaeger <aj@suse.de>
3425 * configure.in: Change required make versions.
3427 * manual/install.texi (Tools for Compilation): Document required
3429 (Supported Configurations): Update list of supported
3432 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3434 * locale/linereader.c (get_string): Don't print an error is a string
3435 contains an unknown character.
3437 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3439 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3440 (new_symbol): Take new parameters with name of the symbol.
3442 (handle_ellipsis): Don't only allow character symbols.
3443 (collate_read): Allow string of collating elements contain invalid
3444 characters; ignore entry in this case.
3445 Handle ellipsis of collating symbols before first order_start.
3446 Allow ellipsis in state 0.
3448 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3450 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3452 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3454 2000-08-04 Greg McGary <greg@mcgary.org>
3456 * posix/regex.c (SET_HIGH_BOUND): New macro.
3457 (MOVE_BUFFER_POINTER): Use it.
3458 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3459 (EXTEND_BUFFER): Use it.
3461 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3463 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3464 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3465 _wide_data but from _IO_FILE directly.
3466 * libio/iofclose.c: Likewise.
3467 * libio/wfileops.c: Likewise.
3469 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3470 * libio/libioP.h: Change prototypes.
3472 2000-08-03 Greg McGary <greg@mcgary.org>
3474 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3475 frame pointer early so that we save caller's frame pointer.
3476 * sysdeps/i386/elf/setjmp.S: Likewise.
3478 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3479 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3481 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3482 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3483 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3485 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3487 * iconvdata/big5.c: Updated.
3488 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3490 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3492 * Makeconfig (all-subdirs): Add conform.
3493 * conform/Makefile: Include ../Rules.
3495 * Makefile (README): Add rules to generate here as well.
3497 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3499 * version.h (VERSION): Bump to 2.1.92.
3501 * sysdeps/ia64/Dist: Add _mcount.S.
3503 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3505 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3507 * elf/Makefile (distribute): Add missing modules.
3509 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3511 * posix/regex.c (compile_range): Translate range start and end
3512 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3514 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3517 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3519 2000-08-02 Andreas Jaeger <aj@suse.de>
3521 * elf/elf.h (EM_S390): Added.
3522 (R_390_*): New relocs for S390.
3524 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3525 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3526 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3527 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3528 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3531 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3532 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3533 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3534 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3535 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3536 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3537 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3538 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3539 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3540 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3541 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3542 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3543 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3544 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3545 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3546 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3547 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3548 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3549 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3550 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3551 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3552 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3553 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3554 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3555 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3556 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3557 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3558 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3559 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3560 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3561 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3562 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3563 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3564 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3565 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3567 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3568 * sysdeps/s390/sysdep.h: New file.
3569 * sysdeps/s390/sys/ucontext.h: New file.
3570 * sysdeps/s390/sub_n.S: New file.
3571 * sysdeps/s390/strncpy.S: New file.
3572 * sysdeps/s390/strcpy.S: New file.
3573 * sysdeps/s390/stackinfo.h: New file.
3574 * sysdeps/s390/setjmp.S: New file.
3575 * sysdeps/s390/s390-mcount.S: New file.
3576 * sysdeps/s390/mul_1.S: New file.
3577 * sysdeps/s390/memusage.h: New file.
3578 * sysdeps/s390/memset.S: New file.
3579 * sysdeps/s390/memcpy.S: New file.
3580 * sysdeps/s390/memchr.S: New file.
3581 * sysdeps/s390/machine-gmon.h: New file.
3582 * sysdeps/s390/ldbl2mpn.c: New file.
3583 * sysdeps/s390/gmp-mparam.h: New file.
3584 * sysdeps/s390/fpu/fpu_control.h: New file.
3585 * sysdeps/s390/fpu/fesetround.c: New file.
3586 * sysdeps/s390/fpu/fegetround.c: New file.
3587 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3588 * sysdeps/s390/fpu/bits/fenv.h: New file.
3589 * sysdeps/s390/ffs.c: New file.
3590 * sysdeps/s390/elf/start.S: New file.
3591 * sysdeps/s390/elf/setjmp.S: New file.
3592 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3593 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3594 * sysdeps/s390/dl-machine.h: New file.
3595 * sysdeps/s390/bzero.S: New file.
3596 * sysdeps/s390/bsd-setjmp.S: New file.
3597 * sysdeps/s390/bsd-_setjmp.S: New file.
3598 * sysdeps/s390/bits/string.h: New file.
3599 * sysdeps/s390/bits/setjmp.h: New file.
3600 * sysdeps/s390/bits/huge_val.h: New file.
3601 * sysdeps/s390/bits/endian.h: New file.
3602 * sysdeps/s390/bits/byteswap.h: New file.
3603 * sysdeps/s390/bcopy.S: New file.
3604 * sysdeps/s390/backtrace.c: New file.
3605 * sysdeps/s390/atomicity.h: New file.
3606 * sysdeps/s390/asm-syntax.h: New file.
3607 * sysdeps/s390/addmul_1.S: New file.
3608 * sysdeps/s390/add_n.S: New file.
3609 * sysdeps/s390/abort-instr.h: New file.
3610 * sysdeps/s390/__longjmp.c: New file.
3611 * sysdeps/s390/Makefile: New file.
3612 * sysdeps/s390/Implies: New file.
3613 * sysdeps/s390/Dist: New file.
3614 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3616 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3618 Remove incompatible IPv6 extension of RPC.
3619 * sunrpc/Makefile: Undo changes.
3620 * sunrpc/rpc_main.c: Likewise.
3621 * sunrpc/rpc/clnt.h: Likewise.
3622 * sunrpc/rpc/svc.h: Likewise.
3623 * sunrpc/bindrsvprt6.c: Removed.
3624 * sunrpc/clnt_tcp6.c: Removed.
3625 * sunrpc/clnt_udp6.c: Removed.
3626 * sunrpc/svc_tcp6.c: Removed.
3627 * sunrpc/svc_udp6.c: Removed.
3629 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3630 dgettext, and dcgettetxt.
3632 * intl/locale.alias: Update japanese aliases.
3634 * sysdeps/ia64/bits/byteswap.h: New file.
3635 Patch by Dan Pop <Dan.Pop@cern.ch>.
3637 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3638 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3640 2000-07-13 H.J. Lu <hjl@gnu.org>
3642 * posix/regex.c (re_max_failures): Set to 4000.
3644 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3646 * gnulib/Makefile (tests): Add tst-gcc.
3647 * gnulib/tst-gcc.c: New file.
3649 * assert/Makefile (routines): Add __assert.
3650 * assert/Versions: Export __assert for glibc 2.2.
3651 * assert/__assert.c: New file.
3652 * assert/assert.h: Declare __assert.
3654 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3656 * locale/localeinfo.h (_ISCTYPE): New macro.
3657 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3658 LC_CTYPE locale format.
3659 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3660 (ctype_output): Output class_b[nr] right before class_3level[nr].
3661 (allocate_arrays): Fill class_b, similarly to class_3level.
3663 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3664 Joseph S. Myers <jsm28@cam.ac.uk>
3666 * math/tgmath.h: Make standard compliant. Don't ask how.
3668 2000-07-04 H.J. Lu <hjl@gnu.org>
3670 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3671 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3672 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3674 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3676 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3677 (__USE_LARGEFILE): Add an explanation.
3678 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3679 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3681 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3683 * libio/Makefile: Enable exception handling for genops, wgenops,
3684 fileops, and wfileops.
3686 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3688 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3689 acount that elf/rtld's main program might remove some varibales
3690 from the environment if we're trying to be secure. Move the Hurd
3691 startup data if necessary, or, if we there is no startup data,
3692 make sure the magical convention that ARGV[0] is stored just after
3693 the environment list.
3695 2000-08-01 Philip Blundell <philb@gnu.org>
3697 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3698 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3699 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3700 oldsetrlimit for GLIBC_2.0.
3702 2000-08-01 Andreas Jaeger <aj@suse.de>
3704 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3705 (LINE_PARSER): Allow any number of spaces between ip address and
3706 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3708 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3710 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3713 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3714 _nss_nisplus_getipnodebyname_r.
3716 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3717 now, getipnodebyname is deprecated.
3718 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3721 * inet/Makefile (routines): Don't build getipnodebyaddr and
3724 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3726 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3728 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3730 * wctype/Makefile (distribute): Add wchar-lookup.h.
3732 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3734 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3736 2000-08-01 Andreas Schwab <schwab@suse.de>
3738 * Make-dist (dist): Resolve `..' in file names.
3740 2000-08-01 Andreas Jaeger <aj@suse.de>
3742 * stdio-common/Makefile (distribute): Remove removed files, add
3745 * Makefile (distribute): Remove include/db_185.h and db.h.
3747 * include/db_185.h: Remove, it's not needed anymore.
3748 * include/db.h: Likewise.
3750 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3752 * inet/Makefile (tests): Remove tst-ipnode.
3753 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3756 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3758 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3759 endp statements have already been added.
3761 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3763 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3764 <sysdeps/ia64/sysdep.h>.
3766 * sysdeps/ia64/_mcount.S: New file.
3768 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3769 __gmon_start__. Fix up extraneous whitespace.
3771 2000-01-12 H.J. Lu <hjl@gnu.org>
3773 * sysdeps/ia64/elf/initfini.c: New file.
3775 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3777 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3778 dependency between branch and ar.pfs write.
3780 2000-07-31 H.J. Lu <hjl@gnu.org>
3782 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3783 handle the wchar_t array.
3785 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3787 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3788 10646 which are not yet assigned.
3789 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3791 2000-07-31 Andreas Jaeger <aj@suse.de>
3793 * inet/Versions: Remove getipnodebyaddr and friends from
3796 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3798 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3800 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3801 ch >= 0x81 && ch2 < 0x40 as invalid.
3803 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3805 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3806 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3808 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3810 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3811 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3813 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3815 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3817 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3819 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3821 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3823 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3825 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3826 (from_ucs4): Change values of U+00A4 and U+00ED.
3827 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3829 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3831 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3832 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3834 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3836 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3837 * iconvdata/isiri-3342.h: New file.
3838 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3839 treat 0x80 as a gap.
3841 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3843 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3844 (utf8_encode): Use simple shifts instead. Fix return value.
3846 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3848 * timezone/private.h: Update from tzcode2000e.
3849 * timezone/asia: Update from tzdata2000e.
3850 * timezone/australasia: Likewise.
3851 * timezone/europe: Likewise.
3852 * timezone/northamerica: Likewise.
3853 * timezone/zone-tab: Likewise.
3855 2000-07-30 Ralf Baechle <ralf@gnu.org>
3857 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3858 the order of struct sigaltstack members is different.
3860 2000-07-26 Philip Blundell <philb@gnu.org>
3862 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3864 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3866 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3867 * locale/programs/ld-ctype.c: Adjust for this.
3869 * locale/programs/ld-collate.c: Add more alignment checks.
3870 * locale/string/strcoll.c: Likewise.
3872 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3874 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3875 outside USE_IN_LIBIO block.
3877 2000-07-26 Philip Blundell <philb@gnu.org>
3879 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3880 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3882 2000-07-28 Philip Blundell <philb@gnu.org>
3884 * math/test-fpucw.c: Ignore reserved bits in control word.
3886 2000-07-28 Philip Blundell <philb@gnu.org>
3888 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3889 (ret): Redefine to PSEUDO_RET.
3890 (PSEUDO): Remove jump to syscall_error.
3892 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3894 * resolv/README: Add some information about using the resolver in
3895 multi-threaded code and with C++. Spelling fixes.
3897 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3899 * resolv/resolv.h (struct __sockaddr_in): Remove.
3900 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3902 2000-07-29 Greg McGary <greg@mcgary.org>
3904 * Rules (test-bp-inputs, make-test-out): New variables.
3905 ($(objpfx)%-bp.out): New rule.
3906 ($(objpfx)%.out): Rewrite in terms of new variables.
3908 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3909 internal function that uses vtable.
3910 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3911 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3913 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3914 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3915 (chunk_align): Likewise.
3917 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3918 in a way that conforms to decl, and avoids spurious bounds violation.
3920 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3921 * sysdeps/generic/frame.h: Likewise.
3922 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3923 around return value.
3924 (__backtrace): Qualify frame-pointer chain and return address
3925 pointers as __unbounded. Wrap bounds around variable `current'.
3926 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3927 around return value.
3928 (catch_segfault): Qualify frame-pointer chain and return address
3929 pointers as __unbounded. Wrap bounds around variable `current'.
3930 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3931 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3932 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3934 (__backtrace): Qualify frame-pointer chain and return address
3935 pointers as __unbounded. Wrap bounds around variable `current'.
3937 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3938 * sysdeps/i386/mul_1.S: Likewise.
3939 * sysdeps/i386/submul_1.S: Likewise.
3940 * sysdeps/i386/i586/addmul_1.S: Likewise.
3941 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3942 * sysdeps/i386/i586/submul_1.S: Likewise.
3944 2000-07-27 Andreas Jaeger <aj@suse.de>
3946 * libio/Depend: New file, libio needs localedata for tests.
3947 * posix/Depend: Likewise.
3949 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3951 * stdio-common/_i18n_itoa.c: Removed.
3952 * stdio-common/_i18n_itoa.h: Removed.
3953 * stdio-common/_i18n_itowa.c: Removed.
3954 * stdio-common/_i18n_itowa.h: Removed.
3955 * stdio-common/_i18n_number.h: New file.
3956 * stdio-common/Depend: New file.
3957 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3958 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3959 printing. Change printing of numbers with locale specific digits to
3960 use new code in _i18n_number.h.
3961 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3964 * stdio-common/bug13.c: Improve messages.
3966 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3967 (set_class_defaults): Always search also for Uxxxx names.
3968 Detect insufficient number of outdigits.
3970 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3972 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3974 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3975 _NL_CTYPE_MAP_NAMES.
3976 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3977 * wctype/wcfuncs.c (towlower, towupper): Use them.
3978 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3979 * wctype/wctrans.c (wctrans): Likewise.
3980 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3982 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3984 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3985 Use the optimized version of this function outside glibc as well.
3987 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3989 * locale/indigits.h (indigit_value): Correct.
3990 * locale/indigitswc.h (indigitwc_value): Correct.
3991 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3992 conversion, add GROUP checking for it, fix GROUP number
3993 conversion with strlen(thousands) > 1.
3994 Honour width correctly in the presence of floating
3995 decimal points and thousands separators.
3996 * stdio-common/tst-sscanf.c: New test.
3997 * stdio-common/Makefile: Add it to tests.
3998 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3999 thousands separators and group argument is non-zero.
4001 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4003 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4004 starts at GLIBC_2.2.
4006 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4008 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4009 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4011 (headers): Add sys/tas.h.
4012 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4013 GLIBC_2.2 from libc.
4014 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4015 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4018 2000-07-28 Andreas Jaeger <aj@suse.de>
4020 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4022 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4023 ($(objpfx)tst-dladdr.out): new.
4024 (tests): Add tst-dladdr.
4025 ($(objpfx)glrefmain): Use libdl.
4027 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4030 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4032 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4033 ftruncate(64) calls.
4035 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4037 * intl/tst-translit.c: Include string.h to get prototype for
4040 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4042 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4043 name and add weak alias for __fork.
4045 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4046 & pwrite to use __libc_<name> as strong names instead of
4049 * include/sched.h: Add clone2 prototype.
4051 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4053 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4054 procedure name twice.
4056 2000-07-27 Philip Blundell <philb@gnu.org>
4058 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4060 2000-07-27 Andreas Jaeger <aj@suse.de>
4062 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4063 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4064 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4065 Reported by Andi Kleen <ak@suse.de>.
4067 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4068 (do_wait): Test requests with aio_return64.
4069 (do_test): Change callers of do_wait.
4071 2000-07-26 Andreas Jaeger <aj@suse.de>
4073 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4074 (do_wait): Test requests with aio_return.
4075 (do_test): Change callers of do_wait.
4077 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4079 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4080 from request list. Don't do the list handling here, call
4081 __aio_remove_request.
4082 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4083 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4084 request might already be processed. Don't do the list handling
4085 here, call __aio_remove_request.
4087 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4090 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4093 2000-07-27 Greg McGary <greg@mcgary.org>
4095 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4096 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4097 in union init. Pass zero for ignored semnum arg to semctl.
4098 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4100 2000-07-26 Greg McGary <greg@mcgary.org>
4102 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4103 data structure pointers as __unbounded.
4104 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4105 * sysdeps/generic/bp-semctl.h: New file.
4106 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4107 pointers as __unbounded. Check bounds of syscall args.
4108 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4109 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4110 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4111 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4112 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4113 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4114 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4115 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4116 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4117 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4118 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4119 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4120 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4125 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4127 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4129 * locale/C-ctype.c: Likewise.
4130 * wcsmbs/wcsmbsload.c: Likewise.
4132 2000-07-26 Greg McGary <greg@mcgary.org>
4134 * Makeconfig (+link-bounded, link-libc-bounded,
4135 link-extra-libs-bounded): New variables.
4136 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4137 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4138 * Rules (tests-bp.out): New variable.
4139 (tests): Conditionally add BP tests.
4140 (binaries-bounded): Add variable and associated rule.
4141 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4142 Move conditional stuff after place where condition is defined.
4144 * malloc/malloc.c (bp-checks.h): Add #include.
4145 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4146 (_bin_at): Add unbounded version of bin_at.
4147 (IAV, chunk_alloc): Use unbounded _bin_at.
4148 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4149 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4150 Wrap BOUNDED_N around return value.
4151 (chunk_realloc): Adjust oldsize once.
4153 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4154 (__ubp_memchr): Add correct decl.
4155 (_CHECK_STRING): Use __ubp_memchr.
4156 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4157 New alias for unbounded-pointer __memchr.
4158 * sysdeps/i386/memchr.S: Likewise.
4159 * sysdeps/ia64/memchr.S: Likewise.
4160 * sysdeps/m68k/memchr.S: Likewise.
4161 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4162 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4163 * sysdeps/vax/memchr.s: Likewise.
4165 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4166 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4167 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4168 * sysdeps/i386/i686/strtok.S: Likewise.
4169 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4170 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4172 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4173 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4175 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4176 bounds of copy_result to mount_proc.
4178 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4180 * wctype/wctype.h (__wctrans_l): New declaration.
4181 * wctype/wctrans_l.c: New file.
4182 * wctype/Makefile (routines): Add wctrans_l.
4184 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4186 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4187 Patch by MacGyver <macgyver@tos.net>.
4189 2000-07-26 Andreas Jaeger <aj@suse.de>
4191 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4192 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4193 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4195 * rt/tst-aio.c (test_file): Fix typo.
4196 * rt/tst-aio64.c (test_file): Likewise.
4198 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4199 * rt/Makefile: Add rules to build and run tst-aio3.
4201 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4202 it's not needed and confuses only.
4204 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4206 * resolv/res_init.c: Add support for nameserver communication with
4208 * resolv/res_send.c: Likewise.
4209 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4211 Patch by <venaas@nvg.ntnu.no>.
4213 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4215 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4216 (wcwidth_table_get): New function.
4217 (wcwidth_table_add): Call it.
4218 (wctrans_table_get): New function.
4219 (wctrans_table_add): Call it.
4221 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4223 * rt/lio_listio.c (lio_listio): Always disable individual
4225 * rt/Makefile: Add rules to build and run tst-aio2.
4226 * rt/tst-aio2.c: New file.
4228 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4229 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4231 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4233 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4234 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4235 leading and trailing spaces from host, user and domain name.
4237 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4239 * csu/defs.awk: Add support for need_endp.
4241 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4243 * resolv/resolv.h: Remove __P from res_send_qhook and
4244 res_send_rhook typedefs.
4246 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4248 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4250 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4252 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4254 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4256 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4257 calling thread, set the cancellation flag and return success
4260 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4262 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4263 * libio/tst-widetext.c: New file.
4264 * libio/tst-widetext.input: New file.
4266 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4268 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4269 empty external buffer correctly.
4271 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4273 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4274 __STRING(entry) and not #entry.
4275 (_RTLD_EPILOGUE): Likewise.
4276 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4278 2000-07-25 Andreas Jaeger <aj@suse.de>
4280 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4281 according to changes in test program, run also with static only
4283 ($(objpfx)tst-printf.out): Likewise.
4285 * stdio-common/tst-unbputc.sh: Likewise.
4286 * stdio-common/tst-printf.sh: Likewise.
4288 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4290 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4292 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4295 * libio/fileops.c: Pretty print.
4297 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4299 * wctype/wchar-lookup.h: New file.
4300 * wctype/iswctype.c: Include "wchar-lookup.h".
4301 (__iswctype): Support alternate locale format with 3-level tables.
4302 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4303 * wctype/towctrans.c (__towctrans): Likewise.
4304 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4305 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4306 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4307 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4308 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4309 __iswxdigit, towlower, towupper): Support alternate locale format
4310 with 3-level tables.
4311 * wctype/wcextra.c (iswblank): Likewise.
4312 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4313 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4314 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4315 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4316 format with 3-level tables.
4317 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4318 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4319 format, return a 3-level table pointer.
4320 * wctype/wctype_l.c (__wctype_l): Likewise.
4321 * wctype/wctrans.c (wctrans): Likewise.
4322 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4323 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4324 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4325 (iswctype): Remove macro definition.
4326 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4327 (internal_wcwidth): Support alternate locale format with 3-level
4329 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4331 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4332 Define them as being type "word".
4333 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4334 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4335 __ctype32_width): New exported variables.
4336 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4337 alternate locale format. Don't initialize __ctype_names and
4338 __ctype_width in the alternate locale format.
4339 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4340 * locale/programs/localedef.c (oldstyle_tables): New variable.
4341 (OPT_OLDSTYLE): New macro.
4342 (options): Add --old-style option.
4343 (parse_opt): Handle --old-style option.
4344 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4345 map_offset, class_3level, map_3level, width_3level members.
4346 (ctype_output): Support for alternate locale format: Computation of
4347 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4348 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4349 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4350 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4351 now contain both class and map tables.
4352 (struct wctype_table): New type.
4353 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4355 (struct wcwidth_table): New type.
4356 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4358 (struct wctrans_table): New type.
4359 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4361 (allocate_arrays): Support for alternate locale format: Set
4362 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4363 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4364 to the first 256 characters. Compute ctype->map_3level. Set
4365 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4366 instead of ctype->width.
4368 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4370 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4373 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4375 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4376 in wide characters, not bytes.
4377 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4380 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4382 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4383 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4384 LC_MEASUREMENT, LC_IDENTIFICATION.
4386 * locale/xlocale.h (struct __locale_struct): Increase size of
4388 * locale/duplocale.c (__duplocale): Copy newly added categories as
4390 * locale/freelocale.c (__freelocale): Free newly added categories.
4391 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4392 If a base is given, use it, don't simply return it.
4394 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4396 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4397 variables, copied_key and copied_salt, instead of boolean variables.
4399 2000-07-24 Andreas Jaeger <aj@suse.de>
4401 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4404 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4405 initgroups_function, adopted prototype for change from 2000-07-23.
4406 (initgroups): Follow type change.
4408 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4409 & PAGE_MASK case, reformat.
4411 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4412 from stdin and setup environment.
4414 2000-07-24 Andreas Schwab <schwab@suse.de>
4416 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4418 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4420 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4421 more. Patch by scarlet@mit.edu [PR libc/1799].
4423 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4426 * argp/argp-parse.c (parser_finalize): Reverse order in which
4427 parsers are run for ARGP_KEY_END. [PR libc/1755].
4429 * grp/initgroups.c (initgroups): Don't limit the possible number
4430 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4431 the setgroups call while the call fails and descrease the number
4432 of groups each round.
4433 The name of the initgroups function in the NSS modules changed.
4434 (compat_call): Adapt for dynamic resizing.
4435 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4436 Implement dynamic resizing.
4437 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4439 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4440 * hesiod/Versions: Change exported interface name.
4441 * nis/Versions: Change exported interface name.
4443 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4445 * locale/iso-639.def: Some errors corrected.
4446 Patch by Keld Simonsen.
4448 * include/limits.h: Update non-gcc portion.
4449 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4451 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4453 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4454 program's data space, reallocate only the space that was just
4455 deallocated to release its backing space.
4457 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4459 * stdio-common/vfprintf.c (process_string_arg): For wide character
4460 version, handle precision also correctly.
4462 * nss/nss_files/files-hosts.c: Correct problem with three or more
4463 entries with the same name.
4465 * nss/nss_files/files-hosts.c: Implement multi handling.
4466 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4468 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4470 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4473 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4474 * malloc/Makefile: Likewise.
4475 * malloc/tst-mtrace.sh: Likewise.
4476 * posix/Makefile: Likewise.
4477 * posix/globtest.sh: Likewise.
4478 * posix/wordexp-tst.sh: Likewise.
4479 * string/Makefile: Likewise.
4481 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4483 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4484 size instead of LC_ALL to take into account the new locale
4487 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4489 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4490 remainders of hash table.
4491 * locale/categories.def: Remove remainders of transliteration
4493 * locale/langinfo.h: Likewise.
4494 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4495 transliteration tables.
4497 * locale/gen-translit.pl: New file.
4498 * locale/C-translit.h.in: New file.
4499 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4500 data pointers with data from this file.
4501 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4502 and gen-translit.pl.
4503 Add rule to generate C-translit.h.
4504 * intl/tst-translit.c (main): Update for now performed
4507 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4508 (it's no input error).
4509 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4510 * stdio-common/scanf12.c: Correct expected result for first scanf.
4512 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4513 of multibyte character strings in %s format with precision.
4515 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4517 * locale/programs/ld-collate.c (collate_read): Allow collating
4518 symbols and elements be named in reorder-after instructions.
4519 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4521 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4522 duplication with generated name, not the name of the first
4524 Patch by Yong Li <yong.li@asu.edu>.
4526 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4527 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4529 2000-07-21 Wolfram Gloger <wg@malloc.de>
4531 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4532 allocations only if a non-main arena cannot be extended.
4534 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4536 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4537 in DF_1_NODEFLIB handling.
4539 2000-07-21 Andreas Jaeger <aj@suse.de>
4541 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4544 * libio/fwide.c: Include <wchar.h> for prototype.
4546 2000-07-21 Greg McGary <greg@mcgary.org>
4548 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4549 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4550 Define in terms of chunk_at_offset.
4551 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4552 (next_bin, prev_bin): offset by size of real array elements.
4553 (chunk_align): Make `m' a scalar, since that's how it's used.
4555 2000-07-21 Greg McGary <greg@mcgary.org>
4557 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4559 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4560 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4561 Wrap bounds around argv & envp and each of their string members.
4562 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4563 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4564 symbol in BP_SYM (). Discard bounds of address arg.
4565 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4566 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4567 Discard bounds on address arg, add bounds to return value.
4569 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4571 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4572 * elf/filter.c: New file.
4573 * elf/filtmod1.c: New file.
4574 * elf/filtmod2.c: New file.
4576 * elf/rtld.c: Define _dl_bind_not variable.
4577 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4578 * elf/dl-support.c: Likewise.
4579 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4580 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4582 (profile_fixup): Likewise.
4584 * libio/Makefile (routines): Add fwide.
4585 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4586 fwide now. Internal calls to _IO_fwide must do locking themselves
4587 or don't need locking.
4588 * libio/fwide.c: New file.
4590 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4592 * elf/Makefile: Add no modules for nodelete test.
4593 * elf/nodelmod3.c: New file.
4594 * elf/nodelmod4.c: New file.
4595 * elf/nodelete.c: Also test case where dependency of dlopen() object
4598 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4599 * elf/nodlopen.c: New file.
4600 * elf/nodlopenmod.c: New file.
4601 * include/dlfcn.h: Define __RTLD_DLOPEN.
4602 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4603 and this is a dlopen() call, do not load the binary.
4604 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4605 * dlfcn/dlopenold.c: Likewise.
4606 * configure.in: Add test for -z nodelete option.
4607 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4609 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4611 Make Hesiod NSS module thread-safe.
4613 * hesiod/README.hesiod: Update.
4615 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4616 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4617 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4618 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4620 * hesiod/nss_hesiod/hesiod-init.c: New file.
4621 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4622 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4623 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4624 * hesiod/nss_hesiod/hesiod-service.c
4625 (_nss_hesiod_getservbyport_r): New function. Provide support for
4626 looking up services by port number.
4627 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4629 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4630 * hesiod/hesiod.h: Likewise.
4631 * hesiod/hesiod_p.h: Likewise.
4633 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4635 Fix problems with `struct __res_state' getting too big.
4636 * resolv/resolv.h (struct __sockaddr_in): New definition.
4637 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4638 the private parts of the structure to save some space.
4639 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4640 (struct sockaddr_in *) in call to sock_eq.
4641 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4643 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4645 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4646 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4648 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4649 to _dl_map_object. Return immediately if no object loaded.
4650 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4651 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4652 if it exists into l_flags_1 word.
4653 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4654 it to determine whether loading is wanted or not.
4655 (_dl_map_object): Likewise.
4656 Call _dl_map_object_from_fd with new parameter.
4657 * sysdeps/generic/ldsodefs.h: Update prototype.
4658 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4659 * elf/rtld.c: Likewise.
4660 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4661 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4662 * elf/noload.c: New file.
4663 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4664 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4665 * sysdeps/mips/bits/dlfcn.h: Likewise.
4666 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4667 (tests-nodelete-yes): Define.
4668 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4669 Add rules to build nodelete and modules.
4670 * elf/nodelete.c: New file.
4671 * elf/nodelmod1.c: New file.
4672 * elf/nodelmod2.c: New file.
4673 * configure.in: Add test for -z nodelete option.
4674 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4676 * libio/Makefile (tests): Add tst_wprintf2.
4677 (tst_wprintf2-ARGS): Define.
4678 * libio/tst_wprintf2.c: New file.
4679 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4681 * libio/wfiledoalloc.c: Only allocate external buffer if this
4682 hasn't happened yet.
4684 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4685 something in the buffer. gconv call can write up to end of the
4686 buffer, not only _IO_write_end.
4687 (_IO_wfile_overflow): Allocate also external buffer.
4689 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4691 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4692 strings with precision in vfwprintf correctly.
4693 * stdio-common/vfprintf.c: Fix completely broken handling of
4694 unbuffered wide character streams.
4695 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4697 * resolv/Makefile (distribute): Add README.
4699 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4701 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4703 Update resolver code to BIND 8.2.3-T5B.
4705 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4707 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4708 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4710 * resolv/Banner: BIND-8.2.3-T5B.
4712 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4713 * resolv/herror.c: Likewise.
4714 * resolv/inet_addr.c: Likewise.
4715 * resolv/inet_net_ntop.c: Likewise.
4716 * resolv/inet_net_pton.c: Likewise.
4717 * resolv/inet_neta.c: Likewise.
4718 * resolv/inet_ntop.c: Likewise.
4719 * resolv/nsap_addr.c: Likewise.
4720 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4721 IPv6 addresses (ISC bug #520).
4723 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4724 * resolv/ns_parse.c: Likewise.
4725 * resolv/ns_netint.c: Likewise.
4726 * resolv/ns_samedomain.c: Likewise.
4727 * resolv/ns_ttl.c: Likewise.
4728 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4729 RCS ID in object file.
4731 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4732 * resolv/res_mkquery.c: Likewise.
4733 * resolv/res_query.c: Likewise.
4734 * resolv/res_init.c: Likewise.
4735 (res_setoptions): Mark internal.
4736 * resolv/res_send.c: Likewise.
4737 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4738 by using poll instead.
4739 * resolv/res_comp.c: Likewise.
4740 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4741 weak alias for __dn_expand.
4742 * resolv/res_data.c: Likewise.
4743 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4744 in _res.options. Avoids a potential security risk by avoiding a
4746 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4747 res_mkquery, res_query, res_querydomain adn res_search weak
4748 aliases for __res_mkquery, __res_query, __res_querydomain and
4750 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4751 instead to avoid close(0).
4752 (res_init): Always use the static resolver context.
4753 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4754 alias for __res_init.
4756 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4757 RES_SET_H_ERRNO and accompanying comment to...
4758 * include/resolv.h: ... here.
4760 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4761 * resolv/arpa/nameser_compat.h: Likewise.
4763 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4765 * nss/makedb.c (main): Compare result of load_db with
4766 NSS_STATUS_SUCCESS and not 0.
4767 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4769 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4771 2000-07-18 Greg McGary <greg@mcgary.org>
4773 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4774 (EXTEND_BUFFER): Use it.
4776 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4778 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4779 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4780 __builtin_return_address.
4781 * dlfcn/dlopenold.c: Likewise.
4782 * dlfcn/dlsym.c: Likewise.
4783 * dlfcn/dlvsym.c: Likewise.
4784 * elf/dl-profstub.c: Likewise.
4785 * malloc/malloc.c: Likewise.
4786 * sysdeps/generic/machine-gmon.h: Likewise.
4787 Based on a patch by schwidefsky@de.ibm.com.
4789 2000-07-18 Andreas Jaeger <aj@suse.de>
4791 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4792 NULL to elf_machine_fixup_plt t argument to silence GCC.
4794 * include/string.h: Add prototype for __memchr.
4796 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4798 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4801 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4803 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4805 * locale/C-ctype.c: Add initializers for gap elements.
4806 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4809 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4811 * nscd/nscd.c (print_version): Update copyright year.
4813 2000-07-17 Greg McGary <greg@mcgary.org>
4815 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4816 keyletters F, I, S, W. Remove unused keyletter V. Surround
4817 signature argnames with angle-brackets for use as word delimiters,
4818 and to induce syntax errors for any args not handled. Split
4819 multi-echo echoes and comment each stage.
4820 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4821 * sysdeps/unix/inet/syscalls.list: Likewise.
4822 * sysdeps/unix/mman/syscalls.list: Likewise.
4823 * sysdeps/unix/syscalls.list: Likewise.
4824 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4825 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4826 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4827 * sysdeps/unix/sysv/syscalls.list: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4830 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4831 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4832 qualifiers. Don't check NULL-terminator of argv & envp.
4833 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4834 unbounded pointer type in word-size assertion.
4835 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4836 cases to stifle warnings.
4838 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4840 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4842 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4843 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4846 * Makerules (o-objects): Supplement with $(o-objects$o).
4847 * string/Makefile (o-objects.ob): Add variable to pull
4848 unbounded versions of memcpy, memset and memchr into libc_b.
4850 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4851 rather than non-existent __ubp_memchr.
4852 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4853 (_CHECK_STRING, _CHECK_N): New macros.
4854 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4855 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4856 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4857 Add weak alias "memchr".
4858 * sysdeps/generic/memchr.c: Likewise.
4859 * sysdeps/i386/memchr.S: Likewise.
4860 * sysdeps/ia64/memchr.S: Likewise.
4861 * sysdeps/m68k/memchr.S: Likewise.
4862 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4863 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4864 * sysdeps/vax/memchr.s: Likewise.
4866 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4868 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4869 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4870 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4871 __BOUNDED_POINTERS__.
4872 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4873 for __BOUNDED_POINTERS__.
4875 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4877 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4878 field of struct __gconv_trans_data differently. Don't pass NULL to
4879 trans_init_fct. Simplify list append operation.
4881 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4883 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4884 not only those having tsearch.
4886 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4888 * locale/langinfo.h: Add placeholder values in enum for removed
4891 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4893 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4894 chain if the PHDR check fails.
4896 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4898 * nss/getent.c (print_hosts): Make sure we always print a space
4899 between numeric addresses and hostnames.
4901 2000-07-17 Wolfram Gloger <wg@malloc.de>
4903 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4904 i.e. if n_mmaps_max>0.
4906 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4908 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4909 values to remove possible clash with other AI_* constants.
4910 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4911 hexadecimal constants to stress the fact they're in fact
4914 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4916 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4917 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4918 instead of res_init.
4920 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4922 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4923 parameters of memset calls to avoid warnings.
4925 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4927 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4930 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4931 Patch by Greg McGary <greg@mcgary.org>.
4933 * io/Makefile (tests): Add tst-getcwd.
4934 * io/tst-getcwd.c: New file.
4936 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4938 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4940 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4943 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4945 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4946 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4948 2000-07-12 H.J. Lu <hjl@gnu.org>
4950 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4952 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4953 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4954 (sysdep-routines): Add clone2.
4955 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4957 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4959 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4960 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4962 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4964 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4965 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4966 Change type of si_band from "int" to "long".
4967 (si_imm) [USE_GNU]: Define
4968 (si_isr) [USE_GNU]: Likewise.
4969 (ILL_BREAK) [USE_GNU]: Likewise.
4970 (FPE_DECOVF) [USE_GNU]: Likewise.
4971 (FPE_DECDIV) [USE_GNU]: Likewise.
4972 (FPE_DECERR) [USE_GNU]: Likewise.
4973 (FPE_INVASC) [USE_GNU]: Likewise.
4974 (FPE_INVDEC) [USE_GNU]: Likewise.
4975 (TRAP_BRANCH) [USE_GNU]: Likewise.
4976 (TRAP_HWBKPT) [USE_GNU]: Likewise.
4978 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4980 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4981 bits/sigcontext as struct mcontext does not depend on it.
4983 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4985 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4987 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4989 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4991 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4993 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4995 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4997 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4999 * intl/Makefile (test-srcs): Add tst-translit.
5001 Add rules to build and run tst-translit.
5002 * intl/tst-translit.c: New file.
5003 * intl/tst-translit.sh: New file.
5004 * intl/translit.po: New file.
5006 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5008 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5009 transliteration function did its job, continue, don't stop.
5011 * iconvdata/iso646.c: Little optimizations in body for conversion
5014 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5016 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5018 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5020 * configure.in: Check for pwd binary.
5021 * config.make.in: Add PWD_P to be subsituted.
5022 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5024 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5026 * iconvdata/Makefile (modules): Add GB18030.
5027 (distribute): Add gb18030.c.
5028 * iconvdata/gconv-modules: Add entries for GB18030 module.
5029 * iconvdata/gb18030.c: New file.
5030 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5033 2000-07-13 Andreas Jaeger <aj@suse.de>
5035 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5038 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5039 * inet/getnetgrent.c (free_mem): Likewise.
5040 * misc/mntent.c (free_mem): Likewise.
5041 * nss/getXXbyYY.c (free_mem): Likewise.
5042 * nss/getXXent.c (free_mem): Likewise.
5043 * pwd/fgetpwent.c (free_mem): Likewise.
5044 * shadow/fgetspent.c (free_mem): Likewise.
5046 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5048 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5049 64-bit architecture correctly [PR libc/1794].
5051 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5053 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5054 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5055 report that we are out of memory.
5056 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5057 * elf/dl-libc.c (dlerror_run): Likewise.
5058 * elf/dl-open.c (_dl_open): Likewise.
5059 * elf/rtld.c (dl_main): Likewise.
5060 * elf/dl-error.c: Define _dl_out_of_memory.
5061 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5063 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5066 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5068 * iconv/loop.c: Fix comment.
5070 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5072 2000-07-13 Andreas Jaeger <aj@suse.de>
5074 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5075 getcwd (NULL, size) with size > 0.
5076 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5078 2000-07-13 Andreas Jaeger <aj@suse.de>
5080 * posix/Makefile: Remove build rules for libposix.
5082 2000-07-13 Andreas Schwab <schwab@suse.de>
5084 * sysdeps/generic/glob.c (glob): Fix memory leak.
5085 [SHELL]: Remove reference to undefined variable `files'.
5088 2000-07-13 Andreas Jaeger <aj@suse.de>
5090 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5093 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5094 memory if it was allocated.
5096 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5098 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5101 * iconv/gconv_open.c (__gconv_open): Reapply
5102 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5104 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5106 * iconv/gconv_open.c: Undo last two changes for now. They break
5109 2000-07-12 Andreas Jaeger <aj@suse.de>
5111 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5113 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5114 (CFLAGS-dl-cache.c): Likewise.
5115 (CFLAGS-ldconfig.c): Added, passes directory locations.
5117 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5119 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5120 (main): Use configured LIBDIR and SLIBDIR.
5122 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5124 * math/bits/cmathcalls.h (cimag): Add __THROW.
5125 (creal, conj): Likewise.
5126 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5129 2000-07-12 H.J. Lu <hjl@gnu.org>
5131 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5132 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5134 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5136 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5139 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5141 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5143 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5145 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5148 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5150 * iconv/gconv_open.c (__gconv_open): Initialize
5151 result->__steps[cnt].__data.
5153 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5155 * nss/getent.c (services_keys): Pass port number in network byte
5156 order in call to getservbyport.
5158 2000-07-11 Andreas Jaeger <aj@suse.de>
5160 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5162 * intl/Makefile (do-gettext-test): Likewise.
5163 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5165 2000-07-11 Andreas Schwab <schwab@suse.de>
5167 * Makeconfig (run-program-prefix): New rule.
5168 (built-program-cmd): Use run-program-prefix.
5170 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5172 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5173 and NOEXPR unconditionally available.
5175 2000-07-12 Greg McGary <greg@mcgary.org>
5177 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5178 * sysdeps/posix/open64.c: Likewise.
5179 * sysdeps/generic/fegetenv.c: Likewise.
5180 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5181 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5182 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5183 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5184 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5185 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5187 2000-07-11 Greg McGary <greg@mcgary.org>
5189 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5190 Add extra level of macro expansion.
5191 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5192 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5193 is available at the time `select' prototype is declared.
5194 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5195 Collect non-versioned weak aliases. Consider only non-versioned
5196 aliases for the user-visible systemcall name. Do checks inline with
5197 call to primitive system call.
5198 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5199 stand-alone bounds checks to suppress unused value warnings.
5200 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5202 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5204 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5205 file descriptor checking in SUID programs for the Hurd.
5207 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5208 res_hostalias instead of __hostalias for thread-safety.
5210 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5212 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5213 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5215 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5217 * include/features.h: Include ISO C99 features if the compiler used
5218 is an ISO C99 compiler.
5219 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5221 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5223 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5225 2000-07-10 Andreas Jaeger <aj@suse.de>
5227 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5228 it's overridden by libpthreads.
5229 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5230 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5231 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5235 * malloc/Makefile: Run tst-mtrace only with shared libs.
5237 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5240 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5242 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5243 that gpreg really points to the GOT section of the calling object.
5244 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5245 checking a start address of first one.
5247 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5250 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5252 2000-07-10 Andreas Jaeger <aj@suse.de>
5254 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5255 (string_alias->strong_alias).
5257 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5259 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5261 2000-07-07 Greg McGary <greg@mcgary.org>
5263 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5264 have no names without leading underscores.
5266 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5268 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5271 * stdio-common/Makefile (tests): Remove tst-printf here...
5272 (tests-srcs): ...and add it here.
5273 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5274 Add rules to run tst-printf.sh.
5275 * stdio-common/tst-printf.c: Move code around so that there is really
5276 no further output where it's stated.
5277 * stdio-common/tst-printf.sh: New file.
5279 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5281 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5282 (do_write): Renamed from pwrite.
5283 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5284 `struct _IO_cookie_file'.
5286 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5288 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5290 * malloc/tst-mtrace.sh: Run mtrace script.
5292 2000-07-07 Greg McGary <greg@mcgary.org>
5294 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5295 Move all three components of a bounded pointer.
5297 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5299 * locale/programs/locale.c (write_locales): Don't simply add all
5300 directories found in the subdir, test whether at least the
5301 LC_CTYPE file is in there.
5303 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5305 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5306 * iconvdata/euc-kr.c: Likewise.
5308 * stdio-common/vfprintf.c (process_string_arg): Check result of
5309 wcrtomb call and bail out if it failed.
5311 * malloc/Makefile (test-srcs): Add tst-mtrace.
5312 (distribute): Add tst-mtrace.sh.
5313 Add rule to run tst-mtrace.sh.
5314 * malloc/tst-mtrace.c: New file.
5315 * malloc/tst-mtrace.sh: New file.
5317 * include/signal.h: Declare __libc_sigaction.
5318 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5319 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5320 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5321 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5322 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5324 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5326 * configure.in: Fix CFLAGS-memprofstat.c definition after
5328 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5330 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5333 instead of NULL to elf_machine_fixup_plt t argument.
5334 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5335 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5338 2000-07-06 Andreas Jaeger <aj@suse.de>
5340 * crypt/Makefile (LDLIBS-cert): Removed.
5341 (LDLIBS-md5c-test): Removed.
5342 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5343 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5345 2000-07-06 Andreas Jaeger <aj@suse.de>
5347 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5348 of the proc system is "proc".
5350 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5351 thread library for static programs.
5353 2000-07-06 Greg McGary <greg@mcgary.org>
5355 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5357 * sysdeps/generic/strcpy.c: Add bounds checks.
5358 * sysdeps/unix/fxstat.c: Likewise.
5359 * sysdeps/unix/xstat.c: Likewise.
5360 * sysdeps/unix/common/lxstat.c: Likewise.
5361 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5362 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5363 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5364 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5365 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5366 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5367 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5368 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5369 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5370 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5371 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5372 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5373 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5374 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5375 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5376 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5377 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5378 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5379 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5380 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5381 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5382 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5383 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5384 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5385 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5386 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5387 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5388 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5389 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5390 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5391 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5392 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5393 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5394 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5395 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5396 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5397 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5398 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5399 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5400 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5401 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5402 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5403 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5404 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5405 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5406 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5407 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5408 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5409 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5410 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5411 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5412 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5413 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5414 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5415 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5416 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5417 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5418 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5419 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5420 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5421 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5426 * string/endian.h (__LONG_LONG_PAIR): New macro.
5427 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5428 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5429 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5430 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5431 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5432 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5433 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5434 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5435 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5436 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5437 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5438 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5440 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5442 2000-07-06 Andreas Jaeger <aj@suse.de>
5444 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5447 * math/test-fpucw.c: Include <stdio.h> for printf.
5449 2000-07-05 Greg McGary <greg@mcgary.org>
5451 * sysdeps/generic/bp-checks.h: New file.
5452 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5453 with list of #include files.
5454 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5455 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5456 Don't generate BP thunk if `V' appears in signature.
5457 Generate thunks with complete bounds checks.
5458 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5459 * sysdeps/unix/inet/syscalls.list: Likewise.
5460 * sysdeps/unix/mman/syscalls.list: Likewise.
5461 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5462 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5463 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5464 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5466 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5468 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5469 result. Search first in /etc/mtab (proc/mounts would be stupid).
5470 If mount not in the file fall back on /proc.
5472 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5473 string got copied in.
5474 Patch by Solar Designer <solar@false.com>.
5476 2000-07-05 Andreas Jaeger <aj@suse.de>
5478 * manual/install.texi (Installation): Update information about
5480 (Configuring and compiling): Update for glibc 2.2.
5482 2000-07-04 Andreas Jaeger <aj@suse.de>
5484 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5485 (_FPU_IEEE): Likewise.
5487 * math/Makefile (tests): Add test-fpucw.
5489 * math/test-fpucw.c (main): New file.
5491 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5493 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5495 * locale/programs/ld-collate.c (collate_output): Also write out the
5496 collation sequence values and the wide character string for the
5497 collation symbol table.
5499 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5500 * posix/fnmatch_loop.c: Implement collating symbol handling.
5501 * posix/tst-fnmatch.input: Add more tests, especially for collating
5504 * posix/regex.c: Fix comment.
5506 2000-07-05 Andreas Jaeger <aj@suse.de>
5508 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5509 (_FPU_GETCW): Remove extra colon.
5510 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5512 * posix/fnmatch_loop.c (FCT): Only declare len if
5513 !WIDE_CHAR_VERSION to silence GCC.
5515 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5517 * sysdeps/generic/strchrnul.c: Likewise.
5518 * sysdeps/generic/strlen.c: Likewise.
5519 * sysdeps/generic/strchr.c: Likewise.
5520 * sysdeps/generic/memchr.c: Likewise.
5522 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5524 * posix/fnmatch_loop.c: Implement equivalence class handling.
5525 * posix/tst-fnmatch.input: Add tests for equivalence class
5528 * posix/fnmatch_loop.c: Improve performance for single-byte
5529 character sets by not using btowc.
5531 * posix/tst-fnmatch.input: Add tests for locale dependent
5533 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5535 * posix/tst-fnmatch.input: Add more test cases.
5537 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5538 are not aligned to alignof(md5_uint32) do it before calling
5539 __md5_process_bytes.
5540 * crypt/md5.c: Make sure buffers are aligned.
5541 * crypt/md5.h: Likewise.
5542 Reported by Solar Designer <solar@false.com>.
5544 * crypt/Makefile: Add dependencies for test programs.
5546 * Rules: Define LC_ALL=C in environments of all programs we run.
5548 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5550 2000-07-03 H.J. Lu <hjl@gnu.org>
5552 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5553 is 2 + elem + offset, not 2 + elem + offset + 2.
5555 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5557 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5559 * posix/Makefile (tests): Add tst-fnmatch.
5560 (tst-fnmatch-ENV): Define.
5561 * posix/tst-fnmatch.c: New file.
5562 * posix/tst-fnmatch.sh: New file.
5564 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5566 * locale/programs/charmap.c (charmap_read): Prepend
5567 the condition filename == NULL.
5569 2000-07-03 Greg McGary <greg@mcgary.org>
5571 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5573 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5574 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5576 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5577 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5578 (FILEBUF_LITERAL): Add cast for CHAIN init.
5579 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5580 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5581 Revert type of `fp' to _IO_FILE*.
5582 (_IO_iter_file): Remove cast.
5583 (_IO_iter_next): Elide intermediate member reference.
5585 * sysdeps/powerpc/strchr.S: Check bounds.
5586 Wrap extern symbols in BP_SYM ().
5588 2000-07-03 Andreas Jaeger <aj@suse.de>
5590 * dlfcn/Makefile (generated): New.
5592 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5594 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5595 (__uflow): Likewise.
5596 (__underflow): Likewise.
5597 * libio/wgenops.c (__wunderflow): Likewise.
5598 * stdio-common/tst-unbputc.c: New file.
5599 * stdio-common/tst-unbputc.sh: New file.
5600 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5602 * po/en_GB.po: New file.
5603 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5605 2000-07-01 Andreas Jaeger <aj@suse.de>
5607 * intl/Makefile (generated-dirs): New.
5609 * elf/Makefile (generated): trusted-dirs.h is always generated,
5610 move out of build-shared condition.
5611 (generated): Merge the two entries for build-shared.
5613 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5615 * debug/Makefile (distribute): Add xtrace.sh.
5617 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5619 * version.h (VERSION): Bump to 2.1.91.
5621 * configure.in: Update warning comment. glibc should not be
5624 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5625 ioperm.c, sys/procfs.h, and sys/io.h.
5627 * sysdeps/powerpc/Dist: Add bp-asm.h.
5629 * assert/Depend: Add localedata.
5630 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5631 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5633 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5634 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5635 relocation address to prevent unaligned trap.
5636 Suggested by Richard Henderson <rth@cygnus.com>.
5638 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5640 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5641 if redirecting and either redirection is done using defines or
5644 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5646 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5647 generated expressions.
5648 Patch by Darren McClelland <dmcclell@zetec.com>.
5650 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5651 since zic uses setlocale and gettext but we cannot make it use the
5652 new locale data since zic calls a shell which might not use the
5655 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5656 handling the internation currency symbol. POSIX says that the
5657 fourth character is used to separate the currency symbol from the
5658 value. Therefore it does not have to be printed. But we cannot
5659 remove the space if the currency symbol is printed before the
5660 number since this is what many locales expect.
5662 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5663 whether this information is available.
5665 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5666 buffers in case the translation is too large. Remember allocated
5667 memory blocks in a list.
5668 (free_mem): Free memory for translations.
5670 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5672 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5673 information is available set the string length to zero.
5675 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5677 2000-06-30 Greg McGary <greg@mcgary.org>
5679 * sysdeps/powerpc/bp-asm.h: New file.
5680 * sysdeps/powerpc/__longjmp.S: Check bounds.
5681 Wrap extern symbols in BP_SYM ().
5682 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5683 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5684 * sysdeps/powerpc/setjmp.S: Likewise.
5685 * sysdeps/powerpc/add_n.S: Likewise.
5686 * sysdeps/powerpc/addmul_1.S: Likewise.
5687 * sysdeps/powerpc/lshift.S: Likewise.
5688 * sysdeps/powerpc/rshift.S: Likewise.
5689 * sysdeps/powerpc/mul_1.S: Likewise.
5690 * sysdeps/powerpc/sub_n.S: Likewise.
5691 * sysdeps/powerpc/submul_1.S: Likewise.
5692 * sysdeps/powerpc/strlen.S: Likewise.
5693 * sysdeps/powerpc/memset.S: Likewise.
5694 * sysdeps/powerpc/stpcpy.S: Likewise.
5695 * sysdeps/powerpc/strcmp.S: Likewise.
5696 * sysdeps/powerpc/strcpy.S: Likewise.
5697 * sysdeps/powerpc/elf/bzero.S: Likewise.
5699 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5700 Line up operands column with tabs.
5702 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5704 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5706 * sysdeps/ia64/htonl.S: New file.
5707 * sysdeps/ia64/htons.S: New file.
5708 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5709 floating point registers.
5710 Patches by Dan Pop <Dan.Pop@cern.ch>.
5712 2000-06-30 Andreas Jaeger <aj@suse.de>
5714 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5717 * io/Makefile (CFLAGS-test-lfs.c): New.
5718 (tests): Add test-lfs.
5720 * io/test-lfs.c: New file.
5722 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5724 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5727 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5729 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5731 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5733 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5734 alias to the fstatfs call.
5736 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5737 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5739 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5740 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5742 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5743 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5744 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5745 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5747 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5748 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5750 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5751 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5753 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5754 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5756 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5758 2000-06-29 Andreas Jaeger <aj@suse.de>
5760 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5762 (print_err_message): Likewise.
5763 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5765 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5767 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5768 used as words is properly aligned.
5770 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5773 2000-06-29 Greg McGary <greg@mcgary.org>
5775 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5776 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5777 length 7..9, just in case...
5778 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5780 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5781 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5782 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5783 (PUSH_SIGNAL_MASK): New macro.
5784 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5785 LEAVE is unnecessary. Check bounds of jmp_buf.
5786 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5787 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5788 immediately before tail-call.
5789 * sysdeps/i386/setjmp.S: Likewise.
5790 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5791 * sysdeps/i386/bsd-setjmp.S: Likewise.
5793 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5795 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5797 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5798 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5799 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5800 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5801 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5802 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5803 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5804 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5806 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5808 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5809 we later need to calling free().
5810 Patch by Matt Wilson <msw@redhat.com>.
5812 * stdio-common/tst-printf.c: Add test for above problem.
5814 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5816 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5817 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5819 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5821 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5822 prototype for abs().
5823 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
5825 2000-06-23 Andreas Jaeger <aj@suse.de>
5827 * config.h.in: Don't use regparm with bounded pointers.
5829 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5831 * stdlib/grouping.h: Correctly handle multibyte thousands
5832 separator and decimal point.
5833 * stdlib/stdtod.c: Likewise.
5834 * sysdeps/generic/strtol.c: Likewise.
5836 * locale/categories.def: Add entries for wide character decimal point
5837 and thousands separator in numeric and monetary category.
5839 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5841 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5842 second definition and initialization of decimal.
5844 2000-06-28 Greg McGary <greg@mcgary.org>
5846 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5848 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5849 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5851 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5852 (struct _IO_FILE_plus *).
5853 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5854 THIS, since _IO_JUMPS no longer does it implicitly.
5855 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5856 arg type as (struct _IO_FILE_plus *).
5857 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5858 arg as (_IO_strfile *).
5859 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5860 Declare 1st arg as (_IO_strfile *).
5861 * libio/fileops.c (_IO_new_file_init): Declare
5862 arg type as (struct _IO_FILE_plus *).
5863 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5864 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5865 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5866 Declare iteration pointer as (struct _IO_FILE_plus *).
5867 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5868 (struct _IO_FILE_plus *).
5869 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5870 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5871 (_IO_check_libio): Set user-visible handles to
5872 (struct _IO_FILE_plus *).
5873 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5874 to (struct _IO_FILE_plus *).
5876 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5877 whose high bound includes vtable to all functions that will use
5878 vtable. For streambufs, pass pointer whose bounds include struct
5880 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5881 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5882 * libio/iofopen.c (_IO_new_fopen): Likewise.
5883 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5884 * libio/iofopen64.c (_IO_fopen64): Likewise.
5885 * libio/iopopen.c (_IO_new_popen): Likewise.
5886 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5887 * libio/memstream.c (open_memstream): Likewise.
5888 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5889 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5890 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5891 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5892 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5893 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5894 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5895 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5896 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5897 * stdlib/strfmon.c (__strfmon_l): Likewise.
5898 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5899 (vfprintf): Qualify computed-goto targets as unbounded.
5901 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5903 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5904 thousands separator correctly.
5906 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5907 * stdio-common/vfwscanf.c: Likewise.
5909 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5911 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5912 count into signatures for most calls.
5914 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5916 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5917 the generic parser now.
5919 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5921 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5922 table entries are 32 bit on the ia64 (as specified by the ABI),
5923 not 64 bit as on the Alpha.
5925 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5926 change of objects to use 32 bit hash table indices (see above).
5928 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5930 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5931 prototype for abs().
5933 2000-06-28 Wolfram Gloger <wg@malloc.de>
5935 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5936 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5937 may have been reached.
5939 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5941 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5942 symbols in multi-character weights correctly.
5944 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5945 depending on whether the input string is empty or not.
5947 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5948 given state and not avoiding this by modifying a local object.
5949 * wcsmbs/wcrtomb.c: Likewise.
5951 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5952 object since some incomplete characters might be in there.
5954 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5955 sequences with first byte 0x8e correctly.
5957 * iconvdata/jis0208.h: Remove redundant test.
5959 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5961 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5962 Add it where it is needed now.
5964 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5965 the input charset into account when generating the hash table.
5966 (allocate_arrays): Correct setting default width. Not all empty slots
5967 in the table are filled, only those not covert explicitly by the
5968 locale description and in the charset.
5970 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5971 return values from the wctrans function.
5973 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5974 wide character version.
5975 For %C handling, test correct pointer variable for NULL.
5977 * wcsmbs/wctob.c: Handle WEOF special.
5979 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5981 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5982 always-true test to avoid warning.
5984 2000-06-27 Greg McGary <greg@mcgary.org>
5986 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5987 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5988 (symbol_version, default_symbol_version): Factor redundant
5989 definitions out of conditional.
5991 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5993 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5996 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5998 * include/libc-symbols.h (symbol_version): Add extra level of
6000 (default_symbol_version): Likewise.
6002 2000-06-26 Greg McGary <greg@mcgary.org>
6004 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6005 for BP return value & push implicit struct-return pointer to
6007 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6008 (SYSCALL_ERROR_HANDLER): Likewise.
6009 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6010 (SYSCALL_ERROR_HANDLER): Likewise.
6012 * Makeconfig: Add missing comment.
6013 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6014 BP-flavored startup object.
6015 ($(objpfx)b$(start-installed-name)): New rule.
6016 * include/libc-symbols.h (symbol_set_declare): Change type
6017 of `__start_##set' and `__stop_##set' to pointer-to-function.
6018 (symbol_set_declare): Change type of `set' to array of
6019 pointer-to-function.
6020 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6021 pointer-to-function.
6023 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6025 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6026 Remove clock_* and timer_* entries.
6027 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6028 arg-count with signatures.
6030 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6031 Check bounds of arguments.
6032 * sysdeps/i386/addmul_1.S: Likewise.
6033 * sysdeps/i386/lshift.S: Likewise.
6034 * sysdeps/i386/mul_1.S: Likewise.
6035 * sysdeps/i386/rshift.S: Likewise.
6036 * sysdeps/i386/sub_n.S: Likewise.
6037 * sysdeps/i386/submul_1.S: Likewise.
6038 * sysdeps/i386/i586/add_n.S: Likewise.
6039 * sysdeps/i386/i586/addmul_1.S: Likewise.
6040 * sysdeps/i386/i586/lshift.S: Likewise.
6041 * sysdeps/i386/i586/rshift.S: Likewise.
6042 * sysdeps/i386/i586/sub_n.S: Likewise.
6043 * sysdeps/i386/i686/add_n.S: Likewise.
6045 * sysdeps/i386/memchr.S: Likewise.
6046 * sysdeps/i386/memcmp.S: Likewise.
6047 * sysdeps/i386/rawmemchr.S: Likewise.
6048 * sysdeps/i386/i586/bzero.S: Likewise.
6049 * sysdeps/i386/i586/memcpy.S: Likewise.
6050 * sysdeps/i386/i586/mempcpy.S: Likewise.
6051 * sysdeps/i386/i586/memset.S: Likewise.
6052 * sysdeps/i386/i686/bzero.S: Likewise.
6053 * sysdeps/i386/i686/memcpy.S: Likewise.
6054 * sysdeps/i386/i686/mempcpy.S: Likewise.
6055 * sysdeps/i386/i686/memset.S: Likewise.
6057 * sysdeps/i386/stpcpy.S: Likewise.
6058 * sysdeps/i386/stpncpy.S: Likewise.
6059 * sysdeps/i386/strchr.S: Likewise.
6060 * sysdeps/i386/strchrnul.S: Likewise.
6061 * sysdeps/i386/strcspn.S: Likewise.
6062 * sysdeps/i386/strpbrk.S: Likewise.
6063 * sysdeps/i386/strrchr.S: Likewise.
6064 * sysdeps/i386/strspn.S: Likewise.
6065 * sysdeps/i386/strtok.S: Likewise.
6066 * sysdeps/i386/strtok_r.S: Likewise.
6067 * sysdeps/i386/i486/strcat.S: Likewise.
6068 * sysdeps/i386/i486/strlen.S: Likewise.
6069 * sysdeps/i386/i586/strchr.S: Likewise.
6070 * sysdeps/i386/i586/strcpy.S: Likewise.
6071 * sysdeps/i386/i586/strlen.S: Likewise.
6072 * sysdeps/i386/i686/strcmp.S: Likewise.
6073 * sysdeps/i386/i686/strtok.S: Likewise.
6074 * sysdeps/i386/i686/strtok_r.S: Likewise.
6076 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6077 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6078 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6079 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6080 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6082 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6083 * sysdeps/i386/mul_1.S: Likewise.
6084 * sysdeps/i386/submul_1.S: Likewise.
6085 * sysdeps/i386/i586/add_n.S: Likewise.
6086 * sysdeps/i386/i586/addmul_1.S: Likewise.
6087 * sysdeps/i386/i586/lshift.S: Likewise.
6088 * sysdeps/i386/i586/mul_1.S: Likewise.
6089 * sysdeps/i386/i586/rshift.S: Likewise.
6090 * sysdeps/i386/i586/sub_n.S: Likewise.
6091 * sysdeps/i386/i586/submul_1.S: Likewise.
6093 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6095 * rt/Makefile (librt-routines): Add clock_nanosleep.
6096 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6097 * sysdeps/generic/clock_nanosleep.c: New file.
6098 * sysdeps/unix/clock_nanosleep.c: New file.
6099 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6100 * time/time.h: Declare clock_nanosleep.
6102 2000-06-26 Greg McGary <greg@mcgary.org>
6104 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6105 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6106 (ALIGN): Cleanup surrounding conditionals.
6108 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6109 Call ENTER/LEAVE macros.
6110 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6111 * sysdeps/i386/submul_1.S: Likewise.
6113 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6114 syntax. Define & use symbolic argument stack offsets. Call
6116 * sysdeps/i386/i586/mul_1.S: Likewise.
6117 * sysdeps/i386/i586/submul_1.S: Likewise.
6119 2000-06-25 Greg McGary <greg@mcgary.org>
6121 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6124 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6126 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6127 * iconvdata/gen-8bit-gap.sh: Likewise.
6128 * iconvdata/gen-8bit.sh: Likewise.
6130 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6132 * locale/programs/ld-collate.c (collate_read): Don't actually read
6133 the copy locale if we are ignoring the content.
6135 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6138 * locale/programs/ld-collate.c: Correct handling of different
6140 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6141 as extra parameter from which to copy category information.
6143 (load_locale): Likewise.
6144 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6146 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6147 * locale/programs/locfile.h: Likewise.
6148 * locale/programs/locfile-kw.gperf: Add entry for script.
6149 * locale/programs/locfile-token.h: Add tok_script.
6151 * locale/programs/locale.c: Update copyright year.
6152 * locale/programs/localedef.c: Likewise.
6154 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6156 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6157 Jens Moeller <jens.moeller@waii.com>.
6159 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6161 * locale/programs/ld-name.c (name_finish): Add missing format
6162 specifier to test for name_fmt.
6164 * locale/programs/ld-address.c (iso639): Correct length of string
6166 (iso3166): Likewise.
6168 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6170 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6173 * elf/elf.h (NT_PRFPXREG): Define.
6175 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6177 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6178 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6180 2000-06-23 Andreas Schwab <schwab@suse.de>
6182 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6185 2000-06-23 Andreas Jaeger <aj@suse.de>
6187 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6189 * io/test-stat.c: Add copyright header, mention Maciej.
6191 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6192 SYS_mincore, SYS_madvise): Added.
6194 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6197 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6199 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6200 (CFLAGS-tst_putwc.c): New definition.
6201 * libio/tst_getwc.c: New file.
6202 * libio/tst_getwc.input: New file.
6203 * libio/tst_putwc.c: New file.
6205 * include/string.h: Add prototype for __strdup.
6207 2000-06-22 Greg McGary <greg@mcgary.org>
6209 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6210 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6213 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6215 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6217 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6219 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6221 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6223 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6224 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6226 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6228 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6229 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6231 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6232 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6233 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6234 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6235 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6236 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6237 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6238 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6239 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6240 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6241 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6242 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6243 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6244 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6247 2000-06-22 Andreas Jaeger <aj@suse.de>
6249 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6252 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6254 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6256 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6258 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6261 2000-06-21 Greg McGary <greg@mcgary.org>
6263 * Makerules (elide-routines.*, elide-bp-thunks):
6264 Define unconditionally.
6266 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6268 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6270 2000-06-21 Andreas Jaeger <aj@suse.de>
6272 * io/Makefile (tests): Add test-stat.
6273 (CFLAGS-test-stat.c): New.
6275 * io/test-stat.c: New file from Maciej W. Rozycki
6276 <macro@ds2.pg.gda.pl>.
6278 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6280 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6281 in __rlimit_resource to make them match the kernel order.
6282 rlim_t is always 64 bit, use __rlim64_t to declare it
6285 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6287 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6288 RLIM_INFINITY before defining it to avoid clash with kernel header
6290 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6292 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6294 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6296 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6298 2000-06-21 Andreas Jaeger <aj@suse.de>
6300 * stdio-common/temptest.c: Include <stdlib.h>.
6301 * stdio-common/tst-fileno.c: Likewise.
6302 * stdio-common/scanf4.c: Likewise.
6303 * stdio-common/scanf5.c: Likewise.
6304 * time/clocktest.c: Likewise.
6305 * posix/test-vfork.c: Likewise.
6306 * posix/globtest.c: Likewise.
6307 * io/test-utime.c: Likewise.
6308 * wctype/test_wcfuncs.c: Likewise.
6309 * crypt/cert.c: Likewise.
6311 * stdio-common/tst-printfsz.c: Include <string.h>.
6312 * libio/tst_swscanf.c: Likewise.
6313 * libio/tst_wscanf.c: Likewise.
6314 * posix/runtests.c: Likewise.
6315 * posix/tst-getaddrinfo.c: Likewise.
6316 * posix/wordexp-test.c: Likewise.
6317 * misc/tst-efgcvt.c: Likewise.
6319 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6320 * nss/test-netdb.c: Likewise.
6322 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6323 supported kernel for MIPS.
6325 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6326 * rt/aio_suspend.c: Likewise.
6328 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6330 * math/libm-test.inc: Include <string.h>.
6332 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6334 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6336 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6338 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6339 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6341 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6343 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6345 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6347 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6349 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6351 * locale/programs/ld-collate.c (insert_value): Now take string and
6352 length instead of struct token* parameter. Adjust use of token.
6353 (handle_ellipsis): Likewise.
6354 (collate_read): Allow <Uxxxx> names and transform them into names
6355 to be passed to insert_value and handle_ellipsis.
6357 * locale/programs/ld-ctype.c (uninames): New array with names of
6358 digits in <Uxxxxxxxx> format.
6359 (ctype_finish): Correct search for space character value. Likewise
6360 for default outdigits values.
6362 2000-06-20 Greg McGary <greg@mcgary.org>
6364 * Makerules (objects): Add BP thunks.
6366 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6368 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6369 in width definitions.
6371 2000-06-20 Andreas Jaeger <aj@suse.de>
6373 * sysdeps/mips/fpu/libm-test-ulps: New file.
6375 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6378 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6380 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6382 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6384 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6385 change in gconv_builtin.h.
6387 * malloc/Makefile: Change all references to memprof into memusage.
6388 * malloc/memprof.c: Rename to...
6389 * malloc/memusage.c: ...this. New file.
6390 * malloc/memprof.sh: Rename to...
6391 * malloc/memusage.sh: ...this. New file.
6392 * malloc/memprofstat.c: Rename to...
6393 * malloc/memusagestat.c: ...this. New file.
6394 * sysdeps/alpha/memprof.h: Rename to..
6395 * sysdeps/alpha/memusage.h: ...this. New file.
6396 * sysdeps/arm/memprof.h: Rename to..
6397 * sysdeps/arm/memusage.h: ...this. New file.
6398 * sysdeps/generic/memprof.h: Rename to..
6399 * sysdeps/generic/memusage.h: ...this. New file.
6400 * sysdeps/i386/memprof.h: Rename to..
6401 * sysdeps/i386/memusage.h: ...this. New file.
6402 * sysdeps/ia64/memprof.h: Rename to..
6403 * sysdeps/ia64/memusage.h: ...this. New file.
6404 * sysdeps/m68k/memprof.h: Rename to..
6405 * sysdeps/m68k/memusage.h: ...this. New file.
6406 * sysdeps/mips/memprof.h: Rename to..
6407 * sysdeps/mips/memusage.h: ...this. New file.
6408 * sysdeps/powerpc/memprof.h: Rename to..
6409 * sysdeps/powerpc/memusage.h: ...this. New file.
6410 * sysdeps/sparc/memprof.h: Rename to..
6411 * sysdeps/sparc/memusage.h: ...this. New file.
6412 * sysdeps/sh/memprof.h: Rename to..
6413 * sysdeps/sh/memusage.h: ...this. New file.
6415 * elf/sprof.c (print_version): Update year.
6417 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6418 table entry values. Use D_PTR.
6419 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6420 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6422 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6424 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6425 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6426 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6427 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6429 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6431 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6433 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6435 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6436 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6437 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6439 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6441 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6444 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6445 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6447 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6450 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6452 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6454 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6456 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6458 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6460 * iconv/gconv_int.h (strict gconv_module): Remove all members
6461 associated with regular expressions. Use a simple string as the
6463 * iconv/gconv_db.c: Remove code handling regular expressions.
6464 * iconv/gconv_conf.c: Likewise.
6465 * iconv/iconv_prog.c: Likewise.
6466 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6468 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6469 General namespace cleanup.
6470 (struct __gconv_trans_data): Add next field.
6471 (struct __gconv_step_data): Make __trans a pointer.
6472 * iconv/gconv_conf.c: Split out code to find gconv directories from
6473 __gconv_read_conf in new functions.
6474 * iconv/gconv_int.h: Define new data structure and declare new
6475 functions for handling of gconv directory list.
6476 * iconv/gconv_open.c: Allow more than one error handling step being
6477 used. Call function to load error handling module if it is none
6478 of the builtin transformations.
6479 * iconv/gconv_close.c: Add code to free transliteration data.
6480 * iconv/gconv_trans.c: Add functions to load and unload modules
6481 implementing transliteration etc.
6482 * iconv/skeleton.c: Call all context functions now that more than
6483 one module is allowed.
6484 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6485 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6486 where the full error handling using transliteration is needed.
6487 * iconvdata/8bit-gap.c: Likewise.
6488 * iconvdata/8bit-generic.c: Likewise.
6489 * iconvdata/ansi_x3.110.c: Likewise.
6490 * iconvdata/big5.c: Likewise.
6491 * iconvdata/big5hkscs.c: Likewise.
6492 * iconvdata/euc-cn.c: Likewise.
6493 * iconvdata/euc-jp.c: Likewise.
6494 * iconvdata/euc-kr.c: Likewise.
6495 * iconvdata/euc-tw.c: Likewise.
6496 * iconvdata/gbgbk.c: Likewise.
6497 * iconvdata/gbk.c: Likewise.
6498 * iconvdata/iso-2022-cn.c: Likewise.
6499 * iconvdata/iso-2022-jp.c: Likewise.
6500 * iconvdata/iso-2022-kr.c: Likewise.
6501 * iconvdata/iso646.c: Likewise.
6502 * iconvdata/iso8859-1.c: Likewise.
6503 * iconvdata/iso_6937-2.c: Likewise.
6504 * iconvdata/iso_6937.c: Likewise.
6505 * iconvdata/johab.c: Likewise.
6506 * iconvdata/sjis.c: Likewise.
6507 * iconvdata/t.61.c: Likewise.
6508 * iconvdata/uhc.c: Likewise.
6509 * iconvdata/unicode.c: Likewise.
6510 * iconvdata/utf-16.c: Likewise.
6511 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6512 structure correctly after last change.
6513 * wcsmbs/btowc.c: Likewise.
6514 * wcsmbs/mbrtowc.c: Likewise.
6515 * wcsmbs/mbsnrtowcs.c: Likewise.
6516 * wcsmbs/mbsrtowcs.c: Likewise.
6517 * wcsmbs/wcrtomb.c: Likewise.
6518 * wcsmbs/wcsnrtombs.c: Likewise.
6519 * wcsmbs/wcsrtombs.c: Likewise.
6520 * wcsmbs/wctob.c: Likewise.
6522 * localedata/Makefile: Set -Wno-format for some files since gcc does
6523 not know all the format specifiers.
6525 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6527 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6529 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6531 2000-06-18 Andreas Jaeger <aj@suse.de>
6533 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6534 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6536 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6538 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6540 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6542 * locale/programs/ld-ctype.c (ctype_output): Really write out
6543 mboutdigits information.
6544 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6545 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6546 * localedata/tests/trans.def: Add outdigit information.
6548 * localedata/tst-mbswcs3.c: Remove comment.
6550 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6551 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6552 * libio/tst_wprintf.c (main): Add test for I flag.
6554 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6555 * locale/langinfo.h: Add entries for translit_ignore information.
6556 * locale/categories.def: Add entries for new LC_CTYPE elements.
6557 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6558 pointer instead of "" where possible.
6559 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6560 * intl/Depend: Add localedata.
6561 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6562 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6564 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6566 * locale/langinfo.h: Add entries for default_missing information.
6567 * locale/C-ctype.c: Add initializers for new fields.
6568 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6570 * locale/categories.h: Add entries for all LC_CTYPE values.
6571 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6574 * localedata/tst-trans.c: Write out an error message if class is
6577 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6578 * iconv/gconv_open.c: Remove error handling specification from `from'
6580 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6581 new parameter to always enable transliteration.
6582 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6584 (struct locale_data): Add new members use_translit and options.
6585 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6586 character set name contained modifier TRANSLIT.
6587 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6589 (_nl_unload_locale): Free options string if necessary.
6590 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6591 the locale names suggested this.
6592 * locale/C-address.c: Add two new initialilzers to adjust data
6593 structure for new format.
6594 * locale/C-collate.c: Likewise.
6595 * locale/C-ctype.c: Likewise.
6596 * locale/C-identification.c: Likewise.
6597 * locale/C-measurement.c: Likewise.
6598 * locale/C-messages.c: Likewise.
6599 * locale/C-monetary.c: Likewise.
6600 * locale/C-name.c: Likewise.
6601 * locale/C-numeric.c: Likewise.
6602 * locale/C-paper.c: Likewise.
6603 * locale/C-telephone.c: Likewise.
6604 * locale/C-time.c: Likewise.
6606 * locale/setlocale.c: Add some more __builtin_expect.
6608 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6610 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6612 (__gconv_init_fct): Remove two parameters.
6613 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6614 gconv_transliterate. Remove two parameters.
6615 Change prototypes of builtin functions according to __gconv_fct change.
6616 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6617 != NULL only during error handling. Stop in this case after the
6619 * iconv/gconv_trans.c: Replace with real implementation for
6620 __gconv_transliterate.
6621 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6622 * iconv/gconv.c: Change calls to downstream functions once again.
6623 Use NULL for the fifth parameter instead of pointer to output buffer.
6624 * libio/iofwide.c: Likewise.
6625 * wcsmbs/btowc.c: Likewise.
6626 * wcsmbs/mbrtowc.c: Likewise.
6627 * wcsmbs/mbsnrtowcs.c: Likewise.
6628 * wcsmbs/mbsrtowcs.c: Likewise.
6629 * wcsmbs/wcrtomb.c: Likewise.
6630 * wcsmbs/wcsnrtombs.c: Likewise.
6631 * wcsmbs/wcsrtombs.c: Likewise.
6632 * wcsmbs/wctob.c: Likewise.
6633 * iconv/gconv_simple.c: Remove two parameters from error handling
6635 * iconvdata/8bit-gap.c: Likewise.
6636 * iconvdata/8bit-generic.c: Likewise.
6637 * iconvdata/ansi_x3.110.c: Likewise.
6638 * iconvdata/big5.c: Likewise.
6639 * iconvdata/big5hkscs.c: Likewise.
6640 * iconvdata/euc-cn.c: Likewise.
6641 * iconvdata/euc-jp.c: Likewise.
6642 * iconvdata/euc-kr.c: Likewise.
6643 * iconvdata/euc-tw.c: Likewise.
6644 * iconvdata/gbgbk.c: Likewise.
6645 * iconvdata/gbk.c: Likewise.
6646 * iconvdata/iso-2022-cn.c: Likewise.
6647 * iconvdata/iso-2022-jp.c: Likewise.
6648 * iconvdata/iso-2022-kr.c: Likewise.
6649 * iconvdata/iso646.c: Likewise.
6650 * iconvdata/iso8859-1.c: Likewise.
6651 * iconvdata/iso_6937-2.c: Likewise.
6652 * iconvdata/iso_6937.c: Likewise.
6653 * iconvdata/johab.c: Likewise.
6654 * iconvdata/sjis.c: Likewise.
6655 * iconvdata/t.61.c: Likewise.
6656 * iconvdata/uhc.c: Likewise.
6657 * iconvdata/unicode.c: Likewise.
6658 * iconvdata/utf-16.c: Likewise.
6660 2000-06-15 Greg McGary <greg@mcgary.org>
6662 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6663 of callnum assignment. Tolerate callnum expressions containing
6666 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6668 * login/Makefile (utmpd): Remove rule to build utmpd.
6670 * csu/Versions: Move libgcc frame handling functions from here...
6671 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6672 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6673 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6674 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6675 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6676 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6678 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6680 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6682 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6684 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6686 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6688 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6689 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6690 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6691 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6693 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6695 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6696 defined, terminate quotes and read them after the comment char.
6697 * configure.in (HAVE_SECTION_QUOTES): Test whether
6698 __attribute__((section ("x"))) puts quotes around x or not.
6699 * config.h.in (HAVE_SECTION_QUOTES): Add.
6700 * configure: Rebuilt.
6702 2000-06-14 Andreas Jaeger <aj@suse.de>
6704 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6705 depending on the configure option --sysconfdir.
6706 Closes PR libc/1762.
6707 Patch by Andreas Schwab <schwab@suse.de>.
6709 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6711 Reported by Jim Pick <jim@jimpick.com>.
6713 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6715 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6716 crashing the application. Emit some simple error message.
6717 Reported by mju@panasas.com [PR libc/1769].
6719 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6721 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6723 * crypt/Makefile (distribute): Add md5.h.
6725 * Makefile (distribute): Add include/shlib-compat.h.
6727 * Make-dist: Search for tests also in sysdeps hierachy.
6729 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6730 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6732 * sysdeps/sparc/Subdirs: New file.
6734 * locale/Makefile (distribute): Add weightwc.h and
6735 programs/localedef.h.
6737 * time/Makefile (distribute): Add datemsk.
6739 * sysdeps/ia64/Dist: Add softpipe.h.
6741 * sysdeps/unix/sysv/aix/Dist: New file.
6743 * posix/setpgrp.c: Moved to...
6744 * sysdeps/generic/setpgrp.c: ...here. New file.
6745 * io/mknod.c: Moved to...
6746 * sysdeps/generic/mknod.c: ...here. New file.
6748 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6750 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6752 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6754 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6755 gprsave0.S, gprrest1.S, and gprrest0.S.
6757 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6759 * posix/Makefile (routines): Add spawnattr_getsigmask,
6760 spawnattr_getschedpolicy, spawnattr_getschedparam,
6761 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6762 spawnattr_setschedparam.
6763 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6764 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6765 posix_spawnattr_setschedparam.
6767 * posix/spawnattr_setschedparam.c: Fix typo.
6769 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6772 * login/programs/utmpd.c: Removed.
6773 * login/programs/utmpd.h: Removed.
6774 * login/programs/utmpd-private.h: Removed.
6776 * Makefile (distribute): Add include/db_185.h and include/db.h.
6778 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6781 * elf/Makefile (distribute): Add missing files.
6783 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6784 * elf/eval.c: Moved to...
6785 * dlfcn/eval.c: ...here. New file.
6787 * Makefile (distribute): Also distribute ChangeLog.1?.
6789 * Make-dist (+tsrcs): Remove .args handling here as well.
6791 * rt/Makefile (tests): Add tst-timer.
6792 * sysdeps/generic/tst-timer.c: New file.
6794 * Makerules (sources): Don't add BP sources here.
6796 * login/Makefile (distribute): Remove xtmp.h.
6798 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6799 is true. Reported by Bruno Haible <haible@ilog.fr>.
6801 2000-06-13 Andreas Jaeger <aj@suse.de>
6803 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6804 Patch by Ralf Baechle <ralf@gnu.org>.
6806 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6808 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6809 for mincore syscall.
6811 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6812 __BOUNDED_POINTERS__ is not defined.
6814 2000-06-07 Greg McGary <greg@mcgary.org>
6816 * sysdeps/generic/bp-sym.h: New file.
6817 * sysdeps/generic/bp-start.h: New file.
6818 * sysdeps/i386/elf/start.S: Designate BP symbols.
6819 * sysdeps/generic/libc-start.c: Wrap bounds around
6820 argv & envp and each of their string members.
6822 2000-06-07 Greg McGary <greg@mcgary.org>
6824 * sysdeps/unix/make-syscalls.sh: Add comments to
6825 output that aid debugging & comprehension.
6826 Map simple syscall signatures to number of args.
6827 Generate BP syscall thunk definitions.
6828 * sysdeps/generic/bp-thunks.h: New file.
6829 * sysdeps/unix/syscalls.list: Replace arg-count with
6830 simple return+arg signature.
6831 * sysdeps/unix/common/syscalls.list: Likewise.
6832 * sysdeps/unix/inet/syscalls.list: Likewise.
6833 * sysdeps/unix/mman/syscalls.list: Likewise.
6834 * sysdeps/unix/sysv/syscalls.list: Likewise.
6835 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6836 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6838 2000-06-07 Greg McGary <greg@mcgary.org>
6840 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6841 for all files *.[cS].
6842 (CFLAGS-.ob): Don't optimize sibling calls.
6843 (bppfx): New variable.
6844 * Makerules (elide-bp-thunks): New variable.
6845 (elide-routines.*): Elide BP-* files for all but *.ob.
6846 (sources): Include bp-thunks.
6848 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6850 * iconv/gconv_simple.c: Remove unnecessary prototype.
6852 * iconv/gconv_trans.c: Pretty print.
6854 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6856 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6857 minimal kernel versions. Add information about IA-64 kernel.
6859 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6860 specific minimal supported kernel versions to be specified.
6862 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6863 step data structure.
6864 * wcsmbs/btowc.c: Likewise.
6865 * wcsmbs/mbrtowc.c: Likewise.
6866 * wcsmbs/mbsnrtowcs.c: Likewise.
6867 * wcsmbs/mbsrtowcs.c: Likewise.
6868 * wcsmbs/wcrtomb.c: Likewise.
6869 * wcsmbs/wcsnrtombs.c: Likewise.
6870 * wcsmbs/wcsrtombs.c: Likewise.
6871 * wcsmbs/wctob.c: Likewise.
6873 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6874 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6876 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6878 * misc/sys/cdefs.h: Remove one more __P.
6880 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6883 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6884 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6885 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6887 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6888 Yutaka Niibe <gniibe@chroot.org>
6890 * configure.in: Add machine sh3, sh4.
6891 * elf/elf.h: Add SH specific declarations of relocations.
6892 * shlib-versions: Add sh*-*-linux* cases.
6894 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6896 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6897 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6898 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6899 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6900 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6901 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6903 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6904 instead of KERNEL_MATH_EMULATION.
6905 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6906 KERNEL_MATH_EMULATION.
6908 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6909 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6910 * sysdeps/sh/dl-machine.h: ...here. New file.
6911 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6912 and include generic SH version.
6913 * sysdeps/sh/sh3/bits/endian.h: Move to...
6914 * sysdeps/sh/bits/endian.h: ...here. New file.
6915 * sysdeps/sh/sh4/bits/endian.h: Removed.
6916 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6917 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6918 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6920 * include/libc-symbols.h (link_warning): Work around a change in
6921 GAS which warns about changing section attributes.
6922 Proposed by Nick Clifton <nickc@redhat.com>.
6924 2000-06-12 H.J. Lu <hjl@gnu.org>
6926 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6928 2000-06-11 H.J. Lu <hjl@gnu.org>
6930 * sysdeps/i386/fpu/Versions: New file.
6932 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6934 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6936 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6939 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6941 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6942 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6943 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6945 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6946 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6947 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6949 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6950 Yutaka Niibe <gniibe@chroot.org>
6952 * sysdeps/sh/Dist: New file.
6953 * sysdeps/sh/Implies: New file.
6954 * sysdeps/sh/elf/initfini.c: New file.
6955 * sysdeps/sh/gmp-mparam.h: New file.
6956 * sysdeps/sh/init-first.c: New file.
6957 * sysdeps/sh/machine-gmon.h: New file.
6958 * sysdeps/sh/memcpy.S: New file.
6959 * sysdeps/sh/memprof.h: New file.
6960 * sysdeps/sh/memset.S: New file.
6961 * sysdeps/sh/sh3/__longjmp.S: New file.
6962 * sysdeps/sh/sh3/bits/endian.h: New file.
6963 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6964 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6965 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6966 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6967 * sysdeps/sh/sh3/dl-machine.h: New file.
6968 * sysdeps/sh/sh3/setjmp.S: New file.
6969 * sysdeps/sh/sh4/__longjmp.S: New file.
6970 * sysdeps/sh/sh4/bits/endian.h: New file.
6971 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6972 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6973 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6974 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6975 * sysdeps/sh/sh4/dl-machine.h: New file.
6976 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6977 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6978 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6979 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6980 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6981 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6982 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6983 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6984 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6985 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6986 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6987 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6988 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6989 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6990 * sysdeps/sh/sh4/setjmp.S: New file.
6991 * sysdeps/sh/elf/start.S: New file.
6992 * sysdeps/sh/sys/ucontext.h: New file.
6993 * sysdeps/sh/strlen.S: New file.
6994 * sysdeps/sh/sysdep.h: New file.
6995 * sysdeps/unix/sh/sysdep.S: New file.
6996 * sysdeps/unix/sh/sysdep.h: New file.
6997 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6998 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6999 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7000 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7001 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7002 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7003 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7004 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7005 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7006 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7007 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7008 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7009 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7010 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7011 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7012 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7013 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7014 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7015 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7016 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7017 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7018 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7019 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7020 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7021 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7022 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7023 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7024 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7025 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7026 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7027 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7028 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7029 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7030 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7031 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7032 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7033 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7034 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7035 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7036 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7037 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7038 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7039 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7040 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7041 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7042 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7043 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7044 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7045 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7046 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7048 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7050 * Rules (%.out): Define GCONV_PATH in the environment.
7051 * assert/Depend: New file.
7052 * iconvdata/Depend: New file.
7053 * intl/Depend: New file.
7054 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7055 * intl/tst-gettext.sh: Likewise.
7056 * iconv/Makefile (routines): Add gconv_trans.
7057 * iconv/gconv_trans.c: New file.
7058 * iconv/gconv.h (struct __gconv_trans_data): New type.
7059 (__gconv_fct): New parameter with starting position in output buffer.
7060 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7061 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7062 (struct __gconv_step): Add new member __trans.
7063 * iconv/gconv_int.h: Pretty print prototypes.
7064 (gconv_transliterate): New prototype.
7065 (__BUILTIN_TRANS): Update for new conversion function interface.
7066 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7067 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7068 in names, find appropriate function, and install in the conversion
7069 steps it can be used.
7070 * iconv/skeleton.c: Add additional parameter for beginning of output
7071 buffer. Change calls of downstream functions.
7072 * iconv/loop.c: Change loop function interface completely. Pass in
7073 step and step_data structure. Remove optimization for BODY with
7074 NEED_LENGTH_TEST == 0.
7075 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7076 appropriate error handling code to use transliteration steps. Remove
7077 optimization for BODY with NEED_LENGTH_TEST == 0.
7078 * iconvdata/8bit-gap.c: Likewise.
7079 * iconvdata/8bit-generic.c: Likewise.
7080 * iconvdata/ansi_x3.110.c: Likewise.
7081 * iconvdata/big5.c: Likewise.
7082 * iconvdata/big5hkscs.c: Likewise.
7083 * iconvdata/euc-cn.c: Likewise.
7084 * iconvdata/euc-jp.c: Likewise.
7085 * iconvdata/euc-kr.c: Likewise.
7086 * iconvdata/euc-tw.c: Likewise.
7087 * iconvdata/gbgbk.c: Likewise.
7088 * iconvdata/gbk.c: Likewise.
7089 * iconvdata/iso-2022-cn.c: Likewise.
7090 * iconvdata/iso-2022-jp.c: Likewise.
7091 * iconvdata/iso-2022-kr.c: Likewise.
7092 * iconvdata/iso646.c: Likewise.
7093 * iconvdata/iso8859-1.c: Likewise.
7094 * iconvdata/iso_6937-2.c: Likewise.
7095 * iconvdata/iso_6937.c: Likewise.
7096 * iconvdata/johab.c: Likewise.
7097 * iconvdata/sjis.c: Likewise.
7098 * iconvdata/t.61.c: Likewise.
7099 * iconvdata/uhc.c: Likewise.
7100 * iconvdata/unicode.c: Likewise.
7101 * iconvdata/utf-16.c: Likewise.
7102 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7104 * wcsmbs/btowc.c: Likewise.
7105 * wcsmbs/mbrtowc.c: Likewise.
7106 * wcsmbs/mbsnrtowcs.c: Likewise.
7107 * wcsmbs/mbsrtowcs.c: Likewise.
7108 * wcsmbs/wcrtomb.c: Likewise.
7109 * wcsmbs/wcsnrtombs.c: Likewise.
7110 * wcsmbs/wcsrtombs.c: Likewise.
7111 * wcsmbs/wctob.c: Likewise.
7113 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7115 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7116 other header files. Mention about 128-byte cache line sizes.
7117 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7118 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7119 for current calling sequence.
7120 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7122 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7123 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7125 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7126 and setrlimit syscalls for backwards compatibility.
7128 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7130 * iconv/skeleton.c: Rename converted written to correcter name
7132 * iconv/gconv.c: Rename converted variable to correcter name
7134 * iconv/gconv_int.h: Likewise.
7135 * iconv/gconv_simple.c: Likewise.
7136 * iconv/iconv.c: Likewise.
7137 * iconv/loop.c: Likewise.
7138 * iconvdata/8bit-gap.c: Likewise.
7139 * iconvdata/8bit-generic.c: Likewise.
7140 * iconvdata/ansi_x3.110.c: Likewise.
7141 * iconvdata/big5.c: Likewise.
7142 * iconvdata/big5hkscs.c: Likewise.
7143 * iconvdata/euc-cn.c: Likewise.
7144 * iconvdata/euc-jp.c: Likewise.
7145 * iconvdata/euc-kr.c: Likewise.
7146 * iconvdata/gbgbk.c: Likewise.
7147 * iconvdata/gbk.c: Likewise.
7148 * iconvdata/iso-2022-cn.c: Likewise.
7149 * iconvdata/iso-2022-jp.c: Likewise.
7150 * iconvdata/iso-2022-kr.c: Likewise.
7151 * iconvdata/iso646.c: Likewise.
7152 * iconvdata/iso8859-1.c: Likewise.
7153 * iconvdata/iso_6937-2.c: Likewise.
7154 * iconvdata/iso_6937.c: Likewise.
7155 * iconvdata/johab.c: Likewise.
7156 * iconvdata/sjis.c: Likewise.
7157 * iconvdata/t.61.c: Likewise.
7158 * iconvdata/uhc.c: Likewise.
7159 * iconvdata/unicode.c: Likewise.
7160 * iconvdata/utf-16.c: Likewise.
7162 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7163 __cmsg_data field with __extension__.
7165 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7167 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7169 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7171 * iconv/gconv_simple.c: Fix various small bugs in several
7174 * iconv/loop.c: Fix comment.
7176 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7178 * elf/link.h: Remove libc internal declarations.
7179 * include/link.h: Move them here.
7181 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7183 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7184 Patch by Dan Pop <Dan.Pop@cern.ch>.
7186 Rewrite error message handling.
7187 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7189 * elf/dl-error (struct catch): Add objname member.
7190 (_dl_signal_error): Take new parameter with object name. When
7191 passing message on simply store object name and duplicate error
7193 (_dl_catch_error): Take new parameter. Store object name in the
7195 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7196 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7197 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7198 (dlerror): Add objname to asprintf() parameters.
7199 (_dl_error_run): Pass new parameter to _dl_catch_error.
7200 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7201 * elf/dl-open.c (_dl_open): Likewise.
7202 * elf/rtld.c (dl_main): Likewise.
7203 * elf/dl-close.c: Mark error messages with N_().
7204 * elf/dl-deps.c: Likewise.
7205 * elf/dl-error.c: Likewise.
7206 * elf/dl-load.c: Likewise.
7207 * elf/dl-open.c: Likewise.
7208 * elf/dl-reloc.c: Likewise.
7209 * elf/dl-support.c: Likewise.
7210 * elf/dl-sym.c: Likewise.
7211 * elf/dl-version.c: Likewise.
7212 * elf/dl-lookup.c: Add comments about problems with error message
7214 * elf/dl-reloc.c: Likewise.
7215 * elf/dl-version.c: Likewise.
7217 2000-06-09 H.J. Lu <hjl@gnu.org>
7219 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7222 * dlfcn/Makefile (distribute): Add failtestmod.c.
7223 (tests): Add failtest.
7224 Add rules to build and run failtest.
7225 * dlfcn/failtest.c: New file.
7226 * dlfcn/failtestmod.c: New file.
7228 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7230 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7231 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7232 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7233 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7234 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7236 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7238 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7239 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7241 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7242 Ulrich Drepper <drepper@redhat.com>
7244 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7245 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7246 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7247 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7248 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7249 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7251 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7253 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7254 to find correct mount point despite wrong information from the
7257 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7259 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7260 the address of a symbol so function pointers are handled properly.
7262 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7264 * sysdeps/i386/Dist: Add bp-asm.h.
7266 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7267 defaultdir variable instead of "/var/shm" everywhere.
7268 (defaultdir): Change to /dev/shm/.
7270 2000-06-08 Greg McGary <greg@mcgary.org>
7272 * sysdeps/i386/bp-asm.h: New file.
7273 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7274 offsets. Add ENTER/LEAVE macros for optionally maintaining
7275 frame-pointer chain when debugging.
7276 * sysdeps/i386/add_n.S: Likewise.
7277 * sysdeps/i386/addmul_1.S: Likewise.
7278 * sysdeps/i386/lshift.S: Likewise.
7279 * sysdeps/i386/memchr.S: Likewise.
7280 * sysdeps/i386/memcmp.S: Likewise.
7281 * sysdeps/i386/mul_1.S: Likewise.
7282 * sysdeps/i386/rawmemchr.S: Likewise.
7283 * sysdeps/i386/rshift.S: Likewise.
7284 * sysdeps/i386/stpcpy.S: Likewise.
7285 * sysdeps/i386/stpncpy.S: Likewise.
7286 * sysdeps/i386/strchr.S: Likewise.
7287 * sysdeps/i386/strchrnul.S: Likewise.
7288 * sysdeps/i386/strcspn.S: Likewise.
7289 * sysdeps/i386/strpbrk.S: Likewise.
7290 * sysdeps/i386/strrchr.S: Likewise.
7291 * sysdeps/i386/strspn.S: Likewise.
7292 * sysdeps/i386/strtok.S: Likewise.
7293 * sysdeps/i386/sub_n.S: Likewise.
7294 * sysdeps/i386/submul_1.S: Likewise.
7295 * sysdeps/i386/elf/setjmp.S: Likewise.
7296 * sysdeps/i386/i486/strcat.S: Likewise.
7297 * sysdeps/i386/i486/strlen.S: Likewise.
7298 * sysdeps/i386/i586/add_n.S: Likewise.
7299 * sysdeps/i386/i586/lshift.S: Likewise.
7300 * sysdeps/i386/i586/memcpy.S: Likewise.
7301 * sysdeps/i386/i586/memset.S: Likewise.
7302 * sysdeps/i386/i586/rshift.S: Likewise.
7303 * sysdeps/i386/i586/strchr.S: Likewise.
7304 * sysdeps/i386/i586/strcpy.S: Likewise.
7305 * sysdeps/i386/i586/strlen.S: Likewise.
7306 * sysdeps/i386/i586/sub_n.S: Likewise.
7307 * sysdeps/i386/i686/add_n.S: Likewise.
7308 * sysdeps/i386/i686/memcpy.S: Likewise.
7309 * sysdeps/i386/i686/mempcpy.S: Likewise.
7310 * sysdeps/i386/i686/memset.S: Likewise.
7311 * sysdeps/i386/i686/strcmp.S: Likewise.
7313 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7315 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7317 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7318 256 and don't use OPEN_MAX.
7320 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7321 use it instead of LINK_MAX.
7322 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7324 2000-06-08 Andreas Jaeger <aj@suse.de>
7326 * libio/genops.c (_IO_list_lock): Only compile body if we're
7328 (_IO_list_unlock): Likewise.
7329 (_IO_list_resetlock): Likewise.
7331 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7333 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7334 unless user defined it.
7336 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7337 if not defined by the user.
7339 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7340 * libio/iofwrite.c (_IO_fwrite): Likewise.
7342 * time/time.h: Add missing __THROW for clock_getcpuclockid
7345 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7346 * include/elf.h: Include also <dl-dtprocnum.h>.
7347 * elf/dl-deps.c: Likewise.
7348 * elf/dl-lookup.c: Likewise.
7349 * elf/dl-runtime.c: Likewise.
7350 * elf/dl-version.c: Likewise.
7351 * elf/do-rel.h: Likewise.
7352 * elf/dynamic-link.h: Likewise.
7353 * elf/link.h: Likewise.
7354 * elf/rtld.c: Likewise.
7355 * sysdeps/generic/dl-dtprocnum.h: New file.
7356 * sysdeps/ia64/dl-dtprocnum.h: New file.
7357 * sysdeps/mips/dl-dtprocnum.h: New file.
7358 * sysdeps/sparc/dl-dtprocnum.h: New file.
7360 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7362 * elf/do-lookup.h: Add some __builtin_expect.
7364 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7366 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7367 (_dl_dynamic_weak): New variable.
7368 * elf/dl-support.c: Likewise.
7369 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7370 * elf/do-lookup.h: If we find a weak definition treat it like a
7371 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7372 case treat it like before.
7374 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7376 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7378 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7379 using l_map_start and l_map_end.
7381 * elf/dl-version.c: Add __builtin_expect in many places.
7383 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7386 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7388 Lock for stdio stream list becomes global, for use in LinuxThreads.
7390 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7391 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7392 _IO_list_resetlock): New interface for iterating global list of
7393 streams without accessing the _IO_list_all global variable,
7394 and for manipulating the lock which protects this list.
7395 * libio/libioP.h: Likewise.
7396 * libio/Version: Add entries for the new functions.
7398 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7399 pointer to _IO_FILE.
7401 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7403 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7404 BIT() must actually be BITw().
7406 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7408 * locale/programs/charmap.c: Allow string arguments for
7409 code_set_name and repertoiremap.
7411 2000-06-07 Andreas Jaeger <aj@suse.de>
7413 * elf/Makefile: Build ldconfig only when building shared libraries.
7415 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7417 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7419 (fdimf, __fdim, fdim): Likewise.
7421 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7423 * locale/findlocale.c: Add __builtin_expect in many places.
7424 * locale/loadlocale.c: Likewise.
7426 2000-06-06 Greg McGary <greg@mcgary.org>
7428 * sysdeps/mips/elf/start.S: Trim redundant code.
7430 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7431 Use C comments throughout. Line up operands column with tabs.
7432 * sysdeps/powerpc/strchr.S: Likewise.
7433 * sysdeps/powerpc/strcmp.S: Likewise.
7434 * sysdeps/powerpc/strcpy.S: Likewise.
7435 * sysdeps/powerpc/strlen.S: Likewise.
7437 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7438 Get low part of &__curbrk with @l.
7440 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7442 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7443 * iconvdata/unicode.c: Likewise.
7444 * iconvdata/uhc.c: Likewise.
7445 * iconvdata/t.61.c: Likewise.
7446 * iconvdata/sjis.c: Likewise.
7447 * iconvdata/johab.c: Likewise.
7448 * iconvdata/iso_6937.c: Likewise.
7449 * iconvdata/iso_6937-2.c: Likewise.
7450 * iconvdata/iso8859-1.c: Likewise.
7451 * iconvdata/iso646.c: Likewise.
7452 * iconvdata/iso-2022-kr.c: Likewise.
7453 * iconvdata/iso-2022-jp.c: Likewise.
7454 * iconvdata/iso-2022-cn.c: Likewise.
7455 * iconvdata/gbgbk.c: Likewise.
7456 * iconvdata/gbk.c: Likewise.
7457 * iconvdata/euc-kr.c: Likewise.
7458 * iconvdata/euc-jp.c: Likewise.
7459 * iconvdata/euc-cn.c: Likewise.
7461 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7463 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7464 * iconvdata/big5.c: Likewise.
7465 * iconvdata/ansi_x3.110.c: Likewise.
7466 * iconvdata/8bit-generic.c: Likewise.
7467 * iconvdata/8bit-gap.c: Likewise.
7468 * iconv/loop.c: Likewise.
7469 * iconv/gconv_db.c: Likewise.
7470 * iconv/gconv_dl.c: Likewise.
7471 * iconv/gconv_simple.c: Likewise.
7472 * iconv/skeleton.c: Likewise.
7474 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7475 (struct __gconv_step_data): Rename __is_last to __flags.
7476 * iconv/gconv_close.c: Change all uses of __is_last.
7477 * iconv/skeleton.c: Likewise.
7478 * iconvdata/iso-2022-cn.c: Likewise.
7479 * iconvdata/iso-2022-jp.c: Likewise.
7480 * iconvdata/iso-2022-kr.c: Likewise.
7481 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7482 Recognize IGNORE error handling, set flag, and remove from name.
7483 * iconv/loop.c (ignore_errors_p): Define.
7484 Add flags parameter to both functions.
7485 * iconv/skeleton.c: Pass flags to all conversion functions.
7486 * iconv/gconv_simple.c: Add flags parameter to all functions.
7487 Don't return error for invald error if ignore flag is set.
7488 (ucs4_internal_loop_single): Add missing pointer increment.
7489 (internal_ucs4le_loop_single): Likewise.
7490 * iconv/iconv_prog.c: Implement handling of -c parameter.
7491 * iconvdata/8bit-gap.c: Don't return error for invald error if
7493 * iconvdata/8bit-generic.c: Likewise.
7494 * iconvdata/ansi_x3.110.c: Likewise.
7495 * iconvdata/big5.c: Likewise.
7496 * iconvdata/big5hkscs.c: Likewise.
7497 * iconvdata/euc-cn.c: Likewise.
7498 * iconvdata/euc-jp.c: Likewise.
7499 * iconvdata/euc-kr.c: Likewise.
7500 * iconvdata/gbgbk.c: Likewise.
7501 * iconvdata/gbk.c: Likewise.
7502 * iconvdata/iso-2022-cn.c: Likewise.
7503 * iconvdata/iso-2022-jp.c: Likewise.
7504 * iconvdata/iso-2022-kr.c: Likewise.
7505 * iconvdata/iso646.c: Likewise.
7506 * iconvdata/iso8859-1.c: Likewise.
7507 * iconvdata/iso_6937-2.c: Likewise.
7508 * iconvdata/iso_6937.c: Likewise.
7509 * iconvdata/johab.c: Likewise.
7510 * iconvdata/sjis.c: Likewise.
7511 * iconvdata/t.61.c: Likewise.
7512 * iconvdata/uhc.c: Likewise.
7513 * iconvdata/unicode.c: Likewise.
7514 * iconvdata/utf-16.c: Likewise.
7515 * libio/fileops.c: Likewise.
7516 * libio/iofwide.c: Likewise.
7517 * wcsmbs/btowc.c: Likewise.
7518 * wcsmbs/mbrtowc.c: Likewise.
7519 * wcsmbs/mbsnrtowcs.c: Likewise.
7520 * wcsmbs/mbsrtowcs.c: Likewise.
7521 * wcsmbs/wcrtomb.c: Likewise.
7522 * wcsmbs/wcsnrtombs.c: Likewise.
7523 * wcsmbs/wcsrtombs.c: Likewise.
7524 * wcsmbs/wctob.c: Likewise.
7526 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7529 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7531 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7532 counter for the object we are releasing, just decrement it.
7533 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7535 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7537 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7540 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7542 * iconvdata/big5hkscs.c: New file.
7543 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7545 * iconvdata/gconv-modules: Add entry for new module.
7546 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7547 (distribute): Add big5hkscs.c.
7549 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7551 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7552 inlines to match prototypes in mathcalls.h.
7553 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7554 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7555 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7556 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7558 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7560 * elf/elf.h (SHT_SUNW_move): Define.
7562 * elf/elf.h: Add more Solaris compatiblity definitions.
7564 2000-06-03 Andreas Jaeger <aj@suse.de>
7566 * sysdeps/powerpc/dl-start.S: Close open comment.
7568 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7570 * inet/Versions: Fix typo in rresvport_af export.
7572 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7574 * math/tgmath.h: Pretty print.
7576 2000-06-02 Andreas Jaeger <aj@suse.de>
7578 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7579 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7581 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7583 * elf/rtld.c (process_envvars): Test for = after variable name.
7585 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7587 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7588 have extra call to __gmon_start__, use the pointer we already have.
7590 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7593 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7594 binutils. gas now emits a jump through the PLT instead of a
7595 relative jump if the jump target is an exported symbol.
7597 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7599 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7601 2000-05-31 Andreas Jaeger <aj@suse.de>
7603 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7606 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7607 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7609 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7611 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7613 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7615 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7617 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7618 * locale/localeconv.c: Make function versioned (with same definition).
7620 * elf/Makefile (modules-names): Strip before using it.
7622 2000-05-30 Andreas Jaeger <aj@suse.de>
7624 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7625 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7626 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7627 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7628 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7629 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7631 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7633 * Makefile: Add GNU make magic.
7635 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7637 * inet/rcmd.c: Remove __P. Remove unused variables.
7638 (iruserfopen): Make first parameter const.
7639 (ruserok_sa): Return result of ruserok2_sa.
7640 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7641 * inet/rexec.c: Remove unused variables. Other small cleanups.
7642 * inet/ruserpass.c: Remove __P. Remove unused variables.
7643 (ruserpass): Check results of memory allocation.
7644 * include/netdb.h: Add prototype for ruserpass.
7646 2000-05-29 Andreas Jaeger <aj@suse.de>
7648 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7651 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7653 * inet/rcmd.c (rresvport_af): Use correct port number.
7655 2000-05-26 Andreas Schwab <schwab@suse.de>
7657 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7658 entries in all-sonames.
7659 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7660 preserving the old name if different for compatibility.
7662 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7664 * posix/Makefile (tests): Add tst-spawn.
7665 (tst-spawn-ARGS): New variable.
7666 * posix/tst-spawn.c: New file.
7668 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7669 * posix/spawn_faction_adddup2.c: Likewise.
7670 * posix/spawn_faction_addopen.c: Likewise.
7671 * posix/spawni.c: Correctly test for success of dup2 calls.
7673 * posix/tst-preadwrite.c: Check success of malloc call.
7675 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7677 * posix/Makefile (tests): Add tst-exec.
7678 (tst-exec-ARGS): New variable.
7679 * posix/tst-exec.c: New file.
7681 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7683 2000-05-04 Andreas Jaeger <aj@suse.de>
7685 * string/string.h: Remove __strdup prototype, it's not needed in
7688 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7690 * posix/Makefile (tests): Add tst-fork.
7691 * posix/tst-fork.c: New file.
7693 * resolv/inet_pton.c: Loose __P.
7695 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7697 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7698 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7699 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7700 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7701 _IO_CHECK_WIDE fails.
7703 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7705 * po/da.po: New file.
7707 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7708 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7710 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7711 (Other iconv Implementations): Fix typo.
7712 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7714 2000-05-27 Andreas Jaeger <aj@suse.de>
7716 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7718 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7719 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7720 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7721 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7722 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7723 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7725 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7726 endianness to decide how to pass arguments.
7727 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7729 * elf/vismain.c: Use test-skeleton interface.
7730 (TEST_FUNCTION): New macro.
7731 (do_test): Renamed from main.
7733 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7735 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7736 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7738 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7739 handling of AI_V4MAPPED flag.
7741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7742 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7743 perform lookup for T_A type and tell getanswer_r to convert the
7744 result with new argument.
7745 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7746 Don't convert addresses from IPv4 to IPv6 here.
7747 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7748 IPv6 is wanted. Allow qtype and type from reply to disagree if
7749 IPv4 mapping has to be done. Perform mappings if required by the
7750 caller and not if RES_USE_INET6 bit in _res.options is set.
7751 Add several __builtin_expect.
7753 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7755 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7757 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7760 * posix/tst-preadwrite.c: Allow parallel execution of
7761 tst-preadwrite and tst-preadwrite64.
7763 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7764 * posix/tst-truncate.c: New file.
7765 * posix/tst-truncate64.c: New file.
7767 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7770 * posix/Makefile (tests): Add tst-preadwrite64.
7771 * posix/tst-preadwrite.c: Alloc file being used also for testing
7772 pread64 and pwrite64.
7773 * posix/tst-preadwrite64.c: New file.
7775 2000-05-26 Andreas Jaeger <aj@suse.de>
7777 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7778 of arguments dependend on endianness.
7779 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7781 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7783 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7784 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7785 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7786 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7788 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7789 endianness to check how to pass argument.
7790 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7792 * elf/ldconfig.h: Update parameter list for process_elf_file.
7794 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7795 Add parameter file_length and pass it ot process_elf*file.
7797 * sysdeps/generic/readelflib.c (check_ptr): New.
7798 (process_elf_file): Use check_ptr to check all accesses to the
7799 mmapped file. Add parameter file_length.
7801 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7804 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7805 Closes PR libc/1573, reported by Bradley White
7806 <bww@laurelnetworks.com>.
7808 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7810 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7811 __FAST_MATH__ is defined.
7813 2000-05-22 Andreas Jaeger <aj@suse.de>
7815 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7816 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7818 * manual/math.texi (FP Function Optimizations): Document gcc
7819 -ffast-math behaviour with mathinlines.
7821 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7822 functions unless -ffast-math is given to gcc.
7824 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7826 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7827 __sincosl): Guard with __USE_GNU.
7829 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7831 * csu/Makefile (routines): Add check_fds.
7832 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7833 binaries. Add various __builtin_expect.
7834 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7835 * sysdeps/generic/check_fds.c: ...here. New file.
7837 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7838 binaries if file /etc/suid-debug is available.
7840 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7841 and wcseqorder members.
7842 (struct locale_collate_t): Likewise.
7843 (collate_finish): Assign collation sequence value to each character.
7844 Create tables for output.
7845 (collate_output): Write out tables with collation sequence information.
7846 * locale/C-collate.c: Provide C locale data for collation sequence
7848 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7849 _NL_COLLATE_COLLSEQWC.
7850 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7851 _NL_COLLATE_COLLSEQWC.
7852 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7853 include fnmatch_loop.c.
7854 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7855 character is matched by range expression. Use collation sequence
7856 table. Outside glibc fall back on simple character value comparison.
7858 2000-05-24 Andreas Jaeger <aj@suse.de>
7860 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7863 * intl/Makefile: Run gettext-test only if msgfmt is available.
7865 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7866 Define it for newer kernels.
7868 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7870 * elf/dl-sym.c: Minor cleanups.
7872 * configure.in: Add test for .protected.
7873 * config.make.in: Add have-protected variable.
7874 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7875 (tests-vis-yes): Add vismain.
7876 (modules-names): Add $(modules-vis-$(have-protected)).
7877 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7878 Add rules to generate and run vismain.
7879 * elf/vismain.c: New file.
7880 * elf/vismod1.c: New file.
7881 * elf/vismod2.c: New file.
7882 * elf/vismod3.c: New file.
7884 2000-05-23 Andreas Jaeger <aj@suse.de>
7886 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7888 * manual/search.texi (Array Sort Function): Document that qsort is
7889 not necessarily in-place.
7891 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7892 Closes PR libc/1731.
7894 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7895 * dirent/scandir64.c: Likewise.
7896 * pwd/getpw.c: Likewise.
7897 * stdlib/bsearch.c (bsearch): Likewise.
7898 * stdlib/tst-strtoll.c: Likewise.
7899 * localedata/collate-test.c: Likewise.
7900 * localedata/xfrm-test.c: Likewise.
7901 * posix/bsd-getpgrp.c: Likewise.
7902 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7903 * sysdeps/generic/bits/siginfo.h: Likewise.
7904 * sysdeps/generic/bits/sockaddr.h: Likewise.
7905 * sysdeps/generic/sys/swap.h: Likewise.
7906 * sysdeps/generic/sys/sysinfo.h: Likewise.
7907 * sysdeps/generic/vfork.c: Likewise.
7908 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7909 * sysdeps/mach/hurd/fdopen.c: Likewise.
7910 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7911 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7912 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7913 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7914 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7918 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7919 * shadow/lckpwdf.c: Likewise.
7920 * stdlib/tst-strtol.c: Likewise.
7921 * sysdeps/generic/tcsetattr.c: Likewise.
7922 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7923 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7925 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7927 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7928 free it and set to (void *) -1.
7930 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7932 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7933 not the second character in the range.
7934 * stdio-common/tstscanf.c (main): Add testcase for the above.
7935 Reported by jik@kamens.brookline.ma.us.
7937 2000-05-21 H.J. Lu <hjl@gnu.org>
7939 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7940 with noexec and noplt parameter.
7941 (do_lookup): Likewise.
7943 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7944 do_lookup. Support STV_PROTECTED.
7945 (_dl_lookup_symbol_skip): Likewise.
7946 (_dl_lookup_versioned_symbol): Likewise.
7947 (_dl_lookup_versioned_symbol_skip): Likewise.
7949 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7951 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7953 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7955 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7956 * sysdeps/i386/bits/huge_val.h: Likewise.
7957 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7958 * sysdeps/m68k/bits/huge_val.h: Likewise.
7959 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7960 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7962 2000-05-22 Andreas Jaeger <aj@suse.de>
7964 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7967 2000-05-19 Andreas Jaeger <aj@suse.de>
7969 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7970 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7971 breaks compilation without linuxthreads.
7973 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7975 * sysdeps/ia64/memccpy.S: New file.
7976 * sysdeps/ia64/memchr.S: New file.
7977 * sysdeps/ia64/memcmp.S: New file.
7978 * sysdeps/ia64/memcpy.S: New file.
7979 * sysdeps/ia64/memmove.S: New file.
7980 * sysdeps/ia64/memset.S: New file.
7981 * sysdeps/ia64/strcat.S: New file.
7982 * sysdeps/ia64/strchr.S: New file.
7983 * sysdeps/ia64/strcmp.S: New file.
7984 * sysdeps/ia64/strcpy.S: New file.
7985 * sysdeps/ia64/strlen.S: New file.
7986 * sysdeps/ia64/strncmp.S: New file.
7987 * sysdeps/ia64/strncpy.S: New file.
7988 * sysdeps/ia64/softpipe.h: New file.
7989 Patches by Dan Pop <Dan.Pop@cern.ch>.
7991 * manual/memory.texi: Document memory handling functions (mlock,
7992 munlock, mlockall, munlockall, brk, and sbrk)
7993 * manual/time.texi: Document timespec and friends.
7994 * manual/conf.texi: Fix references.
7995 * manual/ctype.texi: Likewise.
7996 * manual/errno.texi: Likewise.
7997 * manual/intro.texi: Likewise.
7998 * manual/locale.texi: Likewise.
7999 * manual/sysinfo.texi: Likewise.
8000 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8002 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8004 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8005 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8007 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8009 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8012 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8014 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8015 * locale/localeconv.c: Initialize new elements from ISO C99.
8016 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8017 new standard elements.
8018 * locale/categories.def: Adjust accordingly.
8020 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8021 * iconv/iconv.c: Likewise.
8022 * conform/data/iconv.h-data: Likewise.
8023 * iconv/iconv_prog.c (process_block): Remove const from second
8025 (main): Remove const from addr definition.
8026 * manual/charset.texi (Generic Conversion Interface): Remove from
8027 inbuf parameter of iconv.
8029 * intl/dcigettext.c: Fix typo in comment.
8031 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8033 * resolv/res_libc.c (_res): Initialize _sock to -1.
8035 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8037 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8038 (fopencookie@@GLIBC_2.2): New.
8039 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8040 (fopencookie@GLIBC_2.0): New.
8041 * libio/Versions: Add fopencookie to GLIBC_2.2.
8043 2000-05-18 Andreas Jaeger <aj@suse.de>
8045 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8046 Closes PR libc/1731.
8048 * manual/arith.texi (Parsing of Integers): Fix typo.
8049 Closes PR libc/1744, reported by blp@gnu.org.
8051 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8053 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8054 __extension__ to hexadecimal floating constant notation.
8055 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8057 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8058 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8060 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8061 HUGE_VALL): Likewise.
8062 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8063 HUGE_VALL): Likewise.
8064 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8066 2000-05-17 Andreas Jaeger <aj@suse.de>
8068 * string/envz.h: Add pure attributes if possible.
8070 * string/argz.h: argz_count is a pure function.
8072 * string/strings.h: Add pure and const attributes if possible.
8074 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8075 possibly searching through the whole memory.
8076 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8078 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8080 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8082 (_dl_cache_check_flags): Likewise.
8083 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8086 2000-05-17 Andreas Jaeger <aj@suse.de>
8088 * manual/creature.texi (Feature Test Macros): Remove paragraph
8089 since the description is wrong.
8090 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8092 * scripts/config.sub: New version.
8093 * scripts/config.guess: Likewise.
8094 * manual/texinfo.tex: Likewise.
8096 * time/test_time.args: Removed.
8097 * time/Makefile (test_time-ARGS): Added contents here instead.
8099 * posix/tstgetopt.args: Removed.
8100 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8102 * Rules: Allow arguments for test files to be specified in
8103 Makefile with testname-ARGS; remove rules with .args in it.
8105 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8106 remove old bogus rule for opendir-tst1.args.
8108 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8110 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8111 into objdir. This allows a readonly sourcetree.
8112 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8114 2000-05-16 Andreas Jaeger <aj@suse.de>,
8115 David Huggins-Daines <dhd@linuxcare.com>
8117 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8118 cache_data in case of only new cache format correctly.
8120 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8123 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8124 struct cache_file_new.
8126 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8129 * elf/cache.c (save_cache): Align struct new_file_cache.
8130 (print_cache): Likewise.
8132 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8134 * elf/soinit.c (__libc_global_ctors): Move
8135 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8136 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8137 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8138 variable, don't define it to __res_state call.
8140 2000-05-13 Andreas Jaeger <aj@suse.de>
8142 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8144 (AF_PPPOX): Likewise.
8145 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8146 (AF_PPPOX): Likewise.
8148 2000-05-12 Andreas Jaeger <aj@suse.de>
8150 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8151 Reported by tmoestl@gmx.net, closes PR libc/1732.
8153 2000-05-11 Jan Hubicka <jh@suse.cz>
8155 * misc/sys/cdefs.h: Add support for pure attribute.
8157 * include/string.h: Add __attribute_pure__ to various functions.
8158 * string/string.h: Likewise.
8160 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8162 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8166 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8168 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8170 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8171 at proper place. Compute the high nibble correctly.
8173 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8175 * elf/ldconfig.c: Include elf.h.
8177 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8178 (_dl_vsym): Likewise.
8179 Reported by Owen Taylor <otaylor@redhat.com>.
8181 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8184 2000-05-08 Andreas Jaeger <aj@suse.de>
8186 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8188 * intl/bindtextdom.c (set_binding_values): Add prototype.
8190 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8192 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8193 call to elf_machine_fixup_plt.
8194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8197 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8199 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8200 they are not dlclose'd from underneath us.
8202 2000-05-08 Andreas Schwab <schwab@suse.de>
8204 * posix/execle.c: Fix size parameter of memcpy.
8206 2000-05-08 Andreas Schwab <schwab@suse.de>
8208 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8209 getpagesize syscall if available.
8211 2000-05-08 Andreas Jaeger <aj@suse.de>
8213 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8216 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8218 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8219 sizeof(struct link_map *) chunks, not in bytes.
8221 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8223 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8224 only needed for locale.
8225 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8226 It's only needed for catgets.
8227 Patches by Greg McGary <gkm@eng.ascend.com>.
8229 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8231 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8232 Remove duplicate <errno.h> include. Remove inclusion of
8233 <libintl.h> and "nsswitch.h".
8234 (set_cloexec_flag): New function, broken out of dbopen.
8235 (dbopen): Changed return type to `enum
8236 nss_status'. Mostly rewritten to make sure that we do not report
8237 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8238 (internal_setent): Change return type to nss_status.
8239 Document, and make sure that the function
8240 behaves accordingly. Make dynamically loading the database
8241 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8243 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8245 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8247 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8248 c_get function member.
8249 * nss/nss_db/nss_db.h: Add and tweak some comments.
8250 (DBT): Move typedef before NSS_DBC typedef.
8251 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8253 2000-05-07 H.J. Lu <hjl@gnu.org>
8255 * csu/initfini.c: Moved to ....
8256 * sysdeps/generic/initfini.c: ...here.
8258 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8260 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8262 * manual/resource.texi: Document POSIX scheduling functions.
8263 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8265 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8266 reading anything. Reported by Andries.Brouwer@cwi.nl.
8268 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8269 for x since promotion in comparison might leads to unexpected
8270 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8272 * iconv/Makefile (tests): Add tst-iconv1.
8273 * iconv/tst-iconv1.c: New file.
8274 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8275 empty input buffer over full output buffer.
8276 (ucs4_internal_loop): Likewise.
8277 (ucs4_internal_loop_unaligned): Likewise.
8278 (internal_ucs4le_loop): Likewise.
8279 (internal_ucs4le_loop_unaligned): Likewise.
8280 (ucs4le_internal_loop): Likewise.
8281 (ucs4le_internal_loop_unaligned): Likewise.
8282 Reported by yaoz@nih.gov.
8284 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8286 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8287 returned != __GCONV_OK, there is nothing to clean up.
8289 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8291 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8292 OUTPUT_CHARSET environment variables.
8294 2000-05-06 Andreas Jaeger <aj@suse.de>
8296 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8297 (struct cache_file_new): New.
8298 (struct file_entry): New (moved from cache.c).
8299 (struct cache_file): New (moved from cache.c).
8301 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8302 from _dl_load_cache_lookup.
8303 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8304 the different cache formats.
8305 New variable cache_new for new format.
8307 * elf/ldconfig.h: Change according to changes in cache.c and
8308 ldconfig.c; remove cache_libcmp; add opt_format.
8310 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8311 stuff that's defined in those headers.
8312 Add hwcap to struct lib_entry.
8313 (opt_format): New variable to select cache format.
8314 (options): Add format parameter.
8315 (is_hwcap): New function.
8316 (path_hwcap): New function.
8317 (parse_opt): Handle new format parameter.
8318 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8320 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8321 ldconfig is part of glibc.
8322 Include dl-cache.h and remove stuff that's defined there.
8323 (struct cache_entry): Add new member hwcap.
8324 (print_entry): Print hwcap, cleanup a bit.
8325 (print_cache): Print new and old formats.
8326 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8327 (save_cache): Save new and old formats.
8328 (add_to_cache): Handle hwcap.
8330 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8331 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8332 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8333 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8334 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8335 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8337 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8339 * intl/dcigettext.c (alignof): New macro.
8340 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8341 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8344 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8346 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8349 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8351 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8352 (mempcpy): Correct typo is parameter list.
8354 2000-05-06 Andreas Jaeger <aj@suse.de>
8356 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8357 functions unless -ffast-math is given to gcc.
8359 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8361 * po/ko.po: Update from translation team.
8363 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8365 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8366 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8367 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8368 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8369 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8370 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8372 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8373 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8374 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8376 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8378 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8379 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8381 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8382 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8384 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8386 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8387 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8389 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8390 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8392 * sysdeps/ia64/Implies: New file.
8393 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8394 * sysdeps/ia64/Makefile: New file.
8395 * sysdeps/ia64/gmp-mparam.h: New file,
8397 * sysdeps/ia64/elf/start.S: New file.
8399 * sysdeps/ia64/bits/fenv.h: New file.
8401 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8403 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8405 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8407 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8408 ia64 has 64 bit .hash entries just as the Alpha.
8410 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8412 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8414 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8416 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8417 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8418 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8419 * sysdeps/ia64/fpu/fegetenv.c: New file.
8420 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8421 * sysdeps/ia64/fpu/fegetround.c: New file.
8422 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8423 * sysdeps/ia64/fpu/fesetenv.c: New file.
8424 * sysdeps/ia64/fpu/fesetround.c: New file.
8425 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8426 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8427 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8428 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8429 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8431 2000-05-05 Andreas Jaeger <aj@suse.de>
8433 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8435 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8436 (_dl_string_hwcap): New, does nothing.
8438 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8439 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8440 (_dl_string_hwcap): New function, converts from string to hwcap
8442 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8443 (_DL_HWCAP_COUNT): New.
8444 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8445 (_dl_string_hwcap): New function, converts from string to hwcap
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8448 (_DL_HWCAP_COUNT): New.
8449 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8450 (_dl_string_hwcap): New function, converts from string to hwcap
8453 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8455 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8456 * sysdeps/ia64/Dist: New file.
8458 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8459 parameter to mprotect and for variable assignments.
8461 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8463 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8464 validity of map before dereferencing it.
8466 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8468 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8470 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8471 lookup to the arguments to elf_machine_fixup_plt().
8473 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8474 of the symbol being resolved to input argument list and make the
8475 function return the pointer to the reloc.
8477 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8478 return valuie to lookup_t and return the value.
8479 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8480 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8481 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8482 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8486 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8487 Make it an inline function returning value after calling
8488 __elf_machine_fixup_plt().
8490 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8493 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8494 obtain the symbol address.
8496 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8497 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8499 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8500 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8503 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8505 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8506 symbol address of an object.
8508 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8509 the symbol address of an object.
8511 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8512 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8513 (_dl_lookup_symbol_skip): Likewise.
8514 (_dl_lookup_versioned_symbol): Likewise.
8515 (_dl_lookup_versioned_symbol_skip): Likewise.
8517 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8519 * elf/rtld.c (_dl_start): Get the function pointer return address
8520 via _dl_start_address for architectures that need a function
8521 pointer descriptor rather than just a pointer (ia64).
8523 * sysdeps/generic/dl-lookupcfg.h: New file.
8524 * sysdeps/ia64/dl-lookupcfg.h: New file.
8525 * sysdeps/ia64/dl-machine.h: New file.
8526 * sysdeps/ia64/dl-symaddr.c: New file.
8527 * sysdeps/ia64/dl-fptr.c: New file.
8529 * elf/elf.h: Add IA-64 specific definitions.
8531 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8533 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8536 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8538 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8541 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8543 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8544 symbol. Call _dl_init rather than the old way.
8546 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8548 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8549 test for pointer in range of DSO address space.
8551 2000-05-04 Andreas Jaeger <aj@suse.de>
8553 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8555 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8557 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8558 calls of _nl_make_l10nflist.
8560 * libio/stdio.h: Make fseeko and ftello prototypes available is
8561 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8563 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8564 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8566 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8568 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8569 before calling tfind.
8571 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8573 * resolv/resolv.h (res_querydomain): Remove redefinition to
8574 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8576 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8578 * po/gl.po: Update from translation team.
8580 * manual/intro.texi (Program Basics): Change section title.
8581 * manual/process.texi: Fix reference.
8582 (Executing a File): Add reference exec in other section.
8583 * manual/signal.texi: Fix reference.
8584 * manual/startup.texi: Document syscall function.
8585 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8587 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8589 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8590 * intl/bindtextdom.c (set_binding_values): New function.
8591 (bindtextdomain): Call it.
8592 (bind_textdomain_codeset): New function.
8593 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8594 (free_mem): Free each binding's codeset.
8595 * intl/gettextP.h (struct binding): Add codeset field.
8596 (_nl_find_domain): Add domainbinding argument.
8597 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8598 Pass it to _nl_make_l10nflist.
8599 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8600 (_nl_make_l10nflist): Add domainbinding argument.
8601 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8602 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8603 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8605 * manual/message.texi: New node "Charset conversion in gettext".
8607 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8609 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8610 appropriate. Handle possible __read error.
8612 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8614 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8616 * intl/loadinfo.h (__builtin_expect): Likewise.
8617 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8618 __builtin_expect where appropriate.
8619 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8620 * intl/localealias.c (extend_alias_table): Return an error indicator.
8621 (read_alias_file): Bail out if extend_alias_table fails.
8623 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8625 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8626 * intl/localealias.c: Likewise.
8628 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8630 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8631 Initialize domain->plural and domain->nplurals even if there is no
8634 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8636 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8637 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8638 In case of failure, goto converted.
8640 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8642 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8643 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8644 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8647 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8649 * intl/dcigettext.c (transcmp): Compare the domains as well.
8650 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8652 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8655 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8657 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8658 Reported by Bruno Haible.
8660 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8662 * manual/arith.texi: Remove @w from @itemize.
8664 2000-05-02 Andreas Jaeger <aj@suse.de>
8666 * conform/data/tar.h-data: Add some checks for specific values.
8668 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8671 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8674 * conform/data/netinet/in.h-data: Add exact checks for the values
8675 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8677 * conform/data/float.h-data: Add some minimal values.
8679 * conform/conformtest.pl: Test for macros with string constants,
8680 check for minimum and maximum values.
8681 Add limits.h to headers.
8683 * conform/data/cpio.h-data: Test for value of MAGIC.
8685 * conform/data/limits.h-data: New file.
8687 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8689 * math/Makefile (headers): Add bits/fenvinline.h.
8691 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8693 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8694 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8696 * posix/Versions: Change posix_spawnattr_getdefault and
8697 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8698 and posix_spawnattr_setsigdefault respectively.
8699 * posix/spawn.h: Likewise.
8700 * posix/spawnattr_getdefault.h: Likewise.
8701 * posix/spawnattr_setdefault.h: Likewise.
8702 * conform/data/spawn.h-data: Likewise.
8704 2000-05-01 Andreas Jaeger <aj@suse.de>
8706 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8708 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8710 * manual/sysinfo.texi: Document getdomainname, setdomainname
8712 * manual/string.texi: Fix typo.
8713 * manual/terminal.texi: Document gtty and stty.
8714 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8716 2000-04-30 Andreas Jaeger <aj@suse.de>
8718 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8719 accordance with Austin Draft.
8721 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8723 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8724 to recognize second character in comment line.
8726 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8727 ENOBUFS if we are out of memory.
8729 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8730 available if __USE_XOPEN2K.
8731 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8732 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8733 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8735 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8737 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8738 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8740 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8742 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8743 Recognize option -s, -c, and -l.
8745 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8747 * nscd/nscd.c: Start new session for nscd, drop privilegs
8748 to configured user if requested and no -S parameter are used.
8749 * nscd/nscd.conf: Add new option "server-user".
8750 * nscd/nscd_conf.c: Add support for new "server-user" option.
8751 * nscd/nscd.h: Add declaration for server_user variable.
8752 Based on patch by Chris Wing <wingc@engin.umich.edu>
8754 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8756 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8757 that changing the __restore and __restore_rt signal return code
8760 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8762 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8765 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8767 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8769 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8771 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8772 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8774 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8775 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8776 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8777 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8778 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8779 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8780 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8781 posix_fallocate, and posix_madvise.
8782 * conform/data/netdb.h-data: New file.
8783 * conform/data/pthread.h-data: Add pthread_barrier_t,
8784 pthread_barrierattr_t, pthread_barrier_destroy,
8785 pthread_barrier_init, pthread_barrier_wait,
8786 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8787 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8788 pthread_condattr_getclock, pthread_condattr_setclock,
8789 pthread_getcpuclockid, pthread_mutex_timedlock,
8790 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8791 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8792 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8793 * conform/data/sched.h-data: Add sched_ss_low_priority,
8794 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8796 * conform/data/semaphore.h-data: Add sem_timedwait.
8797 * conform/data/signal.h-data: Add SIGIO.
8798 * conform/data/spawn.h-data: New file.
8799 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8800 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8801 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8802 Fix typo in gmtime_r definition.
8803 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8804 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8805 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8806 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8807 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8808 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8809 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8810 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8811 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8812 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8813 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8814 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8815 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8816 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8817 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8818 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8819 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8820 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8821 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8822 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8823 typo in off_t definition.
8824 * conform/data/net/if.h-data: New file.
8825 * conform/data/netinet/in.h-data: New file.
8826 * conform/data/netinet/tcp.h-data: New file.
8827 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8828 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8829 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8830 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8831 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8832 and posix_typed_mem_open.
8833 * conform/data/sys/socket.h-data: New file.
8834 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8835 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8836 pthread_barrierattr_t, and pthread_spinlock_t.
8837 * conform/data/sys/un.h-data: New file.
8838 * conform/data/sys/utsname.h-data: New file.
8840 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8842 * inet/gethstbyad.c (gethostbyname): Likewise.
8843 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8844 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8845 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8846 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8848 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8849 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8850 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8851 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8852 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8853 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8854 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8855 and second parameter.
8857 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8860 2000-04-29 Andreas Jaeger <aj@suse.de>
8862 * conform/data/arpa/inet.h-data: New file.
8864 2000-04-28 Geoff Clare <gwc@unisoft.com>
8866 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8867 path passed to ftw() or nftw() is an empty string.
8868 Closes PR libc/1710.
8870 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8872 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8873 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8874 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8875 * localedata/tst-mbswcs4.c: New file.
8876 * localedata/tst-mbswcs5.c: New file.
8878 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8879 == NULL. Little optimization.
8881 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8882 DT_PREINIT_ARRAYSZ).
8883 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8885 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8886 overflows in conversion from ASCII.
8888 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8890 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8891 * Makerules (full_config_sysdirs): Likewise.
8892 * MakeTAGS (full_config_sysdirs): Likewise.
8894 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8896 * .cvsignore: Remove linuxthreads.
8897 * po/.cvsignore: Remove *.pot.
8898 * posix/glob/.cvsignore: Removed.
8899 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8901 2000-04-25 Andreas Jaeger <aj@suse.de>
8903 * conform/Makefile (distribute): Also distribute contents of
8906 * Makerules (no_deps): Remove abi-versions.h.
8908 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8910 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8912 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8913 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8914 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8915 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8916 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8917 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8920 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8922 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8924 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8926 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8927 * intl/l10nflist.c: Likewise.
8929 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8931 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8932 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8933 * intl/textdomain.c [!_LIBC]: Likewise.
8934 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8935 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8936 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8939 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8941 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8942 character set conversion also in the case the translation was found
8943 after a hash collision or through binary search. Store the maximum
8944 index together with the converted message. Use iconv() when available.
8945 In case of out of memory during conversion, return the unconverted
8946 translated string, not NULL.
8948 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8950 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8951 to avoid name clashes with the ia32 linker.
8953 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8955 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8958 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8960 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8961 strtoumax, strfry, and memfrob.
8962 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8963 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8965 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8966 if this function is available.
8968 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8971 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8973 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8975 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8977 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8978 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8979 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8980 * localedata/tst-mbswcs3.c: New file.
8982 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8984 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8985 characters. Don't handle incomplete characters as errors.
8986 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8987 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8988 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8989 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8990 * localedata/tst-mbswcs2.c: New file.
8992 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8993 stored character in state in UNPACK_BYTES macro.
8994 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8995 test for available characters, handle result of BODY code correctly.
8996 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8997 (distribute): Add tst-mbswcs.sh.
8998 Add rule to run tst-mbswcs.sh.
8999 * localedata/tst-mbswcs.sh: New file.
9000 * localedata/tst-mbswcs1.c: New file.
9002 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9004 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9005 allocation fixups centrally, fix __builtin_expect call, return NULL
9006 on failure, not NIS_NOMEMORY.
9008 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9010 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9012 * intl/loadinfo.h (internal_function): Define if not already defined.
9014 2000-04-27 Andreas Jaeger <aj@suse.de>
9016 * intl/libintl.h: Fix typo, reported by Bruno Haible
9017 <haible@clisp.cons.org>.
9019 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9021 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9022 setting the state to GMON_PROF_BUSY.
9024 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9026 * elf/dl-profile.c (_dl_start_profile): define all variables which
9027 do not have to be global as local variables.
9029 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9030 patch. Keep needed tests for failed memory allocation.
9032 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9033 __builtin_expect saying that we don't normally expect to profile.
9035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9036 __builtin_expect where desirable.
9038 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9040 * manual/Makefile (chapters): Add syslog.
9041 * manual/syslog.texi: New file.
9042 * manual/math.texi: Fix references.
9043 * manual/terminal.texi: Likewise.
9044 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9046 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9048 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9049 stdlib.h was not included or __USE_XOPEN not defined.
9051 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9053 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9054 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9056 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9058 * manual/examples/subopt.c (mount_opts): Add missing terminating
9060 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9062 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9063 * libio/ftello.c: Likewise.
9064 * libio/ftello64.c: Likewise.
9065 * libio/ioftell.c: Likewise.
9066 * sysdeps/generic/memrchr.c: Likewise.
9067 * sysdeps/posix/libc_fatal.c: Likewise.
9068 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9069 * misc/fstab.c: Include <string.h> for strcmp prototype.
9070 * sysdeps/generic/ldsodefs.h: Likewise.
9071 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9072 Patch by Kurt Roeckx <Q@ping.be>.
9074 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9075 Remove db-open. Change all uses.
9076 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9078 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9080 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9081 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9082 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9083 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9084 with .set noat/at to shut up warnings.
9085 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9086 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9087 compilation if __NR_pciconfig_iobase is not defined.
9088 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9091 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9093 * manual/sysinfo.texi: Fix typo.
9094 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9095 Replace "high precision time" with "high accuracy clock".
9097 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9099 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9100 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9102 * nis/nis_subr.c: Use __builtin_expect.
9103 * nis/ypclnt.c: Likewise.
9104 * nis/nis_getservlist.c: Likewise.
9105 * nis/nis_creategroup.c: Likewise.
9107 * nis/nis_callback.c (__nis_create_callback): Check result of
9108 memory allocation. Fix memory leaks. Use __builtin_expect.
9109 (__nis_destroy_callback): Fix memory leaks.
9111 2000-04-21 Andreas Jaeger <aj@suse.de>
9113 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9114 * sysdeps/mips/mips64/add_n.S: Likewise.
9115 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9116 * sysdeps/mips/mips64/lshift.S: Likewise.
9117 * sysdeps/mips/mips64/mul_1.S: Likewise.
9118 * sysdeps/mips/mips64/rshift.S: Likewise.
9119 * sysdeps/mips/mips64/setjmp.S: Likewise.
9120 * sysdeps/mips/mips64/sub_n.S: Likewise.
9121 * sysdeps/mips/mips64/submul_1.S: Likewise
9122 * sysdeps/unix/mips/sysdep.S: Likewise.
9124 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9125 and update comment. The strtab from _dl_relocate_object can be
9128 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9130 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9131 * iconv/iconv_close.c (iconv_close): Likewise.
9132 * iconv/iconv_open.c (iconv_open): Likewise.
9134 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9135 __builtin_expect where useful.
9137 * grp/initgroups.c (initgroups): Test for result of memory
9138 allocation and punt if it fails.
9140 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9141 * grp/fgetgrent.c (fgetfrent): Likewise.
9142 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9144 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9146 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9148 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9150 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9151 don't search for NUL byte to decrement counter.
9152 Reported by Ulrich.Brink@sap.com.
9154 * iconv/gconv_simple.c: Define separate functions to convert from
9155 UCS4/UCS4-LE to the internal encoding.
9156 * iconv/gconv_builtin.h: Use separate functions to convert from
9157 UCS4/UCS4-LE to the internal encoding.
9158 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9159 __gconv_transform_ucs4le_internal.
9161 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9162 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9164 * iconv/skeleton.c: Add some more __builtin_expect.
9165 * iconv/loop.c: Likewise.
9167 2000-03-08 H.J. Lu <hjl@gnu.org>
9169 * posix/regex.c (regex_compile): Correctly handle "\{" when
9170 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9172 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9174 * manual/stdio.texi: Give advise about handling error when using
9176 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9178 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9180 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9181 field to nelems * sizeof (uint32_t).
9182 * locale/programs/ld-address.c (address_output): Align word fields
9184 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9185 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9187 Avoid giving arbitrary garbage in the crncystr field.
9188 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9189 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9191 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9192 Don't restart idx pointers to idx end at the decimal_point_wc field.
9193 * locale/programs/ld-time.c (time_output): week_1stday should be
9194 word, not byte. Align it properly.
9196 2000-04-19 H.J. Lu <hjl@gnu.org>
9198 * csu/gmon-start.c (_start): Declared as "extern void".
9201 2000-04-18 Andreas Jaeger <aj@suse.de>
9203 * manual/install.texi (Running make install): Don't mention utmpd
9206 2000-04-18 Andreas Jaeger <aj@suse.de>
9208 * linuxthreads/Versions: Use ld instead of ld.so.
9210 * elf/Makefile (ld-map): Use ld.map.
9212 * Versions.def: Use ld instead of ld.so.
9213 * elf/Versions: Likewise.
9214 * sysdeps/mach/hurd/Versions: Likewise.
9216 2000-04-20 Andreas Jaeger <aj@suse.de>
9218 * elf/rtld.c (print_statistics): Move ifndef further up.
9219 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9220 (dl_main): Likewise.
9222 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9224 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9225 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9227 * po/cs.po: Update from translation team.
9229 * sysdeps/generic/updwtmp.c: Remove daemon support.
9231 * login/Makefile (routines): Remove utmp_daemon.
9233 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9234 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9235 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9236 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9238 * elf/rtld.c: Display statitics option also if hp timing is not
9241 * login/programs/connection.c: Removed.
9242 * login/programs/database.c Removed.
9243 * login/programs/error.c: Removed.
9244 * login/programs/request.c: Removed.
9245 * login/programs/xtmp.c: Removed.
9246 * login/programs/xtmp.h: Removed.
9247 * login/Makefile: Remove rules for utmpd.
9248 * login/README.utmpd: Removed.
9249 * login/utmp_daemon.c: Removed.
9250 * login/getutent_r.c: Remove references to daemon functions.
9251 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9254 2000-04-18 Andreas Jaeger <aj@suse.de>
9256 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9257 2.2 for libnsl, libresolv, librt, libnss_*.
9259 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9261 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9263 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9265 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9266 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9267 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9268 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9269 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9270 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9271 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9272 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9273 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9274 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9275 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9276 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9277 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9279 * sysdeps/unix/sysv/aix/msync.c: New file.
9280 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9281 * sysdeps/unix/sysv/aix/net/if.h: New file.
9282 * sysdeps/unix/sysv/aix/pipe.c: New file.
9283 * sysdeps/unix/sysv/aix/poll.c: New file.
9284 * sysdeps/unix/sysv/aix/rename.c: New file.
9285 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9286 * sysdeps/unix/sysv/aix/select.c: New file.
9287 * sysdeps/unix/sysv/aix/semctl.c: New file.
9288 * sysdeps/unix/sysv/aix/semget.c: New file.
9289 * sysdeps/unix/sysv/aix/semop.c: New file.
9290 * sysdeps/unix/sysv/aix/sendto.c: New file.
9291 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9292 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9293 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9294 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9295 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9296 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9297 * sysdeps/unix/sysv/aix/setsid.c: New file.
9298 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9299 * sysdeps/unix/sysv/aix/shmat.c: New file.
9300 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9301 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9302 * sysdeps/unix/sysv/aix/shmget.c: New file.
9303 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9304 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9305 * sysdeps/unix/sysv/aix/socket.c: New file.
9306 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9307 * sysdeps/unix/sysv/aix/speed.c: New file.
9308 * sysdeps/unix/sysv/aix/symlink.c: New file.
9309 * sysdeps/unix/sysv/aix/sync.c: New file.
9310 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9311 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9312 * sysdeps/unix/sysv/aix/times.c: New file.
9313 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9314 * sysdeps/unix/sysv/aix/umask.c: New file.
9315 * sysdeps/unix/sysv/aix/unlink.c: New file.
9316 * sysdeps/unix/sysv/aix/ustat.c: New file.
9317 * sysdeps/unix/sysv/aix/utimes.c: New file.
9319 2000-04-18 Andreas Jaeger <aj@suse.de>
9321 * manual/startup.texi (Environment Access): Fix putenv prototype
9322 according to recent changes.
9323 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9326 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9329 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9331 * posix/Makefile (tests): Add tst-getaddrinfo.
9332 * posix/tst-getaddrinfo.c: New file.
9334 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9336 * manual/sysinfo.texi: Document that umount2 is not widely available.
9338 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9339 signal timing is not really implemented.
9341 2000-04-17 Andreas Jaeger <aj@suse.de>
9343 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9345 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9347 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9350 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9352 * manual/intro.texi: Change reference from System Information to
9354 * manual/users.texi: Likewise.
9355 * manual/conf.texi: Likewise.
9356 * manual/sysinfo.texi: Document mount, umount, and umount2.
9357 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9359 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9361 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9362 Create wnumstr as well as numstr to support wide character output
9365 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9367 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9368 modification and move it...
9369 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9370 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9371 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9372 switch to $(LD) on sparc-linux.
9374 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9376 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9377 and setresuid from sysdep_routines.
9379 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9381 * manual/Makefile (chapters): Add resource.
9383 * manual/time.texi: Move section on resources to...
9384 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9386 * manual/setjmp.texi: Adjust back reference.
9387 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9389 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9391 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9392 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9393 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9394 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9395 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9396 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9397 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9398 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9399 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9400 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9401 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9402 * sysdeps/unix/sysv/aix/Implies: New file.
9403 * sysdeps/unix/sysv/aix/Versions: New file.
9404 * sysdeps/unix/sysv/aix/bind.c: New file.
9405 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9406 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9407 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9408 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9409 * sysdeps/unix/sysv/aix/chdir.c: New file.
9410 * sysdeps/unix/sysv/aix/chmod.c: New file.
9411 * sysdeps/unix/sysv/aix/chroot.c: New file.
9412 * sysdeps/unix/sysv/aix/creat.c: New file.
9413 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9414 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9415 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9416 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9417 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9418 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9419 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9420 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9421 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9422 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9423 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9424 * sysdeps/unix/sysv/aix/link.c: New file.
9425 * sysdeps/unix/sysv/aix/madvise.c: New file.
9426 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9427 * sysdeps/unix/sysv/aix/mknod.c: New file.
9428 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9429 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9430 * sysdeps/unix/sysv/aix/msgget.c: New file.
9431 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9433 2000-04-17 Andreas Jaeger <aj@suse.de>
9435 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9436 as suggested by Ulrich Drepper.
9437 (__dl_runtime_resolve): Remove unused variable, initialize sym
9439 (RTLD_START): Document OFFSET_GP_GOT.
9440 (OFFSET_GP_GOT): New magic value.
9441 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9442 (elf_machine_got_rel): Only declare strtab if needed.
9443 (elf_machine_relplt): Removed, it's not needed.
9444 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9446 * sysdeps/mips/add_n.S: Add newline at EOF.
9447 * sysdeps/mips/rshift.S: Likewise.
9448 * sysdeps/mips/mul_1.S: Likewise.
9449 * sysdeps/mips/lshift.S: Likewise.
9450 * sysdeps/mips/addmul_1.S: Likewise.
9452 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9454 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9456 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9457 * elf/dl-lookup.c: Likewise.
9458 * elf/dl-init.c (_dl_init): Likewise.
9459 * elf/dl-fini.c (_dl_fini): Likewise.
9460 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9461 * elf/dl-close.c (_dl_close): Likewise.
9462 * elf/rtld.c (_dl_start_final): Likewise.
9464 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9466 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9468 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9469 only fall back on using Linux.
9471 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9472 Before testing versions check that we actually loaded the object
9473 and whether we are in trace mode. If not loaded during tracing don't
9474 test versions in this object.
9475 (_dl_check_all_versions): Take new parameter and pass to
9476 _dl_check_map_versions.
9477 * sysdeps/generic/ldsodefs.h: Update prototypes for
9478 _dl_check_all_versions and _dl_check_map_versions.
9479 * elf/rtld.c (struct version_check_args): Add dotrace.
9480 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9481 (dl_main): Pass info about trace mode to version_check_doit.
9482 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9483 _dl_check_all_versions.
9485 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9487 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9489 * manual/argp.texi: Document index parameter of argp_parse.
9491 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9493 2000-04-14 Andreas Jaeger <aj@suse.de>
9495 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9496 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9498 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9500 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9502 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9503 compat_symbol call for old adjtime.
9505 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9506 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9508 * posix/Makefile (headers): Add spawn.h.
9509 (distribute): Add spawn_int.h.
9510 (routines): Add spawn_faction_init, spawn_faction_destroy,
9511 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9512 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9513 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9514 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9515 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9516 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9517 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9518 posix_spawnattr_init, posix_spawnattr_destroy,
9519 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9520 posix_spawnattr_getflags, posix_spawnattr_setflags,
9521 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9523 * posix/spawn.c: New file.
9524 * posix/spawn.h: New file.
9525 * posix/spawn_faction_addclose.c: New file.
9526 * posix/spawn_faction_adddup2.c: New file.
9527 * posix/spawn_faction_addopen.c: New file.
9528 * posix/spawn_faction_destroy.c: New file.
9529 * posix/spawn_faction_init.c: New file.
9530 * posix/spawn_int.h: New file.
9531 * posix/spawnattr_destroy.c: New file.
9532 * posix/spawnattr_getdefault.c: New file.
9533 * posix/spawnattr_getflags.c: New file.
9534 * posix/spawnattr_getpgroup.c: New file.
9535 * posix/spawnattr_getschedparam.c: New file.
9536 * posix/spawnattr_getschedpolicy.c: New file.
9537 * posix/spawnattr_getsigmask.c: New file.
9538 * posix/spawnattr_init.c: New file.
9539 * posix/spawnattr_setdefault.c: New file.
9540 * posix/spawnattr_setflags.c: New file.
9541 * posix/spawnattr_setpgroup.c: New file.
9542 * posix/spawnattr_setschedparam.c: New file.
9543 * posix/spawnattr_setschedpolicy.c: New file.
9544 * posix/spawnattr_setsigmask.c: New file.
9545 * posix/spawni.c: New file.
9546 * posix/spawnp.c: New file.
9548 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9549 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9551 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9553 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9554 * malloc/malloc.c: Implement posix_memalign for glibc.
9555 * include/stdlib.h: Add prototype for __posix_memalign.
9556 * stdlib/stdlib.h: Add prototype for posix_memalign.
9558 2000-04-14 Andreas Jaeger <aj@suse.de>
9560 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9562 (elf_machine_got_rel): Cast sym correctly.
9564 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9565 * sysdeps/mips/addmul_1.S: Likewise.
9566 * sysdeps/mips/lshift.S: Likewise.
9567 * sysdeps/mips/mul_1.S: Likewise.
9568 * sysdeps/mips/rshift.S: Likewise.
9569 * sysdeps/mips/sub_n.S: Likewise.
9570 * sysdeps/mips/submul_1.S: Likewise.
9572 * stdlib/stdlib.h: Fix typo in comment.
9574 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9575 2.2 for libdl, ld and libm.
9577 * sysdeps/generic/madvise.c: Fix typos.
9579 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9581 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9583 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9586 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9588 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9589 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9590 Make old name weak alias.
9591 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9592 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9593 Make old name weak alias.
9594 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9596 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9597 posix_fallocate, and posix_fallocate64.
9598 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9599 posix_fallocate, and posix_fallocate64.
9600 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9601 posix_fallocate, and posix_fallocate64.
9602 * sysdeps/generic/fadvise.c: New file.
9603 * sysdeps/generic/fadvise64.c: New file.
9604 * sysdeps/generic/fallocate.c: New file.
9605 * sysdeps/generic/fallocate64.c: New file.
9606 * sysdeps/posix/fallocate.c: New file.
9607 * sysdeps/posix/fallocate64.c: New file.
9608 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9609 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9610 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9611 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9612 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9613 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9615 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9618 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9619 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9621 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9623 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9624 * misc/sys/mman.h (posix_madvise): Add prototype.
9625 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9626 old name and posix_madvise weak aliases.
9627 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9628 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9629 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9630 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9631 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9635 2000-04-13 Andreas Jaeger <aj@suse.de>
9637 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9639 (elf_machine_got_rel): Only add runtime display if needed.
9640 (elf_machine_got_rel): Handle symbol versioning.
9642 2000-04-13 Andreas Jaeger <aj@suse.de>
9644 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9646 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9649 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9650 with some applications.
9651 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9653 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9654 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9655 * sysdeps/mips/setjmp.S: Likewise.
9657 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9659 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9661 * posix/globtest.sh: Work around inconsistency with expanding ~/
9662 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9664 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9666 * posix/getconf.c: Add support for many more POSIX options.
9667 * sysdeps/posix/sysconf.c: Likewise.
9668 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9669 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9671 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9672 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9673 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9674 CLOCK_THREAD_CPUTIME_ID.
9675 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9676 CLOCK_PROCESS_CPUTIME_ID.
9677 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9678 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9679 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9680 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9682 * malloc/Makefile (tests): Add tst-calloc.
9683 * malloc/tst-calloc.c: New file.
9685 * sysdeps/arm/libm-test-ulps: New file.
9687 * malloc/malloc.c: Undo all of today's changes.
9689 * locale/programs/locale.c (show_info): Don't try to look into
9690 data for LC_ALL (there is none).
9692 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9693 avoid writing over boundary.
9694 Patch by Greg McGary <gkm@eng.ascend.com>.
9696 * sysdeps/arm/memprof.h: New file.
9698 2000-04-12 Andreas Jaeger <aj@suse.de>
9700 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9702 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9703 for memmem declaration.
9705 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9707 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9709 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9711 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9713 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9714 Patch by Bart Veer <bartv@redhat.com>.
9716 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9719 2000-04-11 Andreas Jaeger <aj@suse.de>
9721 * sysdeps/mips/dl-machine.h: Update some comments.
9722 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9724 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9726 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9727 _POSIX_SHARED_MEMORY_OBJECTS.
9729 * rt/Makefile (tests): Add tst-shm.
9730 Add rules to generate tst-shm.
9731 * rt/tst-shm.c: New file.
9733 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9736 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9737 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9738 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9739 * sysdeps/generic/shm_open.c: New file.
9740 * sysdeps/generic/shm_unlink.c: New file.
9741 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9742 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9743 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9744 __endmntent, __getmntent_r, __setmntent, and __statfs.
9746 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9747 fragmentation by allocating new memory at the end instead of
9750 * posix/globtest.sh: Fix last change.
9752 2000-04-10 Philip Blundell <philb@gnu.org>
9754 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9755 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9756 IPV6_DROP_MEMBERSHIP.
9757 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9760 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9762 * elf/readlib (process_file): Close streams in case of an error.
9764 2000-04-09 Andreas Jaeger <aj@suse.de>
9766 * elf/readlib.c (process_file): Check if file is big enough to
9767 contain aout and ELF headers.
9768 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9770 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9772 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9774 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9776 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9778 * rt/Makefile (tests): Add tst-clock.
9779 Add rules to build tst-clock.
9780 * rt/tst-clock.c: New file.
9781 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9782 about initialization of nsec.
9783 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9784 about initialization of freq. Set retval to zero if successful.
9785 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9787 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9789 * Versions.def (librt): Add GLIBC_2.2.
9790 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9791 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9792 timer_getoverr, timer_gettime, and timer_settime.
9793 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9794 clock_settime, timer_create, timer_delete, timer_getoverrun,
9795 timer_gettime, and timer_settime.
9796 * sysdeps/generic/clock_getcpuclockid.c: New file.
9797 * sysdeps/generic/get_clockfreq.c: New file.
9798 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9799 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9800 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9801 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9802 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9803 * sysdeps/unix/i386/i686/Implies: New file.
9804 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9805 * time/Makefile (routines): Move clock_getres, clock_gettime,
9806 clock_settime, timer_create, timer_delete, timer_getoverr,
9807 timer_gettime, and timer_settime to rt/Makefile.
9808 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9809 clock_settime, timer_create, timer_delete, timer_getoverrun,
9810 timer_gettime, and timer_settime.
9811 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9813 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9814 and not const as attribute name.
9816 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9818 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9820 2000-04-10 Andreas Schwab <schwab@suse.de>
9822 * posix/globtest.sh: Skip tests that depend on unreadable
9823 directories if run as root.
9825 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9827 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9828 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9830 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9832 * sysdeps/unix/clock_gettime.c: New file.
9833 * sysdeps/unix/clock_settime.c: New file.
9834 * sysdeps/posix/clock_getres.c: New file.
9836 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9838 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9839 lseek call be passing in a buffer which never allow a successful
9840 first getdents syscall if not at leas the initial entry can be
9841 stored in the user buffer.
9843 * localedata/Makefile: Add rules to clean up directories created by
9846 2000-04-09 Geoff Clare <gwc@unisoft.com>
9848 * localedata/tst-fmon.data: Added new tests for strfmon()
9849 using test locales with all combinations of cs_precedes,
9850 sign_posn and sep_by_space.
9851 * localedata/tst-fmon.sh: Updated to support the new tests.
9852 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9853 the localedef source for the new strfmon() test locale.
9854 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9855 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9856 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9857 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9858 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9859 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9860 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9861 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9862 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9863 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9864 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9865 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9866 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9867 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9869 * stdlib/strfmon.c: Correct problems with missing or extra
9870 spaces for unusual combinations of sign_posn and sep_by_space.
9871 Improved left-precision alignment code.
9873 2000-04-07 Andreas Jaeger <aj@suse.de>
9875 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9877 2000-04-10 Andreas Jaeger <aj@suse.de>
9879 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9881 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9883 Implement handling of restartable conversion functions according to
9885 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9886 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9887 * iconv/gconv.c: Pass additional parameter to conversion function.
9888 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9889 (internal_ucs4le_loop_single): New function.
9890 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9891 (__gconv_transform_internal_ascii): Likewise.
9892 (__gconv_transform_internal_utf8): Likewise.
9893 (__gconv_transform_utf8_internal): Likewise.
9894 (__gconv_transform_ucs2_internal): Likewise.
9895 (__gconv_transform_internal_ucs2): Likewise.
9896 (__gconv_transform_ucs2reverse_internal): Likewise.
9897 (__gconv_transform_internal_ucs2reverse): Likewise.
9898 (internal_ucs4le_loop_unaligned): Before return
9899 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9900 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9901 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9902 * iconv/loop.c: Fit in definition of function to convert one character
9903 for processing of left-over bytes from the state object.
9904 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9905 inend to match names in loop functions.
9906 (RESET_INPUT_BUFFER): Change apprpriately.
9907 (gconv): If needed, call function to process bytes from the state
9908 object. Similar at the end: store left over bytes if input is
9910 Take extra argument and add new argument to all calls of the
9911 conversion function.
9912 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9913 information in the state object to not conflict with length count.
9914 * iconvdata/iso-2022-jp.c: Likewise.
9915 * iconvdata/iso-2022-kr.c: Likewise.
9916 * iconvdata/unicode.c: Adjust for change change in parameters of
9918 * iconvdata/utf-16.c: Likewise.
9919 * libio/iofwide.c: Add new parameter to all calls of conversion
9921 * wcsmbs/btowc.c: Likewise.
9922 * wcsmbs/mbrtowc.c: Likewise.
9923 * wcsmbs/mbsnrtowcs.c: Likewise.
9924 * wcsmbs/mbsrtowcs.c: Likewise.
9925 * wcsmbs/wcrtomb.c: Likewise.
9926 * wcsmbs/wcsnrtombs.c: Likewise.
9927 * wcsmbs/wcsrtombs.c: Likewise.
9928 * wcsmbs/wctob.c: Likewise.
9930 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9933 2000-04-07 Andreas Jaeger <aj@suse.de>
9935 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9938 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9940 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9941 element a union to allow byte access.
9942 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9944 * iconvdata/iso-2022-jp.c: Likewise.
9945 * iconvdata/iso-2022-kr.c: Likewise.
9946 * wcsmbs/mbsinit.c: Likewise.
9947 * stdlib/mblen.c: Likewise.
9948 * stdio-common/printf-parse.h: Likewise.
9950 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9952 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9953 kernel does not allow relative seeks on descriptors associated
9954 with directories. Go back to get the position in the directory
9955 every time we enter the function. Return -1 and set errno if one
9956 entry could be read from the kernel but does not fit into the
9957 buffer passed in by the user.
9959 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9960 Support ..(2).. ellipsis.
9961 (parse_charmap): Recognize ..(2).. etc and pass step down.
9962 Correctly generate names for UCS4 characters.
9964 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9965 (ctype_finish): We know the wide character value for <SP>,
9967 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9968 (charclass_ucs4_ellipsis): Likewise.
9969 (read_translit_ignore_entry): Store ellipsis step.
9970 (ctype_read): Recognize ..(2).. etc and pass step down.
9972 * locale/programs/linereader.c (lr_token): When seeing comment
9973 character ignore only rest of line in sources but stop at escaped
9975 Recognize ..(2).. and ....(2).....
9977 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9978 and tok_ellipsis4_2.
9980 2000-04-06 Andreas Jaeger <aj@suse.de>
9982 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9983 removed, remove it here also.
9984 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9985 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9986 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9987 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9989 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9991 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9992 include bits/sigcontext.h.
9993 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9995 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9997 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9998 collation symbol definition. Value in quivalence definition must
9999 be defined, don't check that it is not.
10001 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10002 values as character names.
10004 * locale/programs/ld-ctype.c (get_character): Handle missing
10005 repertoire map correctly.
10007 2000-04-05 Cristian Gafton <gafton@redhat.com>
10009 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10010 because it is used in generic code.
10011 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10012 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10013 * intl/gettext.c: Include <locale.h>.
10014 * intl/ngettext.c: Likewise.
10016 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10018 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10019 socklen_t type for size.
10020 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10021 init function interface.
10022 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10025 (__jmp_buf): Declare the whole type structure here, don't use
10028 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10030 * iconv/skeleton.c (put16u): Fix typo.
10031 Reported by Bruno Haible <haible@ilog.fr>.
10033 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10034 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10035 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10036 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10037 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10038 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10040 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10041 * Makefile (distribute): Add abi-versions.awk and
10043 Patches by Torsten Duwe <duwe@caldera.de>.
10045 2000-04-05 Andreas Schwab <schwab@suse.de>
10047 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10049 2000-04-05 Andreas Schwab <schwab@suse.de>
10051 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10052 entry point, used on Hurd.
10054 2000-04-04 Andreas Jaeger <aj@suse.de>
10056 * intl/Makefile: Only run the gettext test with shared libraries.
10058 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10060 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10061 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10063 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10065 * Makeconfig: Undo last change.
10066 * configure.in: If --disable-shared was given, don't set VERSIONING,
10067 don't define DO_VERSIONING, and don't give scare warning for no
10069 * configure: Regenerated.
10071 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10073 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10075 2000-04-04 Andreas Jaeger <aj@suse.de>
10077 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10079 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10081 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10082 STV_HIDDEN and STV_INTERNAL during lookup.
10083 (profile_fixup): Likewise.
10084 * elf/dl-reloc.c (RESOLVE): Likewise.
10086 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10087 unaligned so that it compiles for system which need unaligned
10090 2000-04-04 Andreas Schwab <schwab@suse.de>
10092 * elf/cache.c (print_entry): Only look at the type field when
10095 2000-04-04 Andreas Schwab <schwab@suse.de>
10097 * iconvdata/big5.c (BODY): Fix typo.
10099 2000-04-04 Andreas Schwab <schwab@suse.de>
10101 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10102 function interface. Remove unused _dl_start_user entry point.
10104 2000-04-03 Andreas Jaeger <aj@suse.de>
10106 * include/arpa/inet.h (__inet_aton): Add protoype.
10108 2000-04-01 Andreas Jaeger <aj@suse.de>
10110 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10112 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10113 * sysdeps/mach/mips/thread_state.h: Likewise.
10115 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10116 * sysdeps/generic/fegetenv.c: Likewise.
10117 * sysdeps/generic/fesetenv.c: Likewise.
10118 * sysdeps/generic/feupdateenv.c: Likewise.
10119 * sysdeps/generic/fraiseexcpt.c: Likewise.
10120 * sysdeps/generic/fsetexcptflg.c: Likewise.
10121 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10122 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10123 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10124 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10126 2000-04-02 H.J. Lu <hjl@gnu.org>
10128 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10130 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10132 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10133 (add_name_to_object): Add cast in malloc call.
10134 (fillin_rpath): Optimize loop to initialize ->status a bit.
10136 * sysdeps/i386/dl-machine.h: Undo last change.
10137 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10138 Restore %edx register after call here.
10140 * sysdeps/arm/atomicity.h: New file.
10141 Contributed by Jesper Skov <jskov@redhat.com>.
10143 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10145 * Makeconfig (preprocess-versions): Undo last change.
10146 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10148 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10149 here, before we might move the stack.
10150 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10151 (init1): And not here.
10153 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10154 change, to restore argc value in call-clobbered register after
10155 RTLD_START_SPECIAL_INIT, which will contain a call.
10157 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10158 allocating and initializing L->l_initfini.
10160 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10162 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10164 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10165 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10166 (open_path): Change type of fourth parameter. Make pointer to array
10167 of pointers. Create variable dirs with original type.
10168 Track whether any directory for the object exists and if not,
10169 change *DIRSP to (void*) -1 to signal there is no such search path.
10170 (_dl_map_object): Change all calls of open_path.
10171 Rewrite decompose_rpath calls.
10173 2000-03-31 Andreas Schwab <schwab@suse.de>
10175 * string/strfry.c: Declare STATE as array of char instead of int
10176 and do not initialize it (done by initstate_r). Pass correct
10179 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10181 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10183 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10184 instruction out of the code.
10186 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10188 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10189 element at this position.
10191 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10192 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10193 l_reldeps elements.
10194 * elf/dl-lookup.c (add_dependency): New function.
10195 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10196 dynamically loaded object.
10197 (_dl_lookup_symbol_skip): Likewise.
10198 (_dl_lookup_versioned_symbol): Likewise.
10199 (_dl_lookup_versioned_symbol_skip): Likewise.
10200 * elf/dl-open.c: Don't define _dl_load_lock here...
10201 * elf/rtld.c: ...but here...
10202 * elf/dl-support.c: ...and here.
10203 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10204 through relocation.
10205 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10207 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10209 * dlfcn/glrefmain.c: Add one more debug message.
10211 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10213 * Makerules (sysd-versions): Use ( ) instead of { }.
10215 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10216 optimize for the non-debugging case.
10217 * elf/dl-lookup.c: Likewise.
10218 * sysdeps/generic/libc-start.c: Likewise.
10220 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10222 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10223 (init1): Don't initialize __environ here, since init already does it.
10224 (first_init): New function, broken out of _init.
10225 (_hurd_stack_setup): Use it.
10226 [SHARED] (_dl_init_first): New function, renamed from old _init.
10227 (init1) [SHARED]: Don't call posixland_init here.
10228 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10229 [SHARED] (_init): Define as alias for posixland_init.
10230 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10231 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10232 RTLD_START_SPECIAL_INIT before calling initializers.
10233 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10234 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10235 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10236 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10238 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10239 since we define the function with the name `tmpfile'.
10241 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10242 * hurd/Versions: Likewise.
10244 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10246 * elf/dl-runtime.c (fixup): Fix typo in comment.
10248 * resolv/netdb.h (getnameinfo): All length parameters are of type
10250 * inet/getnameinfo.c: Likewise.
10252 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10254 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10255 (gethostname): Change type of second parameter to socklen_t.
10256 * include/unistd.h (__gethostname): Change type of second
10257 parameter to socklen_t.
10258 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10259 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10260 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10261 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10263 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10264 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10265 Allow definition elsewhere.
10266 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10267 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10268 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10269 * sysdeps/generic/bits/types.h: Define __socklen_t.
10270 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10271 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10272 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10273 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10274 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10275 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10276 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10278 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10279 (inet_lnaof): Likewise.
10280 (inet_netof): Likewise.
10281 (inet_network): Likewise.
10282 (inet_aton): Likewise.
10283 (inet_makeaddr): Change parameter types to in_addr_t.
10284 (inet_neta): Likewise.
10285 (inet_ntop): Change type of last parameter to socklen_t.
10286 (inet_aton): Only make available if __USE_MISC.
10287 (inet_neta): Likewise.
10288 (inet_net_ntop): Likewise.
10289 (inet_net_pton): Likewise.
10290 (inet_nsap_ntoa): Likewise.
10292 * inet/in.h: Define in_port_t type.
10293 Define in_addr_t type.
10294 (struct in_addr): Use in_addr_t in definition.
10295 (IN_CLASSA): Use cast to in_addr_t.
10296 (IN_CLASSB): Likewise.
10297 (IN_CLASSC): Likewise.
10298 (IN_CLASSD): Likewise.
10299 (IN_EXPERIMENTAL): Likewise.
10300 (IN_BADCLASS): Likewise.
10301 (INADDR_ANY): Likewise.
10302 (INADDR_BROADCAST): Likewise.
10303 (INADDR_NONE): Likewise.
10304 (INADDR_LOOPBACK): Likewise.
10305 (INADDR_UNSPEC_GROUP): Likewise.
10306 (INADDR_ALLHOSTS_GROUP): Likewise.
10307 (INADDR_ALLRTRS_GROUP): Likewise.
10308 (INADDR_MAX_LOCAL_GROUP): Likewise.
10309 (struct sockaddr_in): Use in_port_t for sin_port element.
10310 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10311 Use uint8_t instead of u_int8_t.
10313 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10314 Call __inet_aton instead of inet_aton.
10315 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10317 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10318 (innetgr): Likewise.
10319 (struct addrinfo): Use socklen_t for ai_addrlen element.
10321 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10322 IPV6_RECVERR): New defines.
10324 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10325 * inet/getnetbyad.c: Likewise.
10326 * inet/getnetbyad_r.c: Likewise.
10327 * nis/nss_nis/nis-network.c: Likewise.
10328 * nis/nssplus_nis/nisplus-network.c: Likewise.
10329 * nss/nss_files/files-network.c: Likewise.
10330 * resolv/netdb.h: Define uint32_t if not already happened.
10331 Include bits/netdb.h. Remove definition of struct netent.
10332 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10333 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10334 * sysdeps/generic/bits/netdb.h: New file.
10335 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10337 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10338 (tests): Add glrefmain.
10339 Add rules to build modules and run tests. Ignore result of glrefmain
10340 for now since it fails.
10341 * dlfcn/glrefmain.c: New file.
10342 * dlfcn/glreflib1.c: New file.
10343 * dlfcn/glreflib2.c: New file.
10345 * test-skeleton.c: Include <string.h> for strsignal prototype.
10347 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10350 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10351 former init-first.h. Initialize __libc_multiple_libcs.
10353 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10355 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10356 #if expression for use of unaligned function to the one used in
10357 the definition of these functions.
10358 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10359 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10360 (internal_ucs4le_loop_unaligned): New function.
10362 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10363 (tests): Add order.
10364 (module-names): Add dep1, dep2, dep3, and dep4.
10365 Add dependencies for dep* modules and order.
10366 Define rule for order.out which checks the result.
10367 * elf/dep1.c: New file.
10368 * elf/dep2.c: New file.
10369 * elf/dep3.c: New file.
10370 * elf/dep4.c: New file.
10371 * elf/order.c: New file.
10373 * elf/dl-init.c: Fix typo in comment.
10375 2000-03-31 Andreas Jaeger <aj@suse.de>
10377 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10378 init function interface.
10379 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10381 2000-03-31 Andreas Jaeger <aj@suse.de>
10383 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10384 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10385 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10386 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10387 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10389 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10390 anymore, update comment.
10392 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10394 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10395 SHLIB_COMPAT - the struct is always needed.
10397 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10399 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10400 * elf/dl-support.c: Define _dl_starting_up.
10402 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10404 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10405 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10407 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10409 * elf/Makefile (dl-routines): Remove preinit.
10410 * elf/Versions: Remove _dl_preinit.
10411 * elf/dl-preinit.c: Removed. Move content into...
10412 * elf/dl-init.c: ...here.
10413 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10415 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10418 2000-03-29 Geoff Clare <gwc@unisoft.com>
10420 * stdlib/strfmon.c: Corrected problems with the code that
10421 sets default values for [np]_sep_by_space and
10422 [np]_sign_posn; also the new positive/negative alignment
10423 code from the previous patch was not quite right for
10424 [np]_sign_posn = 0.
10426 * localedata/tst-fmon.data: Changes corresponding to the
10427 two sets of fixes made to stdlib/strfmon.c.
10429 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10431 * malloc/malloc.c: Declare bit flags UL so that they will not
10432 default to int size when being inverted.
10434 2000-03-29 Andreas Jaeger <aj@suse.de>
10436 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10437 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10439 2000-03-29 Andreas Jaeger <aj@suse.de>,
10440 Ralf Baechle <ralf@uni-koblenz.de>
10442 * Makeconfig: Introduce new variable SHARED to mark code used in
10443 the shared library.
10444 * elf/dl-close.c: Use it instead of PIC.
10445 * elf/dl-load.c: Likewise.
10446 * elf/dl-open.c: Likewise.
10447 * hurd/geteuids.c: Likewise.
10448 * include/libc-symbols.h: Likewise.
10449 * include/shlib-compat.h: Likewise.
10450 * libio/freopen.c: Likewise.
10451 * linuxthreads/cancel.c: Likewise.
10452 * linuxthreads/pthread.c: Likewise.
10453 * linuxthreads/wrapsyscall.c: Likewise.
10454 * nss/nsswitch.c: Likewise.
10455 * stdio-common/vfprintf.c: Likewise.
10456 * sysdeps/arm/init-first.c: Likewise.
10457 * sysdeps/i386/init-first.c: Likewise
10458 * sysdeps/generic/init-first.c: Likewise.
10459 * sysdeps/generic/libc-start.c: Likewise.
10460 * sysdeps/mips/init-first.c: Likewise.
10461 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10462 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10463 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10464 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10467 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10469 2000-03-29 Andreas Jaeger <aj@suse.de>
10471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10472 Use D_PTR to access relocated entries in l_info.
10473 (elf_machine_rela): Likewise.
10475 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10477 (elf_machine_rela): Likewise.
10479 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10481 (__elf_machine_fixup_plt): Likewise.
10482 (__process_machine_rela): Likewise.
10484 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10485 (elf_machine_rela): Likewise.
10487 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10488 (elf_machine_rel): Likewise.
10490 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10491 (elf_machine_fixup_plt): Likewise.
10492 (elf_machine_rela): Likewise.
10494 2000-03-29 Andreas Jaeger <aj@suse.de>
10496 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10497 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10498 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10499 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10500 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10501 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10502 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10503 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10504 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10505 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10506 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10507 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10508 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10509 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10510 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10512 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10513 macros, remove K&R prototypes.
10515 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10517 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10518 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10521 2000-03-30 Andreas Jaeger <aj@suse.de>
10523 * misc/sys/cdefs.h: Remove K&R support.
10525 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10527 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10529 * iconv/loop.c: Likewise.
10531 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10533 * iconv/loop.c (put16): Remove __const. Fix access index.
10534 (put32): Remove __const. Use uint32_t instead of uint16_t.
10535 * iconv/skeleton.c: Likewise.
10537 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10539 * mach/Versions (libc: GLIBC_2.0)
10540 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10541 __vm_allocate on this.
10542 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10543 mutex- and spinlock-related symbols on this.
10544 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10545 New version set. Lock-related symbols go here instead in this case.
10546 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10547 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10548 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10550 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10551 Put them here instead.
10552 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10553 New version set. Those cthreads symbols go here instead in this case.
10554 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10556 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10558 * elf/dl-init.c (_dl_init): We don't need to call constructors
10559 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10561 Implement dynamic determination of constructor/destructor order in
10562 the dynamic linker.
10563 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10564 (GLIBC_2.2): Add _dl_init.
10565 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10566 r_duplist is not anymore allocated separately. l_initfini is and
10567 therefore free it if necessary.
10568 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10569 malloc block. Otherwise allocate l_initfini list only.
10570 Put dependencies for the object in l_initfini list.
10571 Sort dependencies for the object to be loaded topologically.
10572 * elf/dl-fini.c: Before running the destructors sort the topologically.
10573 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10574 call constructors instead of iterating over the pointers. Get list of
10575 objects for which to run constructors from l_initfini element. Accept
10576 argc, argv, and env as parameters and pass them to the constructors.
10577 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10578 with size of dynamic section.
10579 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10580 _dl_init_next and calling constructors ourself.
10581 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10582 Take argc, argv, and env as parameters and pass them to the
10583 constructors. Rewrite to call all constructors and not iterate over
10585 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10586 precompute l_initcount and l_preinitcount.
10587 * elf/link.h (struct link_map): Add l_ldnum member.
10588 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10589 l_initcount, and l_preinitcount. Add l_initfini.
10590 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10592 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10593 function interface.
10594 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10595 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10596 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10597 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10598 conventions now match.
10600 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10601 effect for shared objects. Don't emit message and call only for
10604 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10606 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10607 CSA_Z243.4-1985-1..UCS2.
10608 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10611 2000-03-29 Andreas Jaeger <aj@suse.de>
10613 * include/unistd.h: Remove duplicate entry for __rmdir.
10614 Remove declaration of __mkdir since __mkdir is declared in
10617 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10618 by Michael Deutschmann <michael@talamasca.ocis.net>.
10620 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10621 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10622 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10623 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10624 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10626 2000-03-28 Andreas Jaeger <aj@suse.de>
10628 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10629 declaration, the prototype is defined via bits/mathcalls.h.
10630 (__sincosf): Likewise.
10631 (__sincosl): Likewise.
10633 (ldexpf): Likewise.
10634 (ldexpl): Likewise.
10635 (__finite): Likewise.
10636 (__inline_mathcodeNP): New macro without prototype
10638 (__inline_mathcodeNP2): Likewise.
10639 (__inline_mathcodeNP3): Likewise.
10640 (__inline_mathcodeNP_): Likewise.
10641 (__inline_mathcodeNP2_): Likewise.
10642 (__inline_mathcodeNP3_): Likewise.
10643 (__inline_mathopNP): Likewise.
10644 (__inline_mathop_declNP): Likewise.
10645 (__inline_mathop_declNP_): Likewise.
10646 (__inline_mathcode_): Use __inline_mathcodeNP_.
10647 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10648 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10649 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10650 (__expm1l): Don't define prototype, the prototype is defined via
10653 (__expl): Likewise.
10656 (__atan2l): Likewise.
10661 (__fabsl): Likewise.
10679 (__sqrtl): Likewise.
10689 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10691 * Makerules: If make variable md5 is defined to yes after
10692 generating dependencies generate MD5 sum for the object.
10694 * iconv/gconv_builtin.h: Fix length in transformation definition
10697 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10699 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10700 allow as well reading from/writing to unaligned addresses on machines
10701 which don't support this in hardware. Use FCTNAME macro to define
10702 function name. Include the file a second time for platforms which
10703 need special unaligned handling.
10704 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10705 to access potentially unaligned addresses. These macros are intended
10706 to be used only outside the loops.
10707 (unaligned): New definition. In case the machine can handle unaligned
10708 access define as zero. Otherwise as a variable which is initialized
10709 as nonzero in case the buffer passed in at runtime is unaligned with
10710 respect to the character set encoding involved.
10711 Call aligned or unaligned looop functions according to unaligned
10713 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10714 of direct casting pointer to potentially handle unaligned memory
10716 * iconvdata/8bit-generic.c: Likewise.
10717 * iconvdata/ansi_x3.110.c: Likewise.
10718 * iconvdata/big5.c: Likewise.
10719 * iconvdata/euc-cn.c: Likewise.
10720 * iconvdata/euc-jp.c: Likewise.
10721 * iconvdata/euc-kr.c: Likewise.
10722 * iconvdata/euc-tw.c: Likewise.
10723 * iconvdata/gbk.c: Likewise.
10724 * iconvdata/iso-2022-cn.c: Likewise.
10725 * iconvdata/iso-2022-jp.c: Likewise.
10726 * iconvdata/iso-2022-kr.c: Likewise.
10727 * iconvdata/iso646.c: Likewise.
10728 * iconvdata/iso_6937-2.c: Likewise.
10729 * iconvdata/iso_6937.c: Likewise.
10730 * iconvdata/johab.c: Likewise.
10731 * iconvdata/sjis.c: Likewise.
10732 * iconvdata/t.61.c: Likewise.
10733 * iconvdata/uhc.c: Likewise.
10734 * iconvdata/unicode.c: Likewise.
10735 * iconvdata/utf-16.c: Likewise.
10737 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10740 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10741 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10743 * malloc/mcheck.h (mcheck_check_all): Declare.
10745 * stdio-common/Makefile (tests): Add tst-obprintf.
10747 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10749 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10750 Declare pthread_sigmask.
10752 * csu/version.c: Add 2000 to copyright years.
10753 Remove Emacs local variables section.
10755 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10757 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10758 __gconv_transform_internal_ucs2little): Remove declarations.
10759 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10760 __gconv_transform_internal_ucs2): Never need to bswap_16.
10761 (__gconv_transform_ucs2reverse_internal,
10762 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10764 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10766 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10767 obsoleting version not being defined at all, in which case the
10768 result is always true.
10770 * Makeconfig (preprocess-versions): New canned sequence for running
10771 cpp on shlib-versions and the like.
10772 (soversions.i): Use it.
10773 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10774 Versions.def and Versions files.
10776 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10778 * stdio-common/tst-obprintf.c (main): Add another check to see
10779 obstack_printf handling all possible beginnings of the block
10780 inside an obstack chunk.
10782 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10783 install mcheck handler.
10785 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10788 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10790 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10792 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10793 on [HAVE_ELF && DO_VERSIONING].
10795 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10797 * stdio-common/tst-obprintf.c: New file.
10799 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10801 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10802 _IO_OVERFLOW directly instead through __overflow.
10804 * locale/programs/localedef.c (construct_output_path): If path
10805 contains a / compute the end of the directory name correctly.
10807 * include/features.h: Undef and document __USE_XOPEN2K.
10809 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10810 whenever a function is called. Initiated by calling mcheck_pedantic
10812 * malloc/mcheck.h: Declare mcheck_pedantic.
10813 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10814 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10817 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10819 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10820 * dlfcn/dlopenold.c: Likewise.
10821 * nss/getXXbyYY_r.c: Likewise.
10822 * nss/getXXent_r.c: Likewise.
10823 * hurd/hurdinit.c: Likewise.
10824 * hurd/compat-20.c: Likewise.
10825 * libio/oldiofopen.c: Likewise.
10826 * libio/oldiofclose.c: Likewise.
10827 * libio/oldiofdopen.c: Likewise.
10828 * libio/oldfileops.c: Likewise.
10829 * libio/oldstdfiles.c: Likewise.
10830 * libio/oldiofsetpos.c: Likewise.
10831 * libio/oldiofgetpos.c: Likewise.
10832 * libio/oldiofgetpos64.c: Likewise.
10833 * libio/oldiofsetpos64.c: Likewise.
10834 * libio/oldiopopen.c: Likewise.
10835 * libio/oldpclose.c: Likewise.
10836 * libio/oldtmpfile.c: Likewise.
10837 * libio/freopen.c (freopen): Likewise.
10838 * libio/iofclose.c (_IO_new_fclose): Likewise.
10840 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10841 (reboot): Declare it.
10843 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10845 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10847 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10849 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10850 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10851 We need this for the sbrk decl, which can be included without Unix98.
10853 2000-03-20 Richard Henderson <rth@cygnus.com>
10855 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10856 argument to yperr2nss is an int, not size_t.
10857 * posix/regex.c (print_partial_compiled_pattern): Cast all
10858 ptrdiff_t to long for printing.
10859 (print_compiled_pattern): Use Z for printing size_t.
10860 * posix/testfnm.c (tests): Avoid trigraphs.
10861 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10862 Use a C comment, not an assembly comment.
10864 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10865 of __ASSUME_32BITUIDS.
10867 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10869 * libio/iofopncook.c: Remove K&R prototypes.
10871 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10873 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10874 an initial value of 1024 instead of RLIM_INFINITY.
10876 * Versions.def (libmachuser, libhurduser): Remove these sections,
10877 since these libraries do not presently use symbol versions.
10879 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10880 is RLIM_INFINITY, return -1 instead.
10882 2000-03-24 Andreas Jaeger <aj@suse.de>
10884 * Makefile (postclean): Added soversions.i.
10886 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10888 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10889 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10890 and _FPU_IEEE. Change _FPU_RESERVED.
10892 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10894 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10896 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10898 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10899 (gaih_inet): Remove unused duplicate variable.
10901 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10902 Don't use __libc_sa_len, which only exists for Linux. Just handle
10903 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10904 only flavors supported by this function anyway.
10906 2000-03-24 Geoff Clare <gwc@unisoft.com>
10908 * stdlib/strfmon.c: Corrected problems with missing signs and
10909 missing or extra spaces; allow for sign strings longer than
10910 one character; add padding to ensure positive and negative
10911 formats are aligned when a left precision is used.
10913 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10915 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10916 Patch by John Mizel <John.Mizel@msdw.com>.
10918 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10920 * manual/install.texi: Remove references to crypt add-on.
10922 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10924 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10925 section while taking the _hurd_rlimit_lock.
10926 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10928 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10930 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10933 * sysdeps/mach/hurd/if_index.c: New file.
10935 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10936 * sysdeps/gnu/net/if.h: here.
10937 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10938 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10939 * sysdeps/generic/net/if.h: New file. Declares just the standard
10940 functions and `struct if_nameindex' type.
10941 * socket/Makefile (headers): Add net/if.h here.
10942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10943 * sysdeps/mach/hurd/Dist: Remove it here.
10944 * sysdeps/unix/sysv/linux/Dist: And here.
10945 * sysdeps/generic/if_index.c: Include <net/if.h>.
10947 2000-03-24 Andreas Jaeger <aj@suse.de>
10949 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10950 access relocated entries in l_info.
10951 (elf_machine_got_rel): Likewise.
10952 (elf_machine_runtime_setup): Likewise.
10953 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10954 (elf_machine_runtime_setup): Likewise.
10955 (__dl_runtime_resolve): Likewise.
10957 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10959 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10960 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10961 according to RFC 2553.
10962 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10963 * inet/getnameinfo.c: Likewise.
10964 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10966 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10968 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10969 Remove no-op pointer increment.
10971 2000-03-23 Andreas Jaeger <aj@suse.de>
10973 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10974 follow change for libio.h from 2000-03-10.
10976 2000-03-23 Andreas Jaeger <aj@suse.de>
10978 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10980 * elf/dl-debug.c: Likewise.
10981 * elf/dl-deps.c: Likewise.
10982 * elf/dl-error.c: Likewise.
10983 * elf/dl-fini.c: Likewise.
10984 * elf/dl-init.c: Likewise.
10985 * elf/dl-load.c: Likewise.
10986 * elf/dl-lookup.c: Likewise.
10987 * elf/dl-minimal.c: Likewise.
10988 * elf/dl-object.c: Likewise.
10989 * elf/dl-open.c: Likewise.
10990 * elf/dl-preinit.c: Likewise.
10991 * elf/dl-profile.c: Likewise.
10992 * elf/dl-profstub.c: Likewise.
10993 * elf/dl-reloc.c: Likewise.
10994 * elf/dl-runtime.c: Likewise.
10995 * elf/dl-support.c: Likewise.
10996 * elf/dl-symbol.c: Likewise.
10997 * elf/dl-version.c: Likewise.
10998 * elf/rtld.c: Likewise.
10999 * elf/sprof.c: Likewise.
11000 * sysdeps/generic/dl-cache.c: Likewise.
11001 * sysdeps/generic/dl-origin.c: Likewise.
11002 * sysdeps/generic/dl-sysdep.c: Likewise.
11003 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11004 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11005 * sysdeps/generic/libc-start.c: Likewise.
11006 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11007 * sysdeps/powerpc/dl-machine.c: Likewise.
11008 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11009 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11010 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11011 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11013 * elf/ldsodefs.h: Move file to ...
11014 * sysdeps/generic/ldsodefs.h: ... here.
11016 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11018 * sysdeps/mips/elf/ldsodefs.h: New file.
11020 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11022 (_dl_check_map_versions): Likewise.
11023 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11024 * elf/dl-load.c (_dl_init_paths): Likewise.
11025 (_dl_map_object): Likewise.
11026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11027 (elf_get_dynamic_info): Likewise.
11028 * elf/do-lookup.h (FCT): Likewise.
11029 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11030 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11031 * elf/dl-addr.c (_dl_addr): Likewise.
11032 * elf/dl-runtime.c (profile_fixup): Likewise.
11034 * elf/dl-init.c (_dl_init_next): Likewise.
11035 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11036 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11037 (DISTINGUISH_LIB_VERSIONS): Likewise.
11038 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11039 (elf_machine_rel): Likewise.
11041 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11042 for writable dynamic section.
11044 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11046 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11047 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11049 2000-03-22 Andreas Jaeger <aj@suse.de>
11051 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11052 from latest Linux kernel.
11054 2000-03-21 Andreas Jaeger <aj@suse.de>
11056 * Versions.def: Add version 2.1.4.
11058 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11060 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11061 * libio/oldiofopen.c: Likewise.
11062 * libio/oldiofclose.c: Likewise.
11063 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11065 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11067 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11068 indicating the first version set to obsolete the conditionalized code.
11069 (compat_symbol): New macro.
11070 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11071 rhs be the ABI_* macro for the subsuming version. Assign increasing
11072 integer values to the ABI_* macros for supported versions.
11073 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11074 compat_symbol macro.
11076 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11078 * nscd/connections.c (nscd_run): Pretty print.
11079 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11081 * manual/charset.texi: Fix typos. Rephrase.
11082 * manual/process.texi: Likewise.
11083 * manual/signal.texi: Likewise.
11084 Patches by Mike Coleman <mkc@kc.net>.
11086 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11088 * libio/iofdopen.c: Likewise.
11089 * libio/iofgetpos.c: Likewise.
11090 * libio/iofgetpos64.c: Likewise.
11091 * libio/iofopen.c: Likewise.
11092 * libio/iofsetpos.c: Likewise.
11093 * libio/iofsetpos64.c: Likewise.
11094 * libio/iopopen.c: Likewise.
11095 * libio/oldiofopen.c: Likewise.
11096 * libio/pclose.c: Likewise.
11097 * sysdeps/gnu/siglist.c: Likewise.
11098 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11100 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11101 chance to expand VERSION_##lib##_##version.
11103 * libio/fileops.c: Use new macros from shlib-compat.h to define
11105 * libio/iofclose.c: Likewise.
11106 * libio/oldiofclose.c: Likewise.
11107 Patch by Roland McGrath <roland@frob.com>.
11109 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11111 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11112 Lay out struct sigcontext according to what really gets passed on
11114 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11115 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11116 (prgregset_t, prfpregset_t): Define to elf_* types.
11117 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11118 Define to correct value.
11119 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11121 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11123 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11125 * scripts/firstversions.awk: Allow multiple version sets in the
11126 "earliest version" specification, meaning that version sets in the
11127 gaps between listed versions should be folded into the earliest later
11128 version that is explicitly listed.
11129 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11130 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11132 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11134 * iconv/gconv_builtin.c: Include <endian.h>.
11135 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11136 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11137 according to current platform.
11138 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11139 __gconv_transform_internal_ucs2reverse, and
11140 __gconv_transform_internal_ucs4le.
11141 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11142 __gconv_transform_ucs2reverse_internal and
11143 __gconv_transform_internal_ucs2reverse.
11144 * iconvdata/Makefile (modules): Add UNICODE.
11145 (distribute): Add unicode.c.
11146 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11147 * iconvdata/unicode.c: New file.
11149 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11150 determine byte order of input and convert accordingly.
11152 * iconvdata/utf-16.c (gconv_init): Fix typo.
11154 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11156 * iconvdata/gconv-modules: Fix typo.
11158 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11161 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11163 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11165 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11167 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11169 * misc/Makefile (routines): Add mincore.
11171 2000-03-20 Andreas Jaeger <aj@suse.de>
11173 * sysdeps/generic/mincore.c: New stub file.
11175 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11176 from latest Linux kernel.
11178 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11180 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11181 _SC_GETPW_R_SIZE_MAX.
11183 2000-03-20 Richard Henderson <rth@cygnus.com>
11185 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11188 2000-03-20 Richard Henderson <rth@cygnus.com>
11190 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11191 of arithmetic instructions.
11193 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11194 with the fpcr. Protect from INV exception.
11195 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11196 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11197 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11199 * sysdeps/alpha/fpu/s_copysign.c: New.
11200 * sysdeps/alpha/fpu/s_copysignf.c: New.
11201 * sysdeps/alpha/fpu/s_fabs.c: New.
11202 * sysdeps/alpha/fpu/s_fabsf.c: New.
11203 * sysdeps/alpha/fpu/s_rint.c: New.
11204 * sysdeps/alpha/fpu/s_rintf.c: New.
11206 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11208 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11210 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11211 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11212 Use physical addresses not KSEG addresses.
11213 (io_system): Add PYXIS.
11214 (io): Remove hae.reg, sys, hae_shift.
11215 (stb_mb, stw_mb, stl_mb, __sethae): New.
11216 (inline_outb, inline_outw, inline_outl): Don't set hae.
11217 (inline_inb, inline_inw, inline_inl): Likewise.
11218 (dense_sethae): New null function.
11219 (struct cpuinfo_data): New.
11220 (process_cpuinfo): Use local and stack variables, not static.
11221 Move readlink check here from init_iosys.
11222 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11224 (_hae_shift): Calculate it here.
11225 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11226 add pciconfig_iobase.
11228 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11230 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11231 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11233 * scripts/versions.awk: Fixed version renaming code to distinguish
11234 libraries properly.
11236 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11238 * include/stdlib.h: Add prototype for __cxa_atexit.
11240 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11241 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11243 2000-03-17 Cristian Gafton <gafton@redhat.com>
11245 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11246 existing rtld-installed-name.
11247 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11248 replace existing rtld-installed-name using $(symbolic-link-prog).
11250 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11252 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11253 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11254 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11255 but not the former.
11257 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11259 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11260 glob64. Since there is no glob64 in the LFS proposal applications
11261 can assume that glob handles LFS situations. glob64 is only needed
11262 if alternative filesystem functions are used.
11264 2000-03-19 Geoff Clare <gwc@unisoft.com>
11266 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11267 when GLOB_DOOFFS is set; correct handling of patterns
11268 containing escaped wildcards (and no unescaped ones);
11269 GLOB_ERR flag was being ignored in some situations.
11271 * posix/globtest.c, posix/globtest.sh: Updated to include
11272 tests for the problems fixed by the above changes to glob.c.
11274 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11276 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11278 * Makeconfig (soversion.i): Use only first match for each lib.
11280 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11282 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11283 rather than $(sysd-dirs-done) to protect these rules.
11285 * Makerules (version-renames.def): Target removed.
11286 (Versions.all): Depend on soversions.i directly and parse it.
11288 * Makeconfig (soversions.i): New target, input-reading parts of
11289 soversions.mk generation moved here; result is a canonicalized
11290 list "LIB VERSION [SET]" for this configuration.
11291 (soversions.mk): Use that as input. Don't emit map-firstversions.
11292 * Makerules (version-renames.def): New target, generated from
11293 soversions.i with contents that was in $(map-firstversions).
11294 (Versions.all): Don't depend on soversions.mk, depend on
11295 version-renames.def instead; just cat it into the input.
11297 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11298 for $(map-firstversions), which better handles it being empty.
11300 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11301 supported version for libc 0.2.90.libio to GLIBC_2.2.
11303 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11304 and use it to emit new variable `map-firstversions'.
11305 * scripts/firstversions.awk: New file.
11306 * Makerules (Versions.all): Use scripts/firstversions.awk and
11307 the $(map-firstversions) value to generate a modified versions list
11308 that includes renames in "A = B" syntax for each version set earlier
11309 than the "earliest symbol version" named in shlib-versions.
11310 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11311 rename version set A to B in the output to the intermediate file.
11312 * scripts/abi-versions.awk: New file.
11313 * Makerules (abi-versions.h): New target, generated by that script.
11314 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11315 * include/shlib-compat.h: New file, uses that generated header.
11317 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11319 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11320 after stripping # comments, and then run it through cpp.
11321 This allows things like "%ifdef FOO" based on config.h settings.
11322 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11324 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11325 and other errors that indicate a pseudo-receive happened, grok through
11326 the message buffer for port rights that need references fixed up.
11328 2000-03-16 Andreas Jaeger <aj@suse.de>
11330 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11332 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11335 from latest Linux kernel.
11336 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11338 * misc/sys/mman.h: Add prototype for mincore.
11340 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11343 entry for GLIBC_2.0 version of setrlimit.
11344 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11346 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11348 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11349 * nis/nss_compat/compat-initgroups.c: Likewise.
11350 * nis/nss_nis/nis-initgroups.c: Likewise.
11351 * nis/nss_nis/nis-netgrp.c: Likewise.
11352 * nis/nss_nis/nis-proto.c: Likewise.
11353 * nis/nss_nis/nis-rpc.c: Likewise.
11354 * nis/nss_nis/nis-service.c: Likewise.
11355 * nis/ypclnt.c: Likewise.
11357 2000-03-16 Andreas Jaeger <aj@suse.de>
11359 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11360 doesn't exist, correct checks. Fixes PR libc/1649.
11362 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11364 * nscd/hstcache.c: Restore correct UID.
11365 * nscd/pwdcache.c: Likewise.
11366 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11368 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11370 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11371 macros for register names, in line with 2000-03-14 linux change.
11373 * sysdeps/mach/sched_yield.c: New file.
11375 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11377 * sysdeps/generic/lockfile.c: Include <stdio.h>
11378 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11379 case <libio.h> defined them.
11380 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11382 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11383 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11385 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11386 for more pleasing parse error.
11388 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11390 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11392 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11394 * elf/Makefile: Add rules to compile and run constload1 test.
11395 * elf/constload1.c: New file.
11396 * elf/constload2.c: New file.
11397 * elf/constload3.c: New file.
11399 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11401 * sysdeps/posix/open64.c: Make __open64 weak alias.
11402 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11403 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11404 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11405 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11406 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11407 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11408 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11409 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11410 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11411 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11413 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11415 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11416 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11418 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11420 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11421 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11423 2000-03-08 Andreas Jaeger <aj@suse.de>
11425 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11427 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11429 * timezone/africa: Update from tzdata2000d.
11430 * timezone/asia: Likewise.
11431 * timezone/australasia: Likewise.
11432 * timezone/europe: Likewise.
11433 * timezone/northamerica: Likewise.
11434 * timezone/southamerica: Likewise.
11436 * po/fr.po: Update from translation team.
11437 * po/de.po: Likewise.
11439 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11440 last parameter. Move code to add map to global scope from here...
11441 * elf/dl-open.c (dl_open_worker): ...here.
11442 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11443 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11445 * locale/programs/ld-collate.c (collate_read): Fix warning.
11447 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11448 values and macros for register names.
11450 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11451 returned by seek cookie function is -1.
11453 2000-03-14 Andreas Jaeger <aj@suse.de>
11455 * locale/localeconv.c (localeconv): Fix typo.
11456 Reported by Andre Charbonneau <andrec@corel.com>.
11458 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11460 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11461 since modules depend on it counting the number of times the conversion
11462 function got called.
11464 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11466 * iconv/gconv.h: Pretty print.
11468 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11470 * posix/wordexp-test.c: Correct one of the tests added in the last
11471 change. Really get the root passwd entry to check again ~root.
11473 2000-03-10 Andreas Jaeger <aj@suse.de>
11475 * manual/filesys.texi (Working Directory): Fix last patch.
11476 Patch by Martin Buchholz <martin@xemacs.org>.
11478 2000-03-10 Andreas Jaeger <aj@suse.de>
11480 * manual/creature.texi (Feature Test Macros): Fix language.
11482 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11484 * mach/devstream.c (devstream_write, devstream_read): New functions.
11485 (input, output): Functions removed.
11486 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11487 using only the vanilla fopencookie interface.
11489 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11490 as macro for __io_functions.
11491 (funcsio): Use cookie_io_functions_t type name.
11492 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11494 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11496 (fopencookie): Use it.
11497 * libio/libio.h: Declare _IO_cookie_init.
11498 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11501 * libio/libio.h (__io_seek_fn): Fix second argument type
11502 to be a pointer, in line with the manual and the old stdio.
11503 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11505 * sysdeps/generic/bits/stdio-lock.h: New file.
11506 This is a stub with #error, but that's better than no file at all.
11508 2000-03-09 Martin Buchholz <martin@xemacs.org>
11510 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11511 * manual/message.texi (Using gettextized software): Doc Fixes.
11512 * manual/message.texi (Message Translation): Doc Fixes.
11513 * manual/filesys.texi (File Size): Doc Fixes.
11514 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11515 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11516 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11517 * manual/install.texi: Doc Fixes.
11518 * manual/search.texi (Hash Search Function): Doc Fixes.
11519 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11520 * FAQ.in: Doc Fixes.
11521 * config.h.in: Doc Fixes.
11522 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11523 Doc Fixes. `allows to' is not correct English.
11525 * elf/rtld.c: Doc fixes.
11526 * manual/creature.texi (Feature Test Macros): Doc fixes.
11527 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11529 * manual/filesys.texi (Working Directory): Check for ERANGE to
11532 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11534 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11535 conditions so as not to clobber the final '\0' when there is only one
11536 element in the vector.
11538 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11540 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11541 broken by 2000-02-27 change.
11543 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11545 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11547 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11548 argument type, for 2000-02-22 change in signal/signal.h declaration.
11550 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11552 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11553 to getdirentries64 (no __), since the Linux implementation
11554 has no __ name, and there is no declaration for the __ name.
11556 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11558 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11559 sed regexp so as not to break directory names including /../ within.
11561 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11562 The sysdeps/generic file is right for BSD. This file was in fact the
11563 Hurd file, but the only difference was the WNOREAP flag that was never
11564 actually implemented or used anywhere.
11566 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11567 since AC_PATH_PROG already does it for us.
11568 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11569 correctness and sh portability. I replaced the broken check
11570 with a more sensible implementation of the apparently intended
11571 semantics, which might still be questionable. Using expr causes
11572 a non-numeric value for `perl -V:apiversion` to be accepted,
11573 refusing to use only a perl that reports a number less than 5;
11574 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11575 * configure: Regenerated.
11577 2000-03-08 Andreas Jaeger <aj@suse.de>
11579 * manual/crypt.texi: Fix paths.
11581 2000-03-07 Andreas Jaeger <aj@suse.de>
11583 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11585 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11588 2000-03-06 Andreas Jaeger <aj@suse.de>
11590 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11591 in __sgn1l, otherwise g++ fails to parse this.
11592 Reported by Sean Chen <sean.chen@turbolinux.com>.
11594 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11596 * configure.in: Compute sizeof-long-double.
11597 * configure: Regenerated.
11598 * config.make.in: Make sizeof-long-double available to sub-makes.
11600 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11602 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11605 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11607 * Makeconfig (rpath-dirs): Add crypt.
11608 (all-subdirs): Remove md5crypt.
11609 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11610 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11611 * sysdeps/generic/crypt-entry.c: Delete.
11612 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11613 * sysdeps/generic/crypt.h: Delete.
11614 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11615 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11616 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11617 * sysdeps/generic/des_impl.c: Delete.
11618 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11619 * crypt/sysdeps: Delete.
11620 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11621 * md5-crypt/Versions: Move to crypt/.
11622 * md5-crypt/md5-crypt.c: Move to crypt/.
11623 * md5-crypt/md5.c: Move to crypt/.
11624 * md5-crypt/md5c-test.c: Move to crypt/.
11625 * md5-crypt/md5test.c: Move to crypt/.
11626 * md5-crypt: Delete.
11627 * crypt/Makefile: Adjust for new structure.
11629 2000-03-03 Paul Eggert <eggert@twinsun.com>
11631 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11632 define to 1 if not defined.
11634 2000-03-03 Andreas Jaeger <aj@suse.de>
11636 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11638 2000-03-03 Andreas Jaeger <aj@suse.de>
11640 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11642 (xdr_int64_t): Correctly handle lower half.
11643 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11645 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11647 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11650 2000-03-02 Andreas Jaeger <aj@suse.de>
11652 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11655 2000-03-02 Andreas Jaeger <aj@suse.de>
11657 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11659 2000-03-01 Andreas Jaeger <aj@suse.de>
11661 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11662 (tests): Added tst-getdate.
11664 * time/tst-getdate.c: New file.
11666 * time/datemsk: New file, needed for tst-getdate.
11668 2000-02-29 Cristian Gafton <gafton@redhat.com>
11670 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11672 2000-02-17 H.J. Lu <hjl@gnu.org>
11674 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11676 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11678 (svcudp_recv): Set up message with the new "xp_pad" field for
11680 (svcudp_reply): Support IP_PKTINFO if available.
11682 2000-03-01 Andreas Jaeger <aj@suse.de>
11684 * time/getdate.c (check_mday): Fix check for february.
11685 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11686 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11688 2000-03-02 Andreas Jaeger <aj@suse.de>
11690 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11691 g++ fails to parse this.
11692 Reported by Sean Chen <sean.chen@turbolinux.com>.
11694 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11696 * io/creat.c: Moved to...
11697 * sysdeps/generic/creat.c: ...here.
11698 * io/creat64.c: Moved to...
11699 * sysdeps/generic/creat64.c: ...here.
11700 * io/lockf.c: Moved to...
11701 * sysdeps/generic/lockf.c: ...here.
11703 * crypt/crypt.texi: Moved to...
11704 * manual/crypt.texi: ...here.
11705 * crypt/examples/genpass.c: Moved to...
11706 * manual/examples/genpass.c: ...here.
11707 * crypt/examples/mygenpass.c: Moved to...
11708 * manual/examples/mygenpass.c: ...here.
11709 * crypt/examples/testpass.c: Moved to...
11710 * manual/examples/testpass.c: ...here.
11712 * manual/Makefile (chapters): Add crypt.
11713 * manual/conf.texi: Add usual header for not-last chapter.
11714 * manual/crypt.texi: Add special header for last chapter.
11716 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11718 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11719 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11720 complain if there is no crypt add-on.
11721 * crypt/configure: Removed.
11723 * crypt/crypt.texi: Update documentation of US export restrictions
11724 to match the 14 Jan 2000 regulations.
11726 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11728 * crypt: New subdirectory, merged in from the crypt add-on.
11730 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11732 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11735 See ChangeLog.10 for earlier changes.