1 2000-10-04 Ulrich Drepper <drepper@redhat.com>
3 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
4 (BODY from direction): Map \x5c to U20a9.
5 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
6 * iconvdata/EUC-KR.irreversible: New file.
7 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
9 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
10 (argp_version_argp): Likewise.
12 2000-10-04 Jakub Jelinek <jakub@redhat.com>
14 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
15 input_error() if EOF is seen before processing.
16 * stdio-common/tstscanf.c (main): Add testcase.
18 2000-10-04 Ulrich Drepper <drepper@redhat.com>
20 * argp/argp-help.c: Make sure we get the correct gettext and
22 * argp/argp-parse.c: Likewise.
24 2000-10-03 Ulrich Drepper <drepper@redhat.com>
26 * locale/programs/linereader.c (get_string): Also clear wide
27 string info if illegal_string.
29 2000-10-03 Andreas Schwab <schwab@suse.de>
31 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
33 2000-10-02 Jakub Jelinek <jakub@redhat.com>
35 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
38 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
40 2000-10-02 Ralf Baechle <ralf@gnu.org>
42 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
43 end of inline assembler code.
45 2000-10-02 Ulrich Drepper <drepper@redhat.com>
47 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
48 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
50 2000-10-02 Andreas Jaeger <aj@suse.de>
52 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
55 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
57 2000-10-01 Ralf Baechle <ralf@gnu.org>
59 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
60 argument passed to _dl_init.
62 2000-09-30 Bruno Haible <haible@clisp.cons.org>
64 * locale/programs/charmap-dir.h: New file.
65 * locale/programs/charmap-dir.c: New file.
66 * locale/programs/linereader.h (lr_create): New declaration.
67 * locale/programs/linereader.c (lr_create): New function, split out
69 (lr_open): Tailcall lr_create.
70 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
72 (xstrdup): New declaration.
73 (more_help): Use xstrdup instead of strdup.
74 (write_locales): Likewise. When encountering a symbolic link, call
76 (write_charmaps): Simplify using the charmap-dir.h functions.
77 Use xstrdup instead of strdup.
78 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
79 <dirent.h> and <unistd.h>.
80 (cmlr_open): New function.
81 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
82 charmap-dir.h functions.
83 * locale/Makefile (distribute): Add charmap-dir.h.
84 (lib-modules): Add charmap-dir.
85 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
86 wants a 'char **', not a 'const char **'.
87 * include/spawn.h: New file.
89 2000-09-30 Bruno Haible <haible@clisp.cons.org>
91 * posix/spawn_faction_init.c: Include "spawn_int.h".
92 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
94 2000-09-30 Bruno Haible <haible@clisp.cons.org>
96 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
98 2000-09-30 Bruno Haible <haible@clisp.cons.org>
100 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
101 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
102 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
103 a pointer to the table entry, without extending the table.
104 (allocate_arrays): Set a width only for characters with 'print'
105 property. Set the width of L'\0' to 0.
106 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
107 for unprintable characters. Set entry of NUL to 0.
109 2000-09-30 Bruno Haible <haible@clisp.cons.org>
111 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
112 Don't forget to call closedir when the filename was found as a
115 2000-09-30 Bruno Haible <haible@clisp.cons.org>
117 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
120 2000-09-30 Bruno Haible <haible@clisp.cons.org>
122 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
123 level2, and level3 as well.
124 (wctype_table_add): Remove a few unnecessary conditionals.
126 2000-09-30 Ralf Baechle <ralf@gnu.org>
128 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
130 2000-09-30 H.J. Lu <hjl@gnu.org>
132 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
133 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
135 2000-09-29 H.J. Lu <hjl@gnu.org>
137 * math/libm-test.inc (init_max_error): Clear all exceptions
138 before starting test.
139 (acosh_test): Test for existence of function.
140 (asinh_test): Likewise.
141 (atan2_test): Likewise.
142 (cabs_test): Likewise.
143 (cacos_test): Likewise.
144 (cacosh_test): Likewise.
145 (casin_test): Likewise.
146 (casinh_test): Likewise.
147 (catan_test): Likewise.
148 (catanh_test): Likewise.
149 (ccos_test): Likewise.
150 (ccosh_test): Likewise.
151 (cexp_test): Likewise.
152 (clog_test): Likewise.
153 (clog10_test): Likewise.
154 (cosh_test): Likewise.
155 (cpow_test): Likewise.
156 (csin_test): Likewise.
157 (csinh_test): Likewise.
158 (csqrt_test): Likewise.
159 (ctan_test): Likewise.
160 (ctanh_test): Likewise.
161 (fmod_test): Likewise.
162 (hypot_test): Likewise.
163 (remainder_test): Likewise.
164 (remquo_test): Likewise.
165 (sincos_test): Likewise.
166 (sinh_test): Likewise.
167 (tanh_test): Likewise.
169 2000-09-29 H.J. Lu <hjl@gnu.org>
171 * sysdeps/ia64/ieee754.h: New file.
173 * sysdeps/ia64/fpu/math_ldbl.h: New file.
175 2000-09-30 Jakub Jelinek <jakub@redhat.com>
177 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
178 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
180 2000-09-30 Ulrich Drepper <drepper@redhat.com>
182 * manual/charset.texi: Correct notations, reference to C90 amd 1,
183 and some other details.
184 * manual/ctype.texi: Likewise.
185 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
187 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
189 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
191 2000-09-29 Ulrich Drepper <drepper@redhat.com>
193 * elf/cache.c (save_cache): Initialize __unused field in new cache
194 as well to get reproducable results.
196 2000-09-29 H.J. Lu <hjl@gnu.org>
198 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
200 2000-09-29 H.J. Lu <hjl@gnu.org>
202 * sysdeps/ia64/bits/huge_val.h: New file.
204 2000-09-29 Ulrich Drepper <drepper@redhat.com>
206 * elf/chroot_canon.c: Don't report a failure if the last path
207 component is not available.
208 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
211 * elf/cache.c (print_cache): Use stat64 instead of stat.
212 * elf/ldconfig.c (chroot_stat): Likewise.
213 (create_links): Likewise.
214 (manual_link): Likewise.
215 (search_dir): Likewise.
216 * elf/readlib.c (process_file): Likewise.
218 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
221 2000-09-29 Jakub Jelinek <jakub@redhat.com>
223 * elf/chroot_canon.c: New file.
224 * elf/Makefile: Build and distribute it.
225 * elf/ldconfig.h (process_file): Add real_file_name argument.
226 (chroot_canon): Add prototype.
227 * elf/ldconfig.c (cache_file): Remove const.
229 (create_links): Add real_path argument.
230 If opt_chroot, maintain both real and given filenames.
231 (manual_link): Likewise.
232 (search_dir): Likewise.
233 (parse_conf): If opt_chroot, use chroot_canon to find the real
235 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
236 and use chroot_canon where appropriate to do the same as if chroot
238 * elf/readlib.c (process_file): Add real_file_name argument, pass it
241 2000-09-29 Ulrich Drepper <drepper@redhat.com>
243 * math/complex.h (_Complex): We can be more specific when _Complex
244 is defined by the compiler.
246 2000-09-29 H.J. Lu <hjl@gnu.org>
248 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
250 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
251 for x86/IA-64 binary.
253 2000-09-29 Andreas Schwab <schwab@suse.de>
255 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
257 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
259 2000-09-29 Mark Kettenis <kettenis@gnu.org>
261 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
262 implementation for use by the dynamic linker.
264 2000-09-29 Andreas Jaeger <aj@suse.de>
266 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
268 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
269 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
270 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
271 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
275 2000-09-29 Andreas Jaeger <aj@suse.de>
277 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
279 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
280 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
281 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
286 2000-09-29 David Mosberger <davidm@hpl.hp.com>
288 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
290 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
292 2000-06-10 David Mosberger <davidm@hpl.hp.com>
294 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
295 works: call to __sigjmp_save must be done unconditionally to
296 ensure jmp_buf is initialized properly.
298 2000-09-27 Andreas Jaeger <aj@suse.de>
300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
303 2000-09-29 Jakub Jelinek <jakub@redhat.com>
305 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
306 Use nscd_ssize_t where appropriate.
307 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
308 ssize_t where appropriate.
309 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
310 * nscd/hstcache.c (cache_addhst): Likewise.
311 * nscd/grpcache.c (cache_addgr): Likewise.
312 * sysdeps/generic/nscd-types.h: New file.
313 * sysdeps/alpha/nscd-types.h: New file.
315 2000-09-29 Ulrich Drepper <drepper@redhat.com>
317 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
318 INADDR_LOOPBACK instead of numeric value.
320 2000-09-28 H.J. Lu <hjl@gnu.org>
322 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
324 (ELF_MACHINE_FIXED_STACK): Removed.
326 2000-09-29 Andreas Jaeger <aj@suse.de>
328 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
330 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
332 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
334 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
336 2000-09-28 Ulrich Drepper <drepper@redhat.com>
338 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
339 relocation also for R_ALPHA_RELATIVE.
340 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
342 2000-09-18 Bruno Haible <haible@clisp.cons.org>
344 * intl/dcigettext.c: Outside libc, use local variable names that don't
345 clash with those in libc.
346 * intl/bindtextdom.c: Likewise.
347 * intl/textdomain.c: Likewise.
349 2000-09-28 Ulrich Drepper <drepper@redhat.com>
351 * elf/ldconfig.c (parse_conf): Print full name of config dir
352 including chroot() path.
353 (main): Remove trailing / from opt_chroot string.
355 * include/features.h: Correct description of what happens if no
356 *_SOURCE macro is defined.
358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
359 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
361 2000-09-19 H.J. Lu <hjl@gnu.org>
363 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
364 * malloc/malloc.c (__memalign_hook): Likewise.
365 (memalign_hook_ini): Likewise.
367 2000-09-28 Ulrich Drepper <drepper@redhat.com>
369 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
371 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
372 underlying functions directly.
374 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
375 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
376 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
377 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
379 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
380 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
382 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
384 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
385 define it for powerpc for kernel >= 2.4.0.
386 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
388 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
389 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
391 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
392 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
393 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
395 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
397 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
400 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
402 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
404 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
406 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
408 2000-09-27 Andreas Schwab <schwab@suse.de>
410 * math/Makefile (distribute): Explicitly add the long double test
411 sources, to get them included even if long double is not supported.
413 2000-09-27 Jes Sorensen <jes@linuxcare.com>
415 * elf/soinit.c (struct object): Move definition to gccframe.h and
416 include it. Problem identified by HJ Lu.
418 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
419 struct object to be searched for frame unwind info.
420 * sysdeps/generic/gccframe.h: New file. Generic version of
421 struct object to be searched for frame unwind info.
423 2000-09-28 Ulrich Drepper <drepper@redhat.com>
425 * manual/errno.texi: Correct error text for ENXIO.
426 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
428 2000-09-27 Jes Sorensen <jes@linuxcare.com>
430 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
431 exception status bits rather than the exception disable bits.
432 Don't include math.h.
434 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
435 status of exceptions currently raised rather than which exceptions
438 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
439 rather than unsigned long int.
441 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
442 the exceptions actually requested by the caller and not just
443 disable all exceptions.
445 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
446 the ia64 are enabled by clearing the respective bits in the fpsr,
449 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
450 unsigned long int rather than unsigned long to be consistent with
451 the coding conventions.
453 2000-09-20 H.J. Lu <hjl@gnu.org>
455 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
457 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
459 2000-09-28 Ulrich Drepper <drepper@redhat.com>
461 * string/bits/string2.h: Unify #if usage.
463 2000-09-27 Jakub Jelinek <jakub@redhat.com>
465 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
466 and disabling underflow or overflow, disable inexact as well.
468 2000-09-26 Andreas Jaeger <aj@suse.de>
470 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
472 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
474 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
475 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
477 * elf/ldconfig.c (search_dir): Allow unlimited path length.
478 (create_links): Likewise.
480 2000-09-27 Ulrich Drepper <drepper@redhat.com>
482 * posix/tst-dir.c: Test a few error cases of chdir.
484 2000-09-26 Ulrich Drepper <drepper@redhat.com>
486 * math/math_private.h: Don't add long double prototypes if
487 NO_LONG_DOUBLE is defined.
489 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
491 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
492 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
494 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
496 2000-09-26 Jakub Jelinek <jakub@redhat.com>
498 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
499 * sysdeps/sparc/sparc32/ieee754.h: New.
500 * sysdeps/sparc/sparc64/bits/endian.h: Move...
501 * sysdeps/sparc/bits/endian.h: ...here.
502 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
503 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
504 %o1, not %o0 to see if we're parent or child. Optimize.
506 2000-09-26 Jes Sorensen <jes@linuxcare.com>
508 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
510 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
512 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
514 2000-09-20 H.J. Lu <hjl@gnu.org>
516 * sysdeps/ia64/fpu/printf_fphex.c: New file.
518 * sysdeps/ia64/fpu/libm-test-ulps: New file.
520 2000-09-17 H.J. Lu <hjl@gnu.org>
522 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
524 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
525 sysdeps/i386/fpu/s_isinfl.c.
527 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
528 sysdeps/i386/fpu/s_isnanl.c.
530 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
531 sysdeps/i386/fpu/s_nextafterl.c.
533 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
534 sysdeps/i386/fpu/bits/mathdef.h.
536 2000-09-16 H.J. Lu <hjl@gnu.org>
538 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
539 DL_UNMAP_IS_SPECIAL is not defined.
541 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
542 (_dl_unmap): New prototype.
543 (DL_UNMAP): New. Defined as _dl_unmap.
545 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
547 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
549 2000-09-16 H.J. Lu <hjl@gnu.org>
551 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
552 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
554 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
556 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
558 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
559 the memory location of a function from a function descriptor.
561 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
563 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
566 2000-09-14 Jes Sorensen <jes@linuxcare.com>
568 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
569 variable as input argument.
570 (__bswap_32): Likewise.
572 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
573 - found by Jim Wilson <wilson@cygnus.com>
575 2000-09-26 Ulrich Drepper <drepper@redhat.com>
577 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
580 2000-09-26 Andreas Schwab <schwab@suse.de>
582 * locale/programs/ld-collate.c (collate_output): Only require
583 alignment on __alignof__ (int32_t) instead of 4.
584 * locale/loadlocale.c (_nl_load_locale): Likewise.
585 * string/strcoll.c: Likewise.
587 2000-09-26 Jes Sorensen <jes@linuxcare.com>
589 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
590 parentheses around arithmetic used in | statement to kill compiler
593 * math/math_private.h: Add prototype for __finitel.
594 (__ilogbl): Likewise.
595 (__isinfl): Likewise.
596 (__isnanl): Likewise.
598 (__copysignl): Likewise.
599 (__expm1l): Likewise.
600 (__floorl): Likewise.
601 (__frexpl): Likewise.
602 (__ldexpl): Likewise.
603 (__log1pl): Likewise.
606 (__scalbnl): Likewise.
609 (__sincosl): Likewise.
611 2000-09-26 Andreas Schwab <schwab@suse.de>
613 * sysdeps/m68k/fpu/libm-test-ulps: New file
615 2000-09-26 Ulrich Drepper <drepper@redhat.com>
617 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
619 2000-09-26 Andreas Jaeger <aj@suse.de>
621 * misc/mkstemp64.c: New file.
622 * misc/Makefile (routines): Add mkstemp64.
623 * stdlib/stdlib.h: Add prototype and redirection magic.
624 * misc/Versions: Add mkstemp64.
626 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
628 * nscd/dbg_log.c (dbg_log): Add missing format string.
630 2000-09-26 Ulrich Drepper <drepper@redhat.com>
632 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
633 since we filter out the variable once.
634 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
635 * locale/newlocale.c (__newlocale): Likewise.
636 * locale/setlocale.c (setlocale): Likewise.
637 * malloc/malloc.c (ptmalloc_init): Likewise.
638 * resolv/res_hconf.c (_res_hconf_init): Likewise.
639 * resolv/res_init.c (__res_vinit): Likewise.
640 * time/tzfile.c (__tzfile_read): Likewise.
641 * sysdeps/generic/unsecvars.h: New file.
642 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
643 * elf/rtld.c (process_envvars): Likewise.
644 * elf/Makefile (distribute): Add unsecvars.h.
646 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
647 real /dev/null device.
649 * sysdeps/generic/check_fds.c: Include device-nrs.h.
650 * sysdeps/generic/device-nrs.h: New file.
651 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
652 * misc/Makefile (distribute): Add device-nrs.h.
654 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
655 remove possible garbage at the end of the file.
657 2000-09-25 Ulrich Drepper <drepper@redhat.com>
659 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
660 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
661 * stdio-common/tempnam.c: Warn about insecure tempnam.
662 * misc/mktemp.c: Warn about insecure mktemp.
664 * sysdeps/generic/check_fds.c: Check that file opened is really
666 * posix/wordexp.c (exec_comm_child): Likewise.
668 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
670 * locale/Makefile (routines): Add nl_langinfo_l.
671 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
672 * locale/nl_langinfo_l.c: New file.
673 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
676 2000-09-23 Bruno Haible <haible@clisp.cons.org>
678 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
679 (__gbk_to_ucs): Conditionalize private area mappings.
680 (__gbk_from_ucs4_tab9): Likewise.
681 (BODY for TO_LOOP): Likewise.
682 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
683 * iconvdata/testdata/GBK..UTF-8: Likewise.
684 * iconvdata/tst-tables.sh: Enable GBK test.
686 2000-09-23 Bruno Haible <haible@clisp.cons.org>
688 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
689 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
690 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
692 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
693 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
695 2000-09-23 Bruno Haible <haible@clisp.cons.org>
697 * iconvdata/johab.c (final_to_ucs): Fix typos.
698 (jamo_from_ucs_table): Likewise.
699 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
700 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
701 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
702 the range 0xD9E6..0xD9FE.
703 * iconvdata/tst-tables.sh: Enable JOHAB testing.
705 2000-09-25 Ulrich Drepper <drepper@redhat.com>
707 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
710 2000-09-24 Ulrich Drepper <drepper@redhat.com>
712 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
713 stream is in wide mode.
715 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
717 2000-09-21 Bruno Haible <haible@clisp.cons.org>
719 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
721 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
723 2000-09-21 Bruno Haible <haible@clisp.cons.org>
725 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
726 reallocation logic for MALLOC (%as, %aS formats).
728 2000-09-24 Ulrich Drepper <drepper@redhat.com>
730 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
731 Add missing case in va_arg handling for numbers.
732 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
734 * stdio/tst-printf.sh: Adjust expected results.
735 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
737 2000-09-20 Bruno Haible <haible@clisp.cons.org>
739 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
740 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
742 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
743 as equivalent to uppercase hexadecimal digits.
745 2000-09-20 Bruno Haible <haible@clisp.cons.org>
747 * iconvdata/testdata/EUC-KR..UTF8: New file.
748 * iconvdata/testdata/EUC-TW: New file.
749 * iconvdata/testdata/EUC-TW..UTF8: New file.
750 * iconvdata/testdata/EUC-JP: New file.
751 * iconvdata/testdata/EUC-JP..UTF8: New file.
752 * iconvdata/testdata/ISO-2022-JP: New file.
753 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
754 * iconvdata/testdata/ISO-2022-JP-2: New file.
755 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
756 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
757 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
758 * iconvdata/testdata/ISO-2022-CN: New file.
759 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
760 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
761 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
762 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
763 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
765 2000-09-24 Andreas Jaeger <aj@suse.de>
767 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
768 function add_single_dir.
769 (add_single_dir): New function.
770 (search_dir): Use add_single_dir instead of recursing.
772 * sysdeps/generic/dl-cache.h: Include stdint.h.
773 (struct file_entry_new): Use fixed sizes for interoperability
774 between 32bit and 64bit systems, add __unused to make alignment
776 (CACHE_VERSION): Increment.
777 (struct cache_file_new): Use fixed sizes, add one more unused
778 entry to make alignment explicit.
780 2000-09-24 Ulrich Drepper <drepper@redhat.com>
782 * elf/ldconfig.c (search_dir): Make more use of d_type information.
784 2000-09-23 Ulrich Drepper <drepper@redhat.com>
786 * stdio-common/printf-parse.h (parse_one_spec): Clear
787 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
789 2000-09-18 Mark Kettenis <kettenis@gnu.org>
791 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
792 #undef since we don't have msync.
794 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
795 constant since that is what clock_t is.
796 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
798 2000-09-11 Mark Kettenis <kettenis@gnu.org>
800 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
801 multiply by LOAD_SCALE.
803 2000-09-22 Jakub Jelinek <jakub@redhat.com>
805 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
806 (crypt_r, setkey_r, encrypt_r): Likewise.
808 2000-09-22 Andreas Jaeger <aj@suse.de>
810 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
813 * sysdeps/alpha/fpu/libm-test-ulps: New file.
814 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
816 2000-09-21 Andreas Jaeger <aj@suse.de>
818 * math/libm-test.inc (atan_test): Test for existence of function.
819 (expm1_test): Likewise.
820 (acos_test): Likewise.
821 (asin_test): Likewise.
822 (exp_test): Likewise.
823 (log10_test): Likewise.
824 (log_test): Likewise.
825 (pow_test): Likewise.
826 (sqrt_test): Likewise.
827 (cos_test): Likewise.
828 (sin_test): Likewise.
829 (tan_test): Likewise.
830 (log1p_test): Likewise.
831 (log2_test): Likewise.
833 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
835 * libio/oldiofsetpos64.c: Fix alias names.
837 2000-09-21 Martin Buchholz <martin@xemacs.org>
839 * manual/terminal.texi (Allocation): Sample code correction.
841 2000-09-20 Andreas Jaeger <aj@suse.de>
843 * iconvdata/Makefile (generated): Add tst-tables.out.
845 * intl/Makefile (generated): Add test output.
847 2000-09-19 Andreas Jaeger <aj@suse.de>
849 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
850 Reported by Jens-Uwe Mager <jum@helios.de>.
852 2000-09-18 Ulrich Drepper <drepper@redhat.com>
854 * version.h (VERSION): Bump to 2.1.94.
856 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
857 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
858 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
859 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
861 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
863 2000-09-17 Bruno Haible <haible@clisp.cons.org>
865 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
866 range 0xD800..0xDFFF.
867 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
868 (BODY for FROM_LOOP): Likewise.
869 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
870 (internal_ucs2_loop): Likewise.
871 (ucs2reverse_internal_loop): Likewise.
872 (internal_ucs2reverse_loop): Likewise.
874 2000-09-17 Bruno Haible <haible@clisp.cons.org>
876 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
879 2000-09-17 Bruno Haible <haible@clisp.cons.org>
881 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
882 * iconvdata/tst-table-to.c (main): Likewise.
884 2000-09-17 Bruno Haible <haible@clisp.cons.org>
886 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
888 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
889 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
890 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
891 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
892 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
893 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
894 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
895 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
896 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
897 encodings when needed. When outputting an announcement, don't clear
898 most other announcements.
900 2000-09-17 Bruno Haible <haible@clisp.cons.org>
902 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
903 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
905 2000-09-14 Bruno Haible <haible@clisp.cons.org>
907 * intl/Versions: Add bind_textdomain_codeset.
909 2000-09-16 Ralf Baechle <ralf@gnu.org>
911 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
913 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
914 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
915 it will even work when not loaded to the standard address.
916 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
917 before the dynamic linker itself is relocated.
919 2000-09-18 Andreas Jaeger <aj@suse.de>
921 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
922 __ASSUME_32BITUIDS for MIPS.
923 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
924 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
926 2000-09-17 H.J. Lu <hjl@gnu.org>
928 * catgets/Makefile ($(objpfx)de/libc.cat): Use
929 $(make-target-directory) instead of mkdir.
931 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
933 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
934 __ASSUME_32BITUIDS for __powerpc__.
935 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
936 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
938 2000-09-17 Ulrich Drepper <drepper@redhat.com>
940 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
942 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
944 2000-09-16 Jakub Jelinek <jakub@redhat.com>
946 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
948 * sysdeps/m68k/Implies: Likewise.
949 * sysdeps/sparc/sparc64/Implies: Likewise.
951 2000-09-16 Jakub Jelinek <jakub@redhat.com>
953 * elf/readlib.c (process_file): Don't error for stale .so links either.
955 2000-09-16 Ulrich Drepper <drepper@redhat.com>
957 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
960 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
961 Patch by Thorsten Kukuk <kukuk@suse.de>.
963 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
965 (modules-names): Add defaultmod1 and defaultmod2.
966 Add rules to build test objects.
968 2000-09-15 Ulrich Drepper <drepper@redhat.com>
970 * wctype/wctype.h: Always include <bits/types.h>.
971 Reported by Jim Meyering <meyering@ascend.com>.
973 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
974 * elf/dl-support.c: Likewise.
976 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
977 st_blocks member in stat and stat64 structs.
978 Patch by Bill Nottingham <notting@redhat.com>.
980 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
983 * math/complex.h: Don't define _Complex macro for gcc 3. Add
984 __extension__ to _Complex_I definition since gcc warns if -pedantic.
985 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
986 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
988 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
989 necessary. Move includes of POSIX and Unix limits files to the end.
990 * stdlib/Makefile (tests): Add tst-limits.
991 * stdlib/tst-limits.h: New file.
993 2000-09-15 Andreas Jaeger <aj@suse.de>
995 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
997 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
999 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1001 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1003 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1004 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1006 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1008 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1010 (modules-names): Add nextmod1 and nextmod2.
1011 Add rules to build and run next.
1012 * elf/next.c: New file.
1013 * elf/nextmod1.c: New file.
1014 * elf/nextmod2.c: New file.
1016 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1018 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1020 2000-09-15 Andreas Jaeger <aj@suse.de>
1022 * sysdeps/mips/fpu/fenv_libc.h: New file.
1023 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1024 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1025 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1027 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1028 * sysdeps/mips/fpu/fegetexcept.c: New file.
1029 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1031 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1033 * intl/Makefile: Avoid unnecessary test reruns.
1035 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1037 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1038 to not use sysctl(). Too many architectures have problems with it.
1040 2000-09-14 Andreas Jaeger <aj@suse.de>
1042 * scripts/config.sub: New version from subversions.gnu.org.
1044 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1047 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1049 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1050 to avoid accessing data before collseq.
1052 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1053 pasting strings together.
1055 2000-09-14 Greg McGary <greg@mcgary.org>
1057 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1059 * sysdeps/generic/bp-semctl.h: Likewise.
1060 * sysdeps/generic/bp-start.h: Likewise.
1061 * sysdeps/generic/bp-sym.h: Likewise.
1062 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1065 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1067 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1070 * elf/elf.h: Add missing official relocations.
1072 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1073 * stdio/stdio.h: Likewise.
1074 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1075 * include/stdio.h: Handle __need___FILE like __need_FILE.
1076 * include/wchar.h: Use __FILE instead of FILE.
1077 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1078 * libio/fwscanf.c: Likewise.
1079 * libio/getwc.c: Likewise.
1081 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1082 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1083 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1085 * assert/assert.h: Update comment header about ISO C section.
1086 * math/complex.h: Likewise.
1087 * ctype/ctype.h: Likewise.
1088 * include/errno.h: Likewise.
1089 * include/limits.h: Likewise.
1090 * locale/locale.h: Likewise.
1091 * math/math.h: Likewise.
1092 * setjmp/setjmp.h: Likewise.
1093 * signal/signal.h: Likewise.
1094 * stdio/stdio.h: Likewise.
1095 * libio/stdio.h: Likewise.
1096 * stdlib/stdlib.h: Likewise.
1097 * string/string.h: Likewise.
1098 * time/time.h: Likewise.
1099 * wcsmbs/wchar.h: Likewise.
1100 * wctype/wctype.h: Likewise.
1101 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1103 2000-09-13 Andreas Jaeger <aj@suse.de>
1105 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1106 for no more entries.
1107 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1108 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1109 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1111 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1113 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1114 constant since this is what clock_t is.
1115 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1116 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1117 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1118 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1120 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1121 definitions are requested.
1123 2000-09-13 Andreas Jaeger <aj@suse.de>
1125 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1126 sparc64 and sh to synch with libc.
1128 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1130 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1131 (distribute): Add iso-2022-cn-ext.c.
1132 Add definitions to compile the new module.
1133 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1134 * iconvdata/iso-2022-cn-ext.c: New file.
1135 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1136 ucs4_from_isoir165. Increment input pointer if successful.
1138 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1140 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1142 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1144 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1145 __syscall_getdents64 wrapper.
1147 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1149 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1151 * iconvdata/gb18030.c: Many many changes. Make consistent with
1152 charmap and with itself.
1153 * iconvdata/tst-tables.sh: Test GB18030.
1155 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1157 * iconv/skeleton.c: Fix last patch, add missing parameter to
1158 unaligned function call.
1160 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1162 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1163 of decimal ellipsis.
1165 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1167 * locale/programs/ld-collate.c (collate_read): Always initialize
1170 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1172 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1173 ruleidx is 128, not 256.
1175 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1177 * locale/programs/ld-collate.c (collate_read): Correct check for
1178 already inserted entries.
1180 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1182 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1185 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1187 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1188 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1190 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1192 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1195 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1197 * iconvdata/utf-7.c: New file.
1198 * iconvdata/gconv-modules (UTF-7): New module entries.
1199 * iconvdata/Makefile (modules): Add UTF-7.
1200 (distribute): Add utf-7.c.
1201 * iconvdata/testdata/UTF-7: New file.
1202 * iconvdata/testdata/UTF-7..UTF8: New file.
1203 * iconvdata/TESTS (UTF-7): New entry.
1204 * iconvdata/run-iconv-test.sh: Fix confusing output.
1206 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1208 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1210 2000-09-10 David S. Miller <davem@redhat.com>
1212 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1213 frame pointer offset for non-fast path.
1215 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1217 * locale/programs/3level.h (*_init): Initialize level1, level2,
1219 (*_add): Remove a few unnecessary conditionals.
1221 2000-09-05 Wolfram Gloger <wg@malloc.de>
1223 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1224 ensure usability of mutex as an `in use' flag.
1226 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1228 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1230 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1231 ugly GMON_WEAK_START hack.
1232 Patch by Philip Blundell <philb@gnu.org>.
1234 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1236 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1238 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1239 and PPC_ICBI asm for broken compilers.
1240 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1242 2000-09-09 Andreas Jaeger <aj@suse.de>
1244 * manual/message.texi (Advanced gettext functions): Fix typo.
1246 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1249 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1251 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1253 * sysdeps/ia64/memccpy.S: Likewise.
1254 Patches by Jim Wilson <wilson@redhat.com>.
1256 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1257 before trying to read /proc.
1258 Patch by Matt Wilson <msw@redhat.com>.
1259 * include/sys/utsname.h: Declare __uname.
1260 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1261 * sysdeps/mach/hurd/uname.c: Likewise.
1262 * sysdeps/unix/syscalls.list: Likewise.
1264 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1267 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1269 * posix/getopt.c (_getopt_internal): When long_only is set always
1270 recognize conflicts just like before.
1272 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1274 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1276 2000-09-08 Greg McGary <greg@mcgary.org>
1278 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1279 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1280 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1282 2000-09-08 Andreas Jaeger <aj@suse.de>
1284 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1286 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1288 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1289 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1290 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1292 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1294 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1296 * elf/dl-load.c (lose): Decrement _nl_loaded.
1297 (_dl_map_object_from_fd): Don't try to dlopen executables.
1299 * iconvdata/tst-tables.sh: Actually return with an error if
1300 something goes wrong.
1301 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1302 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1304 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1306 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1307 * iconvdata/tst-table-from.c: Include <string.h>.
1308 (try): Correct cast in iconv call.
1310 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1312 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1313 (sysdep_routines): Remove dl-start.
1314 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1316 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1318 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1321 2000-09-06 Andreas Schwab <schwab@suse.de>
1323 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1325 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1327 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1329 * scripts/config.sub: Strip out -unknown for Linux targets.
1330 Patch by Scott Bambrough <scottb@netwinder.org>.
1332 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1335 2000-09-07 Andreas Jaeger <aj@suse.de>
1337 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1339 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1342 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1344 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1345 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1347 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1349 * stdlib/tst-bsearch.c (main): Add more test cases.
1351 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1352 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1353 Reported by GOTO Masanori <gotom@debian.or.jp>.
1355 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1357 * posix/Makefile (tests): Add tst-dir.
1358 (tst-dir-ARGS): New variable.
1359 * posix/tst-dir.c: New file.
1361 2000-09-07 Andreas Jaeger <aj@suse.de>
1363 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1366 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1368 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1370 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1371 use the hack with tryopen_o_directory to determine at runtime
1373 * sysdeps/unix/sysv/linux/opendir.c: New file.
1374 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1375 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1377 * catgets/Depend: New file. Add intl.
1378 * catgets/Makefile (tests): Add tst-catgets.
1379 (generated): Remove de.msg.
1380 (generated-dirs): Add de.
1381 Add dependency if tst-catgets output on de/libc.cat.
1382 * catgets/tst-catgets.c: New file.
1384 * po/ja.po: New file.
1385 * po/el.po: Update from translation team.
1387 * wcsmbs/Depend: New file.
1388 * wcsmbs/Makefile (tests): Add tst-btowc.
1389 (tst-btowc-ENV): Define.
1390 * wcsmbs/tst-btowc.c: New file.
1392 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1393 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1395 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1397 * stdlib/Makefile (tests): Add tst-bsearch.
1398 * stdlib/tst-bsearch.c: New file.
1400 * posix/getopt.c (_getopt_internal): Don't recognize an option
1401 name as ambiguous if it's a prefix for more than one name but the
1402 other struct option values are identical.
1404 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1405 Don't depend on visual inspection of the output file to recognize
1407 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1409 2000-09-06 Andreas Jaeger <aj@suse.de>
1411 * sysdeps/alpha/soft-fp/Dist: New file.
1412 * sysdeps/i386/soft-fp/Dist: New file.
1413 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1414 * sysdeps/mips/soft-fp/Dist: New file.
1415 * sysdeps/powerpc/soft-fp/Dist: New file.
1416 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1417 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1419 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1420 Use sysdep_routines instead of routines to fix make dist failure.
1421 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1423 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1425 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1426 sysdep_headers instead of headers for make dist.
1428 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1431 2000-09-06 Andreas Schwab <schwab@suse.de>
1433 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1435 2000-09-06 Andreas Jaeger <aj@suse.de>
1437 * soft-fp/Makefile (distribute): Remove ChangeLog.
1439 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1440 sysdep_routines instead of routines for make dist.
1442 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1444 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1445 compatibility check for old stream and call _IO_wide in doubt.
1446 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1447 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1448 needed tst for such an old structure and don't do anything.
1449 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1451 2000-09-06 Andreas Jaeger <aj@suse.de>
1453 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1454 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1457 * soft-fp/ChangeLog: Merged with this file.
1459 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1461 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1463 * soft-fp/Makefile (distribute): Add the math functions, too.
1465 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1467 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1469 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1472 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1473 * soft-fp/sysdeps/powerpc/q_*: New files.
1475 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1477 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1478 in wide char case correctly. Don't allocate too long temporary
1479 strings with alloca.
1481 * stdio-common/Makefile (tests): Add tst-swprintf.
1482 (tst-swprintf-ENV): New variable.
1483 * stdio-common/tst-swprintf.c: New file.
1485 2000-09-05 Andreas Jaeger <aj@suse.de>
1487 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1488 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1489 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1491 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1493 * configure.in: Strip out "unknown" from configuration names.
1495 2000-09-05 Andreas Jaeger <aj@suse.de>
1497 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1499 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1500 * sysdeps/sparc/sparc32/Implies: Likewise.
1501 * sysdeps/powerpc/Implies: Likewise.
1503 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1504 * libio/oldiofgetpos64.c: Likewise.
1506 * soft-fp/Makefile (distribute): Remove configure.
1508 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1510 * soft-fp/configure: Remove.
1512 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1513 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1515 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1516 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1518 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1519 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1521 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1522 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1524 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1525 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1527 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1528 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1530 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1531 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1533 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1534 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1536 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1537 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1539 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1540 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1542 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1543 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1545 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1546 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1548 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1549 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1551 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1552 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1554 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1555 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1557 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1558 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1560 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1561 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1563 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1564 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1566 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1567 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1569 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1570 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1572 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1573 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1575 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1576 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1578 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1579 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1581 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1582 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1584 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1585 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1587 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1588 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1590 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1591 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1593 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1594 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1596 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1597 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1599 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1600 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1602 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1603 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1605 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1606 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1608 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1609 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1611 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1612 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1614 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1615 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1617 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1618 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1620 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1621 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1623 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1624 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1626 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1627 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1629 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1630 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1632 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1633 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1635 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1636 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1638 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1639 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1641 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1642 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1644 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1645 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1647 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1648 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1650 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1651 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1653 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1654 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1656 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1657 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1659 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1660 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1662 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1663 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1665 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1666 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1668 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1669 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1671 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1672 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1674 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1675 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1677 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1678 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1680 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1681 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1683 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1684 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1686 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1687 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1689 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1690 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1692 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1693 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1695 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1696 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1698 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1699 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1701 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1702 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1704 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1705 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1707 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1708 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1710 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1711 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1713 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1714 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1716 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1717 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1719 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1720 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1722 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1723 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1725 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1726 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1728 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1729 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1731 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1732 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1734 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1735 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1737 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1738 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1740 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1741 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1743 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1744 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1746 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1747 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1749 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1750 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1752 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1753 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1755 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1756 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1758 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1759 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1761 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1762 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1764 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1765 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1767 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1768 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1770 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1771 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1773 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1774 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1776 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1777 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1779 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1780 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1782 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1783 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1785 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1786 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1788 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1789 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1791 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1792 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1794 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1797 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1798 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1800 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1801 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1803 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1804 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1806 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1807 change symbol version.
1808 * libio/oldiofgetpos64.c: Likewise.
1809 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1811 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1813 Reported by dyky@kondara.org, closes PR libc/1886.
1815 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1818 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1820 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1821 script when ^C is hit.
1823 * locale/programs/localedef.c (construct_output_path): Correct
1824 computation of endp after asprintf.
1825 * locale/programs/locfile.c (write_locale_data): Don't add extra
1828 2000-09-05 Andreas Jaeger <aj@suse.de>
1830 * scripts/config.guess: New upstream version.
1831 * scripts/config.sub: Likewise.
1832 * manual/texinfo.tex: Likewise.
1834 2000-09-04 Andreas Schwab <schwab@suse.de>
1836 * elf/Makefile (all-dl-routines): New variable.
1837 (elide-routines.os): Use it instead of $(dl-routines).
1838 (all-rtld-routines): New variable.
1839 (extra-objs): Use it instead of $(rtld-routines).
1840 ($(objpfx)dl-allobjs.os): Likewise.
1841 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1842 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1845 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1847 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1848 Set fname to NULL if the module wasn't found.
1850 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1852 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1853 true if trans->name already ends in ".so".
1855 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1857 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1859 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1860 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1861 (__gconv_release_shlib): Change return type to void.
1862 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1863 step->__counter here.
1864 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1865 if the reference is zero.
1866 (release_step): New function.
1867 (gen_steps): Always initialize the __counter to 1. Use release_step.
1868 Don't call the destructor on the step whose initializer failed.
1869 (increment_counter): Use release_step. Don't normally run destructors
1871 (__gconv_close_transform): Use release_step.
1873 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1875 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1876 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1878 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1880 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1881 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1882 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1883 to check for incomplete input.
1884 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1885 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1886 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1887 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1889 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1890 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1891 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1892 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1895 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1897 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1900 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1902 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1905 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1907 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1908 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1911 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1913 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1915 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1917 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1919 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1921 * iconvdata/tst-tables.sh: New file.
1922 * iconvdata/tst-table.sh: New file.
1923 * iconvdata/tst-table-from.c: New file.
1924 * iconvdata/tst-table-to.c: New file.
1925 * iconvdata/tst-table-charmap.sh: New file.
1926 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1927 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1928 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1929 ISIRI-3342.irreversible, SJIS.irreversible.
1930 (tests): Add dependency on tst-tables.out.
1931 (tst-tables.out, tst-tables-clean): New rules.
1932 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1933 * iconvdata/ISIRI-3342.irreversible: New file.
1934 * iconvdata/EUC-JP.irreversible: New file.
1935 * iconvdata/SJIS.irreversible: New file.
1937 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1939 * manual/locale.texi (General Numeric): Update description of
1940 representation of the grouping information in the locale data.
1941 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1943 2000-09-04 Andreas Jaeger <aj@suse.de>
1945 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1946 * iconv/iconv_prog.c (options): Fix typo.
1947 Reported by dyky@kondara.org, closes PR libc/1885.
1949 2000-09-04 Andreas Jaeger <aj@suse.de>
1951 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1952 Reported by Rob Levin <lilo@transvirtual.com>.
1954 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1956 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1957 to the typedefs of __timezone_ptr_t.
1958 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1960 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1962 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1965 2000-09-01 H.J. Lu <hjl@gnu.org>
1967 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1968 to run a binary if it is in $(tests-static).
1970 * Rules (binaries-static): Add $(tests-static).
1972 2000-09-02 Andreas Jaeger <aj@suse.de>
1974 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1976 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1979 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1981 * iconvdata/big5hkscs.c: Regenerated from charmap.
1982 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1983 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1985 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1986 statement. General cleanup.
1988 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1990 * wctype/wcfuncs.c (iswblank): New function.
1991 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1992 * wctype/wcextra.c: Remove file.
1993 * wctype/wcextra_l.c: Remove file.
1994 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1996 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1998 * locale/programs/ld-collate.c (collate_output): Remove redundant
2000 * string/strcoll.c: Likewise.
2001 * string/strxfrm.c: Include assert.h. Add assert calls like in
2004 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2006 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2007 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2008 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2009 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2010 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2011 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2012 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2013 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2014 _NL_CTYPE_GAP5/6 respectively.
2016 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2017 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2018 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2019 Don't initialize __ctype_names and __ctype_width.
2020 * wctype/cname-lookup.h: Remove file.
2021 * wctype/Makefile (distribute): Remove cname-lookup.h.
2022 * wctype/wchar-lookup.h: Include stdint.h.
2023 * wctype/wctype.c (__wctype): Assume new locale format.
2024 * wctype/wctype_l.c (__wctype_l): Likewise.
2025 * wctype/iswctype.c: Don't include cname-lookup.h.
2026 (__iswctype): Assume new locale format.
2027 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2028 (__iswctype_l): Assume new locale format.
2029 * wctype/wctrans.c: Don't include ctype.h.
2030 (wctrans): Assume new locale format.
2031 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2032 * wctype/towctrans.c: Don't include cname-lookup.h.
2033 (__towctrans): Assume new locale format.
2034 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2035 (__towctrans_l): Assume new locale format.
2036 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2037 localeinfo.h instead.
2038 (__NO_WCTYPE): Remove unused macro.
2039 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2041 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2042 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2043 (towlower, towupper): Likewise.
2044 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2045 localeinfo.h instead.
2046 (__NO_WCTYPE): Remove unused macro.
2047 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2048 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2049 __iswxdigit_l): Assume new locale format.
2050 (__towlower_l, __towupper_l): Likewise.
2051 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2052 (__ctype32_b): Remove declaration.
2053 (internal_wcwidth): Assume new locale format.
2054 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2055 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2056 to map32_b, rename width_3level to width.
2057 (ctype_output): Always create new locale format. Don't emit
2058 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2059 (allocate_arrays): Always create new locale format.
2061 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2062 * locale/weightwc.h (findidx): Assume new locale format.
2063 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2065 * string/strxfrm.c (wcsxfrm): Likewise.
2066 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2067 local variable collseq to 'const char *'.
2068 (SUFFIX): Don't use, don't undefine.
2069 * posix/fnmatch.c: Remove SUFFIX definition.
2070 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2071 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2072 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2073 (collate_finish): Always create new locale format. Remove local
2074 variables min_total, act_size.
2075 (collate_output): Always create new locale format. Remove local
2076 variables table_size, names, tablewc. Rename tablewc_3level to
2079 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2081 * locale/programs/ld-collate.c (obstack_int32_grow,
2082 obstack_int32_grow_fast): New inline functions.
2083 (output_weightwc, collate_output): Use them where possible.
2085 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2087 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2088 patch (_mode -> _flags).
2090 * libio/Makefile (headers): Add stdio_ext.h.
2091 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2092 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2093 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2094 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2095 __fsetlocking, and _flushlbf.
2096 * libio/__fbufsize.c: New file.
2097 * libio/__flbf.c: New file.
2098 * libio/__fpending.c: New file.
2099 * libio/__fpurge.c: New file.
2100 * libio/__freadable.c: New file.
2101 * libio/__freading.c: New file.
2102 * libio/__fsetlocking.c: New file.
2103 * libio/__fwritable.c: New file.
2104 * libio/__fwriting.c: New file.
2105 * libio/stdio_ext.h: New file.
2106 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2107 * libio/libio.h (_IO_USER_LOCK): Define.
2108 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2109 test _IO_USER_LOCK flag first.
2111 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2114 2000-09-01 Andreas Jaeger <aj@suse.de>
2116 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2118 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2120 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2122 * math/Makefile (tests): Add tst-defintions.
2123 * math/tst-definitions.c: New file.
2125 * stdlib/Makefile (headers): Add bits/wchar.h.
2126 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2127 * sysdeps/generic/bits/wchar.h: New file.
2128 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2129 file to define WCHAR_MIN and WCHAR_MAX.
2130 Change UINT*8_MAX and UIN*16_MAX value to type int.
2131 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2132 file to define WCHAR_MIN and WCHAR_MAX.
2133 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2135 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2136 * sysdeps/generic/bits/mathdef.h: Likewise.
2137 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2138 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2139 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2140 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2141 * locale/locale.h (struct lconv): Add __ prefix to the new members
2143 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2144 imaxdiv optimizations.
2145 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2146 * sysdeps/wordsize-64/ldiv.c: Likewise.
2147 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2149 * sysdeps/generic/bits/fenv.h: Likewise.
2150 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2151 * sysdeps/ia64/bits/fenv.h: Likewise.
2152 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2153 * sysdeps/mips/bits/fenv.h: Likewise.
2154 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2155 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2156 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2158 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2159 * inet/ruserpass.c: Likewise.
2160 * catgets/open_catalog.c: Likewise.
2161 * intl/loadmsgcat.c: Likewise.
2162 * io/getdirname.c: Likewise.
2163 * locale/loadlocale.c: Likewise.
2164 * misc/getusershell.c: Likewise.
2165 * stdlib/canonicalize.c: Likewise.
2166 * sysdeps/posix/euidaccess.c: Likewise.
2167 * sysdeps/posix/isfdtype.c: Likewise.
2168 * sysdeps/posix/posix_fallocate.c: Likewise.
2169 * sysdeps/posix/tempname.c: Likewise.
2170 * sysdeps/unix/grantpt.c: Likewise.
2171 * sysdeps/unix/opendir.c: Likewise.
2172 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2173 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2174 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2175 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2176 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2177 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2178 * sysvipc/ftok.c: Likewise.
2179 * time/getdate.c: Likewise.
2181 * time/getdate.c: Add extra access test.
2183 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2185 * version.h (VERSION): Bump to 2.1.93.
2187 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2188 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2190 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2191 Make this a new rule depending on tst-gettext.out and run mtrace.
2192 * intl/tst-gettext.c: Call mtrace.
2193 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2195 * elf/dl-reloc.c: Add a few more __builtin_expect.
2197 * configure.in: Remove --with-gettext option.
2199 * intl/dcigettext.c (free_mem): Correct freeing of
2200 _nl_domain_bindings list.
2202 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2205 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2207 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2209 * stdio-common/itoa-digits.c: Move upper digits to...
2210 * stdio-common/itoa-udigits.c: ...here. New file.
2211 * stdio-common/Makefile (routines): Add itoa-udigits.
2213 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2214 relocate ld.so don't add supprt for relocations which should not
2217 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2218 __secure_getenv. Instead test __libc_enable_secure once.
2220 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2222 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2224 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2225 whether the new record should be freed if it's a duplicate.
2226 (add_module): Adjust insert_module call.
2227 (__gconv_read_conf): Likewise.
2228 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2230 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2232 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2234 * include/link.h (struct r_search_path_struct): New.
2235 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2236 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2238 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2239 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2240 added at startup time.
2241 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2242 contains element to remember fact that we can free memory.
2243 (all_dirs): Renamed to _dl_all_dirs. Made global.
2244 (_dl_init_all_dirs): New variable.
2245 (fillin_rpath): Save one malloc call.
2246 (decompose_rpath): Change interface. New first parameter points to
2247 r_search_path_struct.
2248 (_dl_init_paths): Adjust for changes. Mark all memory as not
2249 deletable. Set _dl_init_all_paths value.
2250 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2251 parameter replaced with r_search_path_struct *. Information about
2252 freeing now contained in r_search_path_struct.
2253 (_dl_map_object): Adjust for above changes.
2255 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2257 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2258 when adding new entries.
2260 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2261 since the object being loaded can be unloaded.
2263 * iconvdata/Makefile (tests): Add tst-loading.
2264 * iconvdata/tst-loading.c: New file.
2266 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2268 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2269 When comparing a char with an int, always cast the char to
2270 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2271 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2273 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2275 * time/strftime.c (my_strftime): Add compatibility code for use
2276 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2278 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2279 return 0 for success but always < 0 on failure.
2281 * nss/getXXbyYY_r.c: Define result to *result before including
2284 2000-08-30 Andreas Jaeger <aj@suse.de>
2286 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2288 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2290 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2292 * iconvdata/TESTS: Add BIG5HKSCS entry.
2293 * iconvdata/testdata/BIG5HKSCS: New file.
2294 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2296 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2299 * libio/iogetline.c: Set mode before the loop in case n==0.
2300 * libio/iogetwline.c: Likewise.
2302 2000-08-29 H.J. Lu <hjl@gnu.org>
2304 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2306 (_IO_new_file_overflow): Likewise.
2307 * libio/genops.c (_IO_flush_all): Likewise.
2308 * libio/ioftell.c (_IO_ftell): Likewise.
2310 2000-08-29 Akira Higuchi <a@kondara.org>
2312 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2313 and __end_fct fields of struct __gconv_step.
2314 * iconv/Makefile (tests): Add iconv-bug2.
2315 * iconv/iconv-bug2.c: New file.
2317 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2318 instead of 'inptr - inend' to ksc5601_to_ucs4.
2320 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2322 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2323 character or shift sequence is found at the end of the input
2324 string, return__GCONV_INCOMPLETE_INPUT instead of
2325 __GCONV_EMPTY_INPUT.
2326 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2327 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2329 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2330 __GCONV_ILLEGAL_INPUT for 8bit characters.
2332 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2334 * signal/signal.h (sigpause): Move __THROW before __asm__.
2336 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2337 names don't match don't return.
2338 Patch by Olaf Kirch <okir@flash.lst.de>.
2340 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2342 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2344 2000-08-27 H.J. Lu <hjl@gnu.org>
2346 * posix/Makefile (otherlibs): Add for building with static-nss
2349 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2351 * libio/stdio.h: Add fmemopen prototype.
2353 2000-08-25 Andreas Jaeger <aj@suse.de>
2355 * libio/Makefile (routines): Add fmemopen.
2356 (tests): Add test-fmemopen.
2357 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2358 * libio/test-fmemopen.c: New file.
2359 * libio/fmemopen.c: New file.
2360 Patches by Hanno Mueller <kontakt@hanno.de>.
2362 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2364 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2365 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2367 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2368 to avoid crashing statically linked applications.
2370 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2372 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2373 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2375 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2376 If the result is fits in the buffer, copy only as many bytes as needed.
2378 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2379 buffer after copying numbuf into it.
2380 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2382 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2384 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2385 the result. When string_len < len, don't clear the rest of the buffer.
2387 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2389 Support for new LC_COLLATE format.
2390 * locale/coll-lookup.h: New file.
2391 * locale/weightwc.h (findidx): When size == 0, call
2392 collidx_table_lookup.
2393 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2394 * wcsmbs/wcsxfrm.c: Likewise.
2395 * posix/fnmatch.c: Likewise.
2396 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2397 collseq_table_lookup.
2398 * locale/programs/3level.h: New file.
2399 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2400 by including "3level.h".
2401 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2402 collseq_table): New types, defined by including "3level.h".
2403 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2404 (encoding_mask, encoding_byte): Remove.
2405 (utf8_encode): Use simple shifts instead.
2406 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2407 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2408 (collate_output): New local variable tablewc_3level. When
2409 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2410 tablewc_3level instead of tablewc. Change format of TABLEWC and
2411 COLLSEQWC entries written to the file.
2412 * locale/C-collate.c (collseqwc): Change format.
2413 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2415 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2417 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2419 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2420 (locale_ctype_t): New charnames_idx field.
2421 (ctype_startup): Initialize charnames_idx field.
2422 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2424 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2426 * locale/C-ctype.c: Switch to new locale format.
2427 (_nl_C_LC_CTYPE_names): Remove array.
2428 (STRUCT_CTYPE_CLASS): New macro.
2429 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2430 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2431 New three-level tables.
2432 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2433 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2434 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2435 12 class tables and 2 map tables at the end.
2436 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2437 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2438 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2440 (b): Remove trailing semicolon.
2441 (__ctype_names, __ctype_width): Don't initialize.
2442 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2444 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2446 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2447 is guaranteed to be allocated with the same malloc() and may be
2449 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2450 been set to empty by an earlier open_path call, don't pass it again.
2452 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2454 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2455 we are not optimizing.
2457 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2460 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2462 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2464 2000-08-28 Andreas Jaeger <aj@suse.de>
2466 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2468 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2470 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2471 getpeername. Use ISO C style function definition.
2472 (getpeername): Provide weak alias.
2473 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2474 setrlimit. Use ISO C style function definition.
2475 (setrlimit): Provide weak alias.
2477 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2479 * shlib-versions: Add a rule for S/390 to the libm version list.
2480 * sysdeps/s390/Versions: New file.
2481 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2482 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2483 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2484 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2485 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2486 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2487 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2488 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2489 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2490 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2491 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2492 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2493 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2494 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2495 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2496 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2497 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2498 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2500 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2502 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2503 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2505 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2506 * elf/dl-close.c (_dl_close): Print debug message if object is not
2508 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2509 returning to caller.
2511 * po/zh.po: Renamed to...
2512 * po/zh_TW.po: ...this.
2514 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2516 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2518 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2519 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2520 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2521 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2523 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2525 * locale/programs/ld-collate.c (insert_weights): Also update
2526 backpointer of next element.
2527 (collate_read): Allow definition of new collation symbols in stage 2.
2528 Symbol after reorder-after can be UCS4 value.
2529 Allow reordering of collation symbols and elements.
2530 Do not only move reorder entry in new position. Instead call
2531 insert_weight to do this and read the weights.
2533 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2535 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2536 to determine invalid locale name.
2537 * locale/findlocale.c (_nl_find_locale): Likewise.
2539 * posix/annexc.c: Correct test for unavailable feature.
2541 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2544 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2546 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2549 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2550 (sysdep_routines): Add oldgetrlimit64.
2552 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2553 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2554 (tests): Add unload, reldep, reldep2, and reldep3.
2555 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2557 Add rules to build and run unload, reldep, reldep2, and reldep3.
2558 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2559 Don't create relocation dependency if it is nonzero.
2560 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2561 can never happen here.
2562 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2563 Don't create relocation dependency if it is nonzero.
2564 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2565 stuff. This can never happen here.
2566 * sysdeps/generic/ldsodefs.h: Change prototypes.
2567 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2568 _dl_lookup_up and _dl_lookup_versioned_symbol.
2570 * elf/dl-runtime.c (fixup): Likewise.
2571 (profile_fixup): Likewise.
2572 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2574 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2575 * elf/rtld.c (dl_main): Likewise.
2576 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2577 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2578 and pass down the caller map.
2579 (_dl_vsym): Likewise.
2580 * elf/reldep.c: New file.
2581 * elf/reldep2.c: New file.
2582 * elf/reldep3.c: New file.
2583 * elf/reldepmod1.c: New file.
2584 * elf/reldepmod2.c: New file.
2585 * elf/reldepmod3.c: New file.
2586 * elf/reldepmod4.c: New file.
2587 * elf/unload.c: New file.
2588 * elf/unloadmod.c: New file.
2590 * elf/do-lookup.h: Remove unused undef_name parameter.
2591 * elf/dl-lookup.c: Adjust callers.
2593 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2595 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2596 irreversible in recursive call of conversion function to signal that
2597 no error handling is wanted.
2598 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2599 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2600 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2601 recursive error handling call, otherwise to &lirreversible. Use it
2602 for calls to conversion functions.
2603 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2605 (ucs4_internal_loop_unaligned): Likewise.
2606 (ucs4le_internal_loop): Likewise.
2607 (ucs4le_internal_loop_unaligned): Likewise.
2609 2000-08-25 Greg McGary <greg@mcgary.org>
2611 * sysdeps/i386/memchr.S: Check high bound against chars
2613 * sysdeps/i386/memcmp.S: Likewise.
2614 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2615 account for pointers that lie one beyond end-of-buffer.
2617 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2619 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2620 * elf/nodelete.c (fini_ran): New global variable.
2621 (do_test): Before every dlclose call clear fini_ran and test
2622 afterwards that it is not set by the destructors.
2623 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2624 * elf/nodelmod2.c: Likewise.
2625 * elf/nodelmod4.c: Likewise.
2627 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2629 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2630 getrlimit to the list.
2632 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2634 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2635 long double format so use ldbl-96 instead of ldbl-128.
2637 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2639 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2640 even if bits 10 a 11 are non-zero.
2641 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2643 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2644 included before building gnu/lib-names.h
2645 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2647 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2648 marked DF_1_NODELETE.
2650 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2651 since we call sigaction in the child.
2653 2000-08-25 Andreas Jaeger <aj@suse.de>
2655 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2658 2000-08-25 Andreas Jaeger <aj@suse.de>
2660 * manual/arith.texi (Control Functions): Clarify possible
2661 arguments. Closes PR libc/1856.
2663 2000-08-24 H.J. Lu <hjl@gnu.org>
2665 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2666 * malloc/Makefile (tests): Likewise.
2668 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2670 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2672 2000-08-24 Andreas Jaeger <aj@suse.de>
2674 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2675 only if LIBGD is available.
2677 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2679 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2680 problems with now restrict parameter types.
2681 (convaddr4to6): Likewise.
2683 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2685 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2686 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2687 * sysdeps/s390/fpu/fegetexcept.c: New file.
2688 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2691 2000-08-24 Andreas Jaeger <aj@suse.de>
2693 * malloc/Makefile (extra-objs): Add memusagestat.o.
2694 (generated): Added memusage and memusagestat for make clean.
2696 * libio/tst_putwc.c (do_test): Delete temporary file.
2697 Move inclusion of test-skeleton to front to have prototype for
2700 * posix/Makefile (generated): Add wordexp-tst.out.
2702 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2704 * resolv/res_hconf.c (free_mem): Remove not needed if.
2706 * time/tzset.c (free_mem): New function.
2707 * string/strsignal.c (free_mem): New function.
2708 * inet/inet_ntoa.c (free_mem): New function.
2709 * sunrpc/clnt_perr.c (free_mem): New function.
2711 2000-08-24 Andreas Jaeger <aj@suse.de>
2713 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2714 * sysdeps/unix/sysv/syscalls.list: Likewise.
2716 * posix/unistd.h: Move internal prototypes from here ...
2717 * include/unistd.h: ... to here.
2719 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2721 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2723 * grp/initgroups.c (initgroups): Deallocate groups array.
2724 Reported by jani.raiha@sonera.com [PR libc/1868].
2726 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2727 * sysdeps/alpha/Dist: Likewise.
2729 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2731 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2732 destructor). Reported by Solar Designer <solar@false.com>.
2734 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2735 avoid adding double slashes.
2737 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2739 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2740 out of the __REDIRECT macro.
2742 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2744 * stdio-common/vfscanf.c: Add %F format support.
2746 * locale/programs/ld-ctype.c (ctype_output): Make sure
2747 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2748 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2749 (ctype_read): Enable returning of wide character strings for reading
2750 transliteration information.
2752 2000-08-23 Andreas Jaeger <aj@suse.de>
2754 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2755 Use static __inline instead of _EXTERN_INLINE.
2757 * misc/sys/select.h: Move prototypes of __select from here ...
2758 * include/sys/select.h: ... to here.
2760 * socket/sys/socket.h: Move prototypes of __send and __connect
2762 * include/sys/socket.h: ... to here.
2764 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2767 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2770 __setrlimit as strong name. Takes only 2 arguments.
2772 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2773 takes only 2 arguments.
2775 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2777 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2779 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2781 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2783 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2784 default_missing character being specified, pick the first
2787 2000-08-23 Andreas Jaeger <aj@suse.de>
2789 * include/wchar.h: Add some pure attributes.
2791 * time/time.h: Add const attribute for dysize.
2793 * include/stdlib.h: Add malloc attribute to __posix memalign.
2795 * stdlib/stdlib.h: Add some pure and malloc attributes.
2796 * wcsmbs/wchar.h: Likewise.
2798 * dirent/dirent.h: Add some pure attributes.
2799 * include/dirent.h: Likewise.
2801 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2803 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2806 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2808 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2809 missing buffer size checks.
2811 2000-08-23 Andreas Jaeger <aj@suse.de>
2813 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2815 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2817 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2818 otherwise __LINUX_KERNEL_VERSION might not be defined.
2819 (MIN): Define if not already defined.
2821 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2823 * stdio-common/vfprintf.c: Handle %F format.
2824 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2825 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2827 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2829 * po/zh.po: New file.
2831 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2832 enough room in target buffer.
2833 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2834 * iconvdata/bug-iconv1.c: New file.
2835 * iconvdata/Makefile (tests): Add bug-iconv1.
2837 * locale/iso-4217.def: Update entry for Nicaragua.
2839 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2841 * hurd/hurdsig.c: Rearrange headers a bit.
2842 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2843 when cthreads is being used.
2845 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2847 * elf/Makefile (distribute): Add dl-osinfo.h.
2848 * sysdeps/generic/dl-osinfo.h: New file.
2849 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2850 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2852 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2853 only for !SHARED case. Get the code from dl-osinfo.h.
2855 * stdlib/random_r.c: Cleanups.
2856 * stdlib/tst-random.c: New file.
2857 * stdlib/Makefile (tests): Add tst-random.
2858 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2860 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2862 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2863 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2864 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2865 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2867 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2869 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2870 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2871 (__syscall__sysctl): Add.
2873 2000-08-21 Andreas Jaeger <aj@suse.de>
2875 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2877 * stdlib/tst-strtoll.c: Likewise.
2879 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2881 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2883 (__initstate_r): Set errno on error.
2884 (__random_r): Likewise.
2885 (__setstate_r): Correct offset when computing
2886 new rptr and fptr. Test for arg_state being NULL.
2887 Reported by Michael Fischer <fischer@cs.yale.edu>.
2889 * posix/regex.h: Add macro definitions to allow compiling outside
2892 * sysdeps/i370/Implies: Removed.
2893 * sysdeps/mvs/Implies: Removed.
2895 * catgets/catgets.c (catopen): Filter out env_var values with / if
2898 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2899 locale name after all getenvs.
2901 * configure.in: Allow sed versions like 3.02.8.
2902 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2904 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2906 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2908 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2910 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2911 of gethostbyname2_r call.
2913 * intl/locale.alias: Add aliases for Korean.
2915 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2917 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2918 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2919 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2920 * sysdeps/s390/fpu/fegetenv.c: New file.
2921 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2922 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2923 * sysdeps/s390/fpu/fenv_libc.h: New file.
2924 * sysdeps/s390/fpu/fesetenv.c: New file.
2925 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2926 * sysdeps/s390/fpu/feupdateenv.c: New file.
2927 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2928 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2929 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2930 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2931 * sysdeps/s390/fpu/ftestexcept.c: New file.
2932 * sysdeps/s390/fpu/libm-test-ulps: New file.
2933 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2934 * sysdeps/s390/initfini.c: New file.
2935 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2936 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2937 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2938 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2939 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2940 sys/procfs.h as proposed by Mark Kettenis.
2941 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2943 2000-08-21 Andreas Jaeger <aj@suse.de>
2945 * include/poll.h: Include include/sys/poll.h to get __poll
2948 * io/sys/poll.h: Move __poll declaration from here...
2949 * include/sys/poll.h: ...to here.
2951 * include/sys/socket.h (__getpeername): Add declaration.
2953 * include/wchar.h (__vswprintf): Add declaration.
2955 * include/stdio.h (__flockfile): Add declaration.
2956 (__funlockfile): Likewise.
2958 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2960 * misc/sys/cdefs.h: Define __restrict_arr.
2961 * include/sys/time.h: Add restrict where required by AGd4.
2962 * inet/arpa/inet.h: Likewise.
2963 * io/sys/stat.h: Likewise.
2964 * io/sys/statvfs.h: Likewise.
2965 * misc/search.h: Likewise.
2966 * misc/sys/select.h: Likewise.
2967 * posix/glob.h: Likewise.
2968 * posix/regex.h: Likewise.
2969 * posix/spawn.h: Likewise.
2970 * posix/unistd.h: Likewise.
2971 * rt/aio.h: Likewise.
2972 * signal/signal.h: Likewise.
2973 * socket/sys/socket.h: Likewise.
2974 * stdlib/ucontext.h: Likewise.
2975 * streams/stropts.h: Likewise.
2976 * string/string.h: Likewise.
2977 * time/time.h: Likewise.
2978 * time/sys/time.h: Likewise.
2980 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2981 and posix_spawnattr_setscheparam.
2983 * libio/stdio.h: Make cuserid prototype again available for all
2986 * argp/argp-help.c: Unify use of function aliases to make more compact
2988 * include/libintl.h: Likewise.
2989 * inet/rcmd.c: Likewise.
2990 * intl/dcigettext.c: Likewise.
2991 * libio/iofputws.c: Likewise.
2992 * libio/iofputws_u.c: Likewise.
2993 * libio/iogetwline.c: Likewise.
2994 * libio/swprintf.c: Likewise.
2995 * malloc/malloc.c: Likewise.
2996 * nss/digits_dots.c: Likewise.
2997 * posix/fnmatch.c: Likewise.
2998 * posix/spawn_faction_addclose.c: Likewise.
2999 * posix/spawn_faction_adddup2.c: Likewise.
3000 * posix/spawn_faction_addopen.c: Likewise.
3001 * posix/spawni.c: Likewise.
3002 * posix/wordexp.c: Likewise.
3003 * posix/spawni.c: Likewise.
3004 * resolv/res_hconf.c: Likewise.
3005 * resolv/res_init.c: Likewise.
3006 * shadow/lckpwdf.c: Likewise.
3007 * signal/sighold.c: Likewise.
3008 * signal/sigrelse.c: Likewise.
3009 * stdio-common/printf-parse.h: Likewise.
3010 * stdio-common/printf-prs.c: Likewise.
3011 * stdio-common/printf_fp.c: Likewise.
3012 * stdio-common/vfprintf.c: Likewise.
3013 * stdio-common/vfscanf.c: Likewise.
3014 * stdlib/rpmatch.c: Likewise.
3015 * sunrpc/create_xid.c: Likewise.
3016 * sunrpc/key_call.c: Likewise.
3017 * sysdeps/generic/setrlimit64.c: Likewise.
3018 * sysdeps/generic/utmp_file.c: Likewise.
3019 * sysdeps/generic/vlimit.c: Likewise.
3020 * sysdeps/posix/posix_fallocate.c: Likewise.
3021 * sysdeps/posix/posix_fallocate64.c: Likewise.
3022 * sysdeps/posix/sigpause.c: Likewise.
3023 * sysdeps/posix/sigset.c: Likewise.
3024 * sysdeps/unix/grantpt.c: Likewise.
3025 * sysdeps/unix/bsd/ualarm.c: Likewise.
3026 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3027 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3028 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3029 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3030 * time/strftime.c: Likewise.
3031 * wcsmbs/wcscoll.c: Likewise.
3032 * wcsmbs/wcsxfrm.c: Likewise.
3034 * time/tst-getdate.c (main): Make error messages more human readable.
3036 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3037 postinc/predec instruction.
3038 (_FPU_SETCW): Likewise.
3039 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3041 2000-08-20 Andreas Jaeger <aj@suse.de>
3043 * time/tst-getdate.c (main): Increase error in case of wrong
3045 Fix typo in test case.
3047 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3049 * ctype/ctype.h (isblank): Make available if ISO C99.
3050 * wctype/wctype.h (iswblank): Make available if ISO C99.
3051 * math/math.h (signgam): Don't make available if ISO C99.
3052 * math/tgmath.h (tgamma): Renamed from gamma.
3053 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3055 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3057 * intl/plural.y (new_exp): Take number of optional parameters in
3058 second parameter. Test for correct number of parameters and free
3059 correctly in case of failure. Adjust all callers.
3060 (yylex): Allow ';' as terminator character.
3062 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3064 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3067 * locale/findlocale.c (free_mem): Also free here->filename.
3069 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3071 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3073 (feexcp_nomask_test): Correct printf args.
3074 (feexcp_mask_test): Likewise.
3076 2000-08-19 Andreas Jaeger <aj@suse.de>
3078 * inet/tst-gethnm.c: Include string.h to provide prototype for
3081 * malloc/mtrace.pl (usage): Inform about --help.
3083 2000-08-19 Wolfram Gloger <wg@malloc.de>
3085 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3088 2000-08-19 Andreas Jaeger <aj@suse.de>
3090 * shlib-versions: Remove libnss_db, libdb and libdb1.
3092 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3094 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3095 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3097 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3098 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3099 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3100 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3101 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3102 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3103 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3105 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3106 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3108 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3110 * include/glob.h (__glob64): Add prototype.
3111 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3112 define glob and glob_in_dir.
3113 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3114 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3117 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3118 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3119 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3120 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3122 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3124 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3126 2000-08-17 Andreas Jaeger <aj@suse.de>
3128 * math/test-fenv.c (fe_single_test): New function.
3129 (fe_env_tests): Use fe_single_test.
3130 (feenable_test): New tests for feenable/fedisable and
3132 (feexcp_mask_test): New function.
3133 (feexcp_nomask_test): New function.
3135 2000-08-19 Richard Henderson <rth@cygnus.com>
3137 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3138 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3139 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3140 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3141 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3142 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3143 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3144 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3145 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3146 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3147 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3148 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3149 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3150 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3151 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3152 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3153 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3155 2000-08-19 Andreas Jaeger <aj@suse.de>
3157 * elf/constload1.c: Include <stdio.h> for puts prototype.
3159 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3161 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3162 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3163 a dynamically loaded object remove old l_initfini list.
3164 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3165 remove some dynamically allocated memory blocks in the dynamic
3166 loading data structures.
3167 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3168 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3169 Instead call _dl_check_map_versions only for the dependencies.
3170 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3171 information of initial objects as not free-able.
3172 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3175 * elf/filter.c: Call mtrace.
3176 * elf/restest1.c: Likewise. Close the objects.
3177 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3180 * elf/constload1.c: Add comment explaining not freed memory.
3182 2000-08-18 Andreas Jaeger <aj@suse.de>
3184 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3185 alignment for structs stat and stat64.
3186 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3188 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3190 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3191 handling. Patch by Richard Henderson <rth@twiddle.net>.
3193 * nss/Versions: Remove libnss_db information.
3195 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3197 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3198 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3199 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3200 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3202 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3205 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3207 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3208 (_FPU_SETCW): Likewise.
3209 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3211 * stdio-common/printf_fp.c: Fix chars_needed computation.
3212 Patch by Greg McGary <greg@mcgary.org>.
3214 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3216 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3217 _dl_loaded are NULL.
3219 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3221 * manual/arith.texi (feholdexcept): Returns 0 on success.
3223 2000-08-17 Andreas Jaeger <aj@suse.de>
3225 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3227 Reported by Andi Kleen <ak@suse.de>.
3229 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3231 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3232 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3233 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3235 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3237 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3238 of buf->st_ino and kbuf->st_ino, not __st_ino.
3239 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3240 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3241 directive so that only linux/getdents.c is used, not some
3242 architecture specific one.
3244 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3246 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3247 enabled, not disabled exceptions.
3248 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3249 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3251 2000-08-17 Greg McGary <greg@mcgary.org>
3253 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3254 from test program name when constructing suffix for $(LDLIBS-*).
3255 (bounded-thread-library): New variable.
3257 [build-shared, build-static] (libcrypt-dep): Remove variable.
3258 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3259 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3260 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3261 (librt-tests): Add variable. (tests): Use it.
3262 [build-shared, build-static]
3263 ($(addprefix $(objpfx),$(tests)),
3264 $(addprefix $(objpfx),$(librt-tests))):
3265 Consolidate individual dependencies.
3267 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3269 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3270 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3272 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3274 [build-shared, build-static]
3275 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3276 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3278 2000-08-17 Greg McGary <greg@mcgary.org>
3280 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3281 * sysdeps/unix/make-syscalls.sh: Likewise.
3282 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3283 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3284 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3285 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3288 2000-08-17 Greg McGary <greg@mcgary.org>
3290 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3291 Wrap extern symbols in BP_SYM ().
3292 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3293 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3294 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3295 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3296 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3297 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3298 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3299 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3300 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3301 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3303 2000-08-16 Andreas Schwab <schwab@suse.de>
3305 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3306 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3307 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3309 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3311 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3312 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3313 * elf/dl-support.c: Define _nl_nloaded.
3314 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3315 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3316 object to global list.
3317 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3318 from _dl_loaded list.
3319 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3320 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3323 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3325 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3327 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3329 2000-08-16 Andreas Jaeger <aj@suse.de>
3331 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3333 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3335 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3337 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3339 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3340 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3341 (sysdep_routines): Add oldgetrlimit64.
3342 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3343 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3345 * include/link.h: Undo last patches. Hurd now has stat64.
3346 * elf/Makefile: Likewise.
3347 * elf/dl-load.c: Likewise.
3348 * elf/dl-misc.c: Likewise.
3349 * elf/dl-profile.c: Likewise.
3350 * sysdeps/generic/sysd-link.h: Removed.
3351 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3353 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3354 thread event callback function.
3355 (__aio_notify_only): Use function above.
3356 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3358 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3360 * sysdeps/mach/hurd/lseek64.c: New file.
3362 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3364 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3366 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3368 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3370 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3372 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3374 * sysdeps/mach/hurd/xstatconv.c: New file.
3375 * sysdeps/mach/hurd/fxstat64.c: New file.
3376 * sysdeps/mach/hurd/lxstat64.c: New file.
3377 * sysdeps/mach/hurd/xstat64.c: New file.
3378 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3380 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3382 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3383 Initialize, needed for change in common symbol handling in newer
3384 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3386 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3388 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3389 * elf/constload2.c: Add destructor to unload constload3.
3391 * include/link.h: Include sysd-link.h.
3392 * sysdeps/generic/sysd-link.h: New file.
3393 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3394 * elf/Makefile (distribute): Add sysd-link.h.
3395 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3396 types and functions directly.
3397 * elf/dl-misc.c: Likewise.
3398 * elf/dl-profile.c: Likewise.
3400 * elf/loadfail.c (main): Close all successfully loaded objects.
3402 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3404 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3405 there is already one.
3407 * elf/dl-close.c: Pretty print.
3409 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3411 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3412 global (with file scope). Add __libc_subfreeres function to free the
3414 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3415 in ttyname function.
3417 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3419 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3421 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3422 mapping them to /x5c and /x7e respectively.
3424 * locale/programs/ld-ctype.c: Add support for more definitions after
3427 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3429 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3430 * sysdeps/unix/sysv/linux/kernel-features.h
3431 (__ASSUME_GETDENTS64_SYSCALL): Define.
3432 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3433 syscall if available to get d_type fields.
3434 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3435 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3436 __lxstat64): Export at GLIBC_2.2.
3437 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3439 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3440 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3441 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3442 getdirentries64, versionsort64): Remove.
3443 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3444 getdirentries64, versionsort64): Remove.
3446 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3448 * posix/Makefile: Remove rules to generate glob package.
3450 * posix/Makefile (tests): Add tst-regexloc.
3451 (tst-regexloc-ENV): Add LOCPATH.
3452 * posix/tst-regexloc.c: New file.
3454 2000-08-12 Andreas Jaeger <aj@suse.de>
3456 * include/features.h (__STDC_ISO_10646__): Define.
3457 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3459 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3461 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3463 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3464 for revision 6 and up).
3466 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3468 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3469 to get definitions of just these types.
3471 * signal/signal.h: Define thread signal handling functions also for
3474 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3476 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3477 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3478 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3481 * sysvipc/sys/shm.h: Define pid_t for XPG.
3483 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3484 they are not anymore required here.
3486 * wcsmbs/wchar.h: Make the various wide char string and stream
3487 functions available for the respective XPG versions.
3489 * nss/Makefile: Remove rules to build and distribute nss_db.
3491 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3492 * sysdeps/generic/scandir64.c: Likewise.
3493 * sysdeps/generic/versionsort64.c: Likewise.
3495 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3496 Benjamin Koznik <bkoz@redhat.com>
3498 * libio/fileops.c: Merge with libstdc++-v3.
3499 * libio/genops.c: Likewise.
3500 * libio/iofclose.c: Likewise.
3501 * libio/iofopen.c: Likewise.
3502 * libio/iofwide.c: Likewise.
3503 * libio/libio.h: Likewise.
3504 * libio/libioP.h: Likewise.
3505 * libio/stdfiles.c: Likewise.
3506 * libio/stdio.c: Likewise.
3507 * libio/wfileops.c: Likewise.
3508 * libio/wgenops.c: Likewise.
3510 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3512 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3514 * locale/programs/localedef.c: Implement --prefix option to allow
3515 writing in standard places of alternative install directories.
3517 * posix/regex.c (compile_range): Implement collation sequence
3518 handling for glibc. Use simple character ordering otherwise and
3521 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3523 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3525 2000-08-12 Andreas Jaeger <aj@suse.de>
3527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3528 __USE_FILE_OFFSET64 correctly for locking.
3529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3531 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3534 Define for 2.4.1 on sparc as well.
3535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3536 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3537 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3538 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3540 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3542 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3545 2000-08-12 Andreas Jaeger <aj@suse.de>
3547 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3548 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3550 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3551 mips2 for assembler.
3553 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3554 if fnctl64 is not available for F_*LK*64.
3556 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3558 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3561 Define for 2.4.1 on x86.
3562 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3564 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3566 * dirent/dirent.h: Define DT_WHT.
3568 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3569 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3570 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3571 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3572 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3573 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3575 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3577 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3578 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3579 * inet/Makefile (tests): Add tst-gethnm.
3580 * inet/tst-gethnm.c: New file.
3582 * rt/aio_cancel.c: If canceling a specific request which is running
3583 *really* do nothing.
3584 * rt/aio_misc.h: Add `done' to states of a request.
3585 * rt/aio_misc.c: Add several tests for the correct state.
3586 Simplify request table memory handling.
3588 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3590 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3591 * dirent/scandir64.c: Move...
3592 * sysdeps/generic/scandir64.c: ...here.
3593 * dirent/alphasort64.c: Move...
3594 * sysdeps/generic/alphasort64.c: ...here.
3595 * dirent/versionsort64.c: Move...
3596 * sysdeps/generic/versionsort64.c: ...here.
3597 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3598 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3599 Export symbols at GLIBC_2.2.
3600 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3601 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3602 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3603 __versionsort64): Add prototypes.
3604 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3605 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3607 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3609 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3610 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3611 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3612 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3614 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3615 Adjust for kernel-2.4.0-test6 layout.
3616 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3617 GLIBC_2.1 and GLIBC_2.2.
3618 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3619 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3620 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3621 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3622 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3623 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3624 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3625 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3626 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3627 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3628 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3629 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3630 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3631 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3633 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3634 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3635 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3636 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3637 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3638 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3639 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3641 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3642 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3644 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3645 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3647 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3650 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3652 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3655 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3656 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3657 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3658 st_ino from __st_ino.
3659 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3660 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3661 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3662 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3663 set __st_ino in addition to st_ino.
3664 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3665 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3666 __old_getdents64 as well.
3667 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3668 getdirentries64 and old_getdirentries64 as well.
3669 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3670 __GETDENTS): Define.
3671 (GETDENTS64): Remove.
3672 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3674 (GETDENTS64): Remove.
3675 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3676 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3677 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3679 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3680 __old_readdir64_r as well.
3681 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3682 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3684 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3686 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3687 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3688 define of the kernel.
3689 Add missing __SEG_PSTKOVF definition.
3690 Adjust the padding of struct siginfo and struct sigevent to
3691 match the fact that sigval_t is 64 bit.
3693 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3695 * timezone/zic.c: Update from tzcode2000f.
3696 * timezone/australasia: Update from tzdata2000f.
3697 * timezone/europe: Likewise.
3698 * timezone/southamerica: Likewise.
3699 * timezone/yearistype: Likewise.
3701 2000-08-10 Andreas Jaeger <aj@suse.de>
3703 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3704 stat with current MIPS kernel.
3706 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3708 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3709 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3710 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3711 Remove the junk that's only relevant in the Linux kernel itself.
3712 Add a warning saying that this file is now obsolete, and include
3714 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3715 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3716 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3717 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3718 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3719 and add the notice that the file is primarily there for GDB.
3720 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3722 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3724 * time/tzfile.c (__tzfile_compute): __tzstring zones
3727 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3729 * resolv/resolv.h (__res_state): Surround prototype with
3730 __BEGIN_DECLS/__END_DECLS.
3731 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3733 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3735 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3736 Make independant of asm/resource.h from the Linux kernel.
3738 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3740 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3742 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3744 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3745 * locale/Makefile (locale-CPPFLAGS): Likewise.
3747 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3749 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3752 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3754 * misc/Versions (mincore): Export at GLIBC_2.2.
3756 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3758 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3760 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3762 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3763 socketpair. Made socketpair a weak alias.
3764 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3765 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3766 conforming, but fall back on the old protocol if the socket server
3768 * include/sys/socket.h: Add prototype for __socketpair.
3770 2000-08-09 Andreas Schwab <schwab@suse.de>
3772 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3773 long long modifier is seen.
3775 * elf/nodelete.c (do_test): Remove reference to undefined member
3777 * rt/tst-aio4.c (do_test): Likewise.
3779 * configure.in: Add `-lm' when checking for libgd.
3780 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3783 2000-08-09 Andreas Jaeger <aj@suse.de>
3785 * configure.in: Change required make versions.
3787 * manual/install.texi (Tools for Compilation): Document required
3789 (Supported Configurations): Update list of supported
3792 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3794 * locale/linereader.c (get_string): Don't print an error is a string
3795 contains an unknown character.
3797 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3799 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3800 (new_symbol): Take new parameters with name of the symbol.
3802 (handle_ellipsis): Don't only allow character symbols.
3803 (collate_read): Allow string of collating elements contain invalid
3804 characters; ignore entry in this case.
3805 Handle ellipsis of collating symbols before first order_start.
3806 Allow ellipsis in state 0.
3808 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3810 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3812 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3814 2000-08-04 Greg McGary <greg@mcgary.org>
3816 * posix/regex.c (SET_HIGH_BOUND): New macro.
3817 (MOVE_BUFFER_POINTER): Use it.
3818 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3819 (EXTEND_BUFFER): Use it.
3821 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3823 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3824 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3825 _wide_data but from _IO_FILE directly.
3826 * libio/iofclose.c: Likewise.
3827 * libio/wfileops.c: Likewise.
3829 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3830 * libio/libioP.h: Change prototypes.
3832 2000-08-03 Greg McGary <greg@mcgary.org>
3834 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3835 frame pointer early so that we save caller's frame pointer.
3836 * sysdeps/i386/elf/setjmp.S: Likewise.
3838 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3839 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3841 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3842 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3843 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3845 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3847 * iconvdata/big5.c: Updated.
3848 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3850 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3852 * Makeconfig (all-subdirs): Add conform.
3853 * conform/Makefile: Include ../Rules.
3855 * Makefile (README): Add rules to generate here as well.
3857 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3859 * version.h (VERSION): Bump to 2.1.92.
3861 * sysdeps/ia64/Dist: Add _mcount.S.
3863 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3865 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3867 * elf/Makefile (distribute): Add missing modules.
3869 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3871 * posix/regex.c (compile_range): Translate range start and end
3872 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3874 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3877 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3879 2000-08-02 Andreas Jaeger <aj@suse.de>
3881 * elf/elf.h (EM_S390): Added.
3882 (R_390_*): New relocs for S390.
3884 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3885 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3886 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3887 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3888 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3891 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3892 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3893 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3894 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3895 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3896 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3897 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3898 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3899 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3900 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3901 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3902 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3903 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3904 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3905 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3906 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3907 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3908 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3909 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3910 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3911 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3912 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3913 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3914 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3915 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3916 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3917 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3918 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3919 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3920 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3921 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3922 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3923 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3924 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3927 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3928 * sysdeps/s390/sysdep.h: New file.
3929 * sysdeps/s390/sys/ucontext.h: New file.
3930 * sysdeps/s390/sub_n.S: New file.
3931 * sysdeps/s390/strncpy.S: New file.
3932 * sysdeps/s390/strcpy.S: New file.
3933 * sysdeps/s390/stackinfo.h: New file.
3934 * sysdeps/s390/setjmp.S: New file.
3935 * sysdeps/s390/s390-mcount.S: New file.
3936 * sysdeps/s390/mul_1.S: New file.
3937 * sysdeps/s390/memusage.h: New file.
3938 * sysdeps/s390/memset.S: New file.
3939 * sysdeps/s390/memcpy.S: New file.
3940 * sysdeps/s390/memchr.S: New file.
3941 * sysdeps/s390/machine-gmon.h: New file.
3942 * sysdeps/s390/ldbl2mpn.c: New file.
3943 * sysdeps/s390/gmp-mparam.h: New file.
3944 * sysdeps/s390/fpu/fpu_control.h: New file.
3945 * sysdeps/s390/fpu/fesetround.c: New file.
3946 * sysdeps/s390/fpu/fegetround.c: New file.
3947 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3948 * sysdeps/s390/fpu/bits/fenv.h: New file.
3949 * sysdeps/s390/ffs.c: New file.
3950 * sysdeps/s390/elf/start.S: New file.
3951 * sysdeps/s390/elf/setjmp.S: New file.
3952 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3953 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3954 * sysdeps/s390/dl-machine.h: New file.
3955 * sysdeps/s390/bzero.S: New file.
3956 * sysdeps/s390/bsd-setjmp.S: New file.
3957 * sysdeps/s390/bsd-_setjmp.S: New file.
3958 * sysdeps/s390/bits/string.h: New file.
3959 * sysdeps/s390/bits/setjmp.h: New file.
3960 * sysdeps/s390/bits/huge_val.h: New file.
3961 * sysdeps/s390/bits/endian.h: New file.
3962 * sysdeps/s390/bits/byteswap.h: New file.
3963 * sysdeps/s390/bcopy.S: New file.
3964 * sysdeps/s390/backtrace.c: New file.
3965 * sysdeps/s390/atomicity.h: New file.
3966 * sysdeps/s390/asm-syntax.h: New file.
3967 * sysdeps/s390/addmul_1.S: New file.
3968 * sysdeps/s390/add_n.S: New file.
3969 * sysdeps/s390/abort-instr.h: New file.
3970 * sysdeps/s390/__longjmp.c: New file.
3971 * sysdeps/s390/Makefile: New file.
3972 * sysdeps/s390/Implies: New file.
3973 * sysdeps/s390/Dist: New file.
3974 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3976 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3978 Remove incompatible IPv6 extension of RPC.
3979 * sunrpc/Makefile: Undo changes.
3980 * sunrpc/rpc_main.c: Likewise.
3981 * sunrpc/rpc/clnt.h: Likewise.
3982 * sunrpc/rpc/svc.h: Likewise.
3983 * sunrpc/bindrsvprt6.c: Removed.
3984 * sunrpc/clnt_tcp6.c: Removed.
3985 * sunrpc/clnt_udp6.c: Removed.
3986 * sunrpc/svc_tcp6.c: Removed.
3987 * sunrpc/svc_udp6.c: Removed.
3989 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3990 dgettext, and dcgettetxt.
3992 * intl/locale.alias: Update japanese aliases.
3994 * sysdeps/ia64/bits/byteswap.h: New file.
3995 Patch by Dan Pop <Dan.Pop@cern.ch>.
3997 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3998 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4000 2000-07-13 H.J. Lu <hjl@gnu.org>
4002 * posix/regex.c (re_max_failures): Set to 4000.
4004 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4006 * gnulib/Makefile (tests): Add tst-gcc.
4007 * gnulib/tst-gcc.c: New file.
4009 * assert/Makefile (routines): Add __assert.
4010 * assert/Versions: Export __assert for glibc 2.2.
4011 * assert/__assert.c: New file.
4012 * assert/assert.h: Declare __assert.
4014 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4016 * locale/localeinfo.h (_ISCTYPE): New macro.
4017 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4018 LC_CTYPE locale format.
4019 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4020 (ctype_output): Output class_b[nr] right before class_3level[nr].
4021 (allocate_arrays): Fill class_b, similarly to class_3level.
4023 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4024 Joseph S. Myers <jsm28@cam.ac.uk>
4026 * math/tgmath.h: Make standard compliant. Don't ask how.
4028 2000-07-04 H.J. Lu <hjl@gnu.org>
4030 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4031 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4032 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4034 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4036 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4037 (__USE_LARGEFILE): Add an explanation.
4038 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4039 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4041 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4043 * libio/Makefile: Enable exception handling for genops, wgenops,
4044 fileops, and wfileops.
4046 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4048 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4049 acount that elf/rtld's main program might remove some varibales
4050 from the environment if we're trying to be secure. Move the Hurd
4051 startup data if necessary, or, if we there is no startup data,
4052 make sure the magical convention that ARGV[0] is stored just after
4053 the environment list.
4055 2000-08-01 Philip Blundell <philb@gnu.org>
4057 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4058 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4059 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4060 oldsetrlimit for GLIBC_2.0.
4062 2000-08-01 Andreas Jaeger <aj@suse.de>
4064 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4065 (LINE_PARSER): Allow any number of spaces between ip address and
4066 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4068 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4070 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4073 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4074 _nss_nisplus_getipnodebyname_r.
4076 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4077 now, getipnodebyname is deprecated.
4078 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4081 * inet/Makefile (routines): Don't build getipnodebyaddr and
4084 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4086 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4088 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4090 * wctype/Makefile (distribute): Add wchar-lookup.h.
4092 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4094 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4096 2000-08-01 Andreas Schwab <schwab@suse.de>
4098 * Make-dist (dist): Resolve `..' in file names.
4100 2000-08-01 Andreas Jaeger <aj@suse.de>
4102 * stdio-common/Makefile (distribute): Remove removed files, add
4105 * Makefile (distribute): Remove include/db_185.h and db.h.
4107 * include/db_185.h: Remove, it's not needed anymore.
4108 * include/db.h: Likewise.
4110 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4112 * inet/Makefile (tests): Remove tst-ipnode.
4113 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4116 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4118 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4119 endp statements have already been added.
4121 2000-04-18 David Mosberger <davidm@hpl.hp.com>
4123 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4124 <sysdeps/ia64/sysdep.h>.
4126 * sysdeps/ia64/_mcount.S: New file.
4128 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4129 __gmon_start__. Fix up extraneous whitespace.
4131 2000-01-12 H.J. Lu <hjl@gnu.org>
4133 * sysdeps/ia64/elf/initfini.c: New file.
4135 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4137 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
4138 dependency between branch and ar.pfs write.
4140 2000-07-31 H.J. Lu <hjl@gnu.org>
4142 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4143 handle the wchar_t array.
4145 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4147 * iconvdata/gb18030.c: Don't map to and from positions in ISO
4148 10646 which are not yet assigned.
4149 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
4151 2000-07-31 Andreas Jaeger <aj@suse.de>
4153 * inet/Versions: Remove getipnodebyaddr and friends from
4156 * resolv/netdb.h: Remove getipnodebyaddr and friends.
4158 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4160 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
4161 ch >= 0x81 && ch2 < 0x40 as invalid.
4163 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4165 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
4166 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
4168 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4170 * iconvdata/johab.c (BODY for TO_LOOP): After calling
4171 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
4173 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4175 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
4177 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
4179 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4181 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
4183 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4185 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
4186 (from_ucs4): Change values of U+00A4 and U+00ED.
4187 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
4189 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4191 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
4192 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
4194 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4196 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4197 * iconvdata/isiri-3342.h: New file.
4198 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4199 treat 0x80 as a gap.
4201 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4203 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4204 (utf8_encode): Use simple shifts instead. Fix return value.
4206 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4208 * timezone/private.h: Update from tzcode2000e.
4209 * timezone/asia: Update from tzdata2000e.
4210 * timezone/australasia: Likewise.
4211 * timezone/europe: Likewise.
4212 * timezone/northamerica: Likewise.
4213 * timezone/zone-tab: Likewise.
4215 2000-07-30 Ralf Baechle <ralf@gnu.org>
4217 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4218 the order of struct sigaltstack members is different.
4220 2000-07-26 Philip Blundell <philb@gnu.org>
4222 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4224 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4226 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4227 * locale/programs/ld-ctype.c: Adjust for this.
4229 * locale/programs/ld-collate.c: Add more alignment checks.
4230 * locale/string/strcoll.c: Likewise.
4232 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4234 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4235 outside USE_IN_LIBIO block.
4237 2000-07-26 Philip Blundell <philb@gnu.org>
4239 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4240 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4242 2000-07-28 Philip Blundell <philb@gnu.org>
4244 * math/test-fpucw.c: Ignore reserved bits in control word.
4246 2000-07-28 Philip Blundell <philb@gnu.org>
4248 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4249 (ret): Redefine to PSEUDO_RET.
4250 (PSEUDO): Remove jump to syscall_error.
4252 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4254 * resolv/README: Add some information about using the resolver in
4255 multi-threaded code and with C++. Spelling fixes.
4257 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4259 * resolv/resolv.h (struct __sockaddr_in): Remove.
4260 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4262 2000-07-29 Greg McGary <greg@mcgary.org>
4264 * Rules (test-bp-inputs, make-test-out): New variables.
4265 ($(objpfx)%-bp.out): New rule.
4266 ($(objpfx)%.out): Rewrite in terms of new variables.
4268 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4269 internal function that uses vtable.
4270 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4271 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4273 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4274 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4275 (chunk_align): Likewise.
4277 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4278 in a way that conforms to decl, and avoids spurious bounds violation.
4280 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4281 * sysdeps/generic/frame.h: Likewise.
4282 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4283 around return value.
4284 (__backtrace): Qualify frame-pointer chain and return address
4285 pointers as __unbounded. Wrap bounds around variable `current'.
4286 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4287 around return value.
4288 (catch_segfault): Qualify frame-pointer chain and return address
4289 pointers as __unbounded. Wrap bounds around variable `current'.
4290 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4291 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4292 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4294 (__backtrace): Qualify frame-pointer chain and return address
4295 pointers as __unbounded. Wrap bounds around variable `current'.
4297 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4298 * sysdeps/i386/mul_1.S: Likewise.
4299 * sysdeps/i386/submul_1.S: Likewise.
4300 * sysdeps/i386/i586/addmul_1.S: Likewise.
4301 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4302 * sysdeps/i386/i586/submul_1.S: Likewise.
4304 2000-07-27 Andreas Jaeger <aj@suse.de>
4306 * libio/Depend: New file, libio needs localedata for tests.
4307 * posix/Depend: Likewise.
4309 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4311 * stdio-common/_i18n_itoa.c: Removed.
4312 * stdio-common/_i18n_itoa.h: Removed.
4313 * stdio-common/_i18n_itowa.c: Removed.
4314 * stdio-common/_i18n_itowa.h: Removed.
4315 * stdio-common/_i18n_number.h: New file.
4316 * stdio-common/Depend: New file.
4317 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4318 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4319 printing. Change printing of numbers with locale specific digits to
4320 use new code in _i18n_number.h.
4321 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4324 * stdio-common/bug13.c: Improve messages.
4326 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4327 (set_class_defaults): Always search also for Uxxxx names.
4328 Detect insufficient number of outdigits.
4330 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4332 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4334 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4335 _NL_CTYPE_MAP_NAMES.
4336 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4337 * wctype/wcfuncs.c (towlower, towupper): Use them.
4338 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4339 * wctype/wctrans.c (wctrans): Likewise.
4340 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4342 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4344 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4345 Use the optimized version of this function outside glibc as well.
4347 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4349 * locale/indigits.h (indigit_value): Correct.
4350 * locale/indigitswc.h (indigitwc_value): Correct.
4351 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4352 conversion, add GROUP checking for it, fix GROUP number
4353 conversion with strlen(thousands) > 1.
4354 Honour width correctly in the presence of floating
4355 decimal points and thousands separators.
4356 * stdio-common/tst-sscanf.c: New test.
4357 * stdio-common/Makefile: Add it to tests.
4358 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4359 thousands separators and group argument is non-zero.
4361 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4363 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4364 starts at GLIBC_2.2.
4366 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4368 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4369 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4371 (headers): Add sys/tas.h.
4372 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4373 GLIBC_2.2 from libc.
4374 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4375 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4378 2000-07-28 Andreas Jaeger <aj@suse.de>
4380 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4382 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4383 ($(objpfx)tst-dladdr.out): new.
4384 (tests): Add tst-dladdr.
4385 ($(objpfx)glrefmain): Use libdl.
4387 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4390 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4392 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4393 ftruncate(64) calls.
4395 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4397 * intl/tst-translit.c: Include string.h to get prototype for
4400 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4402 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4403 name and add weak alias for __fork.
4405 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4406 & pwrite to use __libc_<name> as strong names instead of
4409 * include/sched.h: Add clone2 prototype.
4411 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4413 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4414 procedure name twice.
4416 2000-07-27 Philip Blundell <philb@gnu.org>
4418 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4420 2000-07-27 Andreas Jaeger <aj@suse.de>
4422 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4423 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4424 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4425 Reported by Andi Kleen <ak@suse.de>.
4427 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4428 (do_wait): Test requests with aio_return64.
4429 (do_test): Change callers of do_wait.
4431 2000-07-26 Andreas Jaeger <aj@suse.de>
4433 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4434 (do_wait): Test requests with aio_return.
4435 (do_test): Change callers of do_wait.
4437 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4439 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4440 from request list. Don't do the list handling here, call
4441 __aio_remove_request.
4442 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4443 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4444 request might already be processed. Don't do the list handling
4445 here, call __aio_remove_request.
4447 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4450 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4453 2000-07-27 Greg McGary <greg@mcgary.org>
4455 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4456 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4457 in union init. Pass zero for ignored semnum arg to semctl.
4458 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4460 2000-07-26 Greg McGary <greg@mcgary.org>
4462 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4463 data structure pointers as __unbounded.
4464 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4465 * sysdeps/generic/bp-semctl.h: New file.
4466 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4467 pointers as __unbounded. Check bounds of syscall args.
4468 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4469 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4470 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4471 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4472 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4473 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4474 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4475 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4476 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4477 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4478 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4479 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4480 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4481 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4482 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4483 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4485 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4487 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4489 * locale/C-ctype.c: Likewise.
4490 * wcsmbs/wcsmbsload.c: Likewise.
4492 2000-07-26 Greg McGary <greg@mcgary.org>
4494 * Makeconfig (+link-bounded, link-libc-bounded,
4495 link-extra-libs-bounded): New variables.
4496 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4497 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4498 * Rules (tests-bp.out): New variable.
4499 (tests): Conditionally add BP tests.
4500 (binaries-bounded): Add variable and associated rule.
4501 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4502 Move conditional stuff after place where condition is defined.
4504 * malloc/malloc.c (bp-checks.h): Add #include.
4505 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4506 (_bin_at): Add unbounded version of bin_at.
4507 (IAV, chunk_alloc): Use unbounded _bin_at.
4508 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4509 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4510 Wrap BOUNDED_N around return value.
4511 (chunk_realloc): Adjust oldsize once.
4513 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4514 (__ubp_memchr): Add correct decl.
4515 (_CHECK_STRING): Use __ubp_memchr.
4516 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4517 New alias for unbounded-pointer __memchr.
4518 * sysdeps/i386/memchr.S: Likewise.
4519 * sysdeps/ia64/memchr.S: Likewise.
4520 * sysdeps/m68k/memchr.S: Likewise.
4521 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4522 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4523 * sysdeps/vax/memchr.s: Likewise.
4525 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4526 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4527 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4528 * sysdeps/i386/i686/strtok.S: Likewise.
4529 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4530 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4532 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4533 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4535 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4536 bounds of copy_result to mount_proc.
4538 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4540 * wctype/wctype.h (__wctrans_l): New declaration.
4541 * wctype/wctrans_l.c: New file.
4542 * wctype/Makefile (routines): Add wctrans_l.
4544 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4546 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4547 Patch by MacGyver <macgyver@tos.net>.
4549 2000-07-26 Andreas Jaeger <aj@suse.de>
4551 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4552 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4553 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4555 * rt/tst-aio.c (test_file): Fix typo.
4556 * rt/tst-aio64.c (test_file): Likewise.
4558 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4559 * rt/Makefile: Add rules to build and run tst-aio3.
4561 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4562 it's not needed and confuses only.
4564 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4566 * resolv/res_init.c: Add support for nameserver communication with
4568 * resolv/res_send.c: Likewise.
4569 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4571 Patch by <venaas@nvg.ntnu.no>.
4573 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4575 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4576 (wcwidth_table_get): New function.
4577 (wcwidth_table_add): Call it.
4578 (wctrans_table_get): New function.
4579 (wctrans_table_add): Call it.
4581 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4583 * rt/lio_listio.c (lio_listio): Always disable individual
4585 * rt/Makefile: Add rules to build and run tst-aio2.
4586 * rt/tst-aio2.c: New file.
4588 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4589 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4591 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4593 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4594 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4595 leading and trailing spaces from host, user and domain name.
4597 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4599 * csu/defs.awk: Add support for need_endp.
4601 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4603 * resolv/resolv.h: Remove __P from res_send_qhook and
4604 res_send_rhook typedefs.
4606 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4608 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4610 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4612 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4614 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4616 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4617 calling thread, set the cancellation flag and return success
4620 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4622 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4623 * libio/tst-widetext.c: New file.
4624 * libio/tst-widetext.input: New file.
4626 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4628 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4629 empty external buffer correctly.
4631 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4633 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4634 __STRING(entry) and not #entry.
4635 (_RTLD_EPILOGUE): Likewise.
4636 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4638 2000-07-25 Andreas Jaeger <aj@suse.de>
4640 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4641 according to changes in test program, run also with static only
4643 ($(objpfx)tst-printf.out): Likewise.
4645 * stdio-common/tst-unbputc.sh: Likewise.
4646 * stdio-common/tst-printf.sh: Likewise.
4648 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4650 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4652 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4655 * libio/fileops.c: Pretty print.
4657 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4659 * wctype/wchar-lookup.h: New file.
4660 * wctype/iswctype.c: Include "wchar-lookup.h".
4661 (__iswctype): Support alternate locale format with 3-level tables.
4662 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4663 * wctype/towctrans.c (__towctrans): Likewise.
4664 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4665 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4666 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4667 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4668 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4669 __iswxdigit, towlower, towupper): Support alternate locale format
4670 with 3-level tables.
4671 * wctype/wcextra.c (iswblank): Likewise.
4672 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4673 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4674 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4675 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4676 format with 3-level tables.
4677 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4678 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4679 format, return a 3-level table pointer.
4680 * wctype/wctype_l.c (__wctype_l): Likewise.
4681 * wctype/wctrans.c (wctrans): Likewise.
4682 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4683 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4684 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4685 (iswctype): Remove macro definition.
4686 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4687 (internal_wcwidth): Support alternate locale format with 3-level
4689 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4691 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4692 Define them as being type "word".
4693 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4694 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4695 __ctype32_width): New exported variables.
4696 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4697 alternate locale format. Don't initialize __ctype_names and
4698 __ctype_width in the alternate locale format.
4699 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4700 * locale/programs/localedef.c (oldstyle_tables): New variable.
4701 (OPT_OLDSTYLE): New macro.
4702 (options): Add --old-style option.
4703 (parse_opt): Handle --old-style option.
4704 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4705 map_offset, class_3level, map_3level, width_3level members.
4706 (ctype_output): Support for alternate locale format: Computation of
4707 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4708 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4709 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4710 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4711 now contain both class and map tables.
4712 (struct wctype_table): New type.
4713 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4715 (struct wcwidth_table): New type.
4716 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4718 (struct wctrans_table): New type.
4719 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4721 (allocate_arrays): Support for alternate locale format: Set
4722 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4723 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4724 to the first 256 characters. Compute ctype->map_3level. Set
4725 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4726 instead of ctype->width.
4728 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4730 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4733 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4735 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4736 in wide characters, not bytes.
4737 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4740 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4742 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4743 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4744 LC_MEASUREMENT, LC_IDENTIFICATION.
4746 * locale/xlocale.h (struct __locale_struct): Increase size of
4748 * locale/duplocale.c (__duplocale): Copy newly added categories as
4750 * locale/freelocale.c (__freelocale): Free newly added categories.
4751 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4752 If a base is given, use it, don't simply return it.
4754 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4756 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4757 variables, copied_key and copied_salt, instead of boolean variables.
4759 2000-07-24 Andreas Jaeger <aj@suse.de>
4761 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4764 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4765 initgroups_function, adopted prototype for change from 2000-07-23.
4766 (initgroups): Follow type change.
4768 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4769 & PAGE_MASK case, reformat.
4771 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4772 from stdin and setup environment.
4774 2000-07-24 Andreas Schwab <schwab@suse.de>
4776 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4778 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4780 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4781 more. Patch by scarlet@mit.edu [PR libc/1799].
4783 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4786 * argp/argp-parse.c (parser_finalize): Reverse order in which
4787 parsers are run for ARGP_KEY_END. [PR libc/1755].
4789 * grp/initgroups.c (initgroups): Don't limit the possible number
4790 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4791 the setgroups call while the call fails and descrease the number
4792 of groups each round.
4793 The name of the initgroups function in the NSS modules changed.
4794 (compat_call): Adapt for dynamic resizing.
4795 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4796 Implement dynamic resizing.
4797 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4799 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4800 * hesiod/Versions: Change exported interface name.
4801 * nis/Versions: Change exported interface name.
4803 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4805 * locale/iso-639.def: Some errors corrected.
4806 Patch by Keld Simonsen.
4808 * include/limits.h: Update non-gcc portion.
4809 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4811 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4813 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4814 program's data space, reallocate only the space that was just
4815 deallocated to release its backing space.
4817 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4819 * stdio-common/vfprintf.c (process_string_arg): For wide character
4820 version, handle precision also correctly.
4822 * nss/nss_files/files-hosts.c: Correct problem with three or more
4823 entries with the same name.
4825 * nss/nss_files/files-hosts.c: Implement multi handling.
4826 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4828 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4830 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4833 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4834 * malloc/Makefile: Likewise.
4835 * malloc/tst-mtrace.sh: Likewise.
4836 * posix/Makefile: Likewise.
4837 * posix/globtest.sh: Likewise.
4838 * posix/wordexp-tst.sh: Likewise.
4839 * string/Makefile: Likewise.
4841 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4843 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4844 size instead of LC_ALL to take into account the new locale
4847 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4849 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4850 remainders of hash table.
4851 * locale/categories.def: Remove remainders of transliteration
4853 * locale/langinfo.h: Likewise.
4854 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4855 transliteration tables.
4857 * locale/gen-translit.pl: New file.
4858 * locale/C-translit.h.in: New file.
4859 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4860 data pointers with data from this file.
4861 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4862 and gen-translit.pl.
4863 Add rule to generate C-translit.h.
4864 * intl/tst-translit.c (main): Update for now performed
4867 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4868 (it's no input error).
4869 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4870 * stdio-common/scanf12.c: Correct expected result for first scanf.
4872 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4873 of multibyte character strings in %s format with precision.
4875 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4877 * locale/programs/ld-collate.c (collate_read): Allow collating
4878 symbols and elements be named in reorder-after instructions.
4879 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4881 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4882 duplication with generated name, not the name of the first
4884 Patch by Yong Li <yong.li@asu.edu>.
4886 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4887 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4889 2000-07-21 Wolfram Gloger <wg@malloc.de>
4891 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4892 allocations only if a non-main arena cannot be extended.
4894 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4896 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4897 in DF_1_NODEFLIB handling.
4899 2000-07-21 Andreas Jaeger <aj@suse.de>
4901 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4904 * libio/fwide.c: Include <wchar.h> for prototype.
4906 2000-07-21 Greg McGary <greg@mcgary.org>
4908 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4909 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4910 Define in terms of chunk_at_offset.
4911 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4912 (next_bin, prev_bin): offset by size of real array elements.
4913 (chunk_align): Make `m' a scalar, since that's how it's used.
4915 2000-07-21 Greg McGary <greg@mcgary.org>
4917 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4919 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4920 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4921 Wrap bounds around argv & envp and each of their string members.
4922 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4923 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4924 symbol in BP_SYM (). Discard bounds of address arg.
4925 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4926 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4927 Discard bounds on address arg, add bounds to return value.
4929 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4931 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4932 * elf/filter.c: New file.
4933 * elf/filtmod1.c: New file.
4934 * elf/filtmod2.c: New file.
4936 * elf/rtld.c: Define _dl_bind_not variable.
4937 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4938 * elf/dl-support.c: Likewise.
4939 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4940 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4942 (profile_fixup): Likewise.
4944 * libio/Makefile (routines): Add fwide.
4945 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4946 fwide now. Internal calls to _IO_fwide must do locking themselves
4947 or don't need locking.
4948 * libio/fwide.c: New file.
4950 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4952 * elf/Makefile: Add no modules for nodelete test.
4953 * elf/nodelmod3.c: New file.
4954 * elf/nodelmod4.c: New file.
4955 * elf/nodelete.c: Also test case where dependency of dlopen() object
4958 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4959 * elf/nodlopen.c: New file.
4960 * elf/nodlopenmod.c: New file.
4961 * include/dlfcn.h: Define __RTLD_DLOPEN.
4962 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4963 and this is a dlopen() call, do not load the binary.
4964 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4965 * dlfcn/dlopenold.c: Likewise.
4966 * configure.in: Add test for -z nodelete option.
4967 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4969 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4971 Make Hesiod NSS module thread-safe.
4973 * hesiod/README.hesiod: Update.
4975 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4976 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4977 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4978 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4980 * hesiod/nss_hesiod/hesiod-init.c: New file.
4981 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4982 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4983 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4984 * hesiod/nss_hesiod/hesiod-service.c
4985 (_nss_hesiod_getservbyport_r): New function. Provide support for
4986 looking up services by port number.
4987 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4989 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4990 * hesiod/hesiod.h: Likewise.
4991 * hesiod/hesiod_p.h: Likewise.
4993 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4995 Fix problems with `struct __res_state' getting too big.
4996 * resolv/resolv.h (struct __sockaddr_in): New definition.
4997 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4998 the private parts of the structure to save some space.
4999 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5000 (struct sockaddr_in *) in call to sock_eq.
5001 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5003 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5005 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5006 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5008 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5009 to _dl_map_object. Return immediately if no object loaded.
5010 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5011 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5012 if it exists into l_flags_1 word.
5013 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5014 it to determine whether loading is wanted or not.
5015 (_dl_map_object): Likewise.
5016 Call _dl_map_object_from_fd with new parameter.
5017 * sysdeps/generic/ldsodefs.h: Update prototype.
5018 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5019 * elf/rtld.c: Likewise.
5020 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5021 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5022 * elf/noload.c: New file.
5023 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5024 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5025 * sysdeps/mips/bits/dlfcn.h: Likewise.
5026 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5027 (tests-nodelete-yes): Define.
5028 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5029 Add rules to build nodelete and modules.
5030 * elf/nodelete.c: New file.
5031 * elf/nodelmod1.c: New file.
5032 * elf/nodelmod2.c: New file.
5033 * configure.in: Add test for -z nodelete option.
5034 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5036 * libio/Makefile (tests): Add tst_wprintf2.
5037 (tst_wprintf2-ARGS): Define.
5038 * libio/tst_wprintf2.c: New file.
5039 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5041 * libio/wfiledoalloc.c: Only allocate external buffer if this
5042 hasn't happened yet.
5044 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5045 something in the buffer. gconv call can write up to end of the
5046 buffer, not only _IO_write_end.
5047 (_IO_wfile_overflow): Allocate also external buffer.
5049 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5051 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5052 strings with precision in vfwprintf correctly.
5053 * stdio-common/vfprintf.c: Fix completely broken handling of
5054 unbuffered wide character streams.
5055 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5057 * resolv/Makefile (distribute): Add README.
5059 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5061 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5063 Update resolver code to BIND 8.2.3-T5B.
5065 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5067 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5068 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5070 * resolv/Banner: BIND-8.2.3-T5B.
5072 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5073 * resolv/herror.c: Likewise.
5074 * resolv/inet_addr.c: Likewise.
5075 * resolv/inet_net_ntop.c: Likewise.
5076 * resolv/inet_net_pton.c: Likewise.
5077 * resolv/inet_neta.c: Likewise.
5078 * resolv/inet_ntop.c: Likewise.
5079 * resolv/nsap_addr.c: Likewise.
5080 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5081 IPv6 addresses (ISC bug #520).
5083 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5084 * resolv/ns_parse.c: Likewise.
5085 * resolv/ns_netint.c: Likewise.
5086 * resolv/ns_samedomain.c: Likewise.
5087 * resolv/ns_ttl.c: Likewise.
5088 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5089 RCS ID in object file.
5091 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5092 * resolv/res_mkquery.c: Likewise.
5093 * resolv/res_query.c: Likewise.
5094 * resolv/res_init.c: Likewise.
5095 (res_setoptions): Mark internal.
5096 * resolv/res_send.c: Likewise.
5097 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5098 by using poll instead.
5099 * resolv/res_comp.c: Likewise.
5100 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5101 weak alias for __dn_expand.
5102 * resolv/res_data.c: Likewise.
5103 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5104 in _res.options. Avoids a potential security risk by avoiding a
5106 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5107 res_mkquery, res_query, res_querydomain adn res_search weak
5108 aliases for __res_mkquery, __res_query, __res_querydomain and
5110 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
5111 instead to avoid close(0).
5112 (res_init): Always use the static resolver context.
5113 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5114 alias for __res_init.
5116 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
5117 RES_SET_H_ERRNO and accompanying comment to...
5118 * include/resolv.h: ... here.
5120 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5121 * resolv/arpa/nameser_compat.h: Likewise.
5123 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5125 * nss/makedb.c (main): Compare result of load_db with
5126 NSS_STATUS_SUCCESS and not 0.
5127 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5129 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5131 2000-07-18 Greg McGary <greg@mcgary.org>
5133 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
5134 (EXTEND_BUFFER): Use it.
5136 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5138 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
5139 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
5140 __builtin_return_address.
5141 * dlfcn/dlopenold.c: Likewise.
5142 * dlfcn/dlsym.c: Likewise.
5143 * dlfcn/dlvsym.c: Likewise.
5144 * elf/dl-profstub.c: Likewise.
5145 * malloc/malloc.c: Likewise.
5146 * sysdeps/generic/machine-gmon.h: Likewise.
5147 Based on a patch by schwidefsky@de.ibm.com.
5149 2000-07-18 Andreas Jaeger <aj@suse.de>
5151 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
5152 NULL to elf_machine_fixup_plt t argument to silence GCC.
5154 * include/string.h: Add prototype for __memchr.
5156 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
5158 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
5161 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5163 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
5165 * locale/C-ctype.c: Add initializers for gap elements.
5166 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
5169 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5171 * nscd/nscd.c (print_version): Update copyright year.
5173 2000-07-17 Greg McGary <greg@mcgary.org>
5175 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5176 keyletters F, I, S, W. Remove unused keyletter V. Surround
5177 signature argnames with angle-brackets for use as word delimiters,
5178 and to induce syntax errors for any args not handled. Split
5179 multi-echo echoes and comment each stage.
5180 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
5181 * sysdeps/unix/inet/syscalls.list: Likewise.
5182 * sysdeps/unix/mman/syscalls.list: Likewise.
5183 * sysdeps/unix/syscalls.list: Likewise.
5184 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5185 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5186 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5187 * sysdeps/unix/sysv/syscalls.list: Likewise.
5188 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
5190 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
5191 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
5192 qualifiers. Don't check NULL-terminator of argv & envp.
5193 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
5194 unbounded pointer type in word-size assertion.
5195 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5196 cases to stifle warnings.
5198 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5200 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5202 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5203 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5206 * Makerules (o-objects): Supplement with $(o-objects$o).
5207 * string/Makefile (o-objects.ob): Add variable to pull
5208 unbounded versions of memcpy, memset and memchr into libc_b.
5210 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5211 rather than non-existent __ubp_memchr.
5212 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5213 (_CHECK_STRING, _CHECK_N): New macros.
5214 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5215 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5216 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5217 Add weak alias "memchr".
5218 * sysdeps/generic/memchr.c: Likewise.
5219 * sysdeps/i386/memchr.S: Likewise.
5220 * sysdeps/ia64/memchr.S: Likewise.
5221 * sysdeps/m68k/memchr.S: Likewise.
5222 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5223 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5224 * sysdeps/vax/memchr.s: Likewise.
5226 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5228 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5229 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5230 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5231 __BOUNDED_POINTERS__.
5232 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5233 for __BOUNDED_POINTERS__.
5235 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5237 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5238 field of struct __gconv_trans_data differently. Don't pass NULL to
5239 trans_init_fct. Simplify list append operation.
5241 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5243 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5244 not only those having tsearch.
5246 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5248 * locale/langinfo.h: Add placeholder values in enum for removed
5251 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5253 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5254 chain if the PHDR check fails.
5256 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5258 * nss/getent.c (print_hosts): Make sure we always print a space
5259 between numeric addresses and hostnames.
5261 2000-07-17 Wolfram Gloger <wg@malloc.de>
5263 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5264 i.e. if n_mmaps_max>0.
5266 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5268 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5269 values to remove possible clash with other AI_* constants.
5270 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5271 hexadecimal constants to stress the fact they're in fact
5274 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5276 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5277 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5278 instead of res_init.
5280 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5282 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5283 parameters of memset calls to avoid warnings.
5285 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5287 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5290 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5291 Patch by Greg McGary <greg@mcgary.org>.
5293 * io/Makefile (tests): Add tst-getcwd.
5294 * io/tst-getcwd.c: New file.
5296 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5298 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5300 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5303 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5305 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5306 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5308 2000-07-12 H.J. Lu <hjl@gnu.org>
5310 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5312 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5313 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5314 (sysdep-routines): Add clone2.
5315 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5317 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5319 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5320 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5322 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5324 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5325 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5326 Change type of si_band from "int" to "long".
5327 (si_imm) [USE_GNU]: Define
5328 (si_isr) [USE_GNU]: Likewise.
5329 (ILL_BREAK) [USE_GNU]: Likewise.
5330 (FPE_DECOVF) [USE_GNU]: Likewise.
5331 (FPE_DECDIV) [USE_GNU]: Likewise.
5332 (FPE_DECERR) [USE_GNU]: Likewise.
5333 (FPE_INVASC) [USE_GNU]: Likewise.
5334 (FPE_INVDEC) [USE_GNU]: Likewise.
5335 (TRAP_BRANCH) [USE_GNU]: Likewise.
5336 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5338 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5340 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5341 bits/sigcontext as struct mcontext does not depend on it.
5343 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5345 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5347 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5349 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5351 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5353 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5355 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5357 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5359 * intl/Makefile (test-srcs): Add tst-translit.
5361 Add rules to build and run tst-translit.
5362 * intl/tst-translit.c: New file.
5363 * intl/tst-translit.sh: New file.
5364 * intl/translit.po: New file.
5366 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5368 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5369 transliteration function did its job, continue, don't stop.
5371 * iconvdata/iso646.c: Little optimizations in body for conversion
5374 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5376 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5378 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5380 * configure.in: Check for pwd binary.
5381 * config.make.in: Add PWD_P to be subsituted.
5382 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5384 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5386 * iconvdata/Makefile (modules): Add GB18030.
5387 (distribute): Add gb18030.c.
5388 * iconvdata/gconv-modules: Add entries for GB18030 module.
5389 * iconvdata/gb18030.c: New file.
5390 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5393 2000-07-13 Andreas Jaeger <aj@suse.de>
5395 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5398 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5399 * inet/getnetgrent.c (free_mem): Likewise.
5400 * misc/mntent.c (free_mem): Likewise.
5401 * nss/getXXbyYY.c (free_mem): Likewise.
5402 * nss/getXXent.c (free_mem): Likewise.
5403 * pwd/fgetpwent.c (free_mem): Likewise.
5404 * shadow/fgetspent.c (free_mem): Likewise.
5406 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5408 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5409 64-bit architecture correctly [PR libc/1794].
5411 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5413 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5414 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5415 report that we are out of memory.
5416 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5417 * elf/dl-libc.c (dlerror_run): Likewise.
5418 * elf/dl-open.c (_dl_open): Likewise.
5419 * elf/rtld.c (dl_main): Likewise.
5420 * elf/dl-error.c: Define _dl_out_of_memory.
5421 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5423 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5426 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5428 * iconv/loop.c: Fix comment.
5430 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5432 2000-07-13 Andreas Jaeger <aj@suse.de>
5434 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5435 getcwd (NULL, size) with size > 0.
5436 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5438 2000-07-13 Andreas Jaeger <aj@suse.de>
5440 * posix/Makefile: Remove build rules for libposix.
5442 2000-07-13 Andreas Schwab <schwab@suse.de>
5444 * sysdeps/generic/glob.c (glob): Fix memory leak.
5445 [SHELL]: Remove reference to undefined variable `files'.
5448 2000-07-13 Andreas Jaeger <aj@suse.de>
5450 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5453 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5454 memory if it was allocated.
5456 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5458 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5461 * iconv/gconv_open.c (__gconv_open): Reapply
5462 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5464 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5466 * iconv/gconv_open.c: Undo last two changes for now. They break
5469 2000-07-12 Andreas Jaeger <aj@suse.de>
5471 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5473 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5474 (CFLAGS-dl-cache.c): Likewise.
5475 (CFLAGS-ldconfig.c): Added, passes directory locations.
5477 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5479 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5480 (main): Use configured LIBDIR and SLIBDIR.
5482 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5484 * math/bits/cmathcalls.h (cimag): Add __THROW.
5485 (creal, conj): Likewise.
5486 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5489 2000-07-12 H.J. Lu <hjl@gnu.org>
5491 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5492 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5494 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5496 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5499 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5501 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5503 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5505 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5508 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5510 * iconv/gconv_open.c (__gconv_open): Initialize
5511 result->__steps[cnt].__data.
5513 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5515 * nss/getent.c (services_keys): Pass port number in network byte
5516 order in call to getservbyport.
5518 2000-07-11 Andreas Jaeger <aj@suse.de>
5520 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5522 * intl/Makefile (do-gettext-test): Likewise.
5523 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5525 2000-07-11 Andreas Schwab <schwab@suse.de>
5527 * Makeconfig (run-program-prefix): New rule.
5528 (built-program-cmd): Use run-program-prefix.
5530 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5532 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5533 and NOEXPR unconditionally available.
5535 2000-07-12 Greg McGary <greg@mcgary.org>
5537 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5538 * sysdeps/posix/open64.c: Likewise.
5539 * sysdeps/generic/fegetenv.c: Likewise.
5540 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5541 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5542 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5543 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5544 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5545 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5547 2000-07-11 Greg McGary <greg@mcgary.org>
5549 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5550 Add extra level of macro expansion.
5551 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5552 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5553 is available at the time `select' prototype is declared.
5554 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5555 Collect non-versioned weak aliases. Consider only non-versioned
5556 aliases for the user-visible systemcall name. Do checks inline with
5557 call to primitive system call.
5558 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5559 stand-alone bounds checks to suppress unused value warnings.
5560 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5562 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5564 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5565 file descriptor checking in SUID programs for the Hurd.
5567 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5568 res_hostalias instead of __hostalias for thread-safety.
5570 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5572 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5573 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5575 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5577 * include/features.h: Include ISO C99 features if the compiler used
5578 is an ISO C99 compiler.
5579 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5581 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5583 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5585 2000-07-10 Andreas Jaeger <aj@suse.de>
5587 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5588 it's overridden by libpthreads.
5589 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5590 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5591 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5595 * malloc/Makefile: Run tst-mtrace only with shared libs.
5597 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5600 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5602 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5603 that gpreg really points to the GOT section of the calling object.
5604 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5605 checking a start address of first one.
5607 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5610 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5612 2000-07-10 Andreas Jaeger <aj@suse.de>
5614 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5615 (string_alias->strong_alias).
5617 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5619 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5621 2000-07-07 Greg McGary <greg@mcgary.org>
5623 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5624 have no names without leading underscores.
5626 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5628 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5631 * stdio-common/Makefile (tests): Remove tst-printf here...
5632 (tests-srcs): ...and add it here.
5633 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5634 Add rules to run tst-printf.sh.
5635 * stdio-common/tst-printf.c: Move code around so that there is really
5636 no further output where it's stated.
5637 * stdio-common/tst-printf.sh: New file.
5639 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5641 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5642 (do_write): Renamed from pwrite.
5643 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5644 `struct _IO_cookie_file'.
5646 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5648 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5650 * malloc/tst-mtrace.sh: Run mtrace script.
5652 2000-07-07 Greg McGary <greg@mcgary.org>
5654 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5655 Move all three components of a bounded pointer.
5657 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5659 * locale/programs/locale.c (write_locales): Don't simply add all
5660 directories found in the subdir, test whether at least the
5661 LC_CTYPE file is in there.
5663 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5665 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5666 * iconvdata/euc-kr.c: Likewise.
5668 * stdio-common/vfprintf.c (process_string_arg): Check result of
5669 wcrtomb call and bail out if it failed.
5671 * malloc/Makefile (test-srcs): Add tst-mtrace.
5672 (distribute): Add tst-mtrace.sh.
5673 Add rule to run tst-mtrace.sh.
5674 * malloc/tst-mtrace.c: New file.
5675 * malloc/tst-mtrace.sh: New file.
5677 * include/signal.h: Declare __libc_sigaction.
5678 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5679 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5680 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5681 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5682 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5683 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5684 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5686 * configure.in: Fix CFLAGS-memprofstat.c definition after
5688 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5690 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5693 instead of NULL to elf_machine_fixup_plt t argument.
5694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5695 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5698 2000-07-06 Andreas Jaeger <aj@suse.de>
5700 * crypt/Makefile (LDLIBS-cert): Removed.
5701 (LDLIBS-md5c-test): Removed.
5702 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5703 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5705 2000-07-06 Andreas Jaeger <aj@suse.de>
5707 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5708 of the proc system is "proc".
5710 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5711 thread library for static programs.
5713 2000-07-06 Greg McGary <greg@mcgary.org>
5715 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5717 * sysdeps/generic/strcpy.c: Add bounds checks.
5718 * sysdeps/unix/fxstat.c: Likewise.
5719 * sysdeps/unix/xstat.c: Likewise.
5720 * sysdeps/unix/common/lxstat.c: Likewise.
5721 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5722 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5723 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5724 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5725 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5726 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5727 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5728 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5729 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5730 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5731 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5732 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5733 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5734 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5735 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5736 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5737 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5738 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5739 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5740 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5741 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5742 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5743 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5744 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5745 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5746 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5747 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5748 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5749 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5750 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5751 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5752 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5753 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5754 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5755 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5756 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5757 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5758 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5759 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5760 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5762 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5763 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5764 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5765 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5766 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5767 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5768 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5769 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5770 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5771 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5772 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5773 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5774 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5775 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5776 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5777 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5778 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5779 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5782 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5786 * string/endian.h (__LONG_LONG_PAIR): New macro.
5787 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5788 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5789 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5790 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5791 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5792 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5793 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5794 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5795 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5796 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5797 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5798 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5800 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5802 2000-07-06 Andreas Jaeger <aj@suse.de>
5804 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5807 * math/test-fpucw.c: Include <stdio.h> for printf.
5809 2000-07-05 Greg McGary <greg@mcgary.org>
5811 * sysdeps/generic/bp-checks.h: New file.
5812 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5813 with list of #include files.
5814 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5815 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5816 Don't generate BP thunk if `V' appears in signature.
5817 Generate thunks with complete bounds checks.
5818 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5819 * sysdeps/unix/inet/syscalls.list: Likewise.
5820 * sysdeps/unix/mman/syscalls.list: Likewise.
5821 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5822 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5823 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5824 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5826 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5828 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5829 result. Search first in /etc/mtab (proc/mounts would be stupid).
5830 If mount not in the file fall back on /proc.
5832 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5833 string got copied in.
5834 Patch by Solar Designer <solar@false.com>.
5836 2000-07-05 Andreas Jaeger <aj@suse.de>
5838 * manual/install.texi (Installation): Update information about
5840 (Configuring and compiling): Update for glibc 2.2.
5842 2000-07-04 Andreas Jaeger <aj@suse.de>
5844 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5845 (_FPU_IEEE): Likewise.
5847 * math/Makefile (tests): Add test-fpucw.
5849 * math/test-fpucw.c (main): New file.
5851 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5853 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5855 * locale/programs/ld-collate.c (collate_output): Also write out the
5856 collation sequence values and the wide character string for the
5857 collation symbol table.
5859 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5860 * posix/fnmatch_loop.c: Implement collating symbol handling.
5861 * posix/tst-fnmatch.input: Add more tests, especially for collating
5864 * posix/regex.c: Fix comment.
5866 2000-07-05 Andreas Jaeger <aj@suse.de>
5868 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5869 (_FPU_GETCW): Remove extra colon.
5870 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5872 * posix/fnmatch_loop.c (FCT): Only declare len if
5873 !WIDE_CHAR_VERSION to silence GCC.
5875 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5877 * sysdeps/generic/strchrnul.c: Likewise.
5878 * sysdeps/generic/strlen.c: Likewise.
5879 * sysdeps/generic/strchr.c: Likewise.
5880 * sysdeps/generic/memchr.c: Likewise.
5882 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5884 * posix/fnmatch_loop.c: Implement equivalence class handling.
5885 * posix/tst-fnmatch.input: Add tests for equivalence class
5888 * posix/fnmatch_loop.c: Improve performance for single-byte
5889 character sets by not using btowc.
5891 * posix/tst-fnmatch.input: Add tests for locale dependent
5893 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5895 * posix/tst-fnmatch.input: Add more test cases.
5897 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5898 are not aligned to alignof(md5_uint32) do it before calling
5899 __md5_process_bytes.
5900 * crypt/md5.c: Make sure buffers are aligned.
5901 * crypt/md5.h: Likewise.
5902 Reported by Solar Designer <solar@false.com>.
5904 * crypt/Makefile: Add dependencies for test programs.
5906 * Rules: Define LC_ALL=C in environments of all programs we run.
5908 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5910 2000-07-03 H.J. Lu <hjl@gnu.org>
5912 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5913 is 2 + elem + offset, not 2 + elem + offset + 2.
5915 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5917 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5919 * posix/Makefile (tests): Add tst-fnmatch.
5920 (tst-fnmatch-ENV): Define.
5921 * posix/tst-fnmatch.c: New file.
5922 * posix/tst-fnmatch.sh: New file.
5924 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5926 * locale/programs/charmap.c (charmap_read): Prepend
5927 the condition filename == NULL.
5929 2000-07-03 Greg McGary <greg@mcgary.org>
5931 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5933 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5934 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5936 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5937 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5938 (FILEBUF_LITERAL): Add cast for CHAIN init.
5939 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5940 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5941 Revert type of `fp' to _IO_FILE*.
5942 (_IO_iter_file): Remove cast.
5943 (_IO_iter_next): Elide intermediate member reference.
5945 * sysdeps/powerpc/strchr.S: Check bounds.
5946 Wrap extern symbols in BP_SYM ().
5948 2000-07-03 Andreas Jaeger <aj@suse.de>
5950 * dlfcn/Makefile (generated): New.
5952 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5954 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5955 (__uflow): Likewise.
5956 (__underflow): Likewise.
5957 * libio/wgenops.c (__wunderflow): Likewise.
5958 * stdio-common/tst-unbputc.c: New file.
5959 * stdio-common/tst-unbputc.sh: New file.
5960 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5962 * po/en_GB.po: New file.
5963 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5965 2000-07-01 Andreas Jaeger <aj@suse.de>
5967 * intl/Makefile (generated-dirs): New.
5969 * elf/Makefile (generated): trusted-dirs.h is always generated,
5970 move out of build-shared condition.
5971 (generated): Merge the two entries for build-shared.
5973 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5975 * debug/Makefile (distribute): Add xtrace.sh.
5977 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5979 * version.h (VERSION): Bump to 2.1.91.
5981 * configure.in: Update warning comment. glibc should not be
5984 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5985 ioperm.c, sys/procfs.h, and sys/io.h.
5987 * sysdeps/powerpc/Dist: Add bp-asm.h.
5989 * assert/Depend: Add localedata.
5990 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5991 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5993 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5994 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5995 relocation address to prevent unaligned trap.
5996 Suggested by Richard Henderson <rth@cygnus.com>.
5998 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6000 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6001 if redirecting and either redirection is done using defines or
6004 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6006 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6007 generated expressions.
6008 Patch by Darren McClelland <dmcclell@zetec.com>.
6010 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6011 since zic uses setlocale and gettext but we cannot make it use the
6012 new locale data since zic calls a shell which might not use the
6015 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6016 handling the internation currency symbol. POSIX says that the
6017 fourth character is used to separate the currency symbol from the
6018 value. Therefore it does not have to be printed. But we cannot
6019 remove the space if the currency symbol is printed before the
6020 number since this is what many locales expect.
6022 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6023 whether this information is available.
6025 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6026 buffers in case the translation is too large. Remember allocated
6027 memory blocks in a list.
6028 (free_mem): Free memory for translations.
6030 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6032 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6033 information is available set the string length to zero.
6035 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6037 2000-06-30 Greg McGary <greg@mcgary.org>
6039 * sysdeps/powerpc/bp-asm.h: New file.
6040 * sysdeps/powerpc/__longjmp.S: Check bounds.
6041 Wrap extern symbols in BP_SYM ().
6042 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6043 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6044 * sysdeps/powerpc/setjmp.S: Likewise.
6045 * sysdeps/powerpc/add_n.S: Likewise.
6046 * sysdeps/powerpc/addmul_1.S: Likewise.
6047 * sysdeps/powerpc/lshift.S: Likewise.
6048 * sysdeps/powerpc/rshift.S: Likewise.
6049 * sysdeps/powerpc/mul_1.S: Likewise.
6050 * sysdeps/powerpc/sub_n.S: Likewise.
6051 * sysdeps/powerpc/submul_1.S: Likewise.
6052 * sysdeps/powerpc/strlen.S: Likewise.
6053 * sysdeps/powerpc/memset.S: Likewise.
6054 * sysdeps/powerpc/stpcpy.S: Likewise.
6055 * sysdeps/powerpc/strcmp.S: Likewise.
6056 * sysdeps/powerpc/strcpy.S: Likewise.
6057 * sysdeps/powerpc/elf/bzero.S: Likewise.
6059 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6060 Line up operands column with tabs.
6062 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6064 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6066 * sysdeps/ia64/htonl.S: New file.
6067 * sysdeps/ia64/htons.S: New file.
6068 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6069 floating point registers.
6070 Patches by Dan Pop <Dan.Pop@cern.ch>.
6072 2000-06-30 Andreas Jaeger <aj@suse.de>
6074 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6077 * io/Makefile (CFLAGS-test-lfs.c): New.
6078 (tests): Add test-lfs.
6080 * io/test-lfs.c: New file.
6082 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6084 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6087 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6089 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6091 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6093 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6094 alias to the fstatfs call.
6096 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6097 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6099 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6100 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6102 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6103 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6104 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6105 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6107 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6108 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6110 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6111 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6113 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6114 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6116 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6118 2000-06-29 Andreas Jaeger <aj@suse.de>
6120 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6122 (print_err_message): Likewise.
6123 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6125 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6127 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6128 used as words is properly aligned.
6130 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6133 2000-06-29 Greg McGary <greg@mcgary.org>
6135 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
6136 * sysdeps/unix/make-syscalls.sh: Handle signatures of
6137 length 7..9, just in case...
6138 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
6140 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
6141 (POP_ERRNO_LOCATION_RETURN): Fold insns.
6142 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
6143 (PUSH_SIGNAL_MASK): New macro.
6144 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
6145 LEAVE is unnecessary. Check bounds of jmp_buf.
6146 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
6147 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
6148 immediately before tail-call.
6149 * sysdeps/i386/setjmp.S: Likewise.
6150 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6151 * sysdeps/i386/bsd-setjmp.S: Likewise.
6153 2000-06-29 Jakub Jelinek <jakub@redhat.com>
6155 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
6157 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
6158 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
6159 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
6160 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6161 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
6162 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
6164 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
6166 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6168 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
6169 we later need to calling free().
6170 Patch by Matt Wilson <msw@redhat.com>.
6172 * stdio-common/tst-printf.c: Add test for above problem.
6174 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
6176 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
6177 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
6179 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6181 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
6182 prototype for abs().
6183 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
6185 2000-06-23 Andreas Jaeger <aj@suse.de>
6187 * config.h.in: Don't use regparm with bounded pointers.
6189 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6191 * stdlib/grouping.h: Correctly handle multibyte thousands
6192 separator and decimal point.
6193 * stdlib/stdtod.c: Likewise.
6194 * sysdeps/generic/strtol.c: Likewise.
6196 * locale/categories.def: Add entries for wide character decimal point
6197 and thousands separator in numeric and monetary category.
6199 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6201 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6202 second definition and initialization of decimal.
6204 2000-06-28 Greg McGary <greg@mcgary.org>
6206 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6208 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6209 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6211 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6212 (struct _IO_FILE_plus *).
6213 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6214 THIS, since _IO_JUMPS no longer does it implicitly.
6215 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6216 arg type as (struct _IO_FILE_plus *).
6217 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6218 arg as (_IO_strfile *).
6219 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6220 Declare 1st arg as (_IO_strfile *).
6221 * libio/fileops.c (_IO_new_file_init): Declare
6222 arg type as (struct _IO_FILE_plus *).
6223 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6224 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6225 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6226 Declare iteration pointer as (struct _IO_FILE_plus *).
6227 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6228 (struct _IO_FILE_plus *).
6229 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6230 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6231 (_IO_check_libio): Set user-visible handles to
6232 (struct _IO_FILE_plus *).
6233 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6234 to (struct _IO_FILE_plus *).
6236 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6237 whose high bound includes vtable to all functions that will use
6238 vtable. For streambufs, pass pointer whose bounds include struct
6240 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6241 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6242 * libio/iofopen.c (_IO_new_fopen): Likewise.
6243 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6244 * libio/iofopen64.c (_IO_fopen64): Likewise.
6245 * libio/iopopen.c (_IO_new_popen): Likewise.
6246 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6247 * libio/memstream.c (open_memstream): Likewise.
6248 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6249 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6250 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6251 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6252 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6253 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6254 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6255 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6256 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6257 * stdlib/strfmon.c (__strfmon_l): Likewise.
6258 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6259 (vfprintf): Qualify computed-goto targets as unbounded.
6261 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6263 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6264 thousands separator correctly.
6266 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6267 * stdio-common/vfwscanf.c: Likewise.
6269 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6271 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6272 count into signatures for most calls.
6274 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6276 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6277 the generic parser now.
6279 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6281 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6282 table entries are 32 bit on the ia64 (as specified by the ABI),
6283 not 64 bit as on the Alpha.
6285 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6286 change of objects to use 32 bit hash table indices (see above).
6288 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6290 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6291 prototype for abs().
6293 2000-06-28 Wolfram Gloger <wg@malloc.de>
6295 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6296 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6297 may have been reached.
6299 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6301 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6302 symbols in multi-character weights correctly.
6304 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6305 depending on whether the input string is empty or not.
6307 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6308 given state and not avoiding this by modifying a local object.
6309 * wcsmbs/wcrtomb.c: Likewise.
6311 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6312 object since some incomplete characters might be in there.
6314 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6315 sequences with first byte 0x8e correctly.
6317 * iconvdata/jis0208.h: Remove redundant test.
6319 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6321 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6322 Add it where it is needed now.
6324 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6325 the input charset into account when generating the hash table.
6326 (allocate_arrays): Correct setting default width. Not all empty slots
6327 in the table are filled, only those not covert explicitly by the
6328 locale description and in the charset.
6330 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6331 return values from the wctrans function.
6333 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6334 wide character version.
6335 For %C handling, test correct pointer variable for NULL.
6337 * wcsmbs/wctob.c: Handle WEOF special.
6339 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6341 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6342 always-true test to avoid warning.
6344 2000-06-27 Greg McGary <greg@mcgary.org>
6346 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6347 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6348 (symbol_version, default_symbol_version): Factor redundant
6349 definitions out of conditional.
6351 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6353 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6356 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6358 * include/libc-symbols.h (symbol_version): Add extra level of
6360 (default_symbol_version): Likewise.
6362 2000-06-26 Greg McGary <greg@mcgary.org>
6364 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6365 for BP return value & push implicit struct-return pointer to
6367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6368 (SYSCALL_ERROR_HANDLER): Likewise.
6369 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6370 (SYSCALL_ERROR_HANDLER): Likewise.
6372 * Makeconfig: Add missing comment.
6373 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6374 BP-flavored startup object.
6375 ($(objpfx)b$(start-installed-name)): New rule.
6376 * include/libc-symbols.h (symbol_set_declare): Change type
6377 of `__start_##set' and `__stop_##set' to pointer-to-function.
6378 (symbol_set_declare): Change type of `set' to array of
6379 pointer-to-function.
6380 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6381 pointer-to-function.
6383 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6385 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6386 Remove clock_* and timer_* entries.
6387 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6388 arg-count with signatures.
6390 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6391 Check bounds of arguments.
6392 * sysdeps/i386/addmul_1.S: Likewise.
6393 * sysdeps/i386/lshift.S: Likewise.
6394 * sysdeps/i386/mul_1.S: Likewise.
6395 * sysdeps/i386/rshift.S: Likewise.
6396 * sysdeps/i386/sub_n.S: Likewise.
6397 * sysdeps/i386/submul_1.S: Likewise.
6398 * sysdeps/i386/i586/add_n.S: Likewise.
6399 * sysdeps/i386/i586/addmul_1.S: Likewise.
6400 * sysdeps/i386/i586/lshift.S: Likewise.
6401 * sysdeps/i386/i586/rshift.S: Likewise.
6402 * sysdeps/i386/i586/sub_n.S: Likewise.
6403 * sysdeps/i386/i686/add_n.S: Likewise.
6405 * sysdeps/i386/memchr.S: Likewise.
6406 * sysdeps/i386/memcmp.S: Likewise.
6407 * sysdeps/i386/rawmemchr.S: Likewise.
6408 * sysdeps/i386/i586/bzero.S: Likewise.
6409 * sysdeps/i386/i586/memcpy.S: Likewise.
6410 * sysdeps/i386/i586/mempcpy.S: Likewise.
6411 * sysdeps/i386/i586/memset.S: Likewise.
6412 * sysdeps/i386/i686/bzero.S: Likewise.
6413 * sysdeps/i386/i686/memcpy.S: Likewise.
6414 * sysdeps/i386/i686/mempcpy.S: Likewise.
6415 * sysdeps/i386/i686/memset.S: Likewise.
6417 * sysdeps/i386/stpcpy.S: Likewise.
6418 * sysdeps/i386/stpncpy.S: Likewise.
6419 * sysdeps/i386/strchr.S: Likewise.
6420 * sysdeps/i386/strchrnul.S: Likewise.
6421 * sysdeps/i386/strcspn.S: Likewise.
6422 * sysdeps/i386/strpbrk.S: Likewise.
6423 * sysdeps/i386/strrchr.S: Likewise.
6424 * sysdeps/i386/strspn.S: Likewise.
6425 * sysdeps/i386/strtok.S: Likewise.
6426 * sysdeps/i386/strtok_r.S: Likewise.
6427 * sysdeps/i386/i486/strcat.S: Likewise.
6428 * sysdeps/i386/i486/strlen.S: Likewise.
6429 * sysdeps/i386/i586/strchr.S: Likewise.
6430 * sysdeps/i386/i586/strcpy.S: Likewise.
6431 * sysdeps/i386/i586/strlen.S: Likewise.
6432 * sysdeps/i386/i686/strcmp.S: Likewise.
6433 * sysdeps/i386/i686/strtok.S: Likewise.
6434 * sysdeps/i386/i686/strtok_r.S: Likewise.
6436 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6437 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6438 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6439 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6440 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6442 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6443 * sysdeps/i386/mul_1.S: Likewise.
6444 * sysdeps/i386/submul_1.S: Likewise.
6445 * sysdeps/i386/i586/add_n.S: Likewise.
6446 * sysdeps/i386/i586/addmul_1.S: Likewise.
6447 * sysdeps/i386/i586/lshift.S: Likewise.
6448 * sysdeps/i386/i586/mul_1.S: Likewise.
6449 * sysdeps/i386/i586/rshift.S: Likewise.
6450 * sysdeps/i386/i586/sub_n.S: Likewise.
6451 * sysdeps/i386/i586/submul_1.S: Likewise.
6453 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6455 * rt/Makefile (librt-routines): Add clock_nanosleep.
6456 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6457 * sysdeps/generic/clock_nanosleep.c: New file.
6458 * sysdeps/unix/clock_nanosleep.c: New file.
6459 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6460 * time/time.h: Declare clock_nanosleep.
6462 2000-06-26 Greg McGary <greg@mcgary.org>
6464 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6465 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6466 (ALIGN): Cleanup surrounding conditionals.
6468 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6469 Call ENTER/LEAVE macros.
6470 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6471 * sysdeps/i386/submul_1.S: Likewise.
6473 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6474 syntax. Define & use symbolic argument stack offsets. Call
6476 * sysdeps/i386/i586/mul_1.S: Likewise.
6477 * sysdeps/i386/i586/submul_1.S: Likewise.
6479 2000-06-25 Greg McGary <greg@mcgary.org>
6481 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6484 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6486 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6487 * iconvdata/gen-8bit-gap.sh: Likewise.
6488 * iconvdata/gen-8bit.sh: Likewise.
6490 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6492 * locale/programs/ld-collate.c (collate_read): Don't actually read
6493 the copy locale if we are ignoring the content.
6495 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6498 * locale/programs/ld-collate.c: Correct handling of different
6500 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6501 as extra parameter from which to copy category information.
6503 (load_locale): Likewise.
6504 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6506 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6507 * locale/programs/locfile.h: Likewise.
6508 * locale/programs/locfile-kw.gperf: Add entry for script.
6509 * locale/programs/locfile-token.h: Add tok_script.
6511 * locale/programs/locale.c: Update copyright year.
6512 * locale/programs/localedef.c: Likewise.
6514 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6516 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6517 Jens Moeller <jens.moeller@waii.com>.
6519 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6521 * locale/programs/ld-name.c (name_finish): Add missing format
6522 specifier to test for name_fmt.
6524 * locale/programs/ld-address.c (iso639): Correct length of string
6526 (iso3166): Likewise.
6528 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6530 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6533 * elf/elf.h (NT_PRFPXREG): Define.
6535 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6537 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6538 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6540 2000-06-23 Andreas Schwab <schwab@suse.de>
6542 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6545 2000-06-23 Andreas Jaeger <aj@suse.de>
6547 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6549 * io/test-stat.c: Add copyright header, mention Maciej.
6551 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6552 SYS_mincore, SYS_madvise): Added.
6554 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6557 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6559 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6560 (CFLAGS-tst_putwc.c): New definition.
6561 * libio/tst_getwc.c: New file.
6562 * libio/tst_getwc.input: New file.
6563 * libio/tst_putwc.c: New file.
6565 * include/string.h: Add prototype for __strdup.
6567 2000-06-22 Greg McGary <greg@mcgary.org>
6569 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6570 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6573 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6575 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6577 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6579 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6581 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6583 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6584 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6586 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6588 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6589 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6591 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6592 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6593 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6594 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6595 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6596 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6597 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6598 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6599 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6600 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6601 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6602 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6603 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6604 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6607 2000-06-22 Andreas Jaeger <aj@suse.de>
6609 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6612 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6614 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6616 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6618 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6621 2000-06-21 Greg McGary <greg@mcgary.org>
6623 * Makerules (elide-routines.*, elide-bp-thunks):
6624 Define unconditionally.
6626 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6628 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6630 2000-06-21 Andreas Jaeger <aj@suse.de>
6632 * io/Makefile (tests): Add test-stat.
6633 (CFLAGS-test-stat.c): New.
6635 * io/test-stat.c: New file from Maciej W. Rozycki
6636 <macro@ds2.pg.gda.pl>.
6638 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6640 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6641 in __rlimit_resource to make them match the kernel order.
6642 rlim_t is always 64 bit, use __rlim64_t to declare it
6645 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6647 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6648 RLIM_INFINITY before defining it to avoid clash with kernel header
6650 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6652 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6654 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6656 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6658 2000-06-21 Andreas Jaeger <aj@suse.de>
6660 * stdio-common/temptest.c: Include <stdlib.h>.
6661 * stdio-common/tst-fileno.c: Likewise.
6662 * stdio-common/scanf4.c: Likewise.
6663 * stdio-common/scanf5.c: Likewise.
6664 * time/clocktest.c: Likewise.
6665 * posix/test-vfork.c: Likewise.
6666 * posix/globtest.c: Likewise.
6667 * io/test-utime.c: Likewise.
6668 * wctype/test_wcfuncs.c: Likewise.
6669 * crypt/cert.c: Likewise.
6671 * stdio-common/tst-printfsz.c: Include <string.h>.
6672 * libio/tst_swscanf.c: Likewise.
6673 * libio/tst_wscanf.c: Likewise.
6674 * posix/runtests.c: Likewise.
6675 * posix/tst-getaddrinfo.c: Likewise.
6676 * posix/wordexp-test.c: Likewise.
6677 * misc/tst-efgcvt.c: Likewise.
6679 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6680 * nss/test-netdb.c: Likewise.
6682 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6683 supported kernel for MIPS.
6685 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6686 * rt/aio_suspend.c: Likewise.
6688 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6690 * math/libm-test.inc: Include <string.h>.
6692 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6694 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6696 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6698 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6699 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6701 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6703 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6705 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6707 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6709 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6711 * locale/programs/ld-collate.c (insert_value): Now take string and
6712 length instead of struct token* parameter. Adjust use of token.
6713 (handle_ellipsis): Likewise.
6714 (collate_read): Allow <Uxxxx> names and transform them into names
6715 to be passed to insert_value and handle_ellipsis.
6717 * locale/programs/ld-ctype.c (uninames): New array with names of
6718 digits in <Uxxxxxxxx> format.
6719 (ctype_finish): Correct search for space character value. Likewise
6720 for default outdigits values.
6722 2000-06-20 Greg McGary <greg@mcgary.org>
6724 * Makerules (objects): Add BP thunks.
6726 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6728 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6729 in width definitions.
6731 2000-06-20 Andreas Jaeger <aj@suse.de>
6733 * sysdeps/mips/fpu/libm-test-ulps: New file.
6735 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6738 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6740 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6742 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6744 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6745 change in gconv_builtin.h.
6747 * malloc/Makefile: Change all references to memprof into memusage.
6748 * malloc/memprof.c: Rename to...
6749 * malloc/memusage.c: ...this. New file.
6750 * malloc/memprof.sh: Rename to...
6751 * malloc/memusage.sh: ...this. New file.
6752 * malloc/memprofstat.c: Rename to...
6753 * malloc/memusagestat.c: ...this. New file.
6754 * sysdeps/alpha/memprof.h: Rename to..
6755 * sysdeps/alpha/memusage.h: ...this. New file.
6756 * sysdeps/arm/memprof.h: Rename to..
6757 * sysdeps/arm/memusage.h: ...this. New file.
6758 * sysdeps/generic/memprof.h: Rename to..
6759 * sysdeps/generic/memusage.h: ...this. New file.
6760 * sysdeps/i386/memprof.h: Rename to..
6761 * sysdeps/i386/memusage.h: ...this. New file.
6762 * sysdeps/ia64/memprof.h: Rename to..
6763 * sysdeps/ia64/memusage.h: ...this. New file.
6764 * sysdeps/m68k/memprof.h: Rename to..
6765 * sysdeps/m68k/memusage.h: ...this. New file.
6766 * sysdeps/mips/memprof.h: Rename to..
6767 * sysdeps/mips/memusage.h: ...this. New file.
6768 * sysdeps/powerpc/memprof.h: Rename to..
6769 * sysdeps/powerpc/memusage.h: ...this. New file.
6770 * sysdeps/sparc/memprof.h: Rename to..
6771 * sysdeps/sparc/memusage.h: ...this. New file.
6772 * sysdeps/sh/memprof.h: Rename to..
6773 * sysdeps/sh/memusage.h: ...this. New file.
6775 * elf/sprof.c (print_version): Update year.
6777 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6778 table entry values. Use D_PTR.
6779 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6780 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6782 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6784 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6785 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6786 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6787 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6789 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6791 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6793 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6795 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6796 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6797 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6799 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6801 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6804 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6805 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6807 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6810 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6812 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6814 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6816 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6818 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6820 * iconv/gconv_int.h (strict gconv_module): Remove all members
6821 associated with regular expressions. Use a simple string as the
6823 * iconv/gconv_db.c: Remove code handling regular expressions.
6824 * iconv/gconv_conf.c: Likewise.
6825 * iconv/iconv_prog.c: Likewise.
6826 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6828 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6829 General namespace cleanup.
6830 (struct __gconv_trans_data): Add next field.
6831 (struct __gconv_step_data): Make __trans a pointer.
6832 * iconv/gconv_conf.c: Split out code to find gconv directories from
6833 __gconv_read_conf in new functions.
6834 * iconv/gconv_int.h: Define new data structure and declare new
6835 functions for handling of gconv directory list.
6836 * iconv/gconv_open.c: Allow more than one error handling step being
6837 used. Call function to load error handling module if it is none
6838 of the builtin transformations.
6839 * iconv/gconv_close.c: Add code to free transliteration data.
6840 * iconv/gconv_trans.c: Add functions to load and unload modules
6841 implementing transliteration etc.
6842 * iconv/skeleton.c: Call all context functions now that more than
6843 one module is allowed.
6844 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6845 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6846 where the full error handling using transliteration is needed.
6847 * iconvdata/8bit-gap.c: Likewise.
6848 * iconvdata/8bit-generic.c: Likewise.
6849 * iconvdata/ansi_x3.110.c: Likewise.
6850 * iconvdata/big5.c: Likewise.
6851 * iconvdata/big5hkscs.c: Likewise.
6852 * iconvdata/euc-cn.c: Likewise.
6853 * iconvdata/euc-jp.c: Likewise.
6854 * iconvdata/euc-kr.c: Likewise.
6855 * iconvdata/euc-tw.c: Likewise.
6856 * iconvdata/gbgbk.c: Likewise.
6857 * iconvdata/gbk.c: Likewise.
6858 * iconvdata/iso-2022-cn.c: Likewise.
6859 * iconvdata/iso-2022-jp.c: Likewise.
6860 * iconvdata/iso-2022-kr.c: Likewise.
6861 * iconvdata/iso646.c: Likewise.
6862 * iconvdata/iso8859-1.c: Likewise.
6863 * iconvdata/iso_6937-2.c: Likewise.
6864 * iconvdata/iso_6937.c: Likewise.
6865 * iconvdata/johab.c: Likewise.
6866 * iconvdata/sjis.c: Likewise.
6867 * iconvdata/t.61.c: Likewise.
6868 * iconvdata/uhc.c: Likewise.
6869 * iconvdata/unicode.c: Likewise.
6870 * iconvdata/utf-16.c: Likewise.
6871 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6872 structure correctly after last change.
6873 * wcsmbs/btowc.c: Likewise.
6874 * wcsmbs/mbrtowc.c: Likewise.
6875 * wcsmbs/mbsnrtowcs.c: Likewise.
6876 * wcsmbs/mbsrtowcs.c: Likewise.
6877 * wcsmbs/wcrtomb.c: Likewise.
6878 * wcsmbs/wcsnrtombs.c: Likewise.
6879 * wcsmbs/wcsrtombs.c: Likewise.
6880 * wcsmbs/wctob.c: Likewise.
6882 * localedata/Makefile: Set -Wno-format for some files since gcc does
6883 not know all the format specifiers.
6885 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6887 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6889 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6891 2000-06-18 Andreas Jaeger <aj@suse.de>
6893 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6894 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6896 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6898 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6900 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6902 * locale/programs/ld-ctype.c (ctype_output): Really write out
6903 mboutdigits information.
6904 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6905 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6906 * localedata/tests/trans.def: Add outdigit information.
6908 * localedata/tst-mbswcs3.c: Remove comment.
6910 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6911 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6912 * libio/tst_wprintf.c (main): Add test for I flag.
6914 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6915 * locale/langinfo.h: Add entries for translit_ignore information.
6916 * locale/categories.def: Add entries for new LC_CTYPE elements.
6917 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6918 pointer instead of "" where possible.
6919 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6920 * intl/Depend: Add localedata.
6921 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6922 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6924 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6926 * locale/langinfo.h: Add entries for default_missing information.
6927 * locale/C-ctype.c: Add initializers for new fields.
6928 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6930 * locale/categories.h: Add entries for all LC_CTYPE values.
6931 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6934 * localedata/tst-trans.c: Write out an error message if class is
6937 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6938 * iconv/gconv_open.c: Remove error handling specification from `from'
6940 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6941 new parameter to always enable transliteration.
6942 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6944 (struct locale_data): Add new members use_translit and options.
6945 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6946 character set name contained modifier TRANSLIT.
6947 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6949 (_nl_unload_locale): Free options string if necessary.
6950 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6951 the locale names suggested this.
6952 * locale/C-address.c: Add two new initialilzers to adjust data
6953 structure for new format.
6954 * locale/C-collate.c: Likewise.
6955 * locale/C-ctype.c: Likewise.
6956 * locale/C-identification.c: Likewise.
6957 * locale/C-measurement.c: Likewise.
6958 * locale/C-messages.c: Likewise.
6959 * locale/C-monetary.c: Likewise.
6960 * locale/C-name.c: Likewise.
6961 * locale/C-numeric.c: Likewise.
6962 * locale/C-paper.c: Likewise.
6963 * locale/C-telephone.c: Likewise.
6964 * locale/C-time.c: Likewise.
6966 * locale/setlocale.c: Add some more __builtin_expect.
6968 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6970 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6972 (__gconv_init_fct): Remove two parameters.
6973 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6974 gconv_transliterate. Remove two parameters.
6975 Change prototypes of builtin functions according to __gconv_fct change.
6976 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6977 != NULL only during error handling. Stop in this case after the
6979 * iconv/gconv_trans.c: Replace with real implementation for
6980 __gconv_transliterate.
6981 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6982 * iconv/gconv.c: Change calls to downstream functions once again.
6983 Use NULL for the fifth parameter instead of pointer to output buffer.
6984 * libio/iofwide.c: Likewise.
6985 * wcsmbs/btowc.c: Likewise.
6986 * wcsmbs/mbrtowc.c: Likewise.
6987 * wcsmbs/mbsnrtowcs.c: Likewise.
6988 * wcsmbs/mbsrtowcs.c: Likewise.
6989 * wcsmbs/wcrtomb.c: Likewise.
6990 * wcsmbs/wcsnrtombs.c: Likewise.
6991 * wcsmbs/wcsrtombs.c: Likewise.
6992 * wcsmbs/wctob.c: Likewise.
6993 * iconv/gconv_simple.c: Remove two parameters from error handling
6995 * iconvdata/8bit-gap.c: Likewise.
6996 * iconvdata/8bit-generic.c: Likewise.
6997 * iconvdata/ansi_x3.110.c: Likewise.
6998 * iconvdata/big5.c: Likewise.
6999 * iconvdata/big5hkscs.c: Likewise.
7000 * iconvdata/euc-cn.c: Likewise.
7001 * iconvdata/euc-jp.c: Likewise.
7002 * iconvdata/euc-kr.c: Likewise.
7003 * iconvdata/euc-tw.c: Likewise.
7004 * iconvdata/gbgbk.c: Likewise.
7005 * iconvdata/gbk.c: Likewise.
7006 * iconvdata/iso-2022-cn.c: Likewise.
7007 * iconvdata/iso-2022-jp.c: Likewise.
7008 * iconvdata/iso-2022-kr.c: Likewise.
7009 * iconvdata/iso646.c: Likewise.
7010 * iconvdata/iso8859-1.c: Likewise.
7011 * iconvdata/iso_6937-2.c: Likewise.
7012 * iconvdata/iso_6937.c: Likewise.
7013 * iconvdata/johab.c: Likewise.
7014 * iconvdata/sjis.c: Likewise.
7015 * iconvdata/t.61.c: Likewise.
7016 * iconvdata/uhc.c: Likewise.
7017 * iconvdata/unicode.c: Likewise.
7018 * iconvdata/utf-16.c: Likewise.
7020 2000-06-15 Greg McGary <greg@mcgary.org>
7022 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7023 of callnum assignment. Tolerate callnum expressions containing
7026 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7028 * login/Makefile (utmpd): Remove rule to build utmpd.
7030 * csu/Versions: Move libgcc frame handling functions from here...
7031 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7032 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7033 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7034 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7035 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7036 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7038 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7040 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7042 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7044 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7046 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7048 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7049 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7050 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7051 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7053 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7055 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7056 defined, terminate quotes and read them after the comment char.
7057 * configure.in (HAVE_SECTION_QUOTES): Test whether
7058 __attribute__((section ("x"))) puts quotes around x or not.
7059 * config.h.in (HAVE_SECTION_QUOTES): Add.
7060 * configure: Rebuilt.
7062 2000-06-14 Andreas Jaeger <aj@suse.de>
7064 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7065 depending on the configure option --sysconfdir.
7066 Closes PR libc/1762.
7067 Patch by Andreas Schwab <schwab@suse.de>.
7069 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7071 Reported by Jim Pick <jim@jimpick.com>.
7073 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7075 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7076 crashing the application. Emit some simple error message.
7077 Reported by mju@panasas.com [PR libc/1769].
7079 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7081 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7083 * crypt/Makefile (distribute): Add md5.h.
7085 * Makefile (distribute): Add include/shlib-compat.h.
7087 * Make-dist: Search for tests also in sysdeps hierachy.
7089 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7090 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7092 * sysdeps/sparc/Subdirs: New file.
7094 * locale/Makefile (distribute): Add weightwc.h and
7095 programs/localedef.h.
7097 * time/Makefile (distribute): Add datemsk.
7099 * sysdeps/ia64/Dist: Add softpipe.h.
7101 * sysdeps/unix/sysv/aix/Dist: New file.
7103 * posix/setpgrp.c: Moved to...
7104 * sysdeps/generic/setpgrp.c: ...here. New file.
7105 * io/mknod.c: Moved to...
7106 * sysdeps/generic/mknod.c: ...here. New file.
7108 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7110 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7112 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7114 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7115 gprsave0.S, gprrest1.S, and gprrest0.S.
7117 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7119 * posix/Makefile (routines): Add spawnattr_getsigmask,
7120 spawnattr_getschedpolicy, spawnattr_getschedparam,
7121 spawnattr_setsigmask, spawnattr_setschedpolicy, and
7122 spawnattr_setschedparam.
7123 * posix/Versions: Add posix_spawnattr_getschedpolicy,
7124 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7125 posix_spawnattr_setschedparam.
7127 * posix/spawnattr_setschedparam.c: Fix typo.
7129 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7132 * login/programs/utmpd.c: Removed.
7133 * login/programs/utmpd.h: Removed.
7134 * login/programs/utmpd-private.h: Removed.
7136 * Makefile (distribute): Add include/db_185.h and include/db.h.
7138 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
7141 * elf/Makefile (distribute): Add missing files.
7143 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
7144 * elf/eval.c: Moved to...
7145 * dlfcn/eval.c: ...here. New file.
7147 * Makefile (distribute): Also distribute ChangeLog.1?.
7149 * Make-dist (+tsrcs): Remove .args handling here as well.
7151 * rt/Makefile (tests): Add tst-timer.
7152 * sysdeps/generic/tst-timer.c: New file.
7154 * Makerules (sources): Don't add BP sources here.
7156 * login/Makefile (distribute): Remove xtmp.h.
7158 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
7159 is true. Reported by Bruno Haible <haible@ilog.fr>.
7161 2000-06-13 Andreas Jaeger <aj@suse.de>
7163 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
7164 Patch by Ralf Baechle <ralf@gnu.org>.
7166 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7168 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
7169 for mincore syscall.
7171 * misc/sys/cdefs.h: Define __bounded and __unbounded if
7172 __BOUNDED_POINTERS__ is not defined.
7174 2000-06-07 Greg McGary <greg@mcgary.org>
7176 * sysdeps/generic/bp-sym.h: New file.
7177 * sysdeps/generic/bp-start.h: New file.
7178 * sysdeps/i386/elf/start.S: Designate BP symbols.
7179 * sysdeps/generic/libc-start.c: Wrap bounds around
7180 argv & envp and each of their string members.
7182 2000-06-07 Greg McGary <greg@mcgary.org>
7184 * sysdeps/unix/make-syscalls.sh: Add comments to
7185 output that aid debugging & comprehension.
7186 Map simple syscall signatures to number of args.
7187 Generate BP syscall thunk definitions.
7188 * sysdeps/generic/bp-thunks.h: New file.
7189 * sysdeps/unix/syscalls.list: Replace arg-count with
7190 simple return+arg signature.
7191 * sysdeps/unix/common/syscalls.list: Likewise.
7192 * sysdeps/unix/inet/syscalls.list: Likewise.
7193 * sysdeps/unix/mman/syscalls.list: Likewise.
7194 * sysdeps/unix/sysv/syscalls.list: Likewise.
7195 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7196 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7198 2000-06-07 Greg McGary <greg@mcgary.org>
7200 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7201 for all files *.[cS].
7202 (CFLAGS-.ob): Don't optimize sibling calls.
7203 (bppfx): New variable.
7204 * Makerules (elide-bp-thunks): New variable.
7205 (elide-routines.*): Elide BP-* files for all but *.ob.
7206 (sources): Include bp-thunks.
7208 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7210 * iconv/gconv_simple.c: Remove unnecessary prototype.
7212 * iconv/gconv_trans.c: Pretty print.
7214 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7216 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7217 minimal kernel versions. Add information about IA-64 kernel.
7219 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7220 specific minimal supported kernel versions to be specified.
7222 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7223 step data structure.
7224 * wcsmbs/btowc.c: Likewise.
7225 * wcsmbs/mbrtowc.c: Likewise.
7226 * wcsmbs/mbsnrtowcs.c: Likewise.
7227 * wcsmbs/mbsrtowcs.c: Likewise.
7228 * wcsmbs/wcrtomb.c: Likewise.
7229 * wcsmbs/wcsnrtombs.c: Likewise.
7230 * wcsmbs/wcsrtombs.c: Likewise.
7231 * wcsmbs/wctob.c: Likewise.
7233 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7234 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7236 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7238 * misc/sys/cdefs.h: Remove one more __P.
7240 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7243 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7244 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7245 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7247 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7248 Yutaka Niibe <gniibe@chroot.org>
7250 * configure.in: Add machine sh3, sh4.
7251 * elf/elf.h: Add SH specific declarations of relocations.
7252 * shlib-versions: Add sh*-*-linux* cases.
7254 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7256 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7257 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7258 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7259 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7260 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7261 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7263 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7264 instead of KERNEL_MATH_EMULATION.
7265 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7266 KERNEL_MATH_EMULATION.
7268 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7269 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7270 * sysdeps/sh/dl-machine.h: ...here. New file.
7271 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7272 and include generic SH version.
7273 * sysdeps/sh/sh3/bits/endian.h: Move to...
7274 * sysdeps/sh/bits/endian.h: ...here. New file.
7275 * sysdeps/sh/sh4/bits/endian.h: Removed.
7276 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7277 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7278 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7280 * include/libc-symbols.h (link_warning): Work around a change in
7281 GAS which warns about changing section attributes.
7282 Proposed by Nick Clifton <nickc@redhat.com>.
7284 2000-06-12 H.J. Lu <hjl@gnu.org>
7286 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7288 2000-06-11 H.J. Lu <hjl@gnu.org>
7290 * sysdeps/i386/fpu/Versions: New file.
7292 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7294 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7296 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7299 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7301 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7302 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7303 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7305 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7306 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7307 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7309 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7310 Yutaka Niibe <gniibe@chroot.org>
7312 * sysdeps/sh/Dist: New file.
7313 * sysdeps/sh/Implies: New file.
7314 * sysdeps/sh/elf/initfini.c: New file.
7315 * sysdeps/sh/gmp-mparam.h: New file.
7316 * sysdeps/sh/init-first.c: New file.
7317 * sysdeps/sh/machine-gmon.h: New file.
7318 * sysdeps/sh/memcpy.S: New file.
7319 * sysdeps/sh/memprof.h: New file.
7320 * sysdeps/sh/memset.S: New file.
7321 * sysdeps/sh/sh3/__longjmp.S: New file.
7322 * sysdeps/sh/sh3/bits/endian.h: New file.
7323 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7324 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7325 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7326 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7327 * sysdeps/sh/sh3/dl-machine.h: New file.
7328 * sysdeps/sh/sh3/setjmp.S: New file.
7329 * sysdeps/sh/sh4/__longjmp.S: New file.
7330 * sysdeps/sh/sh4/bits/endian.h: New file.
7331 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7332 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7333 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7334 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7335 * sysdeps/sh/sh4/dl-machine.h: New file.
7336 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7337 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7338 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7339 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7340 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7341 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7342 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7343 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7344 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7345 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7346 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7347 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7348 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7349 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7350 * sysdeps/sh/sh4/setjmp.S: New file.
7351 * sysdeps/sh/elf/start.S: New file.
7352 * sysdeps/sh/sys/ucontext.h: New file.
7353 * sysdeps/sh/strlen.S: New file.
7354 * sysdeps/sh/sysdep.h: New file.
7355 * sysdeps/unix/sh/sysdep.S: New file.
7356 * sysdeps/unix/sh/sysdep.h: New file.
7357 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7358 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7359 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7361 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7362 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7363 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7364 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7365 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7366 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7367 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7368 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7369 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7370 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7371 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7372 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7373 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7374 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7375 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7376 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7377 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7378 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7379 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7380 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7381 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7382 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7383 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7384 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7385 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7386 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7387 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7388 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7389 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7390 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7391 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7392 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7393 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7394 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7395 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7396 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7397 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7398 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7399 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7400 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7401 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7402 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7403 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7404 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7405 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7406 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7408 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7410 * Rules (%.out): Define GCONV_PATH in the environment.
7411 * assert/Depend: New file.
7412 * iconvdata/Depend: New file.
7413 * intl/Depend: New file.
7414 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7415 * intl/tst-gettext.sh: Likewise.
7416 * iconv/Makefile (routines): Add gconv_trans.
7417 * iconv/gconv_trans.c: New file.
7418 * iconv/gconv.h (struct __gconv_trans_data): New type.
7419 (__gconv_fct): New parameter with starting position in output buffer.
7420 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7421 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7422 (struct __gconv_step): Add new member __trans.
7423 * iconv/gconv_int.h: Pretty print prototypes.
7424 (gconv_transliterate): New prototype.
7425 (__BUILTIN_TRANS): Update for new conversion function interface.
7426 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7427 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7428 in names, find appropriate function, and install in the conversion
7429 steps it can be used.
7430 * iconv/skeleton.c: Add additional parameter for beginning of output
7431 buffer. Change calls of downstream functions.
7432 * iconv/loop.c: Change loop function interface completely. Pass in
7433 step and step_data structure. Remove optimization for BODY with
7434 NEED_LENGTH_TEST == 0.
7435 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7436 appropriate error handling code to use transliteration steps. Remove
7437 optimization for BODY with NEED_LENGTH_TEST == 0.
7438 * iconvdata/8bit-gap.c: Likewise.
7439 * iconvdata/8bit-generic.c: Likewise.
7440 * iconvdata/ansi_x3.110.c: Likewise.
7441 * iconvdata/big5.c: Likewise.
7442 * iconvdata/big5hkscs.c: Likewise.
7443 * iconvdata/euc-cn.c: Likewise.
7444 * iconvdata/euc-jp.c: Likewise.
7445 * iconvdata/euc-kr.c: Likewise.
7446 * iconvdata/euc-tw.c: Likewise.
7447 * iconvdata/gbgbk.c: Likewise.
7448 * iconvdata/gbk.c: Likewise.
7449 * iconvdata/iso-2022-cn.c: Likewise.
7450 * iconvdata/iso-2022-jp.c: Likewise.
7451 * iconvdata/iso-2022-kr.c: Likewise.
7452 * iconvdata/iso646.c: Likewise.
7453 * iconvdata/iso8859-1.c: Likewise.
7454 * iconvdata/iso_6937-2.c: Likewise.
7455 * iconvdata/iso_6937.c: Likewise.
7456 * iconvdata/johab.c: Likewise.
7457 * iconvdata/sjis.c: Likewise.
7458 * iconvdata/t.61.c: Likewise.
7459 * iconvdata/uhc.c: Likewise.
7460 * iconvdata/unicode.c: Likewise.
7461 * iconvdata/utf-16.c: Likewise.
7462 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7464 * wcsmbs/btowc.c: Likewise.
7465 * wcsmbs/mbrtowc.c: Likewise.
7466 * wcsmbs/mbsnrtowcs.c: Likewise.
7467 * wcsmbs/mbsrtowcs.c: Likewise.
7468 * wcsmbs/wcrtomb.c: Likewise.
7469 * wcsmbs/wcsnrtombs.c: Likewise.
7470 * wcsmbs/wcsrtombs.c: Likewise.
7471 * wcsmbs/wctob.c: Likewise.
7473 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7475 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7476 other header files. Mention about 128-byte cache line sizes.
7477 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7478 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7479 for current calling sequence.
7480 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7482 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7483 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7486 and setrlimit syscalls for backwards compatibility.
7488 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7490 * iconv/skeleton.c: Rename converted written to correcter name
7492 * iconv/gconv.c: Rename converted variable to correcter name
7494 * iconv/gconv_int.h: Likewise.
7495 * iconv/gconv_simple.c: Likewise.
7496 * iconv/iconv.c: Likewise.
7497 * iconv/loop.c: Likewise.
7498 * iconvdata/8bit-gap.c: Likewise.
7499 * iconvdata/8bit-generic.c: Likewise.
7500 * iconvdata/ansi_x3.110.c: Likewise.
7501 * iconvdata/big5.c: Likewise.
7502 * iconvdata/big5hkscs.c: Likewise.
7503 * iconvdata/euc-cn.c: Likewise.
7504 * iconvdata/euc-jp.c: Likewise.
7505 * iconvdata/euc-kr.c: Likewise.
7506 * iconvdata/gbgbk.c: Likewise.
7507 * iconvdata/gbk.c: Likewise.
7508 * iconvdata/iso-2022-cn.c: Likewise.
7509 * iconvdata/iso-2022-jp.c: Likewise.
7510 * iconvdata/iso-2022-kr.c: Likewise.
7511 * iconvdata/iso646.c: Likewise.
7512 * iconvdata/iso8859-1.c: Likewise.
7513 * iconvdata/iso_6937-2.c: Likewise.
7514 * iconvdata/iso_6937.c: Likewise.
7515 * iconvdata/johab.c: Likewise.
7516 * iconvdata/sjis.c: Likewise.
7517 * iconvdata/t.61.c: Likewise.
7518 * iconvdata/uhc.c: Likewise.
7519 * iconvdata/unicode.c: Likewise.
7520 * iconvdata/utf-16.c: Likewise.
7522 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7523 __cmsg_data field with __extension__.
7525 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7527 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7529 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7531 * iconv/gconv_simple.c: Fix various small bugs in several
7534 * iconv/loop.c: Fix comment.
7536 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7538 * elf/link.h: Remove libc internal declarations.
7539 * include/link.h: Move them here.
7541 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7543 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7544 Patch by Dan Pop <Dan.Pop@cern.ch>.
7546 Rewrite error message handling.
7547 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7549 * elf/dl-error (struct catch): Add objname member.
7550 (_dl_signal_error): Take new parameter with object name. When
7551 passing message on simply store object name and duplicate error
7553 (_dl_catch_error): Take new parameter. Store object name in the
7555 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7556 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7557 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7558 (dlerror): Add objname to asprintf() parameters.
7559 (_dl_error_run): Pass new parameter to _dl_catch_error.
7560 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7561 * elf/dl-open.c (_dl_open): Likewise.
7562 * elf/rtld.c (dl_main): Likewise.
7563 * elf/dl-close.c: Mark error messages with N_().
7564 * elf/dl-deps.c: Likewise.
7565 * elf/dl-error.c: Likewise.
7566 * elf/dl-load.c: Likewise.
7567 * elf/dl-open.c: Likewise.
7568 * elf/dl-reloc.c: Likewise.
7569 * elf/dl-support.c: Likewise.
7570 * elf/dl-sym.c: Likewise.
7571 * elf/dl-version.c: Likewise.
7572 * elf/dl-lookup.c: Add comments about problems with error message
7574 * elf/dl-reloc.c: Likewise.
7575 * elf/dl-version.c: Likewise.
7577 2000-06-09 H.J. Lu <hjl@gnu.org>
7579 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7582 * dlfcn/Makefile (distribute): Add failtestmod.c.
7583 (tests): Add failtest.
7584 Add rules to build and run failtest.
7585 * dlfcn/failtest.c: New file.
7586 * dlfcn/failtestmod.c: New file.
7588 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7590 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7591 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7592 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7593 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7594 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7596 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7598 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7599 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7601 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7602 Ulrich Drepper <drepper@redhat.com>
7604 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7605 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7606 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7607 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7608 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7609 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7611 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7613 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7614 to find correct mount point despite wrong information from the
7617 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7619 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7620 the address of a symbol so function pointers are handled properly.
7622 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7624 * sysdeps/i386/Dist: Add bp-asm.h.
7626 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7627 defaultdir variable instead of "/var/shm" everywhere.
7628 (defaultdir): Change to /dev/shm/.
7630 2000-06-08 Greg McGary <greg@mcgary.org>
7632 * sysdeps/i386/bp-asm.h: New file.
7633 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7634 offsets. Add ENTER/LEAVE macros for optionally maintaining
7635 frame-pointer chain when debugging.
7636 * sysdeps/i386/add_n.S: Likewise.
7637 * sysdeps/i386/addmul_1.S: Likewise.
7638 * sysdeps/i386/lshift.S: Likewise.
7639 * sysdeps/i386/memchr.S: Likewise.
7640 * sysdeps/i386/memcmp.S: Likewise.
7641 * sysdeps/i386/mul_1.S: Likewise.
7642 * sysdeps/i386/rawmemchr.S: Likewise.
7643 * sysdeps/i386/rshift.S: Likewise.
7644 * sysdeps/i386/stpcpy.S: Likewise.
7645 * sysdeps/i386/stpncpy.S: Likewise.
7646 * sysdeps/i386/strchr.S: Likewise.
7647 * sysdeps/i386/strchrnul.S: Likewise.
7648 * sysdeps/i386/strcspn.S: Likewise.
7649 * sysdeps/i386/strpbrk.S: Likewise.
7650 * sysdeps/i386/strrchr.S: Likewise.
7651 * sysdeps/i386/strspn.S: Likewise.
7652 * sysdeps/i386/strtok.S: Likewise.
7653 * sysdeps/i386/sub_n.S: Likewise.
7654 * sysdeps/i386/submul_1.S: Likewise.
7655 * sysdeps/i386/elf/setjmp.S: Likewise.
7656 * sysdeps/i386/i486/strcat.S: Likewise.
7657 * sysdeps/i386/i486/strlen.S: Likewise.
7658 * sysdeps/i386/i586/add_n.S: Likewise.
7659 * sysdeps/i386/i586/lshift.S: Likewise.
7660 * sysdeps/i386/i586/memcpy.S: Likewise.
7661 * sysdeps/i386/i586/memset.S: Likewise.
7662 * sysdeps/i386/i586/rshift.S: Likewise.
7663 * sysdeps/i386/i586/strchr.S: Likewise.
7664 * sysdeps/i386/i586/strcpy.S: Likewise.
7665 * sysdeps/i386/i586/strlen.S: Likewise.
7666 * sysdeps/i386/i586/sub_n.S: Likewise.
7667 * sysdeps/i386/i686/add_n.S: Likewise.
7668 * sysdeps/i386/i686/memcpy.S: Likewise.
7669 * sysdeps/i386/i686/mempcpy.S: Likewise.
7670 * sysdeps/i386/i686/memset.S: Likewise.
7671 * sysdeps/i386/i686/strcmp.S: Likewise.
7673 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7675 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7677 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7678 256 and don't use OPEN_MAX.
7680 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7681 use it instead of LINK_MAX.
7682 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7684 2000-06-08 Andreas Jaeger <aj@suse.de>
7686 * libio/genops.c (_IO_list_lock): Only compile body if we're
7688 (_IO_list_unlock): Likewise.
7689 (_IO_list_resetlock): Likewise.
7691 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7693 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7694 unless user defined it.
7696 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7697 if not defined by the user.
7699 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7700 * libio/iofwrite.c (_IO_fwrite): Likewise.
7702 * time/time.h: Add missing __THROW for clock_getcpuclockid
7705 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7706 * include/elf.h: Include also <dl-dtprocnum.h>.
7707 * elf/dl-deps.c: Likewise.
7708 * elf/dl-lookup.c: Likewise.
7709 * elf/dl-runtime.c: Likewise.
7710 * elf/dl-version.c: Likewise.
7711 * elf/do-rel.h: Likewise.
7712 * elf/dynamic-link.h: Likewise.
7713 * elf/link.h: Likewise.
7714 * elf/rtld.c: Likewise.
7715 * sysdeps/generic/dl-dtprocnum.h: New file.
7716 * sysdeps/ia64/dl-dtprocnum.h: New file.
7717 * sysdeps/mips/dl-dtprocnum.h: New file.
7718 * sysdeps/sparc/dl-dtprocnum.h: New file.
7720 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7722 * elf/do-lookup.h: Add some __builtin_expect.
7724 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7726 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7727 (_dl_dynamic_weak): New variable.
7728 * elf/dl-support.c: Likewise.
7729 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7730 * elf/do-lookup.h: If we find a weak definition treat it like a
7731 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7732 case treat it like before.
7734 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7736 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7738 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7739 using l_map_start and l_map_end.
7741 * elf/dl-version.c: Add __builtin_expect in many places.
7743 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7746 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7748 Lock for stdio stream list becomes global, for use in LinuxThreads.
7750 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7751 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7752 _IO_list_resetlock): New interface for iterating global list of
7753 streams without accessing the _IO_list_all global variable,
7754 and for manipulating the lock which protects this list.
7755 * libio/libioP.h: Likewise.
7756 * libio/Version: Add entries for the new functions.
7758 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7759 pointer to _IO_FILE.
7761 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7763 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7764 BIT() must actually be BITw().
7766 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7768 * locale/programs/charmap.c: Allow string arguments for
7769 code_set_name and repertoiremap.
7771 2000-06-07 Andreas Jaeger <aj@suse.de>
7773 * elf/Makefile: Build ldconfig only when building shared libraries.
7775 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7777 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7779 (fdimf, __fdim, fdim): Likewise.
7781 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7783 * locale/findlocale.c: Add __builtin_expect in many places.
7784 * locale/loadlocale.c: Likewise.
7786 2000-06-06 Greg McGary <greg@mcgary.org>
7788 * sysdeps/mips/elf/start.S: Trim redundant code.
7790 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7791 Use C comments throughout. Line up operands column with tabs.
7792 * sysdeps/powerpc/strchr.S: Likewise.
7793 * sysdeps/powerpc/strcmp.S: Likewise.
7794 * sysdeps/powerpc/strcpy.S: Likewise.
7795 * sysdeps/powerpc/strlen.S: Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7798 Get low part of &__curbrk with @l.
7800 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7802 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7803 * iconvdata/unicode.c: Likewise.
7804 * iconvdata/uhc.c: Likewise.
7805 * iconvdata/t.61.c: Likewise.
7806 * iconvdata/sjis.c: Likewise.
7807 * iconvdata/johab.c: Likewise.
7808 * iconvdata/iso_6937.c: Likewise.
7809 * iconvdata/iso_6937-2.c: Likewise.
7810 * iconvdata/iso8859-1.c: Likewise.
7811 * iconvdata/iso646.c: Likewise.
7812 * iconvdata/iso-2022-kr.c: Likewise.
7813 * iconvdata/iso-2022-jp.c: Likewise.
7814 * iconvdata/iso-2022-cn.c: Likewise.
7815 * iconvdata/gbgbk.c: Likewise.
7816 * iconvdata/gbk.c: Likewise.
7817 * iconvdata/euc-kr.c: Likewise.
7818 * iconvdata/euc-jp.c: Likewise.
7819 * iconvdata/euc-cn.c: Likewise.
7821 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7823 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7824 * iconvdata/big5.c: Likewise.
7825 * iconvdata/ansi_x3.110.c: Likewise.
7826 * iconvdata/8bit-generic.c: Likewise.
7827 * iconvdata/8bit-gap.c: Likewise.
7828 * iconv/loop.c: Likewise.
7829 * iconv/gconv_db.c: Likewise.
7830 * iconv/gconv_dl.c: Likewise.
7831 * iconv/gconv_simple.c: Likewise.
7832 * iconv/skeleton.c: Likewise.
7834 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7835 (struct __gconv_step_data): Rename __is_last to __flags.
7836 * iconv/gconv_close.c: Change all uses of __is_last.
7837 * iconv/skeleton.c: Likewise.
7838 * iconvdata/iso-2022-cn.c: Likewise.
7839 * iconvdata/iso-2022-jp.c: Likewise.
7840 * iconvdata/iso-2022-kr.c: Likewise.
7841 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7842 Recognize IGNORE error handling, set flag, and remove from name.
7843 * iconv/loop.c (ignore_errors_p): Define.
7844 Add flags parameter to both functions.
7845 * iconv/skeleton.c: Pass flags to all conversion functions.
7846 * iconv/gconv_simple.c: Add flags parameter to all functions.
7847 Don't return error for invald error if ignore flag is set.
7848 (ucs4_internal_loop_single): Add missing pointer increment.
7849 (internal_ucs4le_loop_single): Likewise.
7850 * iconv/iconv_prog.c: Implement handling of -c parameter.
7851 * iconvdata/8bit-gap.c: Don't return error for invald error if
7853 * iconvdata/8bit-generic.c: Likewise.
7854 * iconvdata/ansi_x3.110.c: Likewise.
7855 * iconvdata/big5.c: Likewise.
7856 * iconvdata/big5hkscs.c: Likewise.
7857 * iconvdata/euc-cn.c: Likewise.
7858 * iconvdata/euc-jp.c: Likewise.
7859 * iconvdata/euc-kr.c: Likewise.
7860 * iconvdata/gbgbk.c: Likewise.
7861 * iconvdata/gbk.c: Likewise.
7862 * iconvdata/iso-2022-cn.c: Likewise.
7863 * iconvdata/iso-2022-jp.c: Likewise.
7864 * iconvdata/iso-2022-kr.c: Likewise.
7865 * iconvdata/iso646.c: Likewise.
7866 * iconvdata/iso8859-1.c: Likewise.
7867 * iconvdata/iso_6937-2.c: Likewise.
7868 * iconvdata/iso_6937.c: Likewise.
7869 * iconvdata/johab.c: Likewise.
7870 * iconvdata/sjis.c: Likewise.
7871 * iconvdata/t.61.c: Likewise.
7872 * iconvdata/uhc.c: Likewise.
7873 * iconvdata/unicode.c: Likewise.
7874 * iconvdata/utf-16.c: Likewise.
7875 * libio/fileops.c: Likewise.
7876 * libio/iofwide.c: Likewise.
7877 * wcsmbs/btowc.c: Likewise.
7878 * wcsmbs/mbrtowc.c: Likewise.
7879 * wcsmbs/mbsnrtowcs.c: Likewise.
7880 * wcsmbs/mbsrtowcs.c: Likewise.
7881 * wcsmbs/wcrtomb.c: Likewise.
7882 * wcsmbs/wcsnrtombs.c: Likewise.
7883 * wcsmbs/wcsrtombs.c: Likewise.
7884 * wcsmbs/wctob.c: Likewise.
7886 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7889 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7891 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7892 counter for the object we are releasing, just decrement it.
7893 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7895 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7897 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7900 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7902 * iconvdata/big5hkscs.c: New file.
7903 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7905 * iconvdata/gconv-modules: Add entry for new module.
7906 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7907 (distribute): Add big5hkscs.c.
7909 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7911 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7912 inlines to match prototypes in mathcalls.h.
7913 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7914 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7915 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7916 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7918 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7920 * elf/elf.h (SHT_SUNW_move): Define.
7922 * elf/elf.h: Add more Solaris compatiblity definitions.
7924 2000-06-03 Andreas Jaeger <aj@suse.de>
7926 * sysdeps/powerpc/dl-start.S: Close open comment.
7928 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7930 * inet/Versions: Fix typo in rresvport_af export.
7932 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7934 * math/tgmath.h: Pretty print.
7936 2000-06-02 Andreas Jaeger <aj@suse.de>
7938 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7939 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7941 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7943 * elf/rtld.c (process_envvars): Test for = after variable name.
7945 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7947 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7948 have extra call to __gmon_start__, use the pointer we already have.
7950 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7953 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7954 binutils. gas now emits a jump through the PLT instead of a
7955 relative jump if the jump target is an exported symbol.
7957 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7959 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7961 2000-05-31 Andreas Jaeger <aj@suse.de>
7963 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7966 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7967 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7969 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7971 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7973 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7975 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7977 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7978 * locale/localeconv.c: Make function versioned (with same definition).
7980 * elf/Makefile (modules-names): Strip before using it.
7982 2000-05-30 Andreas Jaeger <aj@suse.de>
7984 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7985 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7986 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7987 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7988 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7989 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7991 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7993 * Makefile: Add GNU make magic.
7995 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7997 * inet/rcmd.c: Remove __P. Remove unused variables.
7998 (iruserfopen): Make first parameter const.
7999 (ruserok_sa): Return result of ruserok2_sa.
8000 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8001 * inet/rexec.c: Remove unused variables. Other small cleanups.
8002 * inet/ruserpass.c: Remove __P. Remove unused variables.
8003 (ruserpass): Check results of memory allocation.
8004 * include/netdb.h: Add prototype for ruserpass.
8006 2000-05-29 Andreas Jaeger <aj@suse.de>
8008 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8011 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8013 * inet/rcmd.c (rresvport_af): Use correct port number.
8015 2000-05-26 Andreas Schwab <schwab@suse.de>
8017 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8018 entries in all-sonames.
8019 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8020 preserving the old name if different for compatibility.
8022 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8024 * posix/Makefile (tests): Add tst-spawn.
8025 (tst-spawn-ARGS): New variable.
8026 * posix/tst-spawn.c: New file.
8028 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8029 * posix/spawn_faction_adddup2.c: Likewise.
8030 * posix/spawn_faction_addopen.c: Likewise.
8031 * posix/spawni.c: Correctly test for success of dup2 calls.
8033 * posix/tst-preadwrite.c: Check success of malloc call.
8035 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8037 * posix/Makefile (tests): Add tst-exec.
8038 (tst-exec-ARGS): New variable.
8039 * posix/tst-exec.c: New file.
8041 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8043 2000-05-04 Andreas Jaeger <aj@suse.de>
8045 * string/string.h: Remove __strdup prototype, it's not needed in
8048 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8050 * posix/Makefile (tests): Add tst-fork.
8051 * posix/tst-fork.c: New file.
8053 * resolv/inet_pton.c: Loose __P.
8055 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8057 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8058 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8059 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8060 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8061 _IO_CHECK_WIDE fails.
8063 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8065 * po/da.po: New file.
8067 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8068 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8070 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8071 (Other iconv Implementations): Fix typo.
8072 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8074 2000-05-27 Andreas Jaeger <aj@suse.de>
8076 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8078 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8079 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8080 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8081 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8082 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8083 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8085 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8086 endianness to decide how to pass arguments.
8087 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8089 * elf/vismain.c: Use test-skeleton interface.
8090 (TEST_FUNCTION): New macro.
8091 (do_test): Renamed from main.
8093 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8095 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8096 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8098 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8099 handling of AI_V4MAPPED flag.
8101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8102 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8103 perform lookup for T_A type and tell getanswer_r to convert the
8104 result with new argument.
8105 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8106 Don't convert addresses from IPv4 to IPv6 here.
8107 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8108 IPv6 is wanted. Allow qtype and type from reply to disagree if
8109 IPv4 mapping has to be done. Perform mappings if required by the
8110 caller and not if RES_USE_INET6 bit in _res.options is set.
8111 Add several __builtin_expect.
8113 2000-05-26 Ulrich Drepper <drepper@redhat.com>
8115 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8117 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8120 * posix/tst-preadwrite.c: Allow parallel execution of
8121 tst-preadwrite and tst-preadwrite64.
8123 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8124 * posix/tst-truncate.c: New file.
8125 * posix/tst-truncate64.c: New file.
8127 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8130 * posix/Makefile (tests): Add tst-preadwrite64.
8131 * posix/tst-preadwrite.c: Alloc file being used also for testing
8132 pread64 and pwrite64.
8133 * posix/tst-preadwrite64.c: New file.
8135 2000-05-26 Andreas Jaeger <aj@suse.de>
8137 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
8138 of arguments dependend on endianness.
8139 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
8141 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
8143 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8144 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8145 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8146 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8148 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
8149 endianness to check how to pass argument.
8150 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8152 * elf/ldconfig.h: Update parameter list for process_elf_file.
8154 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
8155 Add parameter file_length and pass it ot process_elf*file.
8157 * sysdeps/generic/readelflib.c (check_ptr): New.
8158 (process_elf_file): Use check_ptr to check all accesses to the
8159 mmapped file. Add parameter file_length.
8161 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
8164 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
8165 Closes PR libc/1573, reported by Bradley White
8166 <bww@laurelnetworks.com>.
8168 2000-05-25 Ulrich Drepper <drepper@redhat.com>
8170 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
8171 __FAST_MATH__ is defined.
8173 2000-05-22 Andreas Jaeger <aj@suse.de>
8175 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
8176 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
8178 * manual/math.texi (FP Function Optimizations): Document gcc
8179 -ffast-math behaviour with mathinlines.
8181 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
8182 functions unless -ffast-math is given to gcc.
8184 2000-05-23 Jakub Jelinek <jakub@redhat.com>
8186 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
8187 __sincosl): Guard with __USE_GNU.
8189 2000-05-24 Ulrich Drepper <drepper@redhat.com>
8191 * csu/Makefile (routines): Add check_fds.
8192 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
8193 binaries. Add various __builtin_expect.
8194 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8195 * sysdeps/generic/check_fds.c: ...here. New file.
8197 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8198 binaries if file /etc/suid-debug is available.
8200 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8201 and wcseqorder members.
8202 (struct locale_collate_t): Likewise.
8203 (collate_finish): Assign collation sequence value to each character.
8204 Create tables for output.
8205 (collate_output): Write out tables with collation sequence information.
8206 * locale/C-collate.c: Provide C locale data for collation sequence
8208 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8209 _NL_COLLATE_COLLSEQWC.
8210 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8211 _NL_COLLATE_COLLSEQWC.
8212 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8213 include fnmatch_loop.c.
8214 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8215 character is matched by range expression. Use collation sequence
8216 table. Outside glibc fall back on simple character value comparison.
8218 2000-05-24 Andreas Jaeger <aj@suse.de>
8220 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8223 * intl/Makefile: Run gettext-test only if msgfmt is available.
8225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8226 Define it for newer kernels.
8228 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8230 * elf/dl-sym.c: Minor cleanups.
8232 * configure.in: Add test for .protected.
8233 * config.make.in: Add have-protected variable.
8234 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8235 (tests-vis-yes): Add vismain.
8236 (modules-names): Add $(modules-vis-$(have-protected)).
8237 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8238 Add rules to generate and run vismain.
8239 * elf/vismain.c: New file.
8240 * elf/vismod1.c: New file.
8241 * elf/vismod2.c: New file.
8242 * elf/vismod3.c: New file.
8244 2000-05-23 Andreas Jaeger <aj@suse.de>
8246 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8248 * manual/search.texi (Array Sort Function): Document that qsort is
8249 not necessarily in-place.
8251 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8252 Closes PR libc/1731.
8254 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8255 * dirent/scandir64.c: Likewise.
8256 * pwd/getpw.c: Likewise.
8257 * stdlib/bsearch.c (bsearch): Likewise.
8258 * stdlib/tst-strtoll.c: Likewise.
8259 * localedata/collate-test.c: Likewise.
8260 * localedata/xfrm-test.c: Likewise.
8261 * posix/bsd-getpgrp.c: Likewise.
8262 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8263 * sysdeps/generic/bits/siginfo.h: Likewise.
8264 * sysdeps/generic/bits/sockaddr.h: Likewise.
8265 * sysdeps/generic/sys/swap.h: Likewise.
8266 * sysdeps/generic/sys/sysinfo.h: Likewise.
8267 * sysdeps/generic/vfork.c: Likewise.
8268 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8269 * sysdeps/mach/hurd/fdopen.c: Likewise.
8270 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8271 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8272 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8273 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8274 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8275 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8276 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8278 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8279 * shadow/lckpwdf.c: Likewise.
8280 * stdlib/tst-strtol.c: Likewise.
8281 * sysdeps/generic/tcsetattr.c: Likewise.
8282 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8283 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8285 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8287 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8288 free it and set to (void *) -1.
8290 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8292 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8293 not the second character in the range.
8294 * stdio-common/tstscanf.c (main): Add testcase for the above.
8295 Reported by jik@kamens.brookline.ma.us.
8297 2000-05-21 H.J. Lu <hjl@gnu.org>
8299 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8300 with noexec and noplt parameter.
8301 (do_lookup): Likewise.
8303 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8304 do_lookup. Support STV_PROTECTED.
8305 (_dl_lookup_symbol_skip): Likewise.
8306 (_dl_lookup_versioned_symbol): Likewise.
8307 (_dl_lookup_versioned_symbol_skip): Likewise.
8309 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8311 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8313 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8315 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8316 * sysdeps/i386/bits/huge_val.h: Likewise.
8317 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8318 * sysdeps/m68k/bits/huge_val.h: Likewise.
8319 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8320 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8322 2000-05-22 Andreas Jaeger <aj@suse.de>
8324 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8327 2000-05-19 Andreas Jaeger <aj@suse.de>
8329 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8330 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8331 breaks compilation without linuxthreads.
8333 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8335 * sysdeps/ia64/memccpy.S: New file.
8336 * sysdeps/ia64/memchr.S: New file.
8337 * sysdeps/ia64/memcmp.S: New file.
8338 * sysdeps/ia64/memcpy.S: New file.
8339 * sysdeps/ia64/memmove.S: New file.
8340 * sysdeps/ia64/memset.S: New file.
8341 * sysdeps/ia64/strcat.S: New file.
8342 * sysdeps/ia64/strchr.S: New file.
8343 * sysdeps/ia64/strcmp.S: New file.
8344 * sysdeps/ia64/strcpy.S: New file.
8345 * sysdeps/ia64/strlen.S: New file.
8346 * sysdeps/ia64/strncmp.S: New file.
8347 * sysdeps/ia64/strncpy.S: New file.
8348 * sysdeps/ia64/softpipe.h: New file.
8349 Patches by Dan Pop <Dan.Pop@cern.ch>.
8351 * manual/memory.texi: Document memory handling functions (mlock,
8352 munlock, mlockall, munlockall, brk, and sbrk)
8353 * manual/time.texi: Document timespec and friends.
8354 * manual/conf.texi: Fix references.
8355 * manual/ctype.texi: Likewise.
8356 * manual/errno.texi: Likewise.
8357 * manual/intro.texi: Likewise.
8358 * manual/locale.texi: Likewise.
8359 * manual/sysinfo.texi: Likewise.
8360 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8362 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8364 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8365 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8367 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8369 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8372 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8374 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8375 * locale/localeconv.c: Initialize new elements from ISO C99.
8376 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8377 new standard elements.
8378 * locale/categories.def: Adjust accordingly.
8380 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8381 * iconv/iconv.c: Likewise.
8382 * conform/data/iconv.h-data: Likewise.
8383 * iconv/iconv_prog.c (process_block): Remove const from second
8385 (main): Remove const from addr definition.
8386 * manual/charset.texi (Generic Conversion Interface): Remove from
8387 inbuf parameter of iconv.
8389 * intl/dcigettext.c: Fix typo in comment.
8391 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8393 * resolv/res_libc.c (_res): Initialize _sock to -1.
8395 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8397 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8398 (fopencookie@@GLIBC_2.2): New.
8399 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8400 (fopencookie@GLIBC_2.0): New.
8401 * libio/Versions: Add fopencookie to GLIBC_2.2.
8403 2000-05-18 Andreas Jaeger <aj@suse.de>
8405 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8406 Closes PR libc/1731.
8408 * manual/arith.texi (Parsing of Integers): Fix typo.
8409 Closes PR libc/1744, reported by blp@gnu.org.
8411 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8413 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8414 __extension__ to hexadecimal floating constant notation.
8415 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8417 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8418 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8420 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8421 HUGE_VALL): Likewise.
8422 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8423 HUGE_VALL): Likewise.
8424 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8426 2000-05-17 Andreas Jaeger <aj@suse.de>
8428 * string/envz.h: Add pure attributes if possible.
8430 * string/argz.h: argz_count is a pure function.
8432 * string/strings.h: Add pure and const attributes if possible.
8434 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8435 possibly searching through the whole memory.
8436 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8438 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8440 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8442 (_dl_cache_check_flags): Likewise.
8443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8446 2000-05-17 Andreas Jaeger <aj@suse.de>
8448 * manual/creature.texi (Feature Test Macros): Remove paragraph
8449 since the description is wrong.
8450 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8452 * scripts/config.sub: New version.
8453 * scripts/config.guess: Likewise.
8454 * manual/texinfo.tex: Likewise.
8456 * time/test_time.args: Removed.
8457 * time/Makefile (test_time-ARGS): Added contents here instead.
8459 * posix/tstgetopt.args: Removed.
8460 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8462 * Rules: Allow arguments for test files to be specified in
8463 Makefile with testname-ARGS; remove rules with .args in it.
8465 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8466 remove old bogus rule for opendir-tst1.args.
8468 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8470 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8471 into objdir. This allows a readonly sourcetree.
8472 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8474 2000-05-16 Andreas Jaeger <aj@suse.de>,
8475 David Huggins-Daines <dhd@linuxcare.com>
8477 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8478 cache_data in case of only new cache format correctly.
8480 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8483 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8484 struct cache_file_new.
8486 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8489 * elf/cache.c (save_cache): Align struct new_file_cache.
8490 (print_cache): Likewise.
8492 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8494 * elf/soinit.c (__libc_global_ctors): Move
8495 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8496 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8497 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8498 variable, don't define it to __res_state call.
8500 2000-05-13 Andreas Jaeger <aj@suse.de>
8502 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8504 (AF_PPPOX): Likewise.
8505 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8506 (AF_PPPOX): Likewise.
8508 2000-05-12 Andreas Jaeger <aj@suse.de>
8510 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8511 Reported by tmoestl@gmx.net, closes PR libc/1732.
8513 2000-05-11 Jan Hubicka <jh@suse.cz>
8515 * misc/sys/cdefs.h: Add support for pure attribute.
8517 * include/string.h: Add __attribute_pure__ to various functions.
8518 * string/string.h: Likewise.
8520 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8522 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8526 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8528 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8530 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8531 at proper place. Compute the high nibble correctly.
8533 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8535 * elf/ldconfig.c: Include elf.h.
8537 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8538 (_dl_vsym): Likewise.
8539 Reported by Owen Taylor <otaylor@redhat.com>.
8541 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8544 2000-05-08 Andreas Jaeger <aj@suse.de>
8546 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8548 * intl/bindtextdom.c (set_binding_values): Add prototype.
8550 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8552 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8553 call to elf_machine_fixup_plt.
8554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8557 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8559 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8560 they are not dlclose'd from underneath us.
8562 2000-05-08 Andreas Schwab <schwab@suse.de>
8564 * posix/execle.c: Fix size parameter of memcpy.
8566 2000-05-08 Andreas Schwab <schwab@suse.de>
8568 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8569 getpagesize syscall if available.
8571 2000-05-08 Andreas Jaeger <aj@suse.de>
8573 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8576 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8578 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8579 sizeof(struct link_map *) chunks, not in bytes.
8581 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8583 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8584 only needed for locale.
8585 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8586 It's only needed for catgets.
8587 Patches by Greg McGary <gkm@eng.ascend.com>.
8589 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8591 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8592 Remove duplicate <errno.h> include. Remove inclusion of
8593 <libintl.h> and "nsswitch.h".
8594 (set_cloexec_flag): New function, broken out of dbopen.
8595 (dbopen): Changed return type to `enum
8596 nss_status'. Mostly rewritten to make sure that we do not report
8597 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8598 (internal_setent): Change return type to nss_status.
8599 Document, and make sure that the function
8600 behaves accordingly. Make dynamically loading the database
8601 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8603 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8605 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8607 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8608 c_get function member.
8609 * nss/nss_db/nss_db.h: Add and tweak some comments.
8610 (DBT): Move typedef before NSS_DBC typedef.
8611 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8613 2000-05-07 H.J. Lu <hjl@gnu.org>
8615 * csu/initfini.c: Moved to ....
8616 * sysdeps/generic/initfini.c: ...here.
8618 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8620 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8622 * manual/resource.texi: Document POSIX scheduling functions.
8623 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8625 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8626 reading anything. Reported by Andries.Brouwer@cwi.nl.
8628 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8629 for x since promotion in comparison might leads to unexpected
8630 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8632 * iconv/Makefile (tests): Add tst-iconv1.
8633 * iconv/tst-iconv1.c: New file.
8634 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8635 empty input buffer over full output buffer.
8636 (ucs4_internal_loop): Likewise.
8637 (ucs4_internal_loop_unaligned): Likewise.
8638 (internal_ucs4le_loop): Likewise.
8639 (internal_ucs4le_loop_unaligned): Likewise.
8640 (ucs4le_internal_loop): Likewise.
8641 (ucs4le_internal_loop_unaligned): Likewise.
8642 Reported by yaoz@nih.gov.
8644 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8646 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8647 returned != __GCONV_OK, there is nothing to clean up.
8649 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8651 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8652 OUTPUT_CHARSET environment variables.
8654 2000-05-06 Andreas Jaeger <aj@suse.de>
8656 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8657 (struct cache_file_new): New.
8658 (struct file_entry): New (moved from cache.c).
8659 (struct cache_file): New (moved from cache.c).
8661 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8662 from _dl_load_cache_lookup.
8663 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8664 the different cache formats.
8665 New variable cache_new for new format.
8667 * elf/ldconfig.h: Change according to changes in cache.c and
8668 ldconfig.c; remove cache_libcmp; add opt_format.
8670 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8671 stuff that's defined in those headers.
8672 Add hwcap to struct lib_entry.
8673 (opt_format): New variable to select cache format.
8674 (options): Add format parameter.
8675 (is_hwcap): New function.
8676 (path_hwcap): New function.
8677 (parse_opt): Handle new format parameter.
8678 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8680 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8681 ldconfig is part of glibc.
8682 Include dl-cache.h and remove stuff that's defined there.
8683 (struct cache_entry): Add new member hwcap.
8684 (print_entry): Print hwcap, cleanup a bit.
8685 (print_cache): Print new and old formats.
8686 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8687 (save_cache): Save new and old formats.
8688 (add_to_cache): Handle hwcap.
8690 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8691 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8692 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8693 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8694 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8695 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8697 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8699 * intl/dcigettext.c (alignof): New macro.
8700 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8701 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8704 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8706 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8709 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8711 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8712 (mempcpy): Correct typo is parameter list.
8714 2000-05-06 Andreas Jaeger <aj@suse.de>
8716 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8717 functions unless -ffast-math is given to gcc.
8719 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8721 * po/ko.po: Update from translation team.
8723 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8725 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8726 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8727 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8728 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8729 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8730 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8732 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8733 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8734 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8736 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8738 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8739 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8741 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8742 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8744 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8746 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8747 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8749 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8750 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8752 * sysdeps/ia64/Implies: New file.
8753 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8754 * sysdeps/ia64/Makefile: New file.
8755 * sysdeps/ia64/gmp-mparam.h: New file,
8757 * sysdeps/ia64/elf/start.S: New file.
8759 * sysdeps/ia64/bits/fenv.h: New file.
8761 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8763 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8765 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8767 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8768 ia64 has 64 bit .hash entries just as the Alpha.
8770 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8772 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8774 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8776 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8777 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8778 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8779 * sysdeps/ia64/fpu/fegetenv.c: New file.
8780 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8781 * sysdeps/ia64/fpu/fegetround.c: New file.
8782 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8783 * sysdeps/ia64/fpu/fesetenv.c: New file.
8784 * sysdeps/ia64/fpu/fesetround.c: New file.
8785 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8786 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8787 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8788 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8789 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8791 2000-05-05 Andreas Jaeger <aj@suse.de>
8793 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8795 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8796 (_dl_string_hwcap): New, does nothing.
8798 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8799 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8800 (_dl_string_hwcap): New function, converts from string to hwcap
8802 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8803 (_DL_HWCAP_COUNT): New.
8804 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8805 (_dl_string_hwcap): New function, converts from string to hwcap
8807 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8808 (_DL_HWCAP_COUNT): New.
8809 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8810 (_dl_string_hwcap): New function, converts from string to hwcap
8813 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8815 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8816 * sysdeps/ia64/Dist: New file.
8818 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8819 parameter to mprotect and for variable assignments.
8821 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8823 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8824 validity of map before dereferencing it.
8826 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8828 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8830 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8831 lookup to the arguments to elf_machine_fixup_plt().
8833 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8834 of the symbol being resolved to input argument list and make the
8835 function return the pointer to the reloc.
8837 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8838 return valuie to lookup_t and return the value.
8839 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8840 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8841 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8842 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8846 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8847 Make it an inline function returning value after calling
8848 __elf_machine_fixup_plt().
8850 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8853 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8854 obtain the symbol address.
8856 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8857 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8859 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8860 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8863 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8865 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8866 symbol address of an object.
8868 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8869 the symbol address of an object.
8871 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8872 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8873 (_dl_lookup_symbol_skip): Likewise.
8874 (_dl_lookup_versioned_symbol): Likewise.
8875 (_dl_lookup_versioned_symbol_skip): Likewise.
8877 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8879 * elf/rtld.c (_dl_start): Get the function pointer return address
8880 via _dl_start_address for architectures that need a function
8881 pointer descriptor rather than just a pointer (ia64).
8883 * sysdeps/generic/dl-lookupcfg.h: New file.
8884 * sysdeps/ia64/dl-lookupcfg.h: New file.
8885 * sysdeps/ia64/dl-machine.h: New file.
8886 * sysdeps/ia64/dl-symaddr.c: New file.
8887 * sysdeps/ia64/dl-fptr.c: New file.
8889 * elf/elf.h: Add IA-64 specific definitions.
8891 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8893 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8896 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8898 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8901 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8903 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8904 symbol. Call _dl_init rather than the old way.
8906 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8908 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8909 test for pointer in range of DSO address space.
8911 2000-05-04 Andreas Jaeger <aj@suse.de>
8913 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8915 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8917 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8918 calls of _nl_make_l10nflist.
8920 * libio/stdio.h: Make fseeko and ftello prototypes available is
8921 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8923 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8924 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8926 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8928 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8929 before calling tfind.
8931 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8933 * resolv/resolv.h (res_querydomain): Remove redefinition to
8934 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8936 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8938 * po/gl.po: Update from translation team.
8940 * manual/intro.texi (Program Basics): Change section title.
8941 * manual/process.texi: Fix reference.
8942 (Executing a File): Add reference exec in other section.
8943 * manual/signal.texi: Fix reference.
8944 * manual/startup.texi: Document syscall function.
8945 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8947 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8949 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8950 * intl/bindtextdom.c (set_binding_values): New function.
8951 (bindtextdomain): Call it.
8952 (bind_textdomain_codeset): New function.
8953 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8954 (free_mem): Free each binding's codeset.
8955 * intl/gettextP.h (struct binding): Add codeset field.
8956 (_nl_find_domain): Add domainbinding argument.
8957 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8958 Pass it to _nl_make_l10nflist.
8959 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8960 (_nl_make_l10nflist): Add domainbinding argument.
8961 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8962 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8963 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8965 * manual/message.texi: New node "Charset conversion in gettext".
8967 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8969 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8970 appropriate. Handle possible __read error.
8972 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8974 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8976 * intl/loadinfo.h (__builtin_expect): Likewise.
8977 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8978 __builtin_expect where appropriate.
8979 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8980 * intl/localealias.c (extend_alias_table): Return an error indicator.
8981 (read_alias_file): Bail out if extend_alias_table fails.
8983 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8985 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8986 * intl/localealias.c: Likewise.
8988 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8990 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8991 Initialize domain->plural and domain->nplurals even if there is no
8994 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8996 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8997 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8998 In case of failure, goto converted.
9000 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9002 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9003 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9004 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9007 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9009 * intl/dcigettext.c (transcmp): Compare the domains as well.
9010 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9012 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9015 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9017 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9018 Reported by Bruno Haible.
9020 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9022 * manual/arith.texi: Remove @w from @itemize.
9024 2000-05-02 Andreas Jaeger <aj@suse.de>
9026 * conform/data/tar.h-data: Add some checks for specific values.
9028 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9031 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9034 * conform/data/netinet/in.h-data: Add exact checks for the values
9035 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9037 * conform/data/float.h-data: Add some minimal values.
9039 * conform/conformtest.pl: Test for macros with string constants,
9040 check for minimum and maximum values.
9041 Add limits.h to headers.
9043 * conform/data/cpio.h-data: Test for value of MAGIC.
9045 * conform/data/limits.h-data: New file.
9047 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9049 * math/Makefile (headers): Add bits/fenvinline.h.
9051 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9053 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9054 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9056 * posix/Versions: Change posix_spawnattr_getdefault and
9057 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9058 and posix_spawnattr_setsigdefault respectively.
9059 * posix/spawn.h: Likewise.
9060 * posix/spawnattr_getdefault.h: Likewise.
9061 * posix/spawnattr_setdefault.h: Likewise.
9062 * conform/data/spawn.h-data: Likewise.
9064 2000-05-01 Andreas Jaeger <aj@suse.de>
9066 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9068 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9070 * manual/sysinfo.texi: Document getdomainname, setdomainname
9072 * manual/string.texi: Fix typo.
9073 * manual/terminal.texi: Document gtty and stty.
9074 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9076 2000-04-30 Andreas Jaeger <aj@suse.de>
9078 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9079 accordance with Austin Draft.
9081 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9083 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9084 to recognize second character in comment line.
9086 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9087 ENOBUFS if we are out of memory.
9089 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9090 available if __USE_XOPEN2K.
9091 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9092 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9093 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9095 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9097 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9098 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9100 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9102 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9103 Recognize option -s, -c, and -l.
9105 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
9107 * nscd/nscd.c: Start new session for nscd, drop privilegs
9108 to configured user if requested and no -S parameter are used.
9109 * nscd/nscd.conf: Add new option "server-user".
9110 * nscd/nscd_conf.c: Add support for new "server-user" option.
9111 * nscd/nscd.h: Add declaration for server_user variable.
9112 Based on patch by Chris Wing <wingc@engin.umich.edu>
9114 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9116 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9117 that changing the __restore and __restore_rt signal return code
9120 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9122 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9125 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9127 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9129 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9131 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9132 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
9134 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
9135 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
9136 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
9137 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
9138 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
9139 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
9140 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
9141 posix_fallocate, and posix_madvise.
9142 * conform/data/netdb.h-data: New file.
9143 * conform/data/pthread.h-data: Add pthread_barrier_t,
9144 pthread_barrierattr_t, pthread_barrier_destroy,
9145 pthread_barrier_init, pthread_barrier_wait,
9146 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
9147 pthread_barrierattr_init, pthread_barrierattr_setpshared,
9148 pthread_condattr_getclock, pthread_condattr_setclock,
9149 pthread_getcpuclockid, pthread_mutex_timedlock,
9150 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
9151 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
9152 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
9153 * conform/data/sched.h-data: Add sched_ss_low_priority,
9154 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
9156 * conform/data/semaphore.h-data: Add sem_timedwait.
9157 * conform/data/signal.h-data: Add SIGIO.
9158 * conform/data/spawn.h-data: New file.
9159 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
9160 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
9161 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
9162 Fix typo in gmtime_r definition.
9163 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
9164 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
9165 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
9166 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
9167 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
9168 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
9169 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
9170 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
9171 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
9172 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
9173 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
9174 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
9175 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
9176 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
9177 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
9178 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
9179 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
9180 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
9181 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
9182 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
9183 typo in off_t definition.
9184 * conform/data/net/if.h-data: New file.
9185 * conform/data/netinet/in.h-data: New file.
9186 * conform/data/netinet/tcp.h-data: New file.
9187 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
9188 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
9189 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
9190 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
9191 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
9192 and posix_typed_mem_open.
9193 * conform/data/sys/socket.h-data: New file.
9194 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9195 * conform/data/sys/types.h-data: Add pthread_barrier_t,
9196 pthread_barrierattr_t, and pthread_spinlock_t.
9197 * conform/data/sys/un.h-data: New file.
9198 * conform/data/sys/utsname.h-data: New file.
9200 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9202 * inet/gethstbyad.c (gethostbyname): Likewise.
9203 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9204 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9205 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9206 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9208 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9209 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9210 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9211 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9212 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9213 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9214 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9215 and second parameter.
9217 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9220 2000-04-29 Andreas Jaeger <aj@suse.de>
9222 * conform/data/arpa/inet.h-data: New file.
9224 2000-04-28 Geoff Clare <gwc@unisoft.com>
9226 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9227 path passed to ftw() or nftw() is an empty string.
9228 Closes PR libc/1710.
9230 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9232 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9233 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9234 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9235 * localedata/tst-mbswcs4.c: New file.
9236 * localedata/tst-mbswcs5.c: New file.
9238 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9239 == NULL. Little optimization.
9241 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9242 DT_PREINIT_ARRAYSZ).
9243 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9245 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9246 overflows in conversion from ASCII.
9248 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9250 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9251 * Makerules (full_config_sysdirs): Likewise.
9252 * MakeTAGS (full_config_sysdirs): Likewise.
9254 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9256 * .cvsignore: Remove linuxthreads.
9257 * po/.cvsignore: Remove *.pot.
9258 * posix/glob/.cvsignore: Removed.
9259 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9261 2000-04-25 Andreas Jaeger <aj@suse.de>
9263 * conform/Makefile (distribute): Also distribute contents of
9266 * Makerules (no_deps): Remove abi-versions.h.
9268 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9270 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9272 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9273 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9274 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9275 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9276 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9277 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9280 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9282 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9284 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9286 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9287 * intl/l10nflist.c: Likewise.
9289 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9291 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9292 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9293 * intl/textdomain.c [!_LIBC]: Likewise.
9294 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9295 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9296 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9299 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9301 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9302 character set conversion also in the case the translation was found
9303 after a hash collision or through binary search. Store the maximum
9304 index together with the converted message. Use iconv() when available.
9305 In case of out of memory during conversion, return the unconverted
9306 translated string, not NULL.
9308 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9310 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9311 to avoid name clashes with the ia32 linker.
9313 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9315 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9318 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9320 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9321 strtoumax, strfry, and memfrob.
9322 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9323 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9325 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9326 if this function is available.
9328 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9331 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9333 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9335 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9337 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9338 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9339 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9340 * localedata/tst-mbswcs3.c: New file.
9342 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9344 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9345 characters. Don't handle incomplete characters as errors.
9346 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9347 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9348 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9349 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9350 * localedata/tst-mbswcs2.c: New file.
9352 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9353 stored character in state in UNPACK_BYTES macro.
9354 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9355 test for available characters, handle result of BODY code correctly.
9356 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9357 (distribute): Add tst-mbswcs.sh.
9358 Add rule to run tst-mbswcs.sh.
9359 * localedata/tst-mbswcs.sh: New file.
9360 * localedata/tst-mbswcs1.c: New file.
9362 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9364 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9365 allocation fixups centrally, fix __builtin_expect call, return NULL
9366 on failure, not NIS_NOMEMORY.
9368 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9370 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9372 * intl/loadinfo.h (internal_function): Define if not already defined.
9374 2000-04-27 Andreas Jaeger <aj@suse.de>
9376 * intl/libintl.h: Fix typo, reported by Bruno Haible
9377 <haible@clisp.cons.org>.
9379 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9381 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9382 setting the state to GMON_PROF_BUSY.
9384 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9386 * elf/dl-profile.c (_dl_start_profile): define all variables which
9387 do not have to be global as local variables.
9389 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9390 patch. Keep needed tests for failed memory allocation.
9392 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9393 __builtin_expect saying that we don't normally expect to profile.
9395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9396 __builtin_expect where desirable.
9398 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9400 * manual/Makefile (chapters): Add syslog.
9401 * manual/syslog.texi: New file.
9402 * manual/math.texi: Fix references.
9403 * manual/terminal.texi: Likewise.
9404 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9406 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9408 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9409 stdlib.h was not included or __USE_XOPEN not defined.
9411 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9413 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9414 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9416 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9418 * manual/examples/subopt.c (mount_opts): Add missing terminating
9420 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9422 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9423 * libio/ftello.c: Likewise.
9424 * libio/ftello64.c: Likewise.
9425 * libio/ioftell.c: Likewise.
9426 * sysdeps/generic/memrchr.c: Likewise.
9427 * sysdeps/posix/libc_fatal.c: Likewise.
9428 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9429 * misc/fstab.c: Include <string.h> for strcmp prototype.
9430 * sysdeps/generic/ldsodefs.h: Likewise.
9431 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9432 Patch by Kurt Roeckx <Q@ping.be>.
9434 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9435 Remove db-open. Change all uses.
9436 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9438 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9440 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9441 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9442 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9443 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9444 with .set noat/at to shut up warnings.
9445 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9446 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9447 compilation if __NR_pciconfig_iobase is not defined.
9448 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9451 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9453 * manual/sysinfo.texi: Fix typo.
9454 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9455 Replace "high precision time" with "high accuracy clock".
9457 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9459 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9460 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9462 * nis/nis_subr.c: Use __builtin_expect.
9463 * nis/ypclnt.c: Likewise.
9464 * nis/nis_getservlist.c: Likewise.
9465 * nis/nis_creategroup.c: Likewise.
9467 * nis/nis_callback.c (__nis_create_callback): Check result of
9468 memory allocation. Fix memory leaks. Use __builtin_expect.
9469 (__nis_destroy_callback): Fix memory leaks.
9471 2000-04-21 Andreas Jaeger <aj@suse.de>
9473 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9474 * sysdeps/mips/mips64/add_n.S: Likewise.
9475 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9476 * sysdeps/mips/mips64/lshift.S: Likewise.
9477 * sysdeps/mips/mips64/mul_1.S: Likewise.
9478 * sysdeps/mips/mips64/rshift.S: Likewise.
9479 * sysdeps/mips/mips64/setjmp.S: Likewise.
9480 * sysdeps/mips/mips64/sub_n.S: Likewise.
9481 * sysdeps/mips/mips64/submul_1.S: Likewise
9482 * sysdeps/unix/mips/sysdep.S: Likewise.
9484 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9485 and update comment. The strtab from _dl_relocate_object can be
9488 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9490 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9491 * iconv/iconv_close.c (iconv_close): Likewise.
9492 * iconv/iconv_open.c (iconv_open): Likewise.
9494 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9495 __builtin_expect where useful.
9497 * grp/initgroups.c (initgroups): Test for result of memory
9498 allocation and punt if it fails.
9500 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9501 * grp/fgetgrent.c (fgetfrent): Likewise.
9502 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9504 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9506 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9508 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9510 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9511 don't search for NUL byte to decrement counter.
9512 Reported by Ulrich.Brink@sap.com.
9514 * iconv/gconv_simple.c: Define separate functions to convert from
9515 UCS4/UCS4-LE to the internal encoding.
9516 * iconv/gconv_builtin.h: Use separate functions to convert from
9517 UCS4/UCS4-LE to the internal encoding.
9518 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9519 __gconv_transform_ucs4le_internal.
9521 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9522 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9524 * iconv/skeleton.c: Add some more __builtin_expect.
9525 * iconv/loop.c: Likewise.
9527 2000-03-08 H.J. Lu <hjl@gnu.org>
9529 * posix/regex.c (regex_compile): Correctly handle "\{" when
9530 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9532 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9534 * manual/stdio.texi: Give advise about handling error when using
9536 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9538 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9540 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9541 field to nelems * sizeof (uint32_t).
9542 * locale/programs/ld-address.c (address_output): Align word fields
9544 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9545 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9547 Avoid giving arbitrary garbage in the crncystr field.
9548 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9549 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9551 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9552 Don't restart idx pointers to idx end at the decimal_point_wc field.
9553 * locale/programs/ld-time.c (time_output): week_1stday should be
9554 word, not byte. Align it properly.
9556 2000-04-19 H.J. Lu <hjl@gnu.org>
9558 * csu/gmon-start.c (_start): Declared as "extern void".
9561 2000-04-18 Andreas Jaeger <aj@suse.de>
9563 * manual/install.texi (Running make install): Don't mention utmpd
9566 2000-04-18 Andreas Jaeger <aj@suse.de>
9568 * linuxthreads/Versions: Use ld instead of ld.so.
9570 * elf/Makefile (ld-map): Use ld.map.
9572 * Versions.def: Use ld instead of ld.so.
9573 * elf/Versions: Likewise.
9574 * sysdeps/mach/hurd/Versions: Likewise.
9576 2000-04-20 Andreas Jaeger <aj@suse.de>
9578 * elf/rtld.c (print_statistics): Move ifndef further up.
9579 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9580 (dl_main): Likewise.
9582 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9584 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9585 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9587 * po/cs.po: Update from translation team.
9589 * sysdeps/generic/updwtmp.c: Remove daemon support.
9591 * login/Makefile (routines): Remove utmp_daemon.
9593 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9594 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9595 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9596 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9598 * elf/rtld.c: Display statitics option also if hp timing is not
9601 * login/programs/connection.c: Removed.
9602 * login/programs/database.c Removed.
9603 * login/programs/error.c: Removed.
9604 * login/programs/request.c: Removed.
9605 * login/programs/xtmp.c: Removed.
9606 * login/programs/xtmp.h: Removed.
9607 * login/Makefile: Remove rules for utmpd.
9608 * login/README.utmpd: Removed.
9609 * login/utmp_daemon.c: Removed.
9610 * login/getutent_r.c: Remove references to daemon functions.
9611 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9614 2000-04-18 Andreas Jaeger <aj@suse.de>
9616 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9617 2.2 for libnsl, libresolv, librt, libnss_*.
9619 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9621 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9623 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9625 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9626 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9627 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9628 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9629 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9630 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9631 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9632 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9633 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9634 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9635 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9636 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9637 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9639 * sysdeps/unix/sysv/aix/msync.c: New file.
9640 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9641 * sysdeps/unix/sysv/aix/net/if.h: New file.
9642 * sysdeps/unix/sysv/aix/pipe.c: New file.
9643 * sysdeps/unix/sysv/aix/poll.c: New file.
9644 * sysdeps/unix/sysv/aix/rename.c: New file.
9645 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9646 * sysdeps/unix/sysv/aix/select.c: New file.
9647 * sysdeps/unix/sysv/aix/semctl.c: New file.
9648 * sysdeps/unix/sysv/aix/semget.c: New file.
9649 * sysdeps/unix/sysv/aix/semop.c: New file.
9650 * sysdeps/unix/sysv/aix/sendto.c: New file.
9651 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9652 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9653 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9654 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9655 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9656 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9657 * sysdeps/unix/sysv/aix/setsid.c: New file.
9658 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9659 * sysdeps/unix/sysv/aix/shmat.c: New file.
9660 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9661 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9662 * sysdeps/unix/sysv/aix/shmget.c: New file.
9663 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9664 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9665 * sysdeps/unix/sysv/aix/socket.c: New file.
9666 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9667 * sysdeps/unix/sysv/aix/speed.c: New file.
9668 * sysdeps/unix/sysv/aix/symlink.c: New file.
9669 * sysdeps/unix/sysv/aix/sync.c: New file.
9670 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9671 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9672 * sysdeps/unix/sysv/aix/times.c: New file.
9673 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9674 * sysdeps/unix/sysv/aix/umask.c: New file.
9675 * sysdeps/unix/sysv/aix/unlink.c: New file.
9676 * sysdeps/unix/sysv/aix/ustat.c: New file.
9677 * sysdeps/unix/sysv/aix/utimes.c: New file.
9679 2000-04-18 Andreas Jaeger <aj@suse.de>
9681 * manual/startup.texi (Environment Access): Fix putenv prototype
9682 according to recent changes.
9683 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9686 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9689 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9691 * posix/Makefile (tests): Add tst-getaddrinfo.
9692 * posix/tst-getaddrinfo.c: New file.
9694 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9696 * manual/sysinfo.texi: Document that umount2 is not widely available.
9698 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9699 signal timing is not really implemented.
9701 2000-04-17 Andreas Jaeger <aj@suse.de>
9703 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9705 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9707 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9710 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9712 * manual/intro.texi: Change reference from System Information to
9714 * manual/users.texi: Likewise.
9715 * manual/conf.texi: Likewise.
9716 * manual/sysinfo.texi: Document mount, umount, and umount2.
9717 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9719 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9721 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9722 Create wnumstr as well as numstr to support wide character output
9725 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9727 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9728 modification and move it...
9729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9730 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9731 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9732 switch to $(LD) on sparc-linux.
9734 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9736 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9737 and setresuid from sysdep_routines.
9739 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9741 * manual/Makefile (chapters): Add resource.
9743 * manual/time.texi: Move section on resources to...
9744 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9746 * manual/setjmp.texi: Adjust back reference.
9747 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9749 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9751 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9752 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9753 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9754 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9755 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9756 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9757 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9758 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9759 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9760 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9761 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9762 * sysdeps/unix/sysv/aix/Implies: New file.
9763 * sysdeps/unix/sysv/aix/Versions: New file.
9764 * sysdeps/unix/sysv/aix/bind.c: New file.
9765 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9766 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9767 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9768 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9769 * sysdeps/unix/sysv/aix/chdir.c: New file.
9770 * sysdeps/unix/sysv/aix/chmod.c: New file.
9771 * sysdeps/unix/sysv/aix/chroot.c: New file.
9772 * sysdeps/unix/sysv/aix/creat.c: New file.
9773 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9774 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9775 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9776 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9777 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9778 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9779 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9780 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9781 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9782 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9783 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9784 * sysdeps/unix/sysv/aix/link.c: New file.
9785 * sysdeps/unix/sysv/aix/madvise.c: New file.
9786 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9787 * sysdeps/unix/sysv/aix/mknod.c: New file.
9788 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9789 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9790 * sysdeps/unix/sysv/aix/msgget.c: New file.
9791 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9793 2000-04-17 Andreas Jaeger <aj@suse.de>
9795 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9796 as suggested by Ulrich Drepper.
9797 (__dl_runtime_resolve): Remove unused variable, initialize sym
9799 (RTLD_START): Document OFFSET_GP_GOT.
9800 (OFFSET_GP_GOT): New magic value.
9801 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9802 (elf_machine_got_rel): Only declare strtab if needed.
9803 (elf_machine_relplt): Removed, it's not needed.
9804 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9806 * sysdeps/mips/add_n.S: Add newline at EOF.
9807 * sysdeps/mips/rshift.S: Likewise.
9808 * sysdeps/mips/mul_1.S: Likewise.
9809 * sysdeps/mips/lshift.S: Likewise.
9810 * sysdeps/mips/addmul_1.S: Likewise.
9812 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9814 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9816 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9817 * elf/dl-lookup.c: Likewise.
9818 * elf/dl-init.c (_dl_init): Likewise.
9819 * elf/dl-fini.c (_dl_fini): Likewise.
9820 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9821 * elf/dl-close.c (_dl_close): Likewise.
9822 * elf/rtld.c (_dl_start_final): Likewise.
9824 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9826 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9828 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9829 only fall back on using Linux.
9831 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9832 Before testing versions check that we actually loaded the object
9833 and whether we are in trace mode. If not loaded during tracing don't
9834 test versions in this object.
9835 (_dl_check_all_versions): Take new parameter and pass to
9836 _dl_check_map_versions.
9837 * sysdeps/generic/ldsodefs.h: Update prototypes for
9838 _dl_check_all_versions and _dl_check_map_versions.
9839 * elf/rtld.c (struct version_check_args): Add dotrace.
9840 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9841 (dl_main): Pass info about trace mode to version_check_doit.
9842 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9843 _dl_check_all_versions.
9845 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9847 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9849 * manual/argp.texi: Document index parameter of argp_parse.
9851 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9853 2000-04-14 Andreas Jaeger <aj@suse.de>
9855 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9856 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9858 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9860 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9862 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9863 compat_symbol call for old adjtime.
9865 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9866 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9868 * posix/Makefile (headers): Add spawn.h.
9869 (distribute): Add spawn_int.h.
9870 (routines): Add spawn_faction_init, spawn_faction_destroy,
9871 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9872 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9873 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9874 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9875 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9876 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9877 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9878 posix_spawnattr_init, posix_spawnattr_destroy,
9879 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9880 posix_spawnattr_getflags, posix_spawnattr_setflags,
9881 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9883 * posix/spawn.c: New file.
9884 * posix/spawn.h: New file.
9885 * posix/spawn_faction_addclose.c: New file.
9886 * posix/spawn_faction_adddup2.c: New file.
9887 * posix/spawn_faction_addopen.c: New file.
9888 * posix/spawn_faction_destroy.c: New file.
9889 * posix/spawn_faction_init.c: New file.
9890 * posix/spawn_int.h: New file.
9891 * posix/spawnattr_destroy.c: New file.
9892 * posix/spawnattr_getdefault.c: New file.
9893 * posix/spawnattr_getflags.c: New file.
9894 * posix/spawnattr_getpgroup.c: New file.
9895 * posix/spawnattr_getschedparam.c: New file.
9896 * posix/spawnattr_getschedpolicy.c: New file.
9897 * posix/spawnattr_getsigmask.c: New file.
9898 * posix/spawnattr_init.c: New file.
9899 * posix/spawnattr_setdefault.c: New file.
9900 * posix/spawnattr_setflags.c: New file.
9901 * posix/spawnattr_setpgroup.c: New file.
9902 * posix/spawnattr_setschedparam.c: New file.
9903 * posix/spawnattr_setschedpolicy.c: New file.
9904 * posix/spawnattr_setsigmask.c: New file.
9905 * posix/spawni.c: New file.
9906 * posix/spawnp.c: New file.
9908 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9909 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9911 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9913 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9914 * malloc/malloc.c: Implement posix_memalign for glibc.
9915 * include/stdlib.h: Add prototype for __posix_memalign.
9916 * stdlib/stdlib.h: Add prototype for posix_memalign.
9918 2000-04-14 Andreas Jaeger <aj@suse.de>
9920 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9922 (elf_machine_got_rel): Cast sym correctly.
9924 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9925 * sysdeps/mips/addmul_1.S: Likewise.
9926 * sysdeps/mips/lshift.S: Likewise.
9927 * sysdeps/mips/mul_1.S: Likewise.
9928 * sysdeps/mips/rshift.S: Likewise.
9929 * sysdeps/mips/sub_n.S: Likewise.
9930 * sysdeps/mips/submul_1.S: Likewise.
9932 * stdlib/stdlib.h: Fix typo in comment.
9934 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9935 2.2 for libdl, ld and libm.
9937 * sysdeps/generic/madvise.c: Fix typos.
9939 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9941 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9943 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9946 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9948 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9949 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9950 Make old name weak alias.
9951 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9952 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9953 Make old name weak alias.
9954 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9956 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9957 posix_fallocate, and posix_fallocate64.
9958 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9959 posix_fallocate, and posix_fallocate64.
9960 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9961 posix_fallocate, and posix_fallocate64.
9962 * sysdeps/generic/fadvise.c: New file.
9963 * sysdeps/generic/fadvise64.c: New file.
9964 * sysdeps/generic/fallocate.c: New file.
9965 * sysdeps/generic/fallocate64.c: New file.
9966 * sysdeps/posix/fallocate.c: New file.
9967 * sysdeps/posix/fallocate64.c: New file.
9968 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9969 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9970 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9971 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9972 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9973 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9975 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9978 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9979 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9981 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9983 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9984 * misc/sys/mman.h (posix_madvise): Add prototype.
9985 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9986 old name and posix_madvise weak aliases.
9987 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9988 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9989 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9990 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9991 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9995 2000-04-13 Andreas Jaeger <aj@suse.de>
9997 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9999 (elf_machine_got_rel): Only add runtime display if needed.
10000 (elf_machine_got_rel): Handle symbol versioning.
10002 2000-04-13 Andreas Jaeger <aj@suse.de>
10004 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10006 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10009 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10010 with some applications.
10011 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10013 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10014 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10015 * sysdeps/mips/setjmp.S: Likewise.
10017 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10019 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10021 * posix/globtest.sh: Work around inconsistency with expanding ~/
10022 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10024 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10026 * posix/getconf.c: Add support for many more POSIX options.
10027 * sysdeps/posix/sysconf.c: Likewise.
10028 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10029 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10031 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10032 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10033 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10034 CLOCK_THREAD_CPUTIME_ID.
10035 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10036 CLOCK_PROCESS_CPUTIME_ID.
10037 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10038 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10039 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10040 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10042 * malloc/Makefile (tests): Add tst-calloc.
10043 * malloc/tst-calloc.c: New file.
10045 * sysdeps/arm/libm-test-ulps: New file.
10047 * malloc/malloc.c: Undo all of today's changes.
10049 * locale/programs/locale.c (show_info): Don't try to look into
10050 data for LC_ALL (there is none).
10052 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10053 avoid writing over boundary.
10054 Patch by Greg McGary <gkm@eng.ascend.com>.
10056 * sysdeps/arm/memprof.h: New file.
10058 2000-04-12 Andreas Jaeger <aj@suse.de>
10060 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10062 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10063 for memmem declaration.
10065 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10067 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10069 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10071 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10073 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10074 Patch by Bart Veer <bartv@redhat.com>.
10076 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10077 function interface.
10079 2000-04-11 Andreas Jaeger <aj@suse.de>
10081 * sysdeps/mips/dl-machine.h: Update some comments.
10082 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10084 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10086 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10087 _POSIX_SHARED_MEMORY_OBJECTS.
10089 * rt/Makefile (tests): Add tst-shm.
10090 Add rules to generate tst-shm.
10091 * rt/tst-shm.c: New file.
10093 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10096 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10097 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10098 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10099 * sysdeps/generic/shm_open.c: New file.
10100 * sysdeps/generic/shm_unlink.c: New file.
10101 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10102 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10103 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10104 __endmntent, __getmntent_r, __setmntent, and __statfs.
10106 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10107 fragmentation by allocating new memory at the end instead of
10110 * posix/globtest.sh: Fix last change.
10112 2000-04-10 Philip Blundell <philb@gnu.org>
10114 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10115 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10116 IPV6_DROP_MEMBERSHIP.
10117 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10120 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10122 * elf/readlib (process_file): Close streams in case of an error.
10124 2000-04-09 Andreas Jaeger <aj@suse.de>
10126 * elf/readlib.c (process_file): Check if file is big enough to
10127 contain aout and ELF headers.
10128 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10130 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
10132 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
10134 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10136 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
10138 * rt/Makefile (tests): Add tst-clock.
10139 Add rules to build tst-clock.
10140 * rt/tst-clock.c: New file.
10141 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
10142 about initialization of nsec.
10143 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
10144 about initialization of freq. Set retval to zero if successful.
10145 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
10147 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10149 * Versions.def (librt): Add GLIBC_2.2.
10150 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
10151 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
10152 timer_getoverr, timer_gettime, and timer_settime.
10153 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
10154 clock_settime, timer_create, timer_delete, timer_getoverrun,
10155 timer_gettime, and timer_settime.
10156 * sysdeps/generic/clock_getcpuclockid.c: New file.
10157 * sysdeps/generic/get_clockfreq.c: New file.
10158 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
10159 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
10160 * sysdeps/mach/hurd/i386/bits/time.h: New file.
10161 * sysdeps/unix/i386/i586/clock_getres.c: New file.
10162 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
10163 * sysdeps/unix/i386/i686/Implies: New file.
10164 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
10165 * time/Makefile (routines): Move clock_getres, clock_gettime,
10166 clock_settime, timer_create, timer_delete, timer_getoverr,
10167 timer_gettime, and timer_settime to rt/Makefile.
10168 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
10169 clock_settime, timer_create, timer_delete, timer_getoverrun,
10170 timer_gettime, and timer_settime.
10171 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
10173 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
10174 and not const as attribute name.
10176 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
10178 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
10180 2000-04-10 Andreas Schwab <schwab@suse.de>
10182 * posix/globtest.sh: Skip tests that depend on unreadable
10183 directories if run as root.
10185 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10187 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
10188 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
10190 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10192 * sysdeps/unix/clock_gettime.c: New file.
10193 * sysdeps/unix/clock_settime.c: New file.
10194 * sysdeps/posix/clock_getres.c: New file.
10196 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10198 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10199 lseek call be passing in a buffer which never allow a successful
10200 first getdents syscall if not at leas the initial entry can be
10201 stored in the user buffer.
10203 * localedata/Makefile: Add rules to clean up directories created by
10206 2000-04-09 Geoff Clare <gwc@unisoft.com>
10208 * localedata/tst-fmon.data: Added new tests for strfmon()
10209 using test locales with all combinations of cs_precedes,
10210 sign_posn and sep_by_space.
10211 * localedata/tst-fmon.sh: Updated to support the new tests.
10212 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10213 the localedef source for the new strfmon() test locale.
10214 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10215 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10216 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10217 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10218 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10219 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10220 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10221 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10222 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10223 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10224 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10225 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10226 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10227 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10229 * stdlib/strfmon.c: Correct problems with missing or extra
10230 spaces for unusual combinations of sign_posn and sep_by_space.
10231 Improved left-precision alignment code.
10233 2000-04-07 Andreas Jaeger <aj@suse.de>
10235 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10237 2000-04-10 Andreas Jaeger <aj@suse.de>
10239 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10241 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10243 Implement handling of restartable conversion functions according to
10245 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10246 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10247 * iconv/gconv.c: Pass additional parameter to conversion function.
10248 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10249 (internal_ucs4le_loop_single): New function.
10250 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10251 (__gconv_transform_internal_ascii): Likewise.
10252 (__gconv_transform_internal_utf8): Likewise.
10253 (__gconv_transform_utf8_internal): Likewise.
10254 (__gconv_transform_ucs2_internal): Likewise.
10255 (__gconv_transform_internal_ucs2): Likewise.
10256 (__gconv_transform_ucs2reverse_internal): Likewise.
10257 (__gconv_transform_internal_ucs2reverse): Likewise.
10258 (internal_ucs4le_loop_unaligned): Before return
10259 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10260 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10261 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10262 * iconv/loop.c: Fit in definition of function to convert one character
10263 for processing of left-over bytes from the state object.
10264 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10265 inend to match names in loop functions.
10266 (RESET_INPUT_BUFFER): Change apprpriately.
10267 (gconv): If needed, call function to process bytes from the state
10268 object. Similar at the end: store left over bytes if input is
10270 Take extra argument and add new argument to all calls of the
10271 conversion function.
10272 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10273 information in the state object to not conflict with length count.
10274 * iconvdata/iso-2022-jp.c: Likewise.
10275 * iconvdata/iso-2022-kr.c: Likewise.
10276 * iconvdata/unicode.c: Adjust for change change in parameters of
10278 * iconvdata/utf-16.c: Likewise.
10279 * libio/iofwide.c: Add new parameter to all calls of conversion
10281 * wcsmbs/btowc.c: Likewise.
10282 * wcsmbs/mbrtowc.c: Likewise.
10283 * wcsmbs/mbsnrtowcs.c: Likewise.
10284 * wcsmbs/mbsrtowcs.c: Likewise.
10285 * wcsmbs/wcrtomb.c: Likewise.
10286 * wcsmbs/wcsnrtombs.c: Likewise.
10287 * wcsmbs/wcsrtombs.c: Likewise.
10288 * wcsmbs/wctob.c: Likewise.
10290 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10293 2000-04-07 Andreas Jaeger <aj@suse.de>
10295 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10298 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10300 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10301 element a union to allow byte access.
10302 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10304 * iconvdata/iso-2022-jp.c: Likewise.
10305 * iconvdata/iso-2022-kr.c: Likewise.
10306 * wcsmbs/mbsinit.c: Likewise.
10307 * stdlib/mblen.c: Likewise.
10308 * stdio-common/printf-parse.h: Likewise.
10310 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10312 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10313 kernel does not allow relative seeks on descriptors associated
10314 with directories. Go back to get the position in the directory
10315 every time we enter the function. Return -1 and set errno if one
10316 entry could be read from the kernel but does not fit into the
10317 buffer passed in by the user.
10319 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10320 Support ..(2).. ellipsis.
10321 (parse_charmap): Recognize ..(2).. etc and pass step down.
10322 Correctly generate names for UCS4 characters.
10324 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10325 (ctype_finish): We know the wide character value for <SP>,
10327 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10328 (charclass_ucs4_ellipsis): Likewise.
10329 (read_translit_ignore_entry): Store ellipsis step.
10330 (ctype_read): Recognize ..(2).. etc and pass step down.
10332 * locale/programs/linereader.c (lr_token): When seeing comment
10333 character ignore only rest of line in sources but stop at escaped
10335 Recognize ..(2).. and ....(2).....
10337 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10338 and tok_ellipsis4_2.
10340 2000-04-06 Andreas Jaeger <aj@suse.de>
10342 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10343 removed, remove it here also.
10344 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10345 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10347 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10349 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10351 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10352 include bits/sigcontext.h.
10353 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10355 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10357 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10358 collation symbol definition. Value in quivalence definition must
10359 be defined, don't check that it is not.
10361 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10362 values as character names.
10364 * locale/programs/ld-ctype.c (get_character): Handle missing
10365 repertoire map correctly.
10367 2000-04-05 Cristian Gafton <gafton@redhat.com>
10369 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10370 because it is used in generic code.
10371 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10372 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10373 * intl/gettext.c: Include <locale.h>.
10374 * intl/ngettext.c: Likewise.
10376 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10378 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10379 socklen_t type for size.
10380 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10381 init function interface.
10382 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10383 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10385 (__jmp_buf): Declare the whole type structure here, don't use
10388 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10390 * iconv/skeleton.c (put16u): Fix typo.
10391 Reported by Bruno Haible <haible@ilog.fr>.
10393 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10394 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10395 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10396 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10397 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10400 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10401 * Makefile (distribute): Add abi-versions.awk and
10403 Patches by Torsten Duwe <duwe@caldera.de>.
10405 2000-04-05 Andreas Schwab <schwab@suse.de>
10407 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10409 2000-04-05 Andreas Schwab <schwab@suse.de>
10411 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10412 entry point, used on Hurd.
10414 2000-04-04 Andreas Jaeger <aj@suse.de>
10416 * intl/Makefile: Only run the gettext test with shared libraries.
10418 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10420 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10421 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10423 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10425 * Makeconfig: Undo last change.
10426 * configure.in: If --disable-shared was given, don't set VERSIONING,
10427 don't define DO_VERSIONING, and don't give scare warning for no
10429 * configure: Regenerated.
10431 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10433 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10435 2000-04-04 Andreas Jaeger <aj@suse.de>
10437 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10439 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10441 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10442 STV_HIDDEN and STV_INTERNAL during lookup.
10443 (profile_fixup): Likewise.
10444 * elf/dl-reloc.c (RESOLVE): Likewise.
10446 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10447 unaligned so that it compiles for system which need unaligned
10450 2000-04-04 Andreas Schwab <schwab@suse.de>
10452 * elf/cache.c (print_entry): Only look at the type field when
10455 2000-04-04 Andreas Schwab <schwab@suse.de>
10457 * iconvdata/big5.c (BODY): Fix typo.
10459 2000-04-04 Andreas Schwab <schwab@suse.de>
10461 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10462 function interface. Remove unused _dl_start_user entry point.
10464 2000-04-03 Andreas Jaeger <aj@suse.de>
10466 * include/arpa/inet.h (__inet_aton): Add protoype.
10468 2000-04-01 Andreas Jaeger <aj@suse.de>
10470 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10472 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10473 * sysdeps/mach/mips/thread_state.h: Likewise.
10475 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10476 * sysdeps/generic/fegetenv.c: Likewise.
10477 * sysdeps/generic/fesetenv.c: Likewise.
10478 * sysdeps/generic/feupdateenv.c: Likewise.
10479 * sysdeps/generic/fraiseexcpt.c: Likewise.
10480 * sysdeps/generic/fsetexcptflg.c: Likewise.
10481 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10482 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10483 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10484 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10486 2000-04-02 H.J. Lu <hjl@gnu.org>
10488 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10490 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10492 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10493 (add_name_to_object): Add cast in malloc call.
10494 (fillin_rpath): Optimize loop to initialize ->status a bit.
10496 * sysdeps/i386/dl-machine.h: Undo last change.
10497 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10498 Restore %edx register after call here.
10500 * sysdeps/arm/atomicity.h: New file.
10501 Contributed by Jesper Skov <jskov@redhat.com>.
10503 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10505 * Makeconfig (preprocess-versions): Undo last change.
10506 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10508 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10509 here, before we might move the stack.
10510 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10511 (init1): And not here.
10513 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10514 change, to restore argc value in call-clobbered register after
10515 RTLD_START_SPECIAL_INIT, which will contain a call.
10517 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10518 allocating and initializing L->l_initfini.
10520 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10522 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10524 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10525 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10526 (open_path): Change type of fourth parameter. Make pointer to array
10527 of pointers. Create variable dirs with original type.
10528 Track whether any directory for the object exists and if not,
10529 change *DIRSP to (void*) -1 to signal there is no such search path.
10530 (_dl_map_object): Change all calls of open_path.
10531 Rewrite decompose_rpath calls.
10533 2000-03-31 Andreas Schwab <schwab@suse.de>
10535 * string/strfry.c: Declare STATE as array of char instead of int
10536 and do not initialize it (done by initstate_r). Pass correct
10539 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10541 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10543 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10544 instruction out of the code.
10546 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10548 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10549 element at this position.
10551 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10552 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10553 l_reldeps elements.
10554 * elf/dl-lookup.c (add_dependency): New function.
10555 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10556 dynamically loaded object.
10557 (_dl_lookup_symbol_skip): Likewise.
10558 (_dl_lookup_versioned_symbol): Likewise.
10559 (_dl_lookup_versioned_symbol_skip): Likewise.
10560 * elf/dl-open.c: Don't define _dl_load_lock here...
10561 * elf/rtld.c: ...but here...
10562 * elf/dl-support.c: ...and here.
10563 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10564 through relocation.
10565 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10567 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10569 * dlfcn/glrefmain.c: Add one more debug message.
10571 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10573 * Makerules (sysd-versions): Use ( ) instead of { }.
10575 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10576 optimize for the non-debugging case.
10577 * elf/dl-lookup.c: Likewise.
10578 * sysdeps/generic/libc-start.c: Likewise.
10580 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10582 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10583 (init1): Don't initialize __environ here, since init already does it.
10584 (first_init): New function, broken out of _init.
10585 (_hurd_stack_setup): Use it.
10586 [SHARED] (_dl_init_first): New function, renamed from old _init.
10587 (init1) [SHARED]: Don't call posixland_init here.
10588 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10589 [SHARED] (_init): Define as alias for posixland_init.
10590 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10591 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10592 RTLD_START_SPECIAL_INIT before calling initializers.
10593 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10594 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10595 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10596 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10598 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10599 since we define the function with the name `tmpfile'.
10601 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10602 * hurd/Versions: Likewise.
10604 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10606 * elf/dl-runtime.c (fixup): Fix typo in comment.
10608 * resolv/netdb.h (getnameinfo): All length parameters are of type
10610 * inet/getnameinfo.c: Likewise.
10612 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10614 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10615 (gethostname): Change type of second parameter to socklen_t.
10616 * include/unistd.h (__gethostname): Change type of second
10617 parameter to socklen_t.
10618 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10619 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10620 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10621 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10623 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10624 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10625 Allow definition elsewhere.
10626 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10627 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10628 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10629 * sysdeps/generic/bits/types.h: Define __socklen_t.
10630 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10631 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10632 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10633 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10634 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10636 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10638 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10639 (inet_lnaof): Likewise.
10640 (inet_netof): Likewise.
10641 (inet_network): Likewise.
10642 (inet_aton): Likewise.
10643 (inet_makeaddr): Change parameter types to in_addr_t.
10644 (inet_neta): Likewise.
10645 (inet_ntop): Change type of last parameter to socklen_t.
10646 (inet_aton): Only make available if __USE_MISC.
10647 (inet_neta): Likewise.
10648 (inet_net_ntop): Likewise.
10649 (inet_net_pton): Likewise.
10650 (inet_nsap_ntoa): Likewise.
10652 * inet/in.h: Define in_port_t type.
10653 Define in_addr_t type.
10654 (struct in_addr): Use in_addr_t in definition.
10655 (IN_CLASSA): Use cast to in_addr_t.
10656 (IN_CLASSB): Likewise.
10657 (IN_CLASSC): Likewise.
10658 (IN_CLASSD): Likewise.
10659 (IN_EXPERIMENTAL): Likewise.
10660 (IN_BADCLASS): Likewise.
10661 (INADDR_ANY): Likewise.
10662 (INADDR_BROADCAST): Likewise.
10663 (INADDR_NONE): Likewise.
10664 (INADDR_LOOPBACK): Likewise.
10665 (INADDR_UNSPEC_GROUP): Likewise.
10666 (INADDR_ALLHOSTS_GROUP): Likewise.
10667 (INADDR_ALLRTRS_GROUP): Likewise.
10668 (INADDR_MAX_LOCAL_GROUP): Likewise.
10669 (struct sockaddr_in): Use in_port_t for sin_port element.
10670 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10671 Use uint8_t instead of u_int8_t.
10673 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10674 Call __inet_aton instead of inet_aton.
10675 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10677 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10678 (innetgr): Likewise.
10679 (struct addrinfo): Use socklen_t for ai_addrlen element.
10681 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10682 IPV6_RECVERR): New defines.
10684 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10685 * inet/getnetbyad.c: Likewise.
10686 * inet/getnetbyad_r.c: Likewise.
10687 * nis/nss_nis/nis-network.c: Likewise.
10688 * nis/nssplus_nis/nisplus-network.c: Likewise.
10689 * nss/nss_files/files-network.c: Likewise.
10690 * resolv/netdb.h: Define uint32_t if not already happened.
10691 Include bits/netdb.h. Remove definition of struct netent.
10692 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10693 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10694 * sysdeps/generic/bits/netdb.h: New file.
10695 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10697 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10698 (tests): Add glrefmain.
10699 Add rules to build modules and run tests. Ignore result of glrefmain
10700 for now since it fails.
10701 * dlfcn/glrefmain.c: New file.
10702 * dlfcn/glreflib1.c: New file.
10703 * dlfcn/glreflib2.c: New file.
10705 * test-skeleton.c: Include <string.h> for strsignal prototype.
10707 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10710 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10711 former init-first.h. Initialize __libc_multiple_libcs.
10713 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10715 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10716 #if expression for use of unaligned function to the one used in
10717 the definition of these functions.
10718 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10719 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10720 (internal_ucs4le_loop_unaligned): New function.
10722 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10723 (tests): Add order.
10724 (module-names): Add dep1, dep2, dep3, and dep4.
10725 Add dependencies for dep* modules and order.
10726 Define rule for order.out which checks the result.
10727 * elf/dep1.c: New file.
10728 * elf/dep2.c: New file.
10729 * elf/dep3.c: New file.
10730 * elf/dep4.c: New file.
10731 * elf/order.c: New file.
10733 * elf/dl-init.c: Fix typo in comment.
10735 2000-03-31 Andreas Jaeger <aj@suse.de>
10737 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10738 init function interface.
10739 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10741 2000-03-31 Andreas Jaeger <aj@suse.de>
10743 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10744 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10745 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10746 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10747 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10749 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10750 anymore, update comment.
10752 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10754 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10755 SHLIB_COMPAT - the struct is always needed.
10757 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10759 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10760 * elf/dl-support.c: Define _dl_starting_up.
10762 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10764 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10765 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10767 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10769 * elf/Makefile (dl-routines): Remove preinit.
10770 * elf/Versions: Remove _dl_preinit.
10771 * elf/dl-preinit.c: Removed. Move content into...
10772 * elf/dl-init.c: ...here.
10773 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10775 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10778 2000-03-29 Geoff Clare <gwc@unisoft.com>
10780 * stdlib/strfmon.c: Corrected problems with the code that
10781 sets default values for [np]_sep_by_space and
10782 [np]_sign_posn; also the new positive/negative alignment
10783 code from the previous patch was not quite right for
10784 [np]_sign_posn = 0.
10786 * localedata/tst-fmon.data: Changes corresponding to the
10787 two sets of fixes made to stdlib/strfmon.c.
10789 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10791 * malloc/malloc.c: Declare bit flags UL so that they will not
10792 default to int size when being inverted.
10794 2000-03-29 Andreas Jaeger <aj@suse.de>
10796 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10797 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10799 2000-03-29 Andreas Jaeger <aj@suse.de>,
10800 Ralf Baechle <ralf@uni-koblenz.de>
10802 * Makeconfig: Introduce new variable SHARED to mark code used in
10803 the shared library.
10804 * elf/dl-close.c: Use it instead of PIC.
10805 * elf/dl-load.c: Likewise.
10806 * elf/dl-open.c: Likewise.
10807 * hurd/geteuids.c: Likewise.
10808 * include/libc-symbols.h: Likewise.
10809 * include/shlib-compat.h: Likewise.
10810 * libio/freopen.c: Likewise.
10811 * linuxthreads/cancel.c: Likewise.
10812 * linuxthreads/pthread.c: Likewise.
10813 * linuxthreads/wrapsyscall.c: Likewise.
10814 * nss/nsswitch.c: Likewise.
10815 * stdio-common/vfprintf.c: Likewise.
10816 * sysdeps/arm/init-first.c: Likewise.
10817 * sysdeps/i386/init-first.c: Likewise
10818 * sysdeps/generic/init-first.c: Likewise.
10819 * sysdeps/generic/libc-start.c: Likewise.
10820 * sysdeps/mips/init-first.c: Likewise.
10821 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10822 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10823 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10824 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10825 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10827 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10829 2000-03-29 Andreas Jaeger <aj@suse.de>
10831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10832 Use D_PTR to access relocated entries in l_info.
10833 (elf_machine_rela): Likewise.
10835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10837 (elf_machine_rela): Likewise.
10839 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10841 (__elf_machine_fixup_plt): Likewise.
10842 (__process_machine_rela): Likewise.
10844 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10845 (elf_machine_rela): Likewise.
10847 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10848 (elf_machine_rel): Likewise.
10850 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10851 (elf_machine_fixup_plt): Likewise.
10852 (elf_machine_rela): Likewise.
10854 2000-03-29 Andreas Jaeger <aj@suse.de>
10856 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10857 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10858 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10859 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10860 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10861 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10862 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10863 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10864 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10865 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10866 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10867 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10868 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10869 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10872 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10873 macros, remove K&R prototypes.
10875 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10877 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10878 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10881 2000-03-30 Andreas Jaeger <aj@suse.de>
10883 * misc/sys/cdefs.h: Remove K&R support.
10885 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10887 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10889 * iconv/loop.c: Likewise.
10891 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10893 * iconv/loop.c (put16): Remove __const. Fix access index.
10894 (put32): Remove __const. Use uint32_t instead of uint16_t.
10895 * iconv/skeleton.c: Likewise.
10897 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10899 * mach/Versions (libc: GLIBC_2.0)
10900 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10901 __vm_allocate on this.
10902 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10903 mutex- and spinlock-related symbols on this.
10904 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10905 New version set. Lock-related symbols go here instead in this case.
10906 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10907 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10908 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10910 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10911 Put them here instead.
10912 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10913 New version set. Those cthreads symbols go here instead in this case.
10914 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10916 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10918 * elf/dl-init.c (_dl_init): We don't need to call constructors
10919 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10921 Implement dynamic determination of constructor/destructor order in
10922 the dynamic linker.
10923 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10924 (GLIBC_2.2): Add _dl_init.
10925 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10926 r_duplist is not anymore allocated separately. l_initfini is and
10927 therefore free it if necessary.
10928 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10929 malloc block. Otherwise allocate l_initfini list only.
10930 Put dependencies for the object in l_initfini list.
10931 Sort dependencies for the object to be loaded topologically.
10932 * elf/dl-fini.c: Before running the destructors sort the topologically.
10933 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10934 call constructors instead of iterating over the pointers. Get list of
10935 objects for which to run constructors from l_initfini element. Accept
10936 argc, argv, and env as parameters and pass them to the constructors.
10937 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10938 with size of dynamic section.
10939 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10940 _dl_init_next and calling constructors ourself.
10941 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10942 Take argc, argv, and env as parameters and pass them to the
10943 constructors. Rewrite to call all constructors and not iterate over
10945 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10946 precompute l_initcount and l_preinitcount.
10947 * elf/link.h (struct link_map): Add l_ldnum member.
10948 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10949 l_initcount, and l_preinitcount. Add l_initfini.
10950 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10952 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10953 function interface.
10954 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10955 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10956 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10957 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10958 conventions now match.
10960 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10961 effect for shared objects. Don't emit message and call only for
10964 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10966 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10967 CSA_Z243.4-1985-1..UCS2.
10968 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10971 2000-03-29 Andreas Jaeger <aj@suse.de>
10973 * include/unistd.h: Remove duplicate entry for __rmdir.
10974 Remove declaration of __mkdir since __mkdir is declared in
10977 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10978 by Michael Deutschmann <michael@talamasca.ocis.net>.
10980 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10981 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10982 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10983 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10984 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10986 2000-03-28 Andreas Jaeger <aj@suse.de>
10988 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10989 declaration, the prototype is defined via bits/mathcalls.h.
10990 (__sincosf): Likewise.
10991 (__sincosl): Likewise.
10993 (ldexpf): Likewise.
10994 (ldexpl): Likewise.
10995 (__finite): Likewise.
10996 (__inline_mathcodeNP): New macro without prototype
10998 (__inline_mathcodeNP2): Likewise.
10999 (__inline_mathcodeNP3): Likewise.
11000 (__inline_mathcodeNP_): Likewise.
11001 (__inline_mathcodeNP2_): Likewise.
11002 (__inline_mathcodeNP3_): Likewise.
11003 (__inline_mathopNP): Likewise.
11004 (__inline_mathop_declNP): Likewise.
11005 (__inline_mathop_declNP_): Likewise.
11006 (__inline_mathcode_): Use __inline_mathcodeNP_.
11007 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11008 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11009 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11010 (__expm1l): Don't define prototype, the prototype is defined via
11013 (__expl): Likewise.
11016 (__atan2l): Likewise.
11021 (__fabsl): Likewise.
11039 (__sqrtl): Likewise.
11049 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11051 * Makerules: If make variable md5 is defined to yes after
11052 generating dependencies generate MD5 sum for the object.
11054 * iconv/gconv_builtin.h: Fix length in transformation definition
11057 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11059 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11060 allow as well reading from/writing to unaligned addresses on machines
11061 which don't support this in hardware. Use FCTNAME macro to define
11062 function name. Include the file a second time for platforms which
11063 need special unaligned handling.
11064 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11065 to access potentially unaligned addresses. These macros are intended
11066 to be used only outside the loops.
11067 (unaligned): New definition. In case the machine can handle unaligned
11068 access define as zero. Otherwise as a variable which is initialized
11069 as nonzero in case the buffer passed in at runtime is unaligned with
11070 respect to the character set encoding involved.
11071 Call aligned or unaligned looop functions according to unaligned
11073 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11074 of direct casting pointer to potentially handle unaligned memory
11076 * iconvdata/8bit-generic.c: Likewise.
11077 * iconvdata/ansi_x3.110.c: Likewise.
11078 * iconvdata/big5.c: Likewise.
11079 * iconvdata/euc-cn.c: Likewise.
11080 * iconvdata/euc-jp.c: Likewise.
11081 * iconvdata/euc-kr.c: Likewise.
11082 * iconvdata/euc-tw.c: Likewise.
11083 * iconvdata/gbk.c: Likewise.
11084 * iconvdata/iso-2022-cn.c: Likewise.
11085 * iconvdata/iso-2022-jp.c: Likewise.
11086 * iconvdata/iso-2022-kr.c: Likewise.
11087 * iconvdata/iso646.c: Likewise.
11088 * iconvdata/iso_6937-2.c: Likewise.
11089 * iconvdata/iso_6937.c: Likewise.
11090 * iconvdata/johab.c: Likewise.
11091 * iconvdata/sjis.c: Likewise.
11092 * iconvdata/t.61.c: Likewise.
11093 * iconvdata/uhc.c: Likewise.
11094 * iconvdata/unicode.c: Likewise.
11095 * iconvdata/utf-16.c: Likewise.
11097 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11100 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11101 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11103 * malloc/mcheck.h (mcheck_check_all): Declare.
11105 * stdio-common/Makefile (tests): Add tst-obprintf.
11107 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
11109 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11110 Declare pthread_sigmask.
11112 * csu/version.c: Add 2000 to copyright years.
11113 Remove Emacs local variables section.
11115 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11117 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11118 __gconv_transform_internal_ucs2little): Remove declarations.
11119 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11120 __gconv_transform_internal_ucs2): Never need to bswap_16.
11121 (__gconv_transform_ucs2reverse_internal,
11122 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11124 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11126 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11127 obsoleting version not being defined at all, in which case the
11128 result is always true.
11130 * Makeconfig (preprocess-versions): New canned sequence for running
11131 cpp on shlib-versions and the like.
11132 (soversions.i): Use it.
11133 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
11134 Versions.def and Versions files.
11136 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11138 * stdio-common/tst-obprintf.c (main): Add another check to see
11139 obstack_printf handling all possible beginnings of the block
11140 inside an obstack chunk.
11142 * locale/programs/localedef.c: Use __malloc_initialize_hook to
11143 install mcheck handler.
11145 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
11148 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11150 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
11152 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
11153 on [HAVE_ELF && DO_VERSIONING].
11155 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11157 * stdio-common/tst-obprintf.c: New file.
11159 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11161 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
11162 _IO_OVERFLOW directly instead through __overflow.
11164 * locale/programs/localedef.c (construct_output_path): If path
11165 contains a / compute the end of the directory name correctly.
11167 * include/features.h: Undef and document __USE_XOPEN2K.
11169 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
11170 whenever a function is called. Initiated by calling mcheck_pedantic
11172 * malloc/mcheck.h: Declare mcheck_pedantic.
11173 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
11174 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
11177 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11179 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
11180 * dlfcn/dlopenold.c: Likewise.
11181 * nss/getXXbyYY_r.c: Likewise.
11182 * nss/getXXent_r.c: Likewise.
11183 * hurd/hurdinit.c: Likewise.
11184 * hurd/compat-20.c: Likewise.
11185 * libio/oldiofopen.c: Likewise.
11186 * libio/oldiofclose.c: Likewise.
11187 * libio/oldiofdopen.c: Likewise.
11188 * libio/oldfileops.c: Likewise.
11189 * libio/oldstdfiles.c: Likewise.
11190 * libio/oldiofsetpos.c: Likewise.
11191 * libio/oldiofgetpos.c: Likewise.
11192 * libio/oldiofgetpos64.c: Likewise.
11193 * libio/oldiofsetpos64.c: Likewise.
11194 * libio/oldiopopen.c: Likewise.
11195 * libio/oldpclose.c: Likewise.
11196 * libio/oldtmpfile.c: Likewise.
11197 * libio/freopen.c (freopen): Likewise.
11198 * libio/iofclose.c (_IO_new_fclose): Likewise.
11200 * sysdeps/mach/sys/reboot.h: Include <features.h>.
11201 (reboot): Declare it.
11203 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11205 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11207 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11209 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11210 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11211 We need this for the sbrk decl, which can be included without Unix98.
11213 2000-03-20 Richard Henderson <rth@cygnus.com>
11215 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11216 argument to yperr2nss is an int, not size_t.
11217 * posix/regex.c (print_partial_compiled_pattern): Cast all
11218 ptrdiff_t to long for printing.
11219 (print_compiled_pattern): Use Z for printing size_t.
11220 * posix/testfnm.c (tests): Avoid trigraphs.
11221 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11222 Use a C comment, not an assembly comment.
11224 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11225 of __ASSUME_32BITUIDS.
11227 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11229 * libio/iofopncook.c: Remove K&R prototypes.
11231 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11233 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11234 an initial value of 1024 instead of RLIM_INFINITY.
11236 * Versions.def (libmachuser, libhurduser): Remove these sections,
11237 since these libraries do not presently use symbol versions.
11239 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11240 is RLIM_INFINITY, return -1 instead.
11242 2000-03-24 Andreas Jaeger <aj@suse.de>
11244 * Makefile (postclean): Added soversions.i.
11246 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11248 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11249 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11250 and _FPU_IEEE. Change _FPU_RESERVED.
11252 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11254 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11256 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11258 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11259 (gaih_inet): Remove unused duplicate variable.
11261 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11262 Don't use __libc_sa_len, which only exists for Linux. Just handle
11263 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11264 only flavors supported by this function anyway.
11266 2000-03-24 Geoff Clare <gwc@unisoft.com>
11268 * stdlib/strfmon.c: Corrected problems with missing signs and
11269 missing or extra spaces; allow for sign strings longer than
11270 one character; add padding to ensure positive and negative
11271 formats are aligned when a left precision is used.
11273 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11275 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11276 Patch by John Mizel <John.Mizel@msdw.com>.
11278 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11280 * manual/install.texi: Remove references to crypt add-on.
11282 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11284 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11285 section while taking the _hurd_rlimit_lock.
11286 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11288 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11290 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11293 * sysdeps/mach/hurd/if_index.c: New file.
11295 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11296 * sysdeps/gnu/net/if.h: here.
11297 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11298 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11299 * sysdeps/generic/net/if.h: New file. Declares just the standard
11300 functions and `struct if_nameindex' type.
11301 * socket/Makefile (headers): Add net/if.h here.
11302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11303 * sysdeps/mach/hurd/Dist: Remove it here.
11304 * sysdeps/unix/sysv/linux/Dist: And here.
11305 * sysdeps/generic/if_index.c: Include <net/if.h>.
11307 2000-03-24 Andreas Jaeger <aj@suse.de>
11309 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11310 access relocated entries in l_info.
11311 (elf_machine_got_rel): Likewise.
11312 (elf_machine_runtime_setup): Likewise.
11313 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11314 (elf_machine_runtime_setup): Likewise.
11315 (__dl_runtime_resolve): Likewise.
11317 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11319 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11320 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11321 according to RFC 2553.
11322 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11323 * inet/getnameinfo.c: Likewise.
11324 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11326 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11328 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11329 Remove no-op pointer increment.
11331 2000-03-23 Andreas Jaeger <aj@suse.de>
11333 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11334 follow change for libio.h from 2000-03-10.
11336 2000-03-23 Andreas Jaeger <aj@suse.de>
11338 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11340 * elf/dl-debug.c: Likewise.
11341 * elf/dl-deps.c: Likewise.
11342 * elf/dl-error.c: Likewise.
11343 * elf/dl-fini.c: Likewise.
11344 * elf/dl-init.c: Likewise.
11345 * elf/dl-load.c: Likewise.
11346 * elf/dl-lookup.c: Likewise.
11347 * elf/dl-minimal.c: Likewise.
11348 * elf/dl-object.c: Likewise.
11349 * elf/dl-open.c: Likewise.
11350 * elf/dl-preinit.c: Likewise.
11351 * elf/dl-profile.c: Likewise.
11352 * elf/dl-profstub.c: Likewise.
11353 * elf/dl-reloc.c: Likewise.
11354 * elf/dl-runtime.c: Likewise.
11355 * elf/dl-support.c: Likewise.
11356 * elf/dl-symbol.c: Likewise.
11357 * elf/dl-version.c: Likewise.
11358 * elf/rtld.c: Likewise.
11359 * elf/sprof.c: Likewise.
11360 * sysdeps/generic/dl-cache.c: Likewise.
11361 * sysdeps/generic/dl-origin.c: Likewise.
11362 * sysdeps/generic/dl-sysdep.c: Likewise.
11363 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11364 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11365 * sysdeps/generic/libc-start.c: Likewise.
11366 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11367 * sysdeps/powerpc/dl-machine.c: Likewise.
11368 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11369 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11371 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11373 * elf/ldsodefs.h: Move file to ...
11374 * sysdeps/generic/ldsodefs.h: ... here.
11376 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11378 * sysdeps/mips/elf/ldsodefs.h: New file.
11380 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11382 (_dl_check_map_versions): Likewise.
11383 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11384 * elf/dl-load.c (_dl_init_paths): Likewise.
11385 (_dl_map_object): Likewise.
11386 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11387 (elf_get_dynamic_info): Likewise.
11388 * elf/do-lookup.h (FCT): Likewise.
11389 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11390 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11391 * elf/dl-addr.c (_dl_addr): Likewise.
11392 * elf/dl-runtime.c (profile_fixup): Likewise.
11394 * elf/dl-init.c (_dl_init_next): Likewise.
11395 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11396 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11397 (DISTINGUISH_LIB_VERSIONS): Likewise.
11398 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11399 (elf_machine_rel): Likewise.
11401 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11402 for writable dynamic section.
11404 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11406 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11407 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11409 2000-03-22 Andreas Jaeger <aj@suse.de>
11411 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11412 from latest Linux kernel.
11414 2000-03-21 Andreas Jaeger <aj@suse.de>
11416 * Versions.def: Add version 2.1.4.
11418 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11420 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11421 * libio/oldiofopen.c: Likewise.
11422 * libio/oldiofclose.c: Likewise.
11423 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11425 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11427 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11428 indicating the first version set to obsolete the conditionalized code.
11429 (compat_symbol): New macro.
11430 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11431 rhs be the ABI_* macro for the subsuming version. Assign increasing
11432 integer values to the ABI_* macros for supported versions.
11433 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11434 compat_symbol macro.
11436 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11438 * nscd/connections.c (nscd_run): Pretty print.
11439 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11441 * manual/charset.texi: Fix typos. Rephrase.
11442 * manual/process.texi: Likewise.
11443 * manual/signal.texi: Likewise.
11444 Patches by Mike Coleman <mkc@kc.net>.
11446 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11448 * libio/iofdopen.c: Likewise.
11449 * libio/iofgetpos.c: Likewise.
11450 * libio/iofgetpos64.c: Likewise.
11451 * libio/iofopen.c: Likewise.
11452 * libio/iofsetpos.c: Likewise.
11453 * libio/iofsetpos64.c: Likewise.
11454 * libio/iopopen.c: Likewise.
11455 * libio/oldiofopen.c: Likewise.
11456 * libio/pclose.c: Likewise.
11457 * sysdeps/gnu/siglist.c: Likewise.
11458 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11460 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11461 chance to expand VERSION_##lib##_##version.
11463 * libio/fileops.c: Use new macros from shlib-compat.h to define
11465 * libio/iofclose.c: Likewise.
11466 * libio/oldiofclose.c: Likewise.
11467 Patch by Roland McGrath <roland@frob.com>.
11469 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11471 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11472 Lay out struct sigcontext according to what really gets passed on
11474 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11475 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11476 (prgregset_t, prfpregset_t): Define to elf_* types.
11477 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11478 Define to correct value.
11479 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11481 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11483 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11485 * scripts/firstversions.awk: Allow multiple version sets in the
11486 "earliest version" specification, meaning that version sets in the
11487 gaps between listed versions should be folded into the earliest later
11488 version that is explicitly listed.
11489 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11490 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11492 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11494 * iconv/gconv_builtin.c: Include <endian.h>.
11495 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11496 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11497 according to current platform.
11498 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11499 __gconv_transform_internal_ucs2reverse, and
11500 __gconv_transform_internal_ucs4le.
11501 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11502 __gconv_transform_ucs2reverse_internal and
11503 __gconv_transform_internal_ucs2reverse.
11504 * iconvdata/Makefile (modules): Add UNICODE.
11505 (distribute): Add unicode.c.
11506 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11507 * iconvdata/unicode.c: New file.
11509 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11510 determine byte order of input and convert accordingly.
11512 * iconvdata/utf-16.c (gconv_init): Fix typo.
11514 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11516 * iconvdata/gconv-modules: Fix typo.
11518 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11521 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11523 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11525 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11527 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11529 * misc/Makefile (routines): Add mincore.
11531 2000-03-20 Andreas Jaeger <aj@suse.de>
11533 * sysdeps/generic/mincore.c: New stub file.
11535 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11536 from latest Linux kernel.
11538 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11540 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11541 _SC_GETPW_R_SIZE_MAX.
11543 2000-03-20 Richard Henderson <rth@cygnus.com>
11545 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11548 2000-03-20 Richard Henderson <rth@cygnus.com>
11550 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11551 of arithmetic instructions.
11553 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11554 with the fpcr. Protect from INV exception.
11555 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11556 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11557 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11559 * sysdeps/alpha/fpu/s_copysign.c: New.
11560 * sysdeps/alpha/fpu/s_copysignf.c: New.
11561 * sysdeps/alpha/fpu/s_fabs.c: New.
11562 * sysdeps/alpha/fpu/s_fabsf.c: New.
11563 * sysdeps/alpha/fpu/s_rint.c: New.
11564 * sysdeps/alpha/fpu/s_rintf.c: New.
11566 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11568 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11570 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11571 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11572 Use physical addresses not KSEG addresses.
11573 (io_system): Add PYXIS.
11574 (io): Remove hae.reg, sys, hae_shift.
11575 (stb_mb, stw_mb, stl_mb, __sethae): New.
11576 (inline_outb, inline_outw, inline_outl): Don't set hae.
11577 (inline_inb, inline_inw, inline_inl): Likewise.
11578 (dense_sethae): New null function.
11579 (struct cpuinfo_data): New.
11580 (process_cpuinfo): Use local and stack variables, not static.
11581 Move readlink check here from init_iosys.
11582 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11584 (_hae_shift): Calculate it here.
11585 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11586 add pciconfig_iobase.
11588 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11590 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11591 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11593 * scripts/versions.awk: Fixed version renaming code to distinguish
11594 libraries properly.
11596 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11598 * include/stdlib.h: Add prototype for __cxa_atexit.
11600 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11601 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11603 2000-03-17 Cristian Gafton <gafton@redhat.com>
11605 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11606 existing rtld-installed-name.
11607 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11608 replace existing rtld-installed-name using $(symbolic-link-prog).
11610 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11612 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11613 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11614 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11615 but not the former.
11617 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11619 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11620 glob64. Since there is no glob64 in the LFS proposal applications
11621 can assume that glob handles LFS situations. glob64 is only needed
11622 if alternative filesystem functions are used.
11624 2000-03-19 Geoff Clare <gwc@unisoft.com>
11626 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11627 when GLOB_DOOFFS is set; correct handling of patterns
11628 containing escaped wildcards (and no unescaped ones);
11629 GLOB_ERR flag was being ignored in some situations.
11631 * posix/globtest.c, posix/globtest.sh: Updated to include
11632 tests for the problems fixed by the above changes to glob.c.
11634 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11636 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11638 * Makeconfig (soversion.i): Use only first match for each lib.
11640 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11642 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11643 rather than $(sysd-dirs-done) to protect these rules.
11645 * Makerules (version-renames.def): Target removed.
11646 (Versions.all): Depend on soversions.i directly and parse it.
11648 * Makeconfig (soversions.i): New target, input-reading parts of
11649 soversions.mk generation moved here; result is a canonicalized
11650 list "LIB VERSION [SET]" for this configuration.
11651 (soversions.mk): Use that as input. Don't emit map-firstversions.
11652 * Makerules (version-renames.def): New target, generated from
11653 soversions.i with contents that was in $(map-firstversions).
11654 (Versions.all): Don't depend on soversions.mk, depend on
11655 version-renames.def instead; just cat it into the input.
11657 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11658 for $(map-firstversions), which better handles it being empty.
11660 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11661 supported version for libc 0.2.90.libio to GLIBC_2.2.
11663 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11664 and use it to emit new variable `map-firstversions'.
11665 * scripts/firstversions.awk: New file.
11666 * Makerules (Versions.all): Use scripts/firstversions.awk and
11667 the $(map-firstversions) value to generate a modified versions list
11668 that includes renames in "A = B" syntax for each version set earlier
11669 than the "earliest symbol version" named in shlib-versions.
11670 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11671 rename version set A to B in the output to the intermediate file.
11672 * scripts/abi-versions.awk: New file.
11673 * Makerules (abi-versions.h): New target, generated by that script.
11674 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11675 * include/shlib-compat.h: New file, uses that generated header.
11677 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11679 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11680 after stripping # comments, and then run it through cpp.
11681 This allows things like "%ifdef FOO" based on config.h settings.
11682 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11684 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11685 and other errors that indicate a pseudo-receive happened, grok through
11686 the message buffer for port rights that need references fixed up.
11688 2000-03-16 Andreas Jaeger <aj@suse.de>
11690 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11692 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11694 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11695 from latest Linux kernel.
11696 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11698 * misc/sys/mman.h: Add prototype for mincore.
11700 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11703 entry for GLIBC_2.0 version of setrlimit.
11704 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11706 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11708 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11709 * nis/nss_compat/compat-initgroups.c: Likewise.
11710 * nis/nss_nis/nis-initgroups.c: Likewise.
11711 * nis/nss_nis/nis-netgrp.c: Likewise.
11712 * nis/nss_nis/nis-proto.c: Likewise.
11713 * nis/nss_nis/nis-rpc.c: Likewise.
11714 * nis/nss_nis/nis-service.c: Likewise.
11715 * nis/ypclnt.c: Likewise.
11717 2000-03-16 Andreas Jaeger <aj@suse.de>
11719 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11720 doesn't exist, correct checks. Fixes PR libc/1649.
11722 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11724 * nscd/hstcache.c: Restore correct UID.
11725 * nscd/pwdcache.c: Likewise.
11726 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11728 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11730 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11731 macros for register names, in line with 2000-03-14 linux change.
11733 * sysdeps/mach/sched_yield.c: New file.
11735 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11737 * sysdeps/generic/lockfile.c: Include <stdio.h>
11738 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11739 case <libio.h> defined them.
11740 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11742 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11743 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11745 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11746 for more pleasing parse error.
11748 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11750 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11752 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11754 * elf/Makefile: Add rules to compile and run constload1 test.
11755 * elf/constload1.c: New file.
11756 * elf/constload2.c: New file.
11757 * elf/constload3.c: New file.
11759 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11761 * sysdeps/posix/open64.c: Make __open64 weak alias.
11762 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11763 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11764 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11765 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11766 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11767 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11768 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11769 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11770 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11773 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11775 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11776 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11778 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11780 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11781 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11783 2000-03-08 Andreas Jaeger <aj@suse.de>
11785 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11787 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11789 * timezone/africa: Update from tzdata2000d.
11790 * timezone/asia: Likewise.
11791 * timezone/australasia: Likewise.
11792 * timezone/europe: Likewise.
11793 * timezone/northamerica: Likewise.
11794 * timezone/southamerica: Likewise.
11796 * po/fr.po: Update from translation team.
11797 * po/de.po: Likewise.
11799 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11800 last parameter. Move code to add map to global scope from here...
11801 * elf/dl-open.c (dl_open_worker): ...here.
11802 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11803 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11805 * locale/programs/ld-collate.c (collate_read): Fix warning.
11807 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11808 values and macros for register names.
11810 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11811 returned by seek cookie function is -1.
11813 2000-03-14 Andreas Jaeger <aj@suse.de>
11815 * locale/localeconv.c (localeconv): Fix typo.
11816 Reported by Andre Charbonneau <andrec@corel.com>.
11818 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11820 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11821 since modules depend on it counting the number of times the conversion
11822 function got called.
11824 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11826 * iconv/gconv.h: Pretty print.
11828 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11830 * posix/wordexp-test.c: Correct one of the tests added in the last
11831 change. Really get the root passwd entry to check again ~root.
11833 2000-03-10 Andreas Jaeger <aj@suse.de>
11835 * manual/filesys.texi (Working Directory): Fix last patch.
11836 Patch by Martin Buchholz <martin@xemacs.org>.
11838 2000-03-10 Andreas Jaeger <aj@suse.de>
11840 * manual/creature.texi (Feature Test Macros): Fix language.
11842 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11844 * mach/devstream.c (devstream_write, devstream_read): New functions.
11845 (input, output): Functions removed.
11846 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11847 using only the vanilla fopencookie interface.
11849 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11850 as macro for __io_functions.
11851 (funcsio): Use cookie_io_functions_t type name.
11852 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11854 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11856 (fopencookie): Use it.
11857 * libio/libio.h: Declare _IO_cookie_init.
11858 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11861 * libio/libio.h (__io_seek_fn): Fix second argument type
11862 to be a pointer, in line with the manual and the old stdio.
11863 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11865 * sysdeps/generic/bits/stdio-lock.h: New file.
11866 This is a stub with #error, but that's better than no file at all.
11868 2000-03-09 Martin Buchholz <martin@xemacs.org>
11870 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11871 * manual/message.texi (Using gettextized software): Doc Fixes.
11872 * manual/message.texi (Message Translation): Doc Fixes.
11873 * manual/filesys.texi (File Size): Doc Fixes.
11874 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11875 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11876 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11877 * manual/install.texi: Doc Fixes.
11878 * manual/search.texi (Hash Search Function): Doc Fixes.
11879 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11880 * FAQ.in: Doc Fixes.
11881 * config.h.in: Doc Fixes.
11882 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11883 Doc Fixes. `allows to' is not correct English.
11885 * elf/rtld.c: Doc fixes.
11886 * manual/creature.texi (Feature Test Macros): Doc fixes.
11887 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11889 * manual/filesys.texi (Working Directory): Check for ERANGE to
11892 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11894 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11895 conditions so as not to clobber the final '\0' when there is only one
11896 element in the vector.
11898 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11900 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11901 broken by 2000-02-27 change.
11903 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11905 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11907 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11908 argument type, for 2000-02-22 change in signal/signal.h declaration.
11910 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11912 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11913 to getdirentries64 (no __), since the Linux implementation
11914 has no __ name, and there is no declaration for the __ name.
11916 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11918 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11919 sed regexp so as not to break directory names including /../ within.
11921 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11922 The sysdeps/generic file is right for BSD. This file was in fact the
11923 Hurd file, but the only difference was the WNOREAP flag that was never
11924 actually implemented or used anywhere.
11926 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11927 since AC_PATH_PROG already does it for us.
11928 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11929 correctness and sh portability. I replaced the broken check
11930 with a more sensible implementation of the apparently intended
11931 semantics, which might still be questionable. Using expr causes
11932 a non-numeric value for `perl -V:apiversion` to be accepted,
11933 refusing to use only a perl that reports a number less than 5;
11934 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11935 * configure: Regenerated.
11937 2000-03-08 Andreas Jaeger <aj@suse.de>
11939 * manual/crypt.texi: Fix paths.
11941 2000-03-07 Andreas Jaeger <aj@suse.de>
11943 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11945 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11948 2000-03-06 Andreas Jaeger <aj@suse.de>
11950 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11951 in __sgn1l, otherwise g++ fails to parse this.
11952 Reported by Sean Chen <sean.chen@turbolinux.com>.
11954 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11956 * configure.in: Compute sizeof-long-double.
11957 * configure: Regenerated.
11958 * config.make.in: Make sizeof-long-double available to sub-makes.
11960 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11962 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11965 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11967 * Makeconfig (rpath-dirs): Add crypt.
11968 (all-subdirs): Remove md5crypt.
11969 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11970 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11971 * sysdeps/generic/crypt-entry.c: Delete.
11972 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11973 * sysdeps/generic/crypt.h: Delete.
11974 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11975 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11976 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11977 * sysdeps/generic/des_impl.c: Delete.
11978 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11979 * crypt/sysdeps: Delete.
11980 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11981 * md5-crypt/Versions: Move to crypt/.
11982 * md5-crypt/md5-crypt.c: Move to crypt/.
11983 * md5-crypt/md5.c: Move to crypt/.
11984 * md5-crypt/md5c-test.c: Move to crypt/.
11985 * md5-crypt/md5test.c: Move to crypt/.
11986 * md5-crypt: Delete.
11987 * crypt/Makefile: Adjust for new structure.
11989 2000-03-03 Paul Eggert <eggert@twinsun.com>
11991 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11992 define to 1 if not defined.
11994 2000-03-03 Andreas Jaeger <aj@suse.de>
11996 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11998 2000-03-03 Andreas Jaeger <aj@suse.de>
12000 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12002 (xdr_int64_t): Correctly handle lower half.
12003 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12005 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12007 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12010 2000-03-02 Andreas Jaeger <aj@suse.de>
12012 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12015 2000-03-02 Andreas Jaeger <aj@suse.de>
12017 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12019 2000-03-01 Andreas Jaeger <aj@suse.de>
12021 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12022 (tests): Added tst-getdate.
12024 * time/tst-getdate.c: New file.
12026 * time/datemsk: New file, needed for tst-getdate.
12028 2000-02-29 Cristian Gafton <gafton@redhat.com>
12030 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12032 2000-02-17 H.J. Lu <hjl@gnu.org>
12034 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12036 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12038 (svcudp_recv): Set up message with the new "xp_pad" field for
12040 (svcudp_reply): Support IP_PKTINFO if available.
12042 2000-03-01 Andreas Jaeger <aj@suse.de>
12044 * time/getdate.c (check_mday): Fix check for february.
12045 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12046 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12048 2000-03-02 Andreas Jaeger <aj@suse.de>
12050 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12051 g++ fails to parse this.
12052 Reported by Sean Chen <sean.chen@turbolinux.com>.
12054 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12056 * io/creat.c: Moved to...
12057 * sysdeps/generic/creat.c: ...here.
12058 * io/creat64.c: Moved to...
12059 * sysdeps/generic/creat64.c: ...here.
12060 * io/lockf.c: Moved to...
12061 * sysdeps/generic/lockf.c: ...here.
12063 * crypt/crypt.texi: Moved to...
12064 * manual/crypt.texi: ...here.
12065 * crypt/examples/genpass.c: Moved to...
12066 * manual/examples/genpass.c: ...here.
12067 * crypt/examples/mygenpass.c: Moved to...
12068 * manual/examples/mygenpass.c: ...here.
12069 * crypt/examples/testpass.c: Moved to...
12070 * manual/examples/testpass.c: ...here.
12072 * manual/Makefile (chapters): Add crypt.
12073 * manual/conf.texi: Add usual header for not-last chapter.
12074 * manual/crypt.texi: Add special header for last chapter.
12076 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12078 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12079 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12080 complain if there is no crypt add-on.
12081 * crypt/configure: Removed.
12083 * crypt/crypt.texi: Update documentation of US export restrictions
12084 to match the 14 Jan 2000 regulations.
12086 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12088 * crypt: New subdirectory, merged in from the crypt add-on.
12090 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12092 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12095 See ChangeLog.10 for earlier changes.