1 2000-10-07 Ulrich Drepper <drepper@redhat.com>
3 * include/features.h (__STDC_ISO_10646__): Set to correct date.
4 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
6 2000-10-06 Jes Sorensen <jes@linuxcare.com>
8 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
9 overflow generation by adding DBL_MAX to DBL_MAX instead of
10 setting the bits manually in the fpsr and generating the exception
11 with kill() if necessary.
12 (feraiseexcept): Implement underflow by dividing DBL_MIN by
13 DBL_MIN - similar to the overflow change described above.
15 2000-08-27 H.J. Lu <hjl@gnu.org>
17 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
18 is not supported under Linux/ia64, use clone2.
20 2000-10-06 Jakub Jelinek <jakub@redhat.com>
22 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
23 * misc/sys/cdefs.h (__THROW): Likewise.
25 2000-10-05 Jakub Jelinek <jakub@redhat.com>
27 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
29 2000-10-02 Jakub Jelinek <jakub@redhat.com>
31 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
32 remaining xp_pad space.
34 2000-10-05 Jakub Jelinek <jakub@redhat.com>
36 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
37 DF_1_NODELETE, not list[i]'s.
39 2000-10-04 Ulrich Drepper <drepper@redhat.com>
41 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
42 (BODY from direction): Map \x5c to U20a9.
43 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
44 * iconvdata/EUC-KR.irreversible: New file.
45 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
47 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
48 (argp_version_argp): Likewise.
50 2000-10-04 Jakub Jelinek <jakub@redhat.com>
52 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
53 input_error() if EOF is seen before processing.
54 * stdio-common/tstscanf.c (main): Add testcase.
56 2000-10-04 Ulrich Drepper <drepper@redhat.com>
58 * argp/argp-help.c: Make sure we get the correct gettext and
60 * argp/argp-parse.c: Likewise.
62 2000-10-03 Ulrich Drepper <drepper@redhat.com>
64 * locale/programs/linereader.c (get_string): Also clear wide
65 string info if illegal_string.
67 2000-10-03 Andreas Schwab <schwab@suse.de>
69 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
71 2000-10-02 Jakub Jelinek <jakub@redhat.com>
73 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
76 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
78 2000-10-02 Ralf Baechle <ralf@gnu.org>
80 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
81 end of inline assembler code.
83 2000-10-02 Ulrich Drepper <drepper@redhat.com>
85 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
86 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
88 2000-10-02 Andreas Jaeger <aj@suse.de>
90 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
93 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
95 2000-10-01 Ralf Baechle <ralf@gnu.org>
97 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
98 argument passed to _dl_init.
100 2000-09-30 Bruno Haible <haible@clisp.cons.org>
102 * locale/programs/charmap-dir.h: New file.
103 * locale/programs/charmap-dir.c: New file.
104 * locale/programs/linereader.h (lr_create): New declaration.
105 * locale/programs/linereader.c (lr_create): New function, split out
107 (lr_open): Tailcall lr_create.
108 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
110 (xstrdup): New declaration.
111 (more_help): Use xstrdup instead of strdup.
112 (write_locales): Likewise. When encountering a symbolic link, call
114 (write_charmaps): Simplify using the charmap-dir.h functions.
115 Use xstrdup instead of strdup.
116 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
117 <dirent.h> and <unistd.h>.
118 (cmlr_open): New function.
119 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
120 charmap-dir.h functions.
121 * locale/Makefile (distribute): Add charmap-dir.h.
122 (lib-modules): Add charmap-dir.
123 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
124 wants a 'char **', not a 'const char **'.
125 * include/spawn.h: New file.
127 2000-09-30 Bruno Haible <haible@clisp.cons.org>
129 * posix/spawn_faction_init.c: Include "spawn_int.h".
130 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
132 2000-09-30 Bruno Haible <haible@clisp.cons.org>
134 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
136 2000-09-30 Bruno Haible <haible@clisp.cons.org>
138 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
139 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
140 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
141 a pointer to the table entry, without extending the table.
142 (allocate_arrays): Set a width only for characters with 'print'
143 property. Set the width of L'\0' to 0.
144 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
145 for unprintable characters. Set entry of NUL to 0.
147 2000-09-30 Bruno Haible <haible@clisp.cons.org>
149 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
150 Don't forget to call closedir when the filename was found as a
153 2000-09-30 Bruno Haible <haible@clisp.cons.org>
155 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
158 2000-09-30 Bruno Haible <haible@clisp.cons.org>
160 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
161 level2, and level3 as well.
162 (wctype_table_add): Remove a few unnecessary conditionals.
164 2000-09-30 Ralf Baechle <ralf@gnu.org>
166 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
168 2000-09-30 H.J. Lu <hjl@gnu.org>
170 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
171 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
173 2000-09-29 H.J. Lu <hjl@gnu.org>
175 * math/libm-test.inc (init_max_error): Clear all exceptions
176 before starting test.
177 (acosh_test): Test for existence of function.
178 (asinh_test): Likewise.
179 (atan2_test): Likewise.
180 (cabs_test): Likewise.
181 (cacos_test): Likewise.
182 (cacosh_test): Likewise.
183 (casin_test): Likewise.
184 (casinh_test): Likewise.
185 (catan_test): Likewise.
186 (catanh_test): Likewise.
187 (ccos_test): Likewise.
188 (ccosh_test): Likewise.
189 (cexp_test): Likewise.
190 (clog_test): Likewise.
191 (clog10_test): Likewise.
192 (cosh_test): Likewise.
193 (cpow_test): Likewise.
194 (csin_test): Likewise.
195 (csinh_test): Likewise.
196 (csqrt_test): Likewise.
197 (ctan_test): Likewise.
198 (ctanh_test): Likewise.
199 (fmod_test): Likewise.
200 (hypot_test): Likewise.
201 (remainder_test): Likewise.
202 (remquo_test): Likewise.
203 (sincos_test): Likewise.
204 (sinh_test): Likewise.
205 (tanh_test): Likewise.
207 2000-09-29 H.J. Lu <hjl@gnu.org>
209 * sysdeps/ia64/ieee754.h: New file.
211 * sysdeps/ia64/fpu/math_ldbl.h: New file.
213 2000-09-30 Jakub Jelinek <jakub@redhat.com>
215 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
216 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
218 2000-09-30 Ulrich Drepper <drepper@redhat.com>
220 * manual/charset.texi: Correct notations, reference to C90 amd 1,
221 and some other details.
222 * manual/ctype.texi: Likewise.
223 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
225 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
227 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
229 2000-09-29 Ulrich Drepper <drepper@redhat.com>
231 * elf/cache.c (save_cache): Initialize __unused field in new cache
232 as well to get reproducable results.
234 2000-09-29 H.J. Lu <hjl@gnu.org>
236 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
238 2000-09-29 H.J. Lu <hjl@gnu.org>
240 * sysdeps/ia64/bits/huge_val.h: New file.
242 2000-09-29 Ulrich Drepper <drepper@redhat.com>
244 * elf/chroot_canon.c: Don't report a failure if the last path
245 component is not available.
246 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
249 * elf/cache.c (print_cache): Use stat64 instead of stat.
250 * elf/ldconfig.c (chroot_stat): Likewise.
251 (create_links): Likewise.
252 (manual_link): Likewise.
253 (search_dir): Likewise.
254 * elf/readlib.c (process_file): Likewise.
256 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
259 2000-09-29 Jakub Jelinek <jakub@redhat.com>
261 * elf/chroot_canon.c: New file.
262 * elf/Makefile: Build and distribute it.
263 * elf/ldconfig.h (process_file): Add real_file_name argument.
264 (chroot_canon): Add prototype.
265 * elf/ldconfig.c (cache_file): Remove const.
267 (create_links): Add real_path argument.
268 If opt_chroot, maintain both real and given filenames.
269 (manual_link): Likewise.
270 (search_dir): Likewise.
271 (parse_conf): If opt_chroot, use chroot_canon to find the real
273 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
274 and use chroot_canon where appropriate to do the same as if chroot
276 * elf/readlib.c (process_file): Add real_file_name argument, pass it
279 2000-09-29 Ulrich Drepper <drepper@redhat.com>
281 * math/complex.h (_Complex): We can be more specific when _Complex
282 is defined by the compiler.
284 2000-09-29 H.J. Lu <hjl@gnu.org>
286 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
288 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
289 for x86/IA-64 binary.
291 2000-09-29 Andreas Schwab <schwab@suse.de>
293 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
295 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
297 2000-09-29 Mark Kettenis <kettenis@gnu.org>
299 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
300 implementation for use by the dynamic linker.
302 2000-09-29 Andreas Jaeger <aj@suse.de>
304 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
306 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
307 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
308 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
309 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
313 2000-09-29 Andreas Jaeger <aj@suse.de>
315 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
318 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
319 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
324 2000-09-29 David Mosberger <davidm@hpl.hp.com>
326 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
328 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
330 2000-06-10 David Mosberger <davidm@hpl.hp.com>
332 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
333 works: call to __sigjmp_save must be done unconditionally to
334 ensure jmp_buf is initialized properly.
336 2000-09-27 Andreas Jaeger <aj@suse.de>
338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
341 2000-09-29 Jakub Jelinek <jakub@redhat.com>
343 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
344 Use nscd_ssize_t where appropriate.
345 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
346 ssize_t where appropriate.
347 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
348 * nscd/hstcache.c (cache_addhst): Likewise.
349 * nscd/grpcache.c (cache_addgr): Likewise.
350 * sysdeps/generic/nscd-types.h: New file.
351 * sysdeps/alpha/nscd-types.h: New file.
353 2000-09-29 Ulrich Drepper <drepper@redhat.com>
355 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
356 INADDR_LOOPBACK instead of numeric value.
358 2000-09-28 H.J. Lu <hjl@gnu.org>
360 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
362 (ELF_MACHINE_FIXED_STACK): Removed.
364 2000-09-29 Andreas Jaeger <aj@suse.de>
366 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
368 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
370 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
372 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
374 2000-09-28 Ulrich Drepper <drepper@redhat.com>
376 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
377 relocation also for R_ALPHA_RELATIVE.
378 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
380 2000-09-18 Bruno Haible <haible@clisp.cons.org>
382 * intl/dcigettext.c: Outside libc, use local variable names that don't
383 clash with those in libc.
384 * intl/bindtextdom.c: Likewise.
385 * intl/textdomain.c: Likewise.
387 2000-09-28 Ulrich Drepper <drepper@redhat.com>
389 * elf/ldconfig.c (parse_conf): Print full name of config dir
390 including chroot() path.
391 (main): Remove trailing / from opt_chroot string.
393 * include/features.h: Correct description of what happens if no
394 *_SOURCE macro is defined.
396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
397 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
399 2000-09-19 H.J. Lu <hjl@gnu.org>
401 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
402 * malloc/malloc.c (__memalign_hook): Likewise.
403 (memalign_hook_ini): Likewise.
405 2000-09-28 Ulrich Drepper <drepper@redhat.com>
407 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
409 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
410 underlying functions directly.
412 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
413 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
414 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
415 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
417 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
420 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
422 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
423 define it for powerpc for kernel >= 2.4.0.
424 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
426 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
427 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
428 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
429 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
430 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
431 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
433 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
435 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
438 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
440 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
442 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
444 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
446 2000-09-27 Andreas Schwab <schwab@suse.de>
448 * math/Makefile (distribute): Explicitly add the long double test
449 sources, to get them included even if long double is not supported.
451 2000-09-27 Jes Sorensen <jes@linuxcare.com>
453 * elf/soinit.c (struct object): Move definition to gccframe.h and
454 include it. Problem identified by HJ Lu.
456 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
457 struct object to be searched for frame unwind info.
458 * sysdeps/generic/gccframe.h: New file. Generic version of
459 struct object to be searched for frame unwind info.
461 2000-09-28 Ulrich Drepper <drepper@redhat.com>
463 * manual/errno.texi: Correct error text for ENXIO.
464 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
466 2000-09-27 Jes Sorensen <jes@linuxcare.com>
468 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
469 exception status bits rather than the exception disable bits.
470 Don't include math.h.
472 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
473 status of exceptions currently raised rather than which exceptions
476 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
477 rather than unsigned long int.
479 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
480 the exceptions actually requested by the caller and not just
481 disable all exceptions.
483 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
484 the ia64 are enabled by clearing the respective bits in the fpsr,
487 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
488 unsigned long int rather than unsigned long to be consistent with
489 the coding conventions.
491 2000-09-20 H.J. Lu <hjl@gnu.org>
493 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
495 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
497 2000-09-28 Ulrich Drepper <drepper@redhat.com>
499 * string/bits/string2.h: Unify #if usage.
501 2000-09-27 Jakub Jelinek <jakub@redhat.com>
503 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
504 and disabling underflow or overflow, disable inexact as well.
506 2000-09-26 Andreas Jaeger <aj@suse.de>
508 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
510 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
512 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
513 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
515 * elf/ldconfig.c (search_dir): Allow unlimited path length.
516 (create_links): Likewise.
518 2000-09-27 Ulrich Drepper <drepper@redhat.com>
520 * posix/tst-dir.c: Test a few error cases of chdir.
522 2000-09-26 Ulrich Drepper <drepper@redhat.com>
524 * math/math_private.h: Don't add long double prototypes if
525 NO_LONG_DOUBLE is defined.
527 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
529 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
530 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
532 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
534 2000-09-26 Jakub Jelinek <jakub@redhat.com>
536 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
537 * sysdeps/sparc/sparc32/ieee754.h: New.
538 * sysdeps/sparc/sparc64/bits/endian.h: Move...
539 * sysdeps/sparc/bits/endian.h: ...here.
540 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
541 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
542 %o1, not %o0 to see if we're parent or child. Optimize.
544 2000-09-26 Jes Sorensen <jes@linuxcare.com>
546 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
548 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
550 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
552 2000-09-20 H.J. Lu <hjl@gnu.org>
554 * sysdeps/ia64/fpu/printf_fphex.c: New file.
556 * sysdeps/ia64/fpu/libm-test-ulps: New file.
558 2000-09-17 H.J. Lu <hjl@gnu.org>
560 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
562 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
563 sysdeps/i386/fpu/s_isinfl.c.
565 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
566 sysdeps/i386/fpu/s_isnanl.c.
568 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
569 sysdeps/i386/fpu/s_nextafterl.c.
571 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
572 sysdeps/i386/fpu/bits/mathdef.h.
574 2000-09-16 H.J. Lu <hjl@gnu.org>
576 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
577 DL_UNMAP_IS_SPECIAL is not defined.
579 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
580 (_dl_unmap): New prototype.
581 (DL_UNMAP): New. Defined as _dl_unmap.
583 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
585 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
587 2000-09-16 H.J. Lu <hjl@gnu.org>
589 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
590 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
592 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
594 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
596 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
597 the memory location of a function from a function descriptor.
599 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
601 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
604 2000-09-14 Jes Sorensen <jes@linuxcare.com>
606 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
607 variable as input argument.
608 (__bswap_32): Likewise.
610 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
611 - found by Jim Wilson <wilson@cygnus.com>
613 2000-09-26 Ulrich Drepper <drepper@redhat.com>
615 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
618 2000-09-26 Andreas Schwab <schwab@suse.de>
620 * locale/programs/ld-collate.c (collate_output): Only require
621 alignment on __alignof__ (int32_t) instead of 4.
622 * locale/loadlocale.c (_nl_load_locale): Likewise.
623 * string/strcoll.c: Likewise.
625 2000-09-26 Jes Sorensen <jes@linuxcare.com>
627 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
628 parentheses around arithmetic used in | statement to kill compiler
631 * math/math_private.h: Add prototype for __finitel.
632 (__ilogbl): Likewise.
633 (__isinfl): Likewise.
634 (__isnanl): Likewise.
636 (__copysignl): Likewise.
637 (__expm1l): Likewise.
638 (__floorl): Likewise.
639 (__frexpl): Likewise.
640 (__ldexpl): Likewise.
641 (__log1pl): Likewise.
644 (__scalbnl): Likewise.
647 (__sincosl): Likewise.
649 2000-09-26 Andreas Schwab <schwab@suse.de>
651 * sysdeps/m68k/fpu/libm-test-ulps: New file
653 2000-09-26 Ulrich Drepper <drepper@redhat.com>
655 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
657 2000-09-26 Andreas Jaeger <aj@suse.de>
659 * misc/mkstemp64.c: New file.
660 * misc/Makefile (routines): Add mkstemp64.
661 * stdlib/stdlib.h: Add prototype and redirection magic.
662 * misc/Versions: Add mkstemp64.
664 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
666 * nscd/dbg_log.c (dbg_log): Add missing format string.
668 2000-09-26 Ulrich Drepper <drepper@redhat.com>
670 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
671 since we filter out the variable once.
672 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
673 * locale/newlocale.c (__newlocale): Likewise.
674 * locale/setlocale.c (setlocale): Likewise.
675 * malloc/malloc.c (ptmalloc_init): Likewise.
676 * resolv/res_hconf.c (_res_hconf_init): Likewise.
677 * resolv/res_init.c (__res_vinit): Likewise.
678 * time/tzfile.c (__tzfile_read): Likewise.
679 * sysdeps/generic/unsecvars.h: New file.
680 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
681 * elf/rtld.c (process_envvars): Likewise.
682 * elf/Makefile (distribute): Add unsecvars.h.
684 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
685 real /dev/null device.
687 * sysdeps/generic/check_fds.c: Include device-nrs.h.
688 * sysdeps/generic/device-nrs.h: New file.
689 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
690 * misc/Makefile (distribute): Add device-nrs.h.
692 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
693 remove possible garbage at the end of the file.
695 2000-09-25 Ulrich Drepper <drepper@redhat.com>
697 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
698 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
699 * stdio-common/tempnam.c: Warn about insecure tempnam.
700 * misc/mktemp.c: Warn about insecure mktemp.
702 * sysdeps/generic/check_fds.c: Check that file opened is really
704 * posix/wordexp.c (exec_comm_child): Likewise.
706 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
708 * locale/Makefile (routines): Add nl_langinfo_l.
709 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
710 * locale/nl_langinfo_l.c: New file.
711 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
714 2000-09-23 Bruno Haible <haible@clisp.cons.org>
716 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
717 (__gbk_to_ucs): Conditionalize private area mappings.
718 (__gbk_from_ucs4_tab9): Likewise.
719 (BODY for TO_LOOP): Likewise.
720 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
721 * iconvdata/testdata/GBK..UTF-8: Likewise.
722 * iconvdata/tst-tables.sh: Enable GBK test.
724 2000-09-23 Bruno Haible <haible@clisp.cons.org>
726 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
727 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
728 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
730 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
731 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
733 2000-09-23 Bruno Haible <haible@clisp.cons.org>
735 * iconvdata/johab.c (final_to_ucs): Fix typos.
736 (jamo_from_ucs_table): Likewise.
737 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
738 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
739 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
740 the range 0xD9E6..0xD9FE.
741 * iconvdata/tst-tables.sh: Enable JOHAB testing.
743 2000-09-25 Ulrich Drepper <drepper@redhat.com>
745 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
748 2000-09-24 Ulrich Drepper <drepper@redhat.com>
750 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
751 stream is in wide mode.
753 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
755 2000-09-21 Bruno Haible <haible@clisp.cons.org>
757 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
759 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
761 2000-09-21 Bruno Haible <haible@clisp.cons.org>
763 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
764 reallocation logic for MALLOC (%as, %aS formats).
766 2000-09-24 Ulrich Drepper <drepper@redhat.com>
768 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
769 Add missing case in va_arg handling for numbers.
770 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
772 * stdio/tst-printf.sh: Adjust expected results.
773 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
775 2000-09-20 Bruno Haible <haible@clisp.cons.org>
777 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
778 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
780 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
781 as equivalent to uppercase hexadecimal digits.
783 2000-09-20 Bruno Haible <haible@clisp.cons.org>
785 * iconvdata/testdata/EUC-KR..UTF8: New file.
786 * iconvdata/testdata/EUC-TW: New file.
787 * iconvdata/testdata/EUC-TW..UTF8: New file.
788 * iconvdata/testdata/EUC-JP: New file.
789 * iconvdata/testdata/EUC-JP..UTF8: New file.
790 * iconvdata/testdata/ISO-2022-JP: New file.
791 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
792 * iconvdata/testdata/ISO-2022-JP-2: New file.
793 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
794 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
795 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
796 * iconvdata/testdata/ISO-2022-CN: New file.
797 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
798 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
799 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
800 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
801 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
803 2000-09-24 Andreas Jaeger <aj@suse.de>
805 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
806 function add_single_dir.
807 (add_single_dir): New function.
808 (search_dir): Use add_single_dir instead of recursing.
810 * sysdeps/generic/dl-cache.h: Include stdint.h.
811 (struct file_entry_new): Use fixed sizes for interoperability
812 between 32bit and 64bit systems, add __unused to make alignment
814 (CACHE_VERSION): Increment.
815 (struct cache_file_new): Use fixed sizes, add one more unused
816 entry to make alignment explicit.
818 2000-09-24 Ulrich Drepper <drepper@redhat.com>
820 * elf/ldconfig.c (search_dir): Make more use of d_type information.
822 2000-09-23 Ulrich Drepper <drepper@redhat.com>
824 * stdio-common/printf-parse.h (parse_one_spec): Clear
825 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
827 2000-09-18 Mark Kettenis <kettenis@gnu.org>
829 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
830 #undef since we don't have msync.
832 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
833 constant since that is what clock_t is.
834 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
836 2000-09-11 Mark Kettenis <kettenis@gnu.org>
838 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
839 multiply by LOAD_SCALE.
841 2000-09-22 Jakub Jelinek <jakub@redhat.com>
843 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
844 (crypt_r, setkey_r, encrypt_r): Likewise.
846 2000-09-22 Andreas Jaeger <aj@suse.de>
848 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
851 * sysdeps/alpha/fpu/libm-test-ulps: New file.
852 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
854 2000-09-21 Andreas Jaeger <aj@suse.de>
856 * math/libm-test.inc (atan_test): Test for existence of function.
857 (expm1_test): Likewise.
858 (acos_test): Likewise.
859 (asin_test): Likewise.
860 (exp_test): Likewise.
861 (log10_test): Likewise.
862 (log_test): Likewise.
863 (pow_test): Likewise.
864 (sqrt_test): Likewise.
865 (cos_test): Likewise.
866 (sin_test): Likewise.
867 (tan_test): Likewise.
868 (log1p_test): Likewise.
869 (log2_test): Likewise.
871 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
873 * libio/oldiofsetpos64.c: Fix alias names.
875 2000-09-21 Martin Buchholz <martin@xemacs.org>
877 * manual/terminal.texi (Allocation): Sample code correction.
879 2000-09-20 Andreas Jaeger <aj@suse.de>
881 * iconvdata/Makefile (generated): Add tst-tables.out.
883 * intl/Makefile (generated): Add test output.
885 2000-09-19 Andreas Jaeger <aj@suse.de>
887 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
888 Reported by Jens-Uwe Mager <jum@helios.de>.
890 2000-09-18 Ulrich Drepper <drepper@redhat.com>
892 * version.h (VERSION): Bump to 2.1.94.
894 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
895 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
896 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
897 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
899 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
901 2000-09-17 Bruno Haible <haible@clisp.cons.org>
903 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
904 range 0xD800..0xDFFF.
905 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
906 (BODY for FROM_LOOP): Likewise.
907 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
908 (internal_ucs2_loop): Likewise.
909 (ucs2reverse_internal_loop): Likewise.
910 (internal_ucs2reverse_loop): Likewise.
912 2000-09-17 Bruno Haible <haible@clisp.cons.org>
914 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
917 2000-09-17 Bruno Haible <haible@clisp.cons.org>
919 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
920 * iconvdata/tst-table-to.c (main): Likewise.
922 2000-09-17 Bruno Haible <haible@clisp.cons.org>
924 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
926 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
927 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
928 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
929 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
930 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
931 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
932 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
933 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
934 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
935 encodings when needed. When outputting an announcement, don't clear
936 most other announcements.
938 2000-09-17 Bruno Haible <haible@clisp.cons.org>
940 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
941 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
943 2000-09-14 Bruno Haible <haible@clisp.cons.org>
945 * intl/Versions: Add bind_textdomain_codeset.
947 2000-09-16 Ralf Baechle <ralf@gnu.org>
949 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
951 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
952 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
953 it will even work when not loaded to the standard address.
954 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
955 before the dynamic linker itself is relocated.
957 2000-09-18 Andreas Jaeger <aj@suse.de>
959 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
960 __ASSUME_32BITUIDS for MIPS.
961 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
962 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
964 2000-09-17 H.J. Lu <hjl@gnu.org>
966 * catgets/Makefile ($(objpfx)de/libc.cat): Use
967 $(make-target-directory) instead of mkdir.
969 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
971 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
972 __ASSUME_32BITUIDS for __powerpc__.
973 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
974 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
976 2000-09-17 Ulrich Drepper <drepper@redhat.com>
978 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
980 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
982 2000-09-16 Jakub Jelinek <jakub@redhat.com>
984 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
986 * sysdeps/m68k/Implies: Likewise.
987 * sysdeps/sparc/sparc64/Implies: Likewise.
989 2000-09-16 Jakub Jelinek <jakub@redhat.com>
991 * elf/readlib.c (process_file): Don't error for stale .so links either.
993 2000-09-16 Ulrich Drepper <drepper@redhat.com>
995 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
998 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
999 Patch by Thorsten Kukuk <kukuk@suse.de>.
1001 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1002 (test): Add default.
1003 (modules-names): Add defaultmod1 and defaultmod2.
1004 Add rules to build test objects.
1006 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1008 * wctype/wctype.h: Always include <bits/types.h>.
1009 Reported by Jim Meyering <meyering@ascend.com>.
1011 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1012 * elf/dl-support.c: Likewise.
1014 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1015 st_blocks member in stat and stat64 structs.
1016 Patch by Bill Nottingham <notting@redhat.com>.
1018 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1021 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1022 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1023 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1024 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1026 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1027 necessary. Move includes of POSIX and Unix limits files to the end.
1028 * stdlib/Makefile (tests): Add tst-limits.
1029 * stdlib/tst-limits.h: New file.
1031 2000-09-15 Andreas Jaeger <aj@suse.de>
1033 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1035 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1037 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1039 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1041 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1042 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1044 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1046 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1048 (modules-names): Add nextmod1 and nextmod2.
1049 Add rules to build and run next.
1050 * elf/next.c: New file.
1051 * elf/nextmod1.c: New file.
1052 * elf/nextmod2.c: New file.
1054 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1056 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1058 2000-09-15 Andreas Jaeger <aj@suse.de>
1060 * sysdeps/mips/fpu/fenv_libc.h: New file.
1061 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1062 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1063 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1065 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1066 * sysdeps/mips/fpu/fegetexcept.c: New file.
1067 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1069 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1071 * intl/Makefile: Avoid unnecessary test reruns.
1073 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1075 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1076 to not use sysctl(). Too many architectures have problems with it.
1078 2000-09-14 Andreas Jaeger <aj@suse.de>
1080 * scripts/config.sub: New version from subversions.gnu.org.
1082 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1085 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1087 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1088 to avoid accessing data before collseq.
1090 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1091 pasting strings together.
1093 2000-09-14 Greg McGary <greg@mcgary.org>
1095 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1097 * sysdeps/generic/bp-semctl.h: Likewise.
1098 * sysdeps/generic/bp-start.h: Likewise.
1099 * sysdeps/generic/bp-sym.h: Likewise.
1100 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1103 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1105 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1108 * elf/elf.h: Add missing official relocations.
1110 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1111 * stdio/stdio.h: Likewise.
1112 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1113 * include/stdio.h: Handle __need___FILE like __need_FILE.
1114 * include/wchar.h: Use __FILE instead of FILE.
1115 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1116 * libio/fwscanf.c: Likewise.
1117 * libio/getwc.c: Likewise.
1119 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1120 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1121 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1123 * assert/assert.h: Update comment header about ISO C section.
1124 * math/complex.h: Likewise.
1125 * ctype/ctype.h: Likewise.
1126 * include/errno.h: Likewise.
1127 * include/limits.h: Likewise.
1128 * locale/locale.h: Likewise.
1129 * math/math.h: Likewise.
1130 * setjmp/setjmp.h: Likewise.
1131 * signal/signal.h: Likewise.
1132 * stdio/stdio.h: Likewise.
1133 * libio/stdio.h: Likewise.
1134 * stdlib/stdlib.h: Likewise.
1135 * string/string.h: Likewise.
1136 * time/time.h: Likewise.
1137 * wcsmbs/wchar.h: Likewise.
1138 * wctype/wctype.h: Likewise.
1139 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1141 2000-09-13 Andreas Jaeger <aj@suse.de>
1143 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1144 for no more entries.
1145 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1146 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1147 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1149 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1151 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1152 constant since this is what clock_t is.
1153 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1154 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1155 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1158 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1159 definitions are requested.
1161 2000-09-13 Andreas Jaeger <aj@suse.de>
1163 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1164 sparc64 and sh to synch with libc.
1166 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1168 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1169 (distribute): Add iso-2022-cn-ext.c.
1170 Add definitions to compile the new module.
1171 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1172 * iconvdata/iso-2022-cn-ext.c: New file.
1173 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1174 ucs4_from_isoir165. Increment input pointer if successful.
1176 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1178 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1180 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1182 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1183 __syscall_getdents64 wrapper.
1185 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1187 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1189 * iconvdata/gb18030.c: Many many changes. Make consistent with
1190 charmap and with itself.
1191 * iconvdata/tst-tables.sh: Test GB18030.
1193 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1195 * iconv/skeleton.c: Fix last patch, add missing parameter to
1196 unaligned function call.
1198 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1200 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1201 of decimal ellipsis.
1203 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1205 * locale/programs/ld-collate.c (collate_read): Always initialize
1208 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1210 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1211 ruleidx is 128, not 256.
1213 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1215 * locale/programs/ld-collate.c (collate_read): Correct check for
1216 already inserted entries.
1218 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1220 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1223 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1225 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1226 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1228 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1230 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1233 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1235 * iconvdata/utf-7.c: New file.
1236 * iconvdata/gconv-modules (UTF-7): New module entries.
1237 * iconvdata/Makefile (modules): Add UTF-7.
1238 (distribute): Add utf-7.c.
1239 * iconvdata/testdata/UTF-7: New file.
1240 * iconvdata/testdata/UTF-7..UTF8: New file.
1241 * iconvdata/TESTS (UTF-7): New entry.
1242 * iconvdata/run-iconv-test.sh: Fix confusing output.
1244 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1246 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1248 2000-09-10 David S. Miller <davem@redhat.com>
1250 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1251 frame pointer offset for non-fast path.
1253 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1255 * locale/programs/3level.h (*_init): Initialize level1, level2,
1257 (*_add): Remove a few unnecessary conditionals.
1259 2000-09-05 Wolfram Gloger <wg@malloc.de>
1261 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1262 ensure usability of mutex as an `in use' flag.
1264 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1266 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1268 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1269 ugly GMON_WEAK_START hack.
1270 Patch by Philip Blundell <philb@gnu.org>.
1272 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1274 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1276 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1277 and PPC_ICBI asm for broken compilers.
1278 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1280 2000-09-09 Andreas Jaeger <aj@suse.de>
1282 * manual/message.texi (Advanced gettext functions): Fix typo.
1284 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1287 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1289 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1291 * sysdeps/ia64/memccpy.S: Likewise.
1292 Patches by Jim Wilson <wilson@redhat.com>.
1294 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1295 before trying to read /proc.
1296 Patch by Matt Wilson <msw@redhat.com>.
1297 * include/sys/utsname.h: Declare __uname.
1298 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1299 * sysdeps/mach/hurd/uname.c: Likewise.
1300 * sysdeps/unix/syscalls.list: Likewise.
1302 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1305 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1307 * posix/getopt.c (_getopt_internal): When long_only is set always
1308 recognize conflicts just like before.
1310 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1312 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1314 2000-09-08 Greg McGary <greg@mcgary.org>
1316 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1317 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1318 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1320 2000-09-08 Andreas Jaeger <aj@suse.de>
1322 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1324 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1326 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1327 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1328 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1330 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1332 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1334 * elf/dl-load.c (lose): Decrement _nl_loaded.
1335 (_dl_map_object_from_fd): Don't try to dlopen executables.
1337 * iconvdata/tst-tables.sh: Actually return with an error if
1338 something goes wrong.
1339 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1340 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1342 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1344 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1345 * iconvdata/tst-table-from.c: Include <string.h>.
1346 (try): Correct cast in iconv call.
1348 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1350 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1351 (sysdep_routines): Remove dl-start.
1352 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1354 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1356 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1357 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1359 2000-09-06 Andreas Schwab <schwab@suse.de>
1361 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1363 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1365 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1367 * scripts/config.sub: Strip out -unknown for Linux targets.
1368 Patch by Scott Bambrough <scottb@netwinder.org>.
1370 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1373 2000-09-07 Andreas Jaeger <aj@suse.de>
1375 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1377 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1380 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1382 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1383 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1385 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1387 * stdlib/tst-bsearch.c (main): Add more test cases.
1389 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1390 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1391 Reported by GOTO Masanori <gotom@debian.or.jp>.
1393 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1395 * posix/Makefile (tests): Add tst-dir.
1396 (tst-dir-ARGS): New variable.
1397 * posix/tst-dir.c: New file.
1399 2000-09-07 Andreas Jaeger <aj@suse.de>
1401 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1404 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1406 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1408 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1409 use the hack with tryopen_o_directory to determine at runtime
1411 * sysdeps/unix/sysv/linux/opendir.c: New file.
1412 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1413 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1415 * catgets/Depend: New file. Add intl.
1416 * catgets/Makefile (tests): Add tst-catgets.
1417 (generated): Remove de.msg.
1418 (generated-dirs): Add de.
1419 Add dependency if tst-catgets output on de/libc.cat.
1420 * catgets/tst-catgets.c: New file.
1422 * po/ja.po: New file.
1423 * po/el.po: Update from translation team.
1425 * wcsmbs/Depend: New file.
1426 * wcsmbs/Makefile (tests): Add tst-btowc.
1427 (tst-btowc-ENV): Define.
1428 * wcsmbs/tst-btowc.c: New file.
1430 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1431 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1433 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1435 * stdlib/Makefile (tests): Add tst-bsearch.
1436 * stdlib/tst-bsearch.c: New file.
1438 * posix/getopt.c (_getopt_internal): Don't recognize an option
1439 name as ambiguous if it's a prefix for more than one name but the
1440 other struct option values are identical.
1442 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1443 Don't depend on visual inspection of the output file to recognize
1445 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1447 2000-09-06 Andreas Jaeger <aj@suse.de>
1449 * sysdeps/alpha/soft-fp/Dist: New file.
1450 * sysdeps/i386/soft-fp/Dist: New file.
1451 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1452 * sysdeps/mips/soft-fp/Dist: New file.
1453 * sysdeps/powerpc/soft-fp/Dist: New file.
1454 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1455 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1457 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1458 Use sysdep_routines instead of routines to fix make dist failure.
1459 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1461 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1463 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1464 sysdep_headers instead of headers for make dist.
1466 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1469 2000-09-06 Andreas Schwab <schwab@suse.de>
1471 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1473 2000-09-06 Andreas Jaeger <aj@suse.de>
1475 * soft-fp/Makefile (distribute): Remove ChangeLog.
1477 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1478 sysdep_routines instead of routines for make dist.
1480 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1482 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1483 compatibility check for old stream and call _IO_wide in doubt.
1484 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1485 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1486 needed tst for such an old structure and don't do anything.
1487 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1489 2000-09-06 Andreas Jaeger <aj@suse.de>
1491 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1492 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1495 * soft-fp/ChangeLog: Merged with this file.
1497 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1499 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1501 * soft-fp/Makefile (distribute): Add the math functions, too.
1503 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1505 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1507 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1510 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1511 * soft-fp/sysdeps/powerpc/q_*: New files.
1513 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1515 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1516 in wide char case correctly. Don't allocate too long temporary
1517 strings with alloca.
1519 * stdio-common/Makefile (tests): Add tst-swprintf.
1520 (tst-swprintf-ENV): New variable.
1521 * stdio-common/tst-swprintf.c: New file.
1523 2000-09-05 Andreas Jaeger <aj@suse.de>
1525 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1526 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1527 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1529 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1531 * configure.in: Strip out "unknown" from configuration names.
1533 2000-09-05 Andreas Jaeger <aj@suse.de>
1535 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1537 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1538 * sysdeps/sparc/sparc32/Implies: Likewise.
1539 * sysdeps/powerpc/Implies: Likewise.
1541 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1542 * libio/oldiofgetpos64.c: Likewise.
1544 * soft-fp/Makefile (distribute): Remove configure.
1546 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1548 * soft-fp/configure: Remove.
1550 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1551 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1553 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1554 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1556 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1557 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1559 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1560 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1562 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1563 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1565 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1566 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1568 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1569 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1571 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1572 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1574 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1575 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1577 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1578 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1580 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1581 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1583 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1584 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1586 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1587 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1589 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1590 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1592 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1593 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1595 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1596 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1598 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1599 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1601 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1602 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1604 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1605 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1607 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1608 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1610 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1611 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1613 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1614 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1616 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1617 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1619 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1620 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1622 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1623 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1625 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1626 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1628 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1629 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1631 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1632 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1634 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1635 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1637 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1638 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1640 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1641 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1643 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1644 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1646 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1647 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1649 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1650 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1652 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1653 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1655 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1656 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1658 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1659 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1661 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1662 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1664 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1665 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1667 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1668 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1670 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1671 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1673 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1674 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1676 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1677 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1679 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1680 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1682 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1683 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1685 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1686 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1688 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1689 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1691 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1692 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1694 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1695 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1697 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1698 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1700 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1701 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1703 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1704 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1706 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1707 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1709 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1710 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1712 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1713 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1715 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1716 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1718 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1719 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1721 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1722 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1724 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1725 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1727 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1728 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1730 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1731 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1733 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1734 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1736 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1737 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1739 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1740 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1742 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1743 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1745 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1746 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1748 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1749 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1751 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1752 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1754 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1755 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1757 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1758 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1760 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1761 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1763 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1764 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1766 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1767 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1769 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1770 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1772 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1773 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1775 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1776 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1778 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1779 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1781 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1782 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1784 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1785 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1787 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1788 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1790 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1791 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1793 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1794 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1796 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1797 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1799 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1800 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1802 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1803 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1805 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1806 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1808 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1809 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1811 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1812 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1814 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1815 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1817 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1818 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1820 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1821 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1823 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1824 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1826 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1827 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1829 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1830 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1832 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1833 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1835 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1836 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1838 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1839 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1841 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1842 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1844 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1845 change symbol version.
1846 * libio/oldiofgetpos64.c: Likewise.
1847 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1849 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1851 Reported by dyky@kondara.org, closes PR libc/1886.
1853 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1856 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1858 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1859 script when ^C is hit.
1861 * locale/programs/localedef.c (construct_output_path): Correct
1862 computation of endp after asprintf.
1863 * locale/programs/locfile.c (write_locale_data): Don't add extra
1866 2000-09-05 Andreas Jaeger <aj@suse.de>
1868 * scripts/config.guess: New upstream version.
1869 * scripts/config.sub: Likewise.
1870 * manual/texinfo.tex: Likewise.
1872 2000-09-04 Andreas Schwab <schwab@suse.de>
1874 * elf/Makefile (all-dl-routines): New variable.
1875 (elide-routines.os): Use it instead of $(dl-routines).
1876 (all-rtld-routines): New variable.
1877 (extra-objs): Use it instead of $(rtld-routines).
1878 ($(objpfx)dl-allobjs.os): Likewise.
1879 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1880 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1883 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1885 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1886 Set fname to NULL if the module wasn't found.
1888 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1890 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1891 true if trans->name already ends in ".so".
1893 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1895 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1897 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1898 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1899 (__gconv_release_shlib): Change return type to void.
1900 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1901 step->__counter here.
1902 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1903 if the reference is zero.
1904 (release_step): New function.
1905 (gen_steps): Always initialize the __counter to 1. Use release_step.
1906 Don't call the destructor on the step whose initializer failed.
1907 (increment_counter): Use release_step. Don't normally run destructors
1909 (__gconv_close_transform): Use release_step.
1911 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1913 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1914 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1916 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1918 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1919 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1920 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1921 to check for incomplete input.
1922 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1923 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1924 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1925 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1927 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1928 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1929 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1930 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1933 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1935 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1938 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1940 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1943 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1945 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1946 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1949 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1951 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1953 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1955 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1957 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1959 * iconvdata/tst-tables.sh: New file.
1960 * iconvdata/tst-table.sh: New file.
1961 * iconvdata/tst-table-from.c: New file.
1962 * iconvdata/tst-table-to.c: New file.
1963 * iconvdata/tst-table-charmap.sh: New file.
1964 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1965 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1966 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1967 ISIRI-3342.irreversible, SJIS.irreversible.
1968 (tests): Add dependency on tst-tables.out.
1969 (tst-tables.out, tst-tables-clean): New rules.
1970 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1971 * iconvdata/ISIRI-3342.irreversible: New file.
1972 * iconvdata/EUC-JP.irreversible: New file.
1973 * iconvdata/SJIS.irreversible: New file.
1975 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1977 * manual/locale.texi (General Numeric): Update description of
1978 representation of the grouping information in the locale data.
1979 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1981 2000-09-04 Andreas Jaeger <aj@suse.de>
1983 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1984 * iconv/iconv_prog.c (options): Fix typo.
1985 Reported by dyky@kondara.org, closes PR libc/1885.
1987 2000-09-04 Andreas Jaeger <aj@suse.de>
1989 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1990 Reported by Rob Levin <lilo@transvirtual.com>.
1992 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1994 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1995 to the typedefs of __timezone_ptr_t.
1996 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1998 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2000 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2003 2000-09-01 H.J. Lu <hjl@gnu.org>
2005 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2006 to run a binary if it is in $(tests-static).
2008 * Rules (binaries-static): Add $(tests-static).
2010 2000-09-02 Andreas Jaeger <aj@suse.de>
2012 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2014 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2017 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2019 * iconvdata/big5hkscs.c: Regenerated from charmap.
2020 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2021 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2023 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2024 statement. General cleanup.
2026 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2028 * wctype/wcfuncs.c (iswblank): New function.
2029 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2030 * wctype/wcextra.c: Remove file.
2031 * wctype/wcextra_l.c: Remove file.
2032 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2034 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2036 * locale/programs/ld-collate.c (collate_output): Remove redundant
2038 * string/strcoll.c: Likewise.
2039 * string/strxfrm.c: Include assert.h. Add assert calls like in
2042 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2044 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2045 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2046 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2047 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2048 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2049 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2050 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2051 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2052 _NL_CTYPE_GAP5/6 respectively.
2054 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2055 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2056 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2057 Don't initialize __ctype_names and __ctype_width.
2058 * wctype/cname-lookup.h: Remove file.
2059 * wctype/Makefile (distribute): Remove cname-lookup.h.
2060 * wctype/wchar-lookup.h: Include stdint.h.
2061 * wctype/wctype.c (__wctype): Assume new locale format.
2062 * wctype/wctype_l.c (__wctype_l): Likewise.
2063 * wctype/iswctype.c: Don't include cname-lookup.h.
2064 (__iswctype): Assume new locale format.
2065 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2066 (__iswctype_l): Assume new locale format.
2067 * wctype/wctrans.c: Don't include ctype.h.
2068 (wctrans): Assume new locale format.
2069 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2070 * wctype/towctrans.c: Don't include cname-lookup.h.
2071 (__towctrans): Assume new locale format.
2072 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2073 (__towctrans_l): Assume new locale format.
2074 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2075 localeinfo.h instead.
2076 (__NO_WCTYPE): Remove unused macro.
2077 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2079 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2080 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2081 (towlower, towupper): Likewise.
2082 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2083 localeinfo.h instead.
2084 (__NO_WCTYPE): Remove unused macro.
2085 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2086 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2087 __iswxdigit_l): Assume new locale format.
2088 (__towlower_l, __towupper_l): Likewise.
2089 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2090 (__ctype32_b): Remove declaration.
2091 (internal_wcwidth): Assume new locale format.
2092 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2093 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2094 to map32_b, rename width_3level to width.
2095 (ctype_output): Always create new locale format. Don't emit
2096 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2097 (allocate_arrays): Always create new locale format.
2099 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2100 * locale/weightwc.h (findidx): Assume new locale format.
2101 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2103 * string/strxfrm.c (wcsxfrm): Likewise.
2104 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2105 local variable collseq to 'const char *'.
2106 (SUFFIX): Don't use, don't undefine.
2107 * posix/fnmatch.c: Remove SUFFIX definition.
2108 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2109 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2110 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2111 (collate_finish): Always create new locale format. Remove local
2112 variables min_total, act_size.
2113 (collate_output): Always create new locale format. Remove local
2114 variables table_size, names, tablewc. Rename tablewc_3level to
2117 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2119 * locale/programs/ld-collate.c (obstack_int32_grow,
2120 obstack_int32_grow_fast): New inline functions.
2121 (output_weightwc, collate_output): Use them where possible.
2123 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2125 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2126 patch (_mode -> _flags).
2128 * libio/Makefile (headers): Add stdio_ext.h.
2129 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2130 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2131 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2132 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2133 __fsetlocking, and _flushlbf.
2134 * libio/__fbufsize.c: New file.
2135 * libio/__flbf.c: New file.
2136 * libio/__fpending.c: New file.
2137 * libio/__fpurge.c: New file.
2138 * libio/__freadable.c: New file.
2139 * libio/__freading.c: New file.
2140 * libio/__fsetlocking.c: New file.
2141 * libio/__fwritable.c: New file.
2142 * libio/__fwriting.c: New file.
2143 * libio/stdio_ext.h: New file.
2144 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2145 * libio/libio.h (_IO_USER_LOCK): Define.
2146 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2147 test _IO_USER_LOCK flag first.
2149 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2152 2000-09-01 Andreas Jaeger <aj@suse.de>
2154 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2156 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2158 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2160 * math/Makefile (tests): Add tst-defintions.
2161 * math/tst-definitions.c: New file.
2163 * stdlib/Makefile (headers): Add bits/wchar.h.
2164 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2165 * sysdeps/generic/bits/wchar.h: New file.
2166 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2167 file to define WCHAR_MIN and WCHAR_MAX.
2168 Change UINT*8_MAX and UIN*16_MAX value to type int.
2169 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2170 file to define WCHAR_MIN and WCHAR_MAX.
2171 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2173 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2174 * sysdeps/generic/bits/mathdef.h: Likewise.
2175 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2176 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2177 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2178 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2179 * locale/locale.h (struct lconv): Add __ prefix to the new members
2181 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2182 imaxdiv optimizations.
2183 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2184 * sysdeps/wordsize-64/ldiv.c: Likewise.
2185 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2187 * sysdeps/generic/bits/fenv.h: Likewise.
2188 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2189 * sysdeps/ia64/bits/fenv.h: Likewise.
2190 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2191 * sysdeps/mips/bits/fenv.h: Likewise.
2192 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2193 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2194 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2196 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2197 * inet/ruserpass.c: Likewise.
2198 * catgets/open_catalog.c: Likewise.
2199 * intl/loadmsgcat.c: Likewise.
2200 * io/getdirname.c: Likewise.
2201 * locale/loadlocale.c: Likewise.
2202 * misc/getusershell.c: Likewise.
2203 * stdlib/canonicalize.c: Likewise.
2204 * sysdeps/posix/euidaccess.c: Likewise.
2205 * sysdeps/posix/isfdtype.c: Likewise.
2206 * sysdeps/posix/posix_fallocate.c: Likewise.
2207 * sysdeps/posix/tempname.c: Likewise.
2208 * sysdeps/unix/grantpt.c: Likewise.
2209 * sysdeps/unix/opendir.c: Likewise.
2210 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2211 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2212 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2213 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2214 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2215 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2216 * sysvipc/ftok.c: Likewise.
2217 * time/getdate.c: Likewise.
2219 * time/getdate.c: Add extra access test.
2221 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2223 * version.h (VERSION): Bump to 2.1.93.
2225 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2226 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2228 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2229 Make this a new rule depending on tst-gettext.out and run mtrace.
2230 * intl/tst-gettext.c: Call mtrace.
2231 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2233 * elf/dl-reloc.c: Add a few more __builtin_expect.
2235 * configure.in: Remove --with-gettext option.
2237 * intl/dcigettext.c (free_mem): Correct freeing of
2238 _nl_domain_bindings list.
2240 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2243 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2245 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2247 * stdio-common/itoa-digits.c: Move upper digits to...
2248 * stdio-common/itoa-udigits.c: ...here. New file.
2249 * stdio-common/Makefile (routines): Add itoa-udigits.
2251 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2252 relocate ld.so don't add supprt for relocations which should not
2255 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2256 __secure_getenv. Instead test __libc_enable_secure once.
2258 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2260 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2262 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2263 whether the new record should be freed if it's a duplicate.
2264 (add_module): Adjust insert_module call.
2265 (__gconv_read_conf): Likewise.
2266 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2268 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2270 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2272 * include/link.h (struct r_search_path_struct): New.
2273 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2274 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2276 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2277 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2278 added at startup time.
2279 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2280 contains element to remember fact that we can free memory.
2281 (all_dirs): Renamed to _dl_all_dirs. Made global.
2282 (_dl_init_all_dirs): New variable.
2283 (fillin_rpath): Save one malloc call.
2284 (decompose_rpath): Change interface. New first parameter points to
2285 r_search_path_struct.
2286 (_dl_init_paths): Adjust for changes. Mark all memory as not
2287 deletable. Set _dl_init_all_paths value.
2288 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2289 parameter replaced with r_search_path_struct *. Information about
2290 freeing now contained in r_search_path_struct.
2291 (_dl_map_object): Adjust for above changes.
2293 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2295 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2296 when adding new entries.
2298 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2299 since the object being loaded can be unloaded.
2301 * iconvdata/Makefile (tests): Add tst-loading.
2302 * iconvdata/tst-loading.c: New file.
2304 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2306 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2307 When comparing a char with an int, always cast the char to
2308 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2309 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2311 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2313 * time/strftime.c (my_strftime): Add compatibility code for use
2314 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2316 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2317 return 0 for success but always < 0 on failure.
2319 * nss/getXXbyYY_r.c: Define result to *result before including
2322 2000-08-30 Andreas Jaeger <aj@suse.de>
2324 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2326 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2328 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2330 * iconvdata/TESTS: Add BIG5HKSCS entry.
2331 * iconvdata/testdata/BIG5HKSCS: New file.
2332 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2334 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2337 * libio/iogetline.c: Set mode before the loop in case n==0.
2338 * libio/iogetwline.c: Likewise.
2340 2000-08-29 H.J. Lu <hjl@gnu.org>
2342 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2344 (_IO_new_file_overflow): Likewise.
2345 * libio/genops.c (_IO_flush_all): Likewise.
2346 * libio/ioftell.c (_IO_ftell): Likewise.
2348 2000-08-29 Akira Higuchi <a@kondara.org>
2350 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2351 and __end_fct fields of struct __gconv_step.
2352 * iconv/Makefile (tests): Add iconv-bug2.
2353 * iconv/iconv-bug2.c: New file.
2355 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2356 instead of 'inptr - inend' to ksc5601_to_ucs4.
2358 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2360 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2361 character or shift sequence is found at the end of the input
2362 string, return__GCONV_INCOMPLETE_INPUT instead of
2363 __GCONV_EMPTY_INPUT.
2364 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2365 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2367 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2368 __GCONV_ILLEGAL_INPUT for 8bit characters.
2370 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2372 * signal/signal.h (sigpause): Move __THROW before __asm__.
2374 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2375 names don't match don't return.
2376 Patch by Olaf Kirch <okir@flash.lst.de>.
2378 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2380 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2382 2000-08-27 H.J. Lu <hjl@gnu.org>
2384 * posix/Makefile (otherlibs): Add for building with static-nss
2387 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2389 * libio/stdio.h: Add fmemopen prototype.
2391 2000-08-25 Andreas Jaeger <aj@suse.de>
2393 * libio/Makefile (routines): Add fmemopen.
2394 (tests): Add test-fmemopen.
2395 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2396 * libio/test-fmemopen.c: New file.
2397 * libio/fmemopen.c: New file.
2398 Patches by Hanno Mueller <kontakt@hanno.de>.
2400 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2402 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2403 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2405 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2406 to avoid crashing statically linked applications.
2408 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2410 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2411 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2413 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2414 If the result is fits in the buffer, copy only as many bytes as needed.
2416 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2417 buffer after copying numbuf into it.
2418 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2420 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2422 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2423 the result. When string_len < len, don't clear the rest of the buffer.
2425 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2427 Support for new LC_COLLATE format.
2428 * locale/coll-lookup.h: New file.
2429 * locale/weightwc.h (findidx): When size == 0, call
2430 collidx_table_lookup.
2431 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2432 * wcsmbs/wcsxfrm.c: Likewise.
2433 * posix/fnmatch.c: Likewise.
2434 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2435 collseq_table_lookup.
2436 * locale/programs/3level.h: New file.
2437 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2438 by including "3level.h".
2439 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2440 collseq_table): New types, defined by including "3level.h".
2441 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2442 (encoding_mask, encoding_byte): Remove.
2443 (utf8_encode): Use simple shifts instead.
2444 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2445 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2446 (collate_output): New local variable tablewc_3level. When
2447 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2448 tablewc_3level instead of tablewc. Change format of TABLEWC and
2449 COLLSEQWC entries written to the file.
2450 * locale/C-collate.c (collseqwc): Change format.
2451 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2453 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2455 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2457 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2458 (locale_ctype_t): New charnames_idx field.
2459 (ctype_startup): Initialize charnames_idx field.
2460 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2462 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2464 * locale/C-ctype.c: Switch to new locale format.
2465 (_nl_C_LC_CTYPE_names): Remove array.
2466 (STRUCT_CTYPE_CLASS): New macro.
2467 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2468 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2469 New three-level tables.
2470 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2471 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2472 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2473 12 class tables and 2 map tables at the end.
2474 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2475 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2476 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2478 (b): Remove trailing semicolon.
2479 (__ctype_names, __ctype_width): Don't initialize.
2480 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2482 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2484 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2485 is guaranteed to be allocated with the same malloc() and may be
2487 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2488 been set to empty by an earlier open_path call, don't pass it again.
2490 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2492 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2493 we are not optimizing.
2495 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2498 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2500 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2502 2000-08-28 Andreas Jaeger <aj@suse.de>
2504 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2506 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2508 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2509 getpeername. Use ISO C style function definition.
2510 (getpeername): Provide weak alias.
2511 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2512 setrlimit. Use ISO C style function definition.
2513 (setrlimit): Provide weak alias.
2515 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2517 * shlib-versions: Add a rule for S/390 to the libm version list.
2518 * sysdeps/s390/Versions: New file.
2519 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2520 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2521 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2522 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2523 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2524 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2525 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2526 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2527 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2528 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2529 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2530 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2531 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2532 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2533 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2534 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2535 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2536 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2538 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2540 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2541 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2543 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2544 * elf/dl-close.c (_dl_close): Print debug message if object is not
2546 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2547 returning to caller.
2549 * po/zh.po: Renamed to...
2550 * po/zh_TW.po: ...this.
2552 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2554 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2556 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2557 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2558 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2559 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2561 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2563 * locale/programs/ld-collate.c (insert_weights): Also update
2564 backpointer of next element.
2565 (collate_read): Allow definition of new collation symbols in stage 2.
2566 Symbol after reorder-after can be UCS4 value.
2567 Allow reordering of collation symbols and elements.
2568 Do not only move reorder entry in new position. Instead call
2569 insert_weight to do this and read the weights.
2571 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2573 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2574 to determine invalid locale name.
2575 * locale/findlocale.c (_nl_find_locale): Likewise.
2577 * posix/annexc.c: Correct test for unavailable feature.
2579 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2582 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2584 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2587 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2588 (sysdep_routines): Add oldgetrlimit64.
2590 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2591 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2592 (tests): Add unload, reldep, reldep2, and reldep3.
2593 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2595 Add rules to build and run unload, reldep, reldep2, and reldep3.
2596 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2597 Don't create relocation dependency if it is nonzero.
2598 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2599 can never happen here.
2600 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2601 Don't create relocation dependency if it is nonzero.
2602 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2603 stuff. This can never happen here.
2604 * sysdeps/generic/ldsodefs.h: Change prototypes.
2605 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2606 _dl_lookup_up and _dl_lookup_versioned_symbol.
2608 * elf/dl-runtime.c (fixup): Likewise.
2609 (profile_fixup): Likewise.
2610 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2612 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2613 * elf/rtld.c (dl_main): Likewise.
2614 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2615 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2616 and pass down the caller map.
2617 (_dl_vsym): Likewise.
2618 * elf/reldep.c: New file.
2619 * elf/reldep2.c: New file.
2620 * elf/reldep3.c: New file.
2621 * elf/reldepmod1.c: New file.
2622 * elf/reldepmod2.c: New file.
2623 * elf/reldepmod3.c: New file.
2624 * elf/reldepmod4.c: New file.
2625 * elf/unload.c: New file.
2626 * elf/unloadmod.c: New file.
2628 * elf/do-lookup.h: Remove unused undef_name parameter.
2629 * elf/dl-lookup.c: Adjust callers.
2631 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2633 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2634 irreversible in recursive call of conversion function to signal that
2635 no error handling is wanted.
2636 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2637 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2638 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2639 recursive error handling call, otherwise to &lirreversible. Use it
2640 for calls to conversion functions.
2641 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2643 (ucs4_internal_loop_unaligned): Likewise.
2644 (ucs4le_internal_loop): Likewise.
2645 (ucs4le_internal_loop_unaligned): Likewise.
2647 2000-08-25 Greg McGary <greg@mcgary.org>
2649 * sysdeps/i386/memchr.S: Check high bound against chars
2651 * sysdeps/i386/memcmp.S: Likewise.
2652 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2653 account for pointers that lie one beyond end-of-buffer.
2655 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2657 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2658 * elf/nodelete.c (fini_ran): New global variable.
2659 (do_test): Before every dlclose call clear fini_ran and test
2660 afterwards that it is not set by the destructors.
2661 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2662 * elf/nodelmod2.c: Likewise.
2663 * elf/nodelmod4.c: Likewise.
2665 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2667 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2668 getrlimit to the list.
2670 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2672 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2673 long double format so use ldbl-96 instead of ldbl-128.
2675 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2677 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2678 even if bits 10 a 11 are non-zero.
2679 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2681 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2682 included before building gnu/lib-names.h
2683 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2685 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2686 marked DF_1_NODELETE.
2688 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2689 since we call sigaction in the child.
2691 2000-08-25 Andreas Jaeger <aj@suse.de>
2693 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2696 2000-08-25 Andreas Jaeger <aj@suse.de>
2698 * manual/arith.texi (Control Functions): Clarify possible
2699 arguments. Closes PR libc/1856.
2701 2000-08-24 H.J. Lu <hjl@gnu.org>
2703 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2704 * malloc/Makefile (tests): Likewise.
2706 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2708 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2710 2000-08-24 Andreas Jaeger <aj@suse.de>
2712 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2713 only if LIBGD is available.
2715 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2717 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2718 problems with now restrict parameter types.
2719 (convaddr4to6): Likewise.
2721 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2723 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2724 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2725 * sysdeps/s390/fpu/fegetexcept.c: New file.
2726 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2729 2000-08-24 Andreas Jaeger <aj@suse.de>
2731 * malloc/Makefile (extra-objs): Add memusagestat.o.
2732 (generated): Added memusage and memusagestat for make clean.
2734 * libio/tst_putwc.c (do_test): Delete temporary file.
2735 Move inclusion of test-skeleton to front to have prototype for
2738 * posix/Makefile (generated): Add wordexp-tst.out.
2740 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2742 * resolv/res_hconf.c (free_mem): Remove not needed if.
2744 * time/tzset.c (free_mem): New function.
2745 * string/strsignal.c (free_mem): New function.
2746 * inet/inet_ntoa.c (free_mem): New function.
2747 * sunrpc/clnt_perr.c (free_mem): New function.
2749 2000-08-24 Andreas Jaeger <aj@suse.de>
2751 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2752 * sysdeps/unix/sysv/syscalls.list: Likewise.
2754 * posix/unistd.h: Move internal prototypes from here ...
2755 * include/unistd.h: ... to here.
2757 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2759 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2761 * grp/initgroups.c (initgroups): Deallocate groups array.
2762 Reported by jani.raiha@sonera.com [PR libc/1868].
2764 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2765 * sysdeps/alpha/Dist: Likewise.
2767 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2769 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2770 destructor). Reported by Solar Designer <solar@false.com>.
2772 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2773 avoid adding double slashes.
2775 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2777 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2778 out of the __REDIRECT macro.
2780 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2782 * stdio-common/vfscanf.c: Add %F format support.
2784 * locale/programs/ld-ctype.c (ctype_output): Make sure
2785 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2786 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2787 (ctype_read): Enable returning of wide character strings for reading
2788 transliteration information.
2790 2000-08-23 Andreas Jaeger <aj@suse.de>
2792 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2793 Use static __inline instead of _EXTERN_INLINE.
2795 * misc/sys/select.h: Move prototypes of __select from here ...
2796 * include/sys/select.h: ... to here.
2798 * socket/sys/socket.h: Move prototypes of __send and __connect
2800 * include/sys/socket.h: ... to here.
2802 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2805 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2807 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2808 __setrlimit as strong name. Takes only 2 arguments.
2810 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2811 takes only 2 arguments.
2813 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2815 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2817 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2819 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2821 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2822 default_missing character being specified, pick the first
2825 2000-08-23 Andreas Jaeger <aj@suse.de>
2827 * include/wchar.h: Add some pure attributes.
2829 * time/time.h: Add const attribute for dysize.
2831 * include/stdlib.h: Add malloc attribute to __posix memalign.
2833 * stdlib/stdlib.h: Add some pure and malloc attributes.
2834 * wcsmbs/wchar.h: Likewise.
2836 * dirent/dirent.h: Add some pure attributes.
2837 * include/dirent.h: Likewise.
2839 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2841 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2844 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2846 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2847 missing buffer size checks.
2849 2000-08-23 Andreas Jaeger <aj@suse.de>
2851 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2855 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2856 otherwise __LINUX_KERNEL_VERSION might not be defined.
2857 (MIN): Define if not already defined.
2859 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2861 * stdio-common/vfprintf.c: Handle %F format.
2862 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2863 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2865 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2867 * po/zh.po: New file.
2869 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2870 enough room in target buffer.
2871 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2872 * iconvdata/bug-iconv1.c: New file.
2873 * iconvdata/Makefile (tests): Add bug-iconv1.
2875 * locale/iso-4217.def: Update entry for Nicaragua.
2877 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2879 * hurd/hurdsig.c: Rearrange headers a bit.
2880 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2881 when cthreads is being used.
2883 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2885 * elf/Makefile (distribute): Add dl-osinfo.h.
2886 * sysdeps/generic/dl-osinfo.h: New file.
2887 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2888 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2890 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2891 only for !SHARED case. Get the code from dl-osinfo.h.
2893 * stdlib/random_r.c: Cleanups.
2894 * stdlib/tst-random.c: New file.
2895 * stdlib/Makefile (tests): Add tst-random.
2896 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2898 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2900 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2901 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2902 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2903 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2905 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2907 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2908 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2909 (__syscall__sysctl): Add.
2911 2000-08-21 Andreas Jaeger <aj@suse.de>
2913 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2915 * stdlib/tst-strtoll.c: Likewise.
2917 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2919 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2921 (__initstate_r): Set errno on error.
2922 (__random_r): Likewise.
2923 (__setstate_r): Correct offset when computing
2924 new rptr and fptr. Test for arg_state being NULL.
2925 Reported by Michael Fischer <fischer@cs.yale.edu>.
2927 * posix/regex.h: Add macro definitions to allow compiling outside
2930 * sysdeps/i370/Implies: Removed.
2931 * sysdeps/mvs/Implies: Removed.
2933 * catgets/catgets.c (catopen): Filter out env_var values with / if
2936 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2937 locale name after all getenvs.
2939 * configure.in: Allow sed versions like 3.02.8.
2940 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2942 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2944 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2946 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2948 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2949 of gethostbyname2_r call.
2951 * intl/locale.alias: Add aliases for Korean.
2953 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2955 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2956 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2957 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2958 * sysdeps/s390/fpu/fegetenv.c: New file.
2959 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2960 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2961 * sysdeps/s390/fpu/fenv_libc.h: New file.
2962 * sysdeps/s390/fpu/fesetenv.c: New file.
2963 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2964 * sysdeps/s390/fpu/feupdateenv.c: New file.
2965 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2966 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2967 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2968 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2969 * sysdeps/s390/fpu/ftestexcept.c: New file.
2970 * sysdeps/s390/fpu/libm-test-ulps: New file.
2971 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2972 * sysdeps/s390/initfini.c: New file.
2973 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2974 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2975 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2976 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2977 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2978 sys/procfs.h as proposed by Mark Kettenis.
2979 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2981 2000-08-21 Andreas Jaeger <aj@suse.de>
2983 * include/poll.h: Include include/sys/poll.h to get __poll
2986 * io/sys/poll.h: Move __poll declaration from here...
2987 * include/sys/poll.h: ...to here.
2989 * include/sys/socket.h (__getpeername): Add declaration.
2991 * include/wchar.h (__vswprintf): Add declaration.
2993 * include/stdio.h (__flockfile): Add declaration.
2994 (__funlockfile): Likewise.
2996 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2998 * misc/sys/cdefs.h: Define __restrict_arr.
2999 * include/sys/time.h: Add restrict where required by AGd4.
3000 * inet/arpa/inet.h: Likewise.
3001 * io/sys/stat.h: Likewise.
3002 * io/sys/statvfs.h: Likewise.
3003 * misc/search.h: Likewise.
3004 * misc/sys/select.h: Likewise.
3005 * posix/glob.h: Likewise.
3006 * posix/regex.h: Likewise.
3007 * posix/spawn.h: Likewise.
3008 * posix/unistd.h: Likewise.
3009 * rt/aio.h: Likewise.
3010 * signal/signal.h: Likewise.
3011 * socket/sys/socket.h: Likewise.
3012 * stdlib/ucontext.h: Likewise.
3013 * streams/stropts.h: Likewise.
3014 * string/string.h: Likewise.
3015 * time/time.h: Likewise.
3016 * time/sys/time.h: Likewise.
3018 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3019 and posix_spawnattr_setscheparam.
3021 * libio/stdio.h: Make cuserid prototype again available for all
3024 * argp/argp-help.c: Unify use of function aliases to make more compact
3026 * include/libintl.h: Likewise.
3027 * inet/rcmd.c: Likewise.
3028 * intl/dcigettext.c: Likewise.
3029 * libio/iofputws.c: Likewise.
3030 * libio/iofputws_u.c: Likewise.
3031 * libio/iogetwline.c: Likewise.
3032 * libio/swprintf.c: Likewise.
3033 * malloc/malloc.c: Likewise.
3034 * nss/digits_dots.c: Likewise.
3035 * posix/fnmatch.c: Likewise.
3036 * posix/spawn_faction_addclose.c: Likewise.
3037 * posix/spawn_faction_adddup2.c: Likewise.
3038 * posix/spawn_faction_addopen.c: Likewise.
3039 * posix/spawni.c: Likewise.
3040 * posix/wordexp.c: Likewise.
3041 * posix/spawni.c: Likewise.
3042 * resolv/res_hconf.c: Likewise.
3043 * resolv/res_init.c: Likewise.
3044 * shadow/lckpwdf.c: Likewise.
3045 * signal/sighold.c: Likewise.
3046 * signal/sigrelse.c: Likewise.
3047 * stdio-common/printf-parse.h: Likewise.
3048 * stdio-common/printf-prs.c: Likewise.
3049 * stdio-common/printf_fp.c: Likewise.
3050 * stdio-common/vfprintf.c: Likewise.
3051 * stdio-common/vfscanf.c: Likewise.
3052 * stdlib/rpmatch.c: Likewise.
3053 * sunrpc/create_xid.c: Likewise.
3054 * sunrpc/key_call.c: Likewise.
3055 * sysdeps/generic/setrlimit64.c: Likewise.
3056 * sysdeps/generic/utmp_file.c: Likewise.
3057 * sysdeps/generic/vlimit.c: Likewise.
3058 * sysdeps/posix/posix_fallocate.c: Likewise.
3059 * sysdeps/posix/posix_fallocate64.c: Likewise.
3060 * sysdeps/posix/sigpause.c: Likewise.
3061 * sysdeps/posix/sigset.c: Likewise.
3062 * sysdeps/unix/grantpt.c: Likewise.
3063 * sysdeps/unix/bsd/ualarm.c: Likewise.
3064 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3065 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3066 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3067 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3068 * time/strftime.c: Likewise.
3069 * wcsmbs/wcscoll.c: Likewise.
3070 * wcsmbs/wcsxfrm.c: Likewise.
3072 * time/tst-getdate.c (main): Make error messages more human readable.
3074 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3075 postinc/predec instruction.
3076 (_FPU_SETCW): Likewise.
3077 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3079 2000-08-20 Andreas Jaeger <aj@suse.de>
3081 * time/tst-getdate.c (main): Increase error in case of wrong
3083 Fix typo in test case.
3085 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3087 * ctype/ctype.h (isblank): Make available if ISO C99.
3088 * wctype/wctype.h (iswblank): Make available if ISO C99.
3089 * math/math.h (signgam): Don't make available if ISO C99.
3090 * math/tgmath.h (tgamma): Renamed from gamma.
3091 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3093 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3095 * intl/plural.y (new_exp): Take number of optional parameters in
3096 second parameter. Test for correct number of parameters and free
3097 correctly in case of failure. Adjust all callers.
3098 (yylex): Allow ';' as terminator character.
3100 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3102 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3105 * locale/findlocale.c (free_mem): Also free here->filename.
3107 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3109 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3111 (feexcp_nomask_test): Correct printf args.
3112 (feexcp_mask_test): Likewise.
3114 2000-08-19 Andreas Jaeger <aj@suse.de>
3116 * inet/tst-gethnm.c: Include string.h to provide prototype for
3119 * malloc/mtrace.pl (usage): Inform about --help.
3121 2000-08-19 Wolfram Gloger <wg@malloc.de>
3123 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3126 2000-08-19 Andreas Jaeger <aj@suse.de>
3128 * shlib-versions: Remove libnss_db, libdb and libdb1.
3130 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3132 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3133 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3134 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3135 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3136 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3138 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3139 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3140 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3141 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3143 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3144 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3146 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3148 * include/glob.h (__glob64): Add prototype.
3149 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3150 define glob and glob_in_dir.
3151 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3152 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3155 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3156 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3157 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3158 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3160 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3162 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3164 2000-08-17 Andreas Jaeger <aj@suse.de>
3166 * math/test-fenv.c (fe_single_test): New function.
3167 (fe_env_tests): Use fe_single_test.
3168 (feenable_test): New tests for feenable/fedisable and
3170 (feexcp_mask_test): New function.
3171 (feexcp_nomask_test): New function.
3173 2000-08-19 Richard Henderson <rth@cygnus.com>
3175 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3176 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3177 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3178 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3179 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3180 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3181 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3182 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3183 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3184 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3185 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3186 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3187 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3188 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3189 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3190 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3191 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3193 2000-08-19 Andreas Jaeger <aj@suse.de>
3195 * elf/constload1.c: Include <stdio.h> for puts prototype.
3197 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3199 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3200 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3201 a dynamically loaded object remove old l_initfini list.
3202 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3203 remove some dynamically allocated memory blocks in the dynamic
3204 loading data structures.
3205 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3206 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3207 Instead call _dl_check_map_versions only for the dependencies.
3208 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3209 information of initial objects as not free-able.
3210 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3213 * elf/filter.c: Call mtrace.
3214 * elf/restest1.c: Likewise. Close the objects.
3215 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3218 * elf/constload1.c: Add comment explaining not freed memory.
3220 2000-08-18 Andreas Jaeger <aj@suse.de>
3222 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3223 alignment for structs stat and stat64.
3224 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3226 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3228 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3229 handling. Patch by Richard Henderson <rth@twiddle.net>.
3231 * nss/Versions: Remove libnss_db information.
3233 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3235 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3236 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3237 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3238 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3240 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3243 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3245 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3246 (_FPU_SETCW): Likewise.
3247 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3249 * stdio-common/printf_fp.c: Fix chars_needed computation.
3250 Patch by Greg McGary <greg@mcgary.org>.
3252 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3254 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3255 _dl_loaded are NULL.
3257 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3259 * manual/arith.texi (feholdexcept): Returns 0 on success.
3261 2000-08-17 Andreas Jaeger <aj@suse.de>
3263 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3265 Reported by Andi Kleen <ak@suse.de>.
3267 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3269 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3270 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3271 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3273 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3275 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3276 of buf->st_ino and kbuf->st_ino, not __st_ino.
3277 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3278 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3279 directive so that only linux/getdents.c is used, not some
3280 architecture specific one.
3282 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3284 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3285 enabled, not disabled exceptions.
3286 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3287 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3289 2000-08-17 Greg McGary <greg@mcgary.org>
3291 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3292 from test program name when constructing suffix for $(LDLIBS-*).
3293 (bounded-thread-library): New variable.
3295 [build-shared, build-static] (libcrypt-dep): Remove variable.
3296 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3297 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3298 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3299 (librt-tests): Add variable. (tests): Use it.
3300 [build-shared, build-static]
3301 ($(addprefix $(objpfx),$(tests)),
3302 $(addprefix $(objpfx),$(librt-tests))):
3303 Consolidate individual dependencies.
3305 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3307 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3308 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3310 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3312 [build-shared, build-static]
3313 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3314 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3316 2000-08-17 Greg McGary <greg@mcgary.org>
3318 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3319 * sysdeps/unix/make-syscalls.sh: Likewise.
3320 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3321 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3322 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3323 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3324 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3326 2000-08-17 Greg McGary <greg@mcgary.org>
3328 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3329 Wrap extern symbols in BP_SYM ().
3330 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3331 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3332 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3333 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3334 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3335 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3336 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3337 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3338 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3341 2000-08-16 Andreas Schwab <schwab@suse.de>
3343 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3344 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3345 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3347 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3349 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3350 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3351 * elf/dl-support.c: Define _nl_nloaded.
3352 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3353 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3354 object to global list.
3355 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3356 from _dl_loaded list.
3357 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3358 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3361 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3363 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3365 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3367 2000-08-16 Andreas Jaeger <aj@suse.de>
3369 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3371 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3373 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3375 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3377 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3378 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3379 (sysdep_routines): Add oldgetrlimit64.
3380 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3381 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3383 * include/link.h: Undo last patches. Hurd now has stat64.
3384 * elf/Makefile: Likewise.
3385 * elf/dl-load.c: Likewise.
3386 * elf/dl-misc.c: Likewise.
3387 * elf/dl-profile.c: Likewise.
3388 * sysdeps/generic/sysd-link.h: Removed.
3389 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3391 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3392 thread event callback function.
3393 (__aio_notify_only): Use function above.
3394 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3396 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3398 * sysdeps/mach/hurd/lseek64.c: New file.
3400 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3402 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3404 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3406 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3408 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3410 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3412 * sysdeps/mach/hurd/xstatconv.c: New file.
3413 * sysdeps/mach/hurd/fxstat64.c: New file.
3414 * sysdeps/mach/hurd/lxstat64.c: New file.
3415 * sysdeps/mach/hurd/xstat64.c: New file.
3416 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3418 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3420 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3421 Initialize, needed for change in common symbol handling in newer
3422 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3424 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3426 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3427 * elf/constload2.c: Add destructor to unload constload3.
3429 * include/link.h: Include sysd-link.h.
3430 * sysdeps/generic/sysd-link.h: New file.
3431 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3432 * elf/Makefile (distribute): Add sysd-link.h.
3433 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3434 types and functions directly.
3435 * elf/dl-misc.c: Likewise.
3436 * elf/dl-profile.c: Likewise.
3438 * elf/loadfail.c (main): Close all successfully loaded objects.
3440 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3442 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3443 there is already one.
3445 * elf/dl-close.c: Pretty print.
3447 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3449 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3450 global (with file scope). Add __libc_subfreeres function to free the
3452 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3453 in ttyname function.
3455 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3457 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3459 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3460 mapping them to /x5c and /x7e respectively.
3462 * locale/programs/ld-ctype.c: Add support for more definitions after
3465 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3467 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3468 * sysdeps/unix/sysv/linux/kernel-features.h
3469 (__ASSUME_GETDENTS64_SYSCALL): Define.
3470 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3471 syscall if available to get d_type fields.
3472 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3473 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3474 __lxstat64): Export at GLIBC_2.2.
3475 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3477 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3478 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3479 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3480 getdirentries64, versionsort64): Remove.
3481 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3482 getdirentries64, versionsort64): Remove.
3484 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3486 * posix/Makefile: Remove rules to generate glob package.
3488 * posix/Makefile (tests): Add tst-regexloc.
3489 (tst-regexloc-ENV): Add LOCPATH.
3490 * posix/tst-regexloc.c: New file.
3492 2000-08-12 Andreas Jaeger <aj@suse.de>
3494 * include/features.h (__STDC_ISO_10646__): Define.
3495 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3497 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3499 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3501 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3502 for revision 6 and up).
3504 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3506 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3507 to get definitions of just these types.
3509 * signal/signal.h: Define thread signal handling functions also for
3512 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3514 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3515 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3516 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3519 * sysvipc/sys/shm.h: Define pid_t for XPG.
3521 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3522 they are not anymore required here.
3524 * wcsmbs/wchar.h: Make the various wide char string and stream
3525 functions available for the respective XPG versions.
3527 * nss/Makefile: Remove rules to build and distribute nss_db.
3529 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3530 * sysdeps/generic/scandir64.c: Likewise.
3531 * sysdeps/generic/versionsort64.c: Likewise.
3533 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3534 Benjamin Koznik <bkoz@redhat.com>
3536 * libio/fileops.c: Merge with libstdc++-v3.
3537 * libio/genops.c: Likewise.
3538 * libio/iofclose.c: Likewise.
3539 * libio/iofopen.c: Likewise.
3540 * libio/iofwide.c: Likewise.
3541 * libio/libio.h: Likewise.
3542 * libio/libioP.h: Likewise.
3543 * libio/stdfiles.c: Likewise.
3544 * libio/stdio.c: Likewise.
3545 * libio/wfileops.c: Likewise.
3546 * libio/wgenops.c: Likewise.
3548 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3550 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3552 * locale/programs/localedef.c: Implement --prefix option to allow
3553 writing in standard places of alternative install directories.
3555 * posix/regex.c (compile_range): Implement collation sequence
3556 handling for glibc. Use simple character ordering otherwise and
3559 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3561 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3563 2000-08-12 Andreas Jaeger <aj@suse.de>
3565 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3566 __USE_FILE_OFFSET64 correctly for locking.
3567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3569 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3571 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3572 Define for 2.4.1 on sparc as well.
3573 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3574 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3575 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3576 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3578 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3580 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3583 2000-08-12 Andreas Jaeger <aj@suse.de>
3585 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3586 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3588 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3589 mips2 for assembler.
3591 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3592 if fnctl64 is not available for F_*LK*64.
3594 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3596 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3598 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3599 Define for 2.4.1 on x86.
3600 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3602 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3604 * dirent/dirent.h: Define DT_WHT.
3606 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3607 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3608 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3609 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3610 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3611 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3613 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3615 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3616 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3617 * inet/Makefile (tests): Add tst-gethnm.
3618 * inet/tst-gethnm.c: New file.
3620 * rt/aio_cancel.c: If canceling a specific request which is running
3621 *really* do nothing.
3622 * rt/aio_misc.h: Add `done' to states of a request.
3623 * rt/aio_misc.c: Add several tests for the correct state.
3624 Simplify request table memory handling.
3626 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3628 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3629 * dirent/scandir64.c: Move...
3630 * sysdeps/generic/scandir64.c: ...here.
3631 * dirent/alphasort64.c: Move...
3632 * sysdeps/generic/alphasort64.c: ...here.
3633 * dirent/versionsort64.c: Move...
3634 * sysdeps/generic/versionsort64.c: ...here.
3635 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3636 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3637 Export symbols at GLIBC_2.2.
3638 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3639 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3640 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3641 __versionsort64): Add prototypes.
3642 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3643 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3645 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3647 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3648 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3649 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3650 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3652 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3653 Adjust for kernel-2.4.0-test6 layout.
3654 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3655 GLIBC_2.1 and GLIBC_2.2.
3656 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3657 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3658 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3659 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3660 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3661 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3662 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3663 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3664 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3665 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3666 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3667 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3668 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3669 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3671 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3672 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3673 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3674 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3675 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3676 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3677 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3679 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3680 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3682 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3683 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3684 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3685 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3686 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3694 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3695 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3696 st_ino from __st_ino.
3697 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3698 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3699 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3700 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3701 set __st_ino in addition to st_ino.
3702 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3703 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3704 __old_getdents64 as well.
3705 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3706 getdirentries64 and old_getdirentries64 as well.
3707 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3708 __GETDENTS): Define.
3709 (GETDENTS64): Remove.
3710 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3712 (GETDENTS64): Remove.
3713 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3714 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3715 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3717 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3718 __old_readdir64_r as well.
3719 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3720 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3722 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3724 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3725 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3726 define of the kernel.
3727 Add missing __SEG_PSTKOVF definition.
3728 Adjust the padding of struct siginfo and struct sigevent to
3729 match the fact that sigval_t is 64 bit.
3731 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3733 * timezone/zic.c: Update from tzcode2000f.
3734 * timezone/australasia: Update from tzdata2000f.
3735 * timezone/europe: Likewise.
3736 * timezone/southamerica: Likewise.
3737 * timezone/yearistype: Likewise.
3739 2000-08-10 Andreas Jaeger <aj@suse.de>
3741 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3742 stat with current MIPS kernel.
3744 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3746 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3747 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3748 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3749 Remove the junk that's only relevant in the Linux kernel itself.
3750 Add a warning saying that this file is now obsolete, and include
3752 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3753 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3754 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3755 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3756 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3757 and add the notice that the file is primarily there for GDB.
3758 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3760 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3762 * time/tzfile.c (__tzfile_compute): __tzstring zones
3765 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3767 * resolv/resolv.h (__res_state): Surround prototype with
3768 __BEGIN_DECLS/__END_DECLS.
3769 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3771 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3773 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3774 Make independant of asm/resource.h from the Linux kernel.
3776 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3778 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3780 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3782 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3783 * locale/Makefile (locale-CPPFLAGS): Likewise.
3785 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3787 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3790 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3792 * misc/Versions (mincore): Export at GLIBC_2.2.
3794 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3796 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3798 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3800 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3801 socketpair. Made socketpair a weak alias.
3802 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3803 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3804 conforming, but fall back on the old protocol if the socket server
3806 * include/sys/socket.h: Add prototype for __socketpair.
3808 2000-08-09 Andreas Schwab <schwab@suse.de>
3810 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3811 long long modifier is seen.
3813 * elf/nodelete.c (do_test): Remove reference to undefined member
3815 * rt/tst-aio4.c (do_test): Likewise.
3817 * configure.in: Add `-lm' when checking for libgd.
3818 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3821 2000-08-09 Andreas Jaeger <aj@suse.de>
3823 * configure.in: Change required make versions.
3825 * manual/install.texi (Tools for Compilation): Document required
3827 (Supported Configurations): Update list of supported
3830 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3832 * locale/linereader.c (get_string): Don't print an error is a string
3833 contains an unknown character.
3835 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3837 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3838 (new_symbol): Take new parameters with name of the symbol.
3840 (handle_ellipsis): Don't only allow character symbols.
3841 (collate_read): Allow string of collating elements contain invalid
3842 characters; ignore entry in this case.
3843 Handle ellipsis of collating symbols before first order_start.
3844 Allow ellipsis in state 0.
3846 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3848 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3850 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3852 2000-08-04 Greg McGary <greg@mcgary.org>
3854 * posix/regex.c (SET_HIGH_BOUND): New macro.
3855 (MOVE_BUFFER_POINTER): Use it.
3856 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3857 (EXTEND_BUFFER): Use it.
3859 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3861 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3862 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3863 _wide_data but from _IO_FILE directly.
3864 * libio/iofclose.c: Likewise.
3865 * libio/wfileops.c: Likewise.
3867 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3868 * libio/libioP.h: Change prototypes.
3870 2000-08-03 Greg McGary <greg@mcgary.org>
3872 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3873 frame pointer early so that we save caller's frame pointer.
3874 * sysdeps/i386/elf/setjmp.S: Likewise.
3876 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3877 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3879 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3880 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3881 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3883 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3885 * iconvdata/big5.c: Updated.
3886 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3888 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3890 * Makeconfig (all-subdirs): Add conform.
3891 * conform/Makefile: Include ../Rules.
3893 * Makefile (README): Add rules to generate here as well.
3895 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3897 * version.h (VERSION): Bump to 2.1.92.
3899 * sysdeps/ia64/Dist: Add _mcount.S.
3901 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3903 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3905 * elf/Makefile (distribute): Add missing modules.
3907 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3909 * posix/regex.c (compile_range): Translate range start and end
3910 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3912 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3915 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3917 2000-08-02 Andreas Jaeger <aj@suse.de>
3919 * elf/elf.h (EM_S390): Added.
3920 (R_390_*): New relocs for S390.
3922 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3923 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3924 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3925 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3926 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3927 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3929 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3930 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3931 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3932 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3933 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3934 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3935 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3936 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3937 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3938 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3939 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3940 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3941 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3942 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3943 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3944 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3945 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3946 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3947 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3948 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3949 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3950 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3951 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3952 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3953 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3954 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3955 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3956 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3957 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3958 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3959 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3960 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3961 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3962 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3965 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3966 * sysdeps/s390/sysdep.h: New file.
3967 * sysdeps/s390/sys/ucontext.h: New file.
3968 * sysdeps/s390/sub_n.S: New file.
3969 * sysdeps/s390/strncpy.S: New file.
3970 * sysdeps/s390/strcpy.S: New file.
3971 * sysdeps/s390/stackinfo.h: New file.
3972 * sysdeps/s390/setjmp.S: New file.
3973 * sysdeps/s390/s390-mcount.S: New file.
3974 * sysdeps/s390/mul_1.S: New file.
3975 * sysdeps/s390/memusage.h: New file.
3976 * sysdeps/s390/memset.S: New file.
3977 * sysdeps/s390/memcpy.S: New file.
3978 * sysdeps/s390/memchr.S: New file.
3979 * sysdeps/s390/machine-gmon.h: New file.
3980 * sysdeps/s390/ldbl2mpn.c: New file.
3981 * sysdeps/s390/gmp-mparam.h: New file.
3982 * sysdeps/s390/fpu/fpu_control.h: New file.
3983 * sysdeps/s390/fpu/fesetround.c: New file.
3984 * sysdeps/s390/fpu/fegetround.c: New file.
3985 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3986 * sysdeps/s390/fpu/bits/fenv.h: New file.
3987 * sysdeps/s390/ffs.c: New file.
3988 * sysdeps/s390/elf/start.S: New file.
3989 * sysdeps/s390/elf/setjmp.S: New file.
3990 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3991 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3992 * sysdeps/s390/dl-machine.h: New file.
3993 * sysdeps/s390/bzero.S: New file.
3994 * sysdeps/s390/bsd-setjmp.S: New file.
3995 * sysdeps/s390/bsd-_setjmp.S: New file.
3996 * sysdeps/s390/bits/string.h: New file.
3997 * sysdeps/s390/bits/setjmp.h: New file.
3998 * sysdeps/s390/bits/huge_val.h: New file.
3999 * sysdeps/s390/bits/endian.h: New file.
4000 * sysdeps/s390/bits/byteswap.h: New file.
4001 * sysdeps/s390/bcopy.S: New file.
4002 * sysdeps/s390/backtrace.c: New file.
4003 * sysdeps/s390/atomicity.h: New file.
4004 * sysdeps/s390/asm-syntax.h: New file.
4005 * sysdeps/s390/addmul_1.S: New file.
4006 * sysdeps/s390/add_n.S: New file.
4007 * sysdeps/s390/abort-instr.h: New file.
4008 * sysdeps/s390/__longjmp.c: New file.
4009 * sysdeps/s390/Makefile: New file.
4010 * sysdeps/s390/Implies: New file.
4011 * sysdeps/s390/Dist: New file.
4012 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4014 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4016 Remove incompatible IPv6 extension of RPC.
4017 * sunrpc/Makefile: Undo changes.
4018 * sunrpc/rpc_main.c: Likewise.
4019 * sunrpc/rpc/clnt.h: Likewise.
4020 * sunrpc/rpc/svc.h: Likewise.
4021 * sunrpc/bindrsvprt6.c: Removed.
4022 * sunrpc/clnt_tcp6.c: Removed.
4023 * sunrpc/clnt_udp6.c: Removed.
4024 * sunrpc/svc_tcp6.c: Removed.
4025 * sunrpc/svc_udp6.c: Removed.
4027 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4028 dgettext, and dcgettetxt.
4030 * intl/locale.alias: Update japanese aliases.
4032 * sysdeps/ia64/bits/byteswap.h: New file.
4033 Patch by Dan Pop <Dan.Pop@cern.ch>.
4035 * misc/sys/cdefs.h: Define __attribute_format_arg__.
4036 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4038 2000-07-13 H.J. Lu <hjl@gnu.org>
4040 * posix/regex.c (re_max_failures): Set to 4000.
4042 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4044 * gnulib/Makefile (tests): Add tst-gcc.
4045 * gnulib/tst-gcc.c: New file.
4047 * assert/Makefile (routines): Add __assert.
4048 * assert/Versions: Export __assert for glibc 2.2.
4049 * assert/__assert.c: New file.
4050 * assert/assert.h: Declare __assert.
4052 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4054 * locale/localeinfo.h (_ISCTYPE): New macro.
4055 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4056 LC_CTYPE locale format.
4057 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4058 (ctype_output): Output class_b[nr] right before class_3level[nr].
4059 (allocate_arrays): Fill class_b, similarly to class_3level.
4061 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4062 Joseph S. Myers <jsm28@cam.ac.uk>
4064 * math/tgmath.h: Make standard compliant. Don't ask how.
4066 2000-07-04 H.J. Lu <hjl@gnu.org>
4068 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4069 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4070 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4072 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4074 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4075 (__USE_LARGEFILE): Add an explanation.
4076 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4077 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4079 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4081 * libio/Makefile: Enable exception handling for genops, wgenops,
4082 fileops, and wfileops.
4084 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4086 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4087 acount that elf/rtld's main program might remove some varibales
4088 from the environment if we're trying to be secure. Move the Hurd
4089 startup data if necessary, or, if we there is no startup data,
4090 make sure the magical convention that ARGV[0] is stored just after
4091 the environment list.
4093 2000-08-01 Philip Blundell <philb@gnu.org>
4095 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4096 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4097 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4098 oldsetrlimit for GLIBC_2.0.
4100 2000-08-01 Andreas Jaeger <aj@suse.de>
4102 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4103 (LINE_PARSER): Allow any number of spaces between ip address and
4104 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4106 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4108 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4111 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4112 _nss_nisplus_getipnodebyname_r.
4114 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4115 now, getipnodebyname is deprecated.
4116 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4119 * inet/Makefile (routines): Don't build getipnodebyaddr and
4122 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4124 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4126 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4128 * wctype/Makefile (distribute): Add wchar-lookup.h.
4130 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4132 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4134 2000-08-01 Andreas Schwab <schwab@suse.de>
4136 * Make-dist (dist): Resolve `..' in file names.
4138 2000-08-01 Andreas Jaeger <aj@suse.de>
4140 * stdio-common/Makefile (distribute): Remove removed files, add
4143 * Makefile (distribute): Remove include/db_185.h and db.h.
4145 * include/db_185.h: Remove, it's not needed anymore.
4146 * include/db.h: Likewise.
4148 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4150 * inet/Makefile (tests): Remove tst-ipnode.
4151 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4154 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4156 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4157 endp statements have already been added.
4159 2000-04-18 David Mosberger <davidm@hpl.hp.com>
4161 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4162 <sysdeps/ia64/sysdep.h>.
4164 * sysdeps/ia64/_mcount.S: New file.
4166 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4167 __gmon_start__. Fix up extraneous whitespace.
4169 2000-01-12 H.J. Lu <hjl@gnu.org>
4171 * sysdeps/ia64/elf/initfini.c: New file.
4173 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4175 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
4176 dependency between branch and ar.pfs write.
4178 2000-07-31 H.J. Lu <hjl@gnu.org>
4180 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4181 handle the wchar_t array.
4183 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4185 * iconvdata/gb18030.c: Don't map to and from positions in ISO
4186 10646 which are not yet assigned.
4187 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
4189 2000-07-31 Andreas Jaeger <aj@suse.de>
4191 * inet/Versions: Remove getipnodebyaddr and friends from
4194 * resolv/netdb.h: Remove getipnodebyaddr and friends.
4196 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4198 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
4199 ch >= 0x81 && ch2 < 0x40 as invalid.
4201 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4203 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
4204 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
4206 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4208 * iconvdata/johab.c (BODY for TO_LOOP): After calling
4209 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
4211 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4213 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
4215 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
4217 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4219 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
4221 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4223 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
4224 (from_ucs4): Change values of U+00A4 and U+00ED.
4225 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
4227 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4229 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
4230 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
4232 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4234 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4235 * iconvdata/isiri-3342.h: New file.
4236 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4237 treat 0x80 as a gap.
4239 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4241 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4242 (utf8_encode): Use simple shifts instead. Fix return value.
4244 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4246 * timezone/private.h: Update from tzcode2000e.
4247 * timezone/asia: Update from tzdata2000e.
4248 * timezone/australasia: Likewise.
4249 * timezone/europe: Likewise.
4250 * timezone/northamerica: Likewise.
4251 * timezone/zone-tab: Likewise.
4253 2000-07-30 Ralf Baechle <ralf@gnu.org>
4255 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4256 the order of struct sigaltstack members is different.
4258 2000-07-26 Philip Blundell <philb@gnu.org>
4260 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4262 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4264 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4265 * locale/programs/ld-ctype.c: Adjust for this.
4267 * locale/programs/ld-collate.c: Add more alignment checks.
4268 * locale/string/strcoll.c: Likewise.
4270 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4272 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4273 outside USE_IN_LIBIO block.
4275 2000-07-26 Philip Blundell <philb@gnu.org>
4277 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4278 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4280 2000-07-28 Philip Blundell <philb@gnu.org>
4282 * math/test-fpucw.c: Ignore reserved bits in control word.
4284 2000-07-28 Philip Blundell <philb@gnu.org>
4286 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4287 (ret): Redefine to PSEUDO_RET.
4288 (PSEUDO): Remove jump to syscall_error.
4290 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4292 * resolv/README: Add some information about using the resolver in
4293 multi-threaded code and with C++. Spelling fixes.
4295 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4297 * resolv/resolv.h (struct __sockaddr_in): Remove.
4298 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4300 2000-07-29 Greg McGary <greg@mcgary.org>
4302 * Rules (test-bp-inputs, make-test-out): New variables.
4303 ($(objpfx)%-bp.out): New rule.
4304 ($(objpfx)%.out): Rewrite in terms of new variables.
4306 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4307 internal function that uses vtable.
4308 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4309 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4311 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4312 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4313 (chunk_align): Likewise.
4315 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4316 in a way that conforms to decl, and avoids spurious bounds violation.
4318 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4319 * sysdeps/generic/frame.h: Likewise.
4320 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4321 around return value.
4322 (__backtrace): Qualify frame-pointer chain and return address
4323 pointers as __unbounded. Wrap bounds around variable `current'.
4324 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4325 around return value.
4326 (catch_segfault): Qualify frame-pointer chain and return address
4327 pointers as __unbounded. Wrap bounds around variable `current'.
4328 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4329 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4330 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4332 (__backtrace): Qualify frame-pointer chain and return address
4333 pointers as __unbounded. Wrap bounds around variable `current'.
4335 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4336 * sysdeps/i386/mul_1.S: Likewise.
4337 * sysdeps/i386/submul_1.S: Likewise.
4338 * sysdeps/i386/i586/addmul_1.S: Likewise.
4339 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4340 * sysdeps/i386/i586/submul_1.S: Likewise.
4342 2000-07-27 Andreas Jaeger <aj@suse.de>
4344 * libio/Depend: New file, libio needs localedata for tests.
4345 * posix/Depend: Likewise.
4347 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4349 * stdio-common/_i18n_itoa.c: Removed.
4350 * stdio-common/_i18n_itoa.h: Removed.
4351 * stdio-common/_i18n_itowa.c: Removed.
4352 * stdio-common/_i18n_itowa.h: Removed.
4353 * stdio-common/_i18n_number.h: New file.
4354 * stdio-common/Depend: New file.
4355 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4356 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4357 printing. Change printing of numbers with locale specific digits to
4358 use new code in _i18n_number.h.
4359 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4362 * stdio-common/bug13.c: Improve messages.
4364 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4365 (set_class_defaults): Always search also for Uxxxx names.
4366 Detect insufficient number of outdigits.
4368 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4370 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4372 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4373 _NL_CTYPE_MAP_NAMES.
4374 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4375 * wctype/wcfuncs.c (towlower, towupper): Use them.
4376 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4377 * wctype/wctrans.c (wctrans): Likewise.
4378 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4380 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4382 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4383 Use the optimized version of this function outside glibc as well.
4385 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4387 * locale/indigits.h (indigit_value): Correct.
4388 * locale/indigitswc.h (indigitwc_value): Correct.
4389 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4390 conversion, add GROUP checking for it, fix GROUP number
4391 conversion with strlen(thousands) > 1.
4392 Honour width correctly in the presence of floating
4393 decimal points and thousands separators.
4394 * stdio-common/tst-sscanf.c: New test.
4395 * stdio-common/Makefile: Add it to tests.
4396 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4397 thousands separators and group argument is non-zero.
4399 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4401 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4402 starts at GLIBC_2.2.
4404 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4406 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4407 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4409 (headers): Add sys/tas.h.
4410 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4411 GLIBC_2.2 from libc.
4412 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4413 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4416 2000-07-28 Andreas Jaeger <aj@suse.de>
4418 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4420 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4421 ($(objpfx)tst-dladdr.out): new.
4422 (tests): Add tst-dladdr.
4423 ($(objpfx)glrefmain): Use libdl.
4425 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4428 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4430 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4431 ftruncate(64) calls.
4433 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4435 * intl/tst-translit.c: Include string.h to get prototype for
4438 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4440 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4441 name and add weak alias for __fork.
4443 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4444 & pwrite to use __libc_<name> as strong names instead of
4447 * include/sched.h: Add clone2 prototype.
4449 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4451 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4452 procedure name twice.
4454 2000-07-27 Philip Blundell <philb@gnu.org>
4456 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4458 2000-07-27 Andreas Jaeger <aj@suse.de>
4460 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4461 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4462 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4463 Reported by Andi Kleen <ak@suse.de>.
4465 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4466 (do_wait): Test requests with aio_return64.
4467 (do_test): Change callers of do_wait.
4469 2000-07-26 Andreas Jaeger <aj@suse.de>
4471 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4472 (do_wait): Test requests with aio_return.
4473 (do_test): Change callers of do_wait.
4475 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4477 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4478 from request list. Don't do the list handling here, call
4479 __aio_remove_request.
4480 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4481 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4482 request might already be processed. Don't do the list handling
4483 here, call __aio_remove_request.
4485 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4488 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4491 2000-07-27 Greg McGary <greg@mcgary.org>
4493 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4494 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4495 in union init. Pass zero for ignored semnum arg to semctl.
4496 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4498 2000-07-26 Greg McGary <greg@mcgary.org>
4500 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4501 data structure pointers as __unbounded.
4502 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4503 * sysdeps/generic/bp-semctl.h: New file.
4504 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4505 pointers as __unbounded. Check bounds of syscall args.
4506 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4507 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4508 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4509 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4510 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4511 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4512 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4513 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4514 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4515 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4516 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4517 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4518 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4523 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4525 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4527 * locale/C-ctype.c: Likewise.
4528 * wcsmbs/wcsmbsload.c: Likewise.
4530 2000-07-26 Greg McGary <greg@mcgary.org>
4532 * Makeconfig (+link-bounded, link-libc-bounded,
4533 link-extra-libs-bounded): New variables.
4534 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4535 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4536 * Rules (tests-bp.out): New variable.
4537 (tests): Conditionally add BP tests.
4538 (binaries-bounded): Add variable and associated rule.
4539 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4540 Move conditional stuff after place where condition is defined.
4542 * malloc/malloc.c (bp-checks.h): Add #include.
4543 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4544 (_bin_at): Add unbounded version of bin_at.
4545 (IAV, chunk_alloc): Use unbounded _bin_at.
4546 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4547 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4548 Wrap BOUNDED_N around return value.
4549 (chunk_realloc): Adjust oldsize once.
4551 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4552 (__ubp_memchr): Add correct decl.
4553 (_CHECK_STRING): Use __ubp_memchr.
4554 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4555 New alias for unbounded-pointer __memchr.
4556 * sysdeps/i386/memchr.S: Likewise.
4557 * sysdeps/ia64/memchr.S: Likewise.
4558 * sysdeps/m68k/memchr.S: Likewise.
4559 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4560 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4561 * sysdeps/vax/memchr.s: Likewise.
4563 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4564 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4565 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4566 * sysdeps/i386/i686/strtok.S: Likewise.
4567 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4568 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4570 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4571 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4573 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4574 bounds of copy_result to mount_proc.
4576 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4578 * wctype/wctype.h (__wctrans_l): New declaration.
4579 * wctype/wctrans_l.c: New file.
4580 * wctype/Makefile (routines): Add wctrans_l.
4582 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4584 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4585 Patch by MacGyver <macgyver@tos.net>.
4587 2000-07-26 Andreas Jaeger <aj@suse.de>
4589 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4590 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4591 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4593 * rt/tst-aio.c (test_file): Fix typo.
4594 * rt/tst-aio64.c (test_file): Likewise.
4596 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4597 * rt/Makefile: Add rules to build and run tst-aio3.
4599 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4600 it's not needed and confuses only.
4602 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4604 * resolv/res_init.c: Add support for nameserver communication with
4606 * resolv/res_send.c: Likewise.
4607 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4609 Patch by <venaas@nvg.ntnu.no>.
4611 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4613 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4614 (wcwidth_table_get): New function.
4615 (wcwidth_table_add): Call it.
4616 (wctrans_table_get): New function.
4617 (wctrans_table_add): Call it.
4619 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4621 * rt/lio_listio.c (lio_listio): Always disable individual
4623 * rt/Makefile: Add rules to build and run tst-aio2.
4624 * rt/tst-aio2.c: New file.
4626 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4627 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4629 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4631 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4632 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4633 leading and trailing spaces from host, user and domain name.
4635 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4637 * csu/defs.awk: Add support for need_endp.
4639 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4641 * resolv/resolv.h: Remove __P from res_send_qhook and
4642 res_send_rhook typedefs.
4644 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4646 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4648 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4650 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4652 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4654 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4655 calling thread, set the cancellation flag and return success
4658 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4660 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4661 * libio/tst-widetext.c: New file.
4662 * libio/tst-widetext.input: New file.
4664 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4666 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4667 empty external buffer correctly.
4669 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4671 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4672 __STRING(entry) and not #entry.
4673 (_RTLD_EPILOGUE): Likewise.
4674 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4676 2000-07-25 Andreas Jaeger <aj@suse.de>
4678 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4679 according to changes in test program, run also with static only
4681 ($(objpfx)tst-printf.out): Likewise.
4683 * stdio-common/tst-unbputc.sh: Likewise.
4684 * stdio-common/tst-printf.sh: Likewise.
4686 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4688 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4690 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4693 * libio/fileops.c: Pretty print.
4695 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4697 * wctype/wchar-lookup.h: New file.
4698 * wctype/iswctype.c: Include "wchar-lookup.h".
4699 (__iswctype): Support alternate locale format with 3-level tables.
4700 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4701 * wctype/towctrans.c (__towctrans): Likewise.
4702 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4703 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4704 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4705 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4706 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4707 __iswxdigit, towlower, towupper): Support alternate locale format
4708 with 3-level tables.
4709 * wctype/wcextra.c (iswblank): Likewise.
4710 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4711 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4712 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4713 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4714 format with 3-level tables.
4715 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4716 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4717 format, return a 3-level table pointer.
4718 * wctype/wctype_l.c (__wctype_l): Likewise.
4719 * wctype/wctrans.c (wctrans): Likewise.
4720 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4721 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4722 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4723 (iswctype): Remove macro definition.
4724 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4725 (internal_wcwidth): Support alternate locale format with 3-level
4727 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4729 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4730 Define them as being type "word".
4731 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4732 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4733 __ctype32_width): New exported variables.
4734 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4735 alternate locale format. Don't initialize __ctype_names and
4736 __ctype_width in the alternate locale format.
4737 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4738 * locale/programs/localedef.c (oldstyle_tables): New variable.
4739 (OPT_OLDSTYLE): New macro.
4740 (options): Add --old-style option.
4741 (parse_opt): Handle --old-style option.
4742 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4743 map_offset, class_3level, map_3level, width_3level members.
4744 (ctype_output): Support for alternate locale format: Computation of
4745 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4746 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4747 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4748 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4749 now contain both class and map tables.
4750 (struct wctype_table): New type.
4751 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4753 (struct wcwidth_table): New type.
4754 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4756 (struct wctrans_table): New type.
4757 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4759 (allocate_arrays): Support for alternate locale format: Set
4760 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4761 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4762 to the first 256 characters. Compute ctype->map_3level. Set
4763 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4764 instead of ctype->width.
4766 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4768 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4771 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4773 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4774 in wide characters, not bytes.
4775 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4778 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4780 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4781 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4782 LC_MEASUREMENT, LC_IDENTIFICATION.
4784 * locale/xlocale.h (struct __locale_struct): Increase size of
4786 * locale/duplocale.c (__duplocale): Copy newly added categories as
4788 * locale/freelocale.c (__freelocale): Free newly added categories.
4789 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4790 If a base is given, use it, don't simply return it.
4792 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4794 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4795 variables, copied_key and copied_salt, instead of boolean variables.
4797 2000-07-24 Andreas Jaeger <aj@suse.de>
4799 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4802 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4803 initgroups_function, adopted prototype for change from 2000-07-23.
4804 (initgroups): Follow type change.
4806 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4807 & PAGE_MASK case, reformat.
4809 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4810 from stdin and setup environment.
4812 2000-07-24 Andreas Schwab <schwab@suse.de>
4814 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4816 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4818 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4819 more. Patch by scarlet@mit.edu [PR libc/1799].
4821 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4824 * argp/argp-parse.c (parser_finalize): Reverse order in which
4825 parsers are run for ARGP_KEY_END. [PR libc/1755].
4827 * grp/initgroups.c (initgroups): Don't limit the possible number
4828 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4829 the setgroups call while the call fails and descrease the number
4830 of groups each round.
4831 The name of the initgroups function in the NSS modules changed.
4832 (compat_call): Adapt for dynamic resizing.
4833 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4834 Implement dynamic resizing.
4835 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4837 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4838 * hesiod/Versions: Change exported interface name.
4839 * nis/Versions: Change exported interface name.
4841 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4843 * locale/iso-639.def: Some errors corrected.
4844 Patch by Keld Simonsen.
4846 * include/limits.h: Update non-gcc portion.
4847 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4849 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4851 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4852 program's data space, reallocate only the space that was just
4853 deallocated to release its backing space.
4855 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4857 * stdio-common/vfprintf.c (process_string_arg): For wide character
4858 version, handle precision also correctly.
4860 * nss/nss_files/files-hosts.c: Correct problem with three or more
4861 entries with the same name.
4863 * nss/nss_files/files-hosts.c: Implement multi handling.
4864 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4866 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4868 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4871 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4872 * malloc/Makefile: Likewise.
4873 * malloc/tst-mtrace.sh: Likewise.
4874 * posix/Makefile: Likewise.
4875 * posix/globtest.sh: Likewise.
4876 * posix/wordexp-tst.sh: Likewise.
4877 * string/Makefile: Likewise.
4879 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4881 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4882 size instead of LC_ALL to take into account the new locale
4885 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4887 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4888 remainders of hash table.
4889 * locale/categories.def: Remove remainders of transliteration
4891 * locale/langinfo.h: Likewise.
4892 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4893 transliteration tables.
4895 * locale/gen-translit.pl: New file.
4896 * locale/C-translit.h.in: New file.
4897 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4898 data pointers with data from this file.
4899 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4900 and gen-translit.pl.
4901 Add rule to generate C-translit.h.
4902 * intl/tst-translit.c (main): Update for now performed
4905 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4906 (it's no input error).
4907 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4908 * stdio-common/scanf12.c: Correct expected result for first scanf.
4910 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4911 of multibyte character strings in %s format with precision.
4913 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4915 * locale/programs/ld-collate.c (collate_read): Allow collating
4916 symbols and elements be named in reorder-after instructions.
4917 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4919 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4920 duplication with generated name, not the name of the first
4922 Patch by Yong Li <yong.li@asu.edu>.
4924 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4925 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4927 2000-07-21 Wolfram Gloger <wg@malloc.de>
4929 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4930 allocations only if a non-main arena cannot be extended.
4932 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4934 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4935 in DF_1_NODEFLIB handling.
4937 2000-07-21 Andreas Jaeger <aj@suse.de>
4939 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4942 * libio/fwide.c: Include <wchar.h> for prototype.
4944 2000-07-21 Greg McGary <greg@mcgary.org>
4946 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4947 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4948 Define in terms of chunk_at_offset.
4949 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4950 (next_bin, prev_bin): offset by size of real array elements.
4951 (chunk_align): Make `m' a scalar, since that's how it's used.
4953 2000-07-21 Greg McGary <greg@mcgary.org>
4955 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4957 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4958 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4959 Wrap bounds around argv & envp and each of their string members.
4960 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4961 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4962 symbol in BP_SYM (). Discard bounds of address arg.
4963 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4964 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4965 Discard bounds on address arg, add bounds to return value.
4967 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4969 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4970 * elf/filter.c: New file.
4971 * elf/filtmod1.c: New file.
4972 * elf/filtmod2.c: New file.
4974 * elf/rtld.c: Define _dl_bind_not variable.
4975 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4976 * elf/dl-support.c: Likewise.
4977 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4978 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4980 (profile_fixup): Likewise.
4982 * libio/Makefile (routines): Add fwide.
4983 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4984 fwide now. Internal calls to _IO_fwide must do locking themselves
4985 or don't need locking.
4986 * libio/fwide.c: New file.
4988 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4990 * elf/Makefile: Add no modules for nodelete test.
4991 * elf/nodelmod3.c: New file.
4992 * elf/nodelmod4.c: New file.
4993 * elf/nodelete.c: Also test case where dependency of dlopen() object
4996 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4997 * elf/nodlopen.c: New file.
4998 * elf/nodlopenmod.c: New file.
4999 * include/dlfcn.h: Define __RTLD_DLOPEN.
5000 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
5001 and this is a dlopen() call, do not load the binary.
5002 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
5003 * dlfcn/dlopenold.c: Likewise.
5004 * configure.in: Add test for -z nodelete option.
5005 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5007 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5009 Make Hesiod NSS module thread-safe.
5011 * hesiod/README.hesiod: Update.
5013 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
5014 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
5015 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
5016 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
5018 * hesiod/nss_hesiod/hesiod-init.c: New file.
5019 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
5020 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
5021 * hesiod/nss_hesiod/nss_hesiod.h: New file.
5022 * hesiod/nss_hesiod/hesiod-service.c
5023 (_nss_hesiod_getservbyport_r): New function. Provide support for
5024 looking up services by port number.
5025 * hesiod/nss_hesiod/hesiod-proto.c: New file.
5027 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5028 * hesiod/hesiod.h: Likewise.
5029 * hesiod/hesiod_p.h: Likewise.
5031 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5033 Fix problems with `struct __res_state' getting too big.
5034 * resolv/resolv.h (struct __sockaddr_in): New definition.
5035 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5036 the private parts of the structure to save some space.
5037 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5038 (struct sockaddr_in *) in call to sock_eq.
5039 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5041 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5043 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5044 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5046 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5047 to _dl_map_object. Return immediately if no object loaded.
5048 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5049 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5050 if it exists into l_flags_1 word.
5051 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5052 it to determine whether loading is wanted or not.
5053 (_dl_map_object): Likewise.
5054 Call _dl_map_object_from_fd with new parameter.
5055 * sysdeps/generic/ldsodefs.h: Update prototype.
5056 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5057 * elf/rtld.c: Likewise.
5058 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5059 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5060 * elf/noload.c: New file.
5061 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5062 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5063 * sysdeps/mips/bits/dlfcn.h: Likewise.
5064 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5065 (tests-nodelete-yes): Define.
5066 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5067 Add rules to build nodelete and modules.
5068 * elf/nodelete.c: New file.
5069 * elf/nodelmod1.c: New file.
5070 * elf/nodelmod2.c: New file.
5071 * configure.in: Add test for -z nodelete option.
5072 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5074 * libio/Makefile (tests): Add tst_wprintf2.
5075 (tst_wprintf2-ARGS): Define.
5076 * libio/tst_wprintf2.c: New file.
5077 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5079 * libio/wfiledoalloc.c: Only allocate external buffer if this
5080 hasn't happened yet.
5082 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5083 something in the buffer. gconv call can write up to end of the
5084 buffer, not only _IO_write_end.
5085 (_IO_wfile_overflow): Allocate also external buffer.
5087 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5089 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5090 strings with precision in vfwprintf correctly.
5091 * stdio-common/vfprintf.c: Fix completely broken handling of
5092 unbuffered wide character streams.
5093 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5095 * resolv/Makefile (distribute): Add README.
5097 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5099 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5101 Update resolver code to BIND 8.2.3-T5B.
5103 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5105 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5106 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5108 * resolv/Banner: BIND-8.2.3-T5B.
5110 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5111 * resolv/herror.c: Likewise.
5112 * resolv/inet_addr.c: Likewise.
5113 * resolv/inet_net_ntop.c: Likewise.
5114 * resolv/inet_net_pton.c: Likewise.
5115 * resolv/inet_neta.c: Likewise.
5116 * resolv/inet_ntop.c: Likewise.
5117 * resolv/nsap_addr.c: Likewise.
5118 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5119 IPv6 addresses (ISC bug #520).
5121 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5122 * resolv/ns_parse.c: Likewise.
5123 * resolv/ns_netint.c: Likewise.
5124 * resolv/ns_samedomain.c: Likewise.
5125 * resolv/ns_ttl.c: Likewise.
5126 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5127 RCS ID in object file.
5129 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5130 * resolv/res_mkquery.c: Likewise.
5131 * resolv/res_query.c: Likewise.
5132 * resolv/res_init.c: Likewise.
5133 (res_setoptions): Mark internal.
5134 * resolv/res_send.c: Likewise.
5135 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5136 by using poll instead.
5137 * resolv/res_comp.c: Likewise.
5138 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5139 weak alias for __dn_expand.
5140 * resolv/res_data.c: Likewise.
5141 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5142 in _res.options. Avoids a potential security risk by avoiding a
5144 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5145 res_mkquery, res_query, res_querydomain adn res_search weak
5146 aliases for __res_mkquery, __res_query, __res_querydomain and
5148 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
5149 instead to avoid close(0).
5150 (res_init): Always use the static resolver context.
5151 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5152 alias for __res_init.
5154 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
5155 RES_SET_H_ERRNO and accompanying comment to...
5156 * include/resolv.h: ... here.
5158 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5159 * resolv/arpa/nameser_compat.h: Likewise.
5161 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5163 * nss/makedb.c (main): Compare result of load_db with
5164 NSS_STATUS_SUCCESS and not 0.
5165 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5167 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5169 2000-07-18 Greg McGary <greg@mcgary.org>
5171 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
5172 (EXTEND_BUFFER): Use it.
5174 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5176 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
5177 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
5178 __builtin_return_address.
5179 * dlfcn/dlopenold.c: Likewise.
5180 * dlfcn/dlsym.c: Likewise.
5181 * dlfcn/dlvsym.c: Likewise.
5182 * elf/dl-profstub.c: Likewise.
5183 * malloc/malloc.c: Likewise.
5184 * sysdeps/generic/machine-gmon.h: Likewise.
5185 Based on a patch by schwidefsky@de.ibm.com.
5187 2000-07-18 Andreas Jaeger <aj@suse.de>
5189 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
5190 NULL to elf_machine_fixup_plt t argument to silence GCC.
5192 * include/string.h: Add prototype for __memchr.
5194 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
5196 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
5199 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5201 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
5203 * locale/C-ctype.c: Add initializers for gap elements.
5204 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
5207 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5209 * nscd/nscd.c (print_version): Update copyright year.
5211 2000-07-17 Greg McGary <greg@mcgary.org>
5213 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5214 keyletters F, I, S, W. Remove unused keyletter V. Surround
5215 signature argnames with angle-brackets for use as word delimiters,
5216 and to induce syntax errors for any args not handled. Split
5217 multi-echo echoes and comment each stage.
5218 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
5219 * sysdeps/unix/inet/syscalls.list: Likewise.
5220 * sysdeps/unix/mman/syscalls.list: Likewise.
5221 * sysdeps/unix/syscalls.list: Likewise.
5222 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5223 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5224 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5225 * sysdeps/unix/sysv/syscalls.list: Likewise.
5226 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
5228 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
5229 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
5230 qualifiers. Don't check NULL-terminator of argv & envp.
5231 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
5232 unbounded pointer type in word-size assertion.
5233 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5234 cases to stifle warnings.
5236 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5238 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5240 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5241 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5244 * Makerules (o-objects): Supplement with $(o-objects$o).
5245 * string/Makefile (o-objects.ob): Add variable to pull
5246 unbounded versions of memcpy, memset and memchr into libc_b.
5248 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5249 rather than non-existent __ubp_memchr.
5250 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5251 (_CHECK_STRING, _CHECK_N): New macros.
5252 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5253 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5254 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5255 Add weak alias "memchr".
5256 * sysdeps/generic/memchr.c: Likewise.
5257 * sysdeps/i386/memchr.S: Likewise.
5258 * sysdeps/ia64/memchr.S: Likewise.
5259 * sysdeps/m68k/memchr.S: Likewise.
5260 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5261 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5262 * sysdeps/vax/memchr.s: Likewise.
5264 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5266 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5267 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5268 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5269 __BOUNDED_POINTERS__.
5270 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5271 for __BOUNDED_POINTERS__.
5273 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5275 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5276 field of struct __gconv_trans_data differently. Don't pass NULL to
5277 trans_init_fct. Simplify list append operation.
5279 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5281 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5282 not only those having tsearch.
5284 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5286 * locale/langinfo.h: Add placeholder values in enum for removed
5289 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5291 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5292 chain if the PHDR check fails.
5294 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5296 * nss/getent.c (print_hosts): Make sure we always print a space
5297 between numeric addresses and hostnames.
5299 2000-07-17 Wolfram Gloger <wg@malloc.de>
5301 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5302 i.e. if n_mmaps_max>0.
5304 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5306 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5307 values to remove possible clash with other AI_* constants.
5308 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5309 hexadecimal constants to stress the fact they're in fact
5312 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5314 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5315 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5316 instead of res_init.
5318 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5320 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5321 parameters of memset calls to avoid warnings.
5323 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5325 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5328 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5329 Patch by Greg McGary <greg@mcgary.org>.
5331 * io/Makefile (tests): Add tst-getcwd.
5332 * io/tst-getcwd.c: New file.
5334 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5336 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5338 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5341 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5343 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5344 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5346 2000-07-12 H.J. Lu <hjl@gnu.org>
5348 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5350 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5351 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5352 (sysdep-routines): Add clone2.
5353 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5355 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5357 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5358 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5360 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5362 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5363 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5364 Change type of si_band from "int" to "long".
5365 (si_imm) [USE_GNU]: Define
5366 (si_isr) [USE_GNU]: Likewise.
5367 (ILL_BREAK) [USE_GNU]: Likewise.
5368 (FPE_DECOVF) [USE_GNU]: Likewise.
5369 (FPE_DECDIV) [USE_GNU]: Likewise.
5370 (FPE_DECERR) [USE_GNU]: Likewise.
5371 (FPE_INVASC) [USE_GNU]: Likewise.
5372 (FPE_INVDEC) [USE_GNU]: Likewise.
5373 (TRAP_BRANCH) [USE_GNU]: Likewise.
5374 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5376 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5378 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5379 bits/sigcontext as struct mcontext does not depend on it.
5381 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5383 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5385 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5387 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5389 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5391 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5393 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5395 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5397 * intl/Makefile (test-srcs): Add tst-translit.
5399 Add rules to build and run tst-translit.
5400 * intl/tst-translit.c: New file.
5401 * intl/tst-translit.sh: New file.
5402 * intl/translit.po: New file.
5404 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5406 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5407 transliteration function did its job, continue, don't stop.
5409 * iconvdata/iso646.c: Little optimizations in body for conversion
5412 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5414 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5416 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5418 * configure.in: Check for pwd binary.
5419 * config.make.in: Add PWD_P to be subsituted.
5420 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5422 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5424 * iconvdata/Makefile (modules): Add GB18030.
5425 (distribute): Add gb18030.c.
5426 * iconvdata/gconv-modules: Add entries for GB18030 module.
5427 * iconvdata/gb18030.c: New file.
5428 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5431 2000-07-13 Andreas Jaeger <aj@suse.de>
5433 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5436 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5437 * inet/getnetgrent.c (free_mem): Likewise.
5438 * misc/mntent.c (free_mem): Likewise.
5439 * nss/getXXbyYY.c (free_mem): Likewise.
5440 * nss/getXXent.c (free_mem): Likewise.
5441 * pwd/fgetpwent.c (free_mem): Likewise.
5442 * shadow/fgetspent.c (free_mem): Likewise.
5444 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5446 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5447 64-bit architecture correctly [PR libc/1794].
5449 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5451 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5452 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5453 report that we are out of memory.
5454 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5455 * elf/dl-libc.c (dlerror_run): Likewise.
5456 * elf/dl-open.c (_dl_open): Likewise.
5457 * elf/rtld.c (dl_main): Likewise.
5458 * elf/dl-error.c: Define _dl_out_of_memory.
5459 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5461 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5464 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5466 * iconv/loop.c: Fix comment.
5468 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5470 2000-07-13 Andreas Jaeger <aj@suse.de>
5472 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5473 getcwd (NULL, size) with size > 0.
5474 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5476 2000-07-13 Andreas Jaeger <aj@suse.de>
5478 * posix/Makefile: Remove build rules for libposix.
5480 2000-07-13 Andreas Schwab <schwab@suse.de>
5482 * sysdeps/generic/glob.c (glob): Fix memory leak.
5483 [SHELL]: Remove reference to undefined variable `files'.
5486 2000-07-13 Andreas Jaeger <aj@suse.de>
5488 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5491 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5492 memory if it was allocated.
5494 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5496 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5499 * iconv/gconv_open.c (__gconv_open): Reapply
5500 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5502 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5504 * iconv/gconv_open.c: Undo last two changes for now. They break
5507 2000-07-12 Andreas Jaeger <aj@suse.de>
5509 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5511 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5512 (CFLAGS-dl-cache.c): Likewise.
5513 (CFLAGS-ldconfig.c): Added, passes directory locations.
5515 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5517 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5518 (main): Use configured LIBDIR and SLIBDIR.
5520 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5522 * math/bits/cmathcalls.h (cimag): Add __THROW.
5523 (creal, conj): Likewise.
5524 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5527 2000-07-12 H.J. Lu <hjl@gnu.org>
5529 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5530 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5532 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5534 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5537 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5539 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5541 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5543 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5546 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5548 * iconv/gconv_open.c (__gconv_open): Initialize
5549 result->__steps[cnt].__data.
5551 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5553 * nss/getent.c (services_keys): Pass port number in network byte
5554 order in call to getservbyport.
5556 2000-07-11 Andreas Jaeger <aj@suse.de>
5558 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5560 * intl/Makefile (do-gettext-test): Likewise.
5561 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5563 2000-07-11 Andreas Schwab <schwab@suse.de>
5565 * Makeconfig (run-program-prefix): New rule.
5566 (built-program-cmd): Use run-program-prefix.
5568 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5570 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5571 and NOEXPR unconditionally available.
5573 2000-07-12 Greg McGary <greg@mcgary.org>
5575 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5576 * sysdeps/posix/open64.c: Likewise.
5577 * sysdeps/generic/fegetenv.c: Likewise.
5578 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5579 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5580 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5581 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5582 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5583 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5585 2000-07-11 Greg McGary <greg@mcgary.org>
5587 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5588 Add extra level of macro expansion.
5589 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5590 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5591 is available at the time `select' prototype is declared.
5592 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5593 Collect non-versioned weak aliases. Consider only non-versioned
5594 aliases for the user-visible systemcall name. Do checks inline with
5595 call to primitive system call.
5596 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5597 stand-alone bounds checks to suppress unused value warnings.
5598 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5600 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5602 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5603 file descriptor checking in SUID programs for the Hurd.
5605 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5606 res_hostalias instead of __hostalias for thread-safety.
5608 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5610 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5611 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5613 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5615 * include/features.h: Include ISO C99 features if the compiler used
5616 is an ISO C99 compiler.
5617 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5619 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5621 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5623 2000-07-10 Andreas Jaeger <aj@suse.de>
5625 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5626 it's overridden by libpthreads.
5627 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5628 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5629 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5630 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5633 * malloc/Makefile: Run tst-mtrace only with shared libs.
5635 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5638 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5640 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5641 that gpreg really points to the GOT section of the calling object.
5642 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5643 checking a start address of first one.
5645 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5648 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5650 2000-07-10 Andreas Jaeger <aj@suse.de>
5652 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5653 (string_alias->strong_alias).
5655 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5657 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5659 2000-07-07 Greg McGary <greg@mcgary.org>
5661 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5662 have no names without leading underscores.
5664 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5666 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5669 * stdio-common/Makefile (tests): Remove tst-printf here...
5670 (tests-srcs): ...and add it here.
5671 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5672 Add rules to run tst-printf.sh.
5673 * stdio-common/tst-printf.c: Move code around so that there is really
5674 no further output where it's stated.
5675 * stdio-common/tst-printf.sh: New file.
5677 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5679 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5680 (do_write): Renamed from pwrite.
5681 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5682 `struct _IO_cookie_file'.
5684 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5686 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5688 * malloc/tst-mtrace.sh: Run mtrace script.
5690 2000-07-07 Greg McGary <greg@mcgary.org>
5692 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5693 Move all three components of a bounded pointer.
5695 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5697 * locale/programs/locale.c (write_locales): Don't simply add all
5698 directories found in the subdir, test whether at least the
5699 LC_CTYPE file is in there.
5701 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5703 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5704 * iconvdata/euc-kr.c: Likewise.
5706 * stdio-common/vfprintf.c (process_string_arg): Check result of
5707 wcrtomb call and bail out if it failed.
5709 * malloc/Makefile (test-srcs): Add tst-mtrace.
5710 (distribute): Add tst-mtrace.sh.
5711 Add rule to run tst-mtrace.sh.
5712 * malloc/tst-mtrace.c: New file.
5713 * malloc/tst-mtrace.sh: New file.
5715 * include/signal.h: Declare __libc_sigaction.
5716 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5717 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5718 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5719 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5720 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5721 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5722 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5724 * configure.in: Fix CFLAGS-memprofstat.c definition after
5726 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5728 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5730 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5731 instead of NULL to elf_machine_fixup_plt t argument.
5732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5733 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5736 2000-07-06 Andreas Jaeger <aj@suse.de>
5738 * crypt/Makefile (LDLIBS-cert): Removed.
5739 (LDLIBS-md5c-test): Removed.
5740 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5741 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5743 2000-07-06 Andreas Jaeger <aj@suse.de>
5745 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5746 of the proc system is "proc".
5748 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5749 thread library for static programs.
5751 2000-07-06 Greg McGary <greg@mcgary.org>
5753 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5755 * sysdeps/generic/strcpy.c: Add bounds checks.
5756 * sysdeps/unix/fxstat.c: Likewise.
5757 * sysdeps/unix/xstat.c: Likewise.
5758 * sysdeps/unix/common/lxstat.c: Likewise.
5759 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5760 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5761 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5762 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5763 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5764 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5765 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5766 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5767 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5768 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5769 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5770 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5771 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5772 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5773 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5774 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5775 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5776 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5777 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5778 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5779 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5780 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5781 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5782 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5783 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5784 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5785 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5786 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5787 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5788 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5789 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5790 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5791 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5792 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5793 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5794 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5795 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5796 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5797 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5798 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5799 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5800 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5801 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5802 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5803 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5804 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5805 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5806 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5807 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5808 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5809 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5810 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5811 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5812 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5813 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5814 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5815 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5816 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5817 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5824 * string/endian.h (__LONG_LONG_PAIR): New macro.
5825 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5826 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5827 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5828 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5829 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5830 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5831 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5832 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5833 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5834 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5835 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5836 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5838 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5840 2000-07-06 Andreas Jaeger <aj@suse.de>
5842 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5845 * math/test-fpucw.c: Include <stdio.h> for printf.
5847 2000-07-05 Greg McGary <greg@mcgary.org>
5849 * sysdeps/generic/bp-checks.h: New file.
5850 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5851 with list of #include files.
5852 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5853 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5854 Don't generate BP thunk if `V' appears in signature.
5855 Generate thunks with complete bounds checks.
5856 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5857 * sysdeps/unix/inet/syscalls.list: Likewise.
5858 * sysdeps/unix/mman/syscalls.list: Likewise.
5859 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5860 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5861 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5862 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5864 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5866 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5867 result. Search first in /etc/mtab (proc/mounts would be stupid).
5868 If mount not in the file fall back on /proc.
5870 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5871 string got copied in.
5872 Patch by Solar Designer <solar@false.com>.
5874 2000-07-05 Andreas Jaeger <aj@suse.de>
5876 * manual/install.texi (Installation): Update information about
5878 (Configuring and compiling): Update for glibc 2.2.
5880 2000-07-04 Andreas Jaeger <aj@suse.de>
5882 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5883 (_FPU_IEEE): Likewise.
5885 * math/Makefile (tests): Add test-fpucw.
5887 * math/test-fpucw.c (main): New file.
5889 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5891 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5893 * locale/programs/ld-collate.c (collate_output): Also write out the
5894 collation sequence values and the wide character string for the
5895 collation symbol table.
5897 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5898 * posix/fnmatch_loop.c: Implement collating symbol handling.
5899 * posix/tst-fnmatch.input: Add more tests, especially for collating
5902 * posix/regex.c: Fix comment.
5904 2000-07-05 Andreas Jaeger <aj@suse.de>
5906 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5907 (_FPU_GETCW): Remove extra colon.
5908 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5910 * posix/fnmatch_loop.c (FCT): Only declare len if
5911 !WIDE_CHAR_VERSION to silence GCC.
5913 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5915 * sysdeps/generic/strchrnul.c: Likewise.
5916 * sysdeps/generic/strlen.c: Likewise.
5917 * sysdeps/generic/strchr.c: Likewise.
5918 * sysdeps/generic/memchr.c: Likewise.
5920 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5922 * posix/fnmatch_loop.c: Implement equivalence class handling.
5923 * posix/tst-fnmatch.input: Add tests for equivalence class
5926 * posix/fnmatch_loop.c: Improve performance for single-byte
5927 character sets by not using btowc.
5929 * posix/tst-fnmatch.input: Add tests for locale dependent
5931 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5933 * posix/tst-fnmatch.input: Add more test cases.
5935 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5936 are not aligned to alignof(md5_uint32) do it before calling
5937 __md5_process_bytes.
5938 * crypt/md5.c: Make sure buffers are aligned.
5939 * crypt/md5.h: Likewise.
5940 Reported by Solar Designer <solar@false.com>.
5942 * crypt/Makefile: Add dependencies for test programs.
5944 * Rules: Define LC_ALL=C in environments of all programs we run.
5946 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5948 2000-07-03 H.J. Lu <hjl@gnu.org>
5950 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5951 is 2 + elem + offset, not 2 + elem + offset + 2.
5953 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5955 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5957 * posix/Makefile (tests): Add tst-fnmatch.
5958 (tst-fnmatch-ENV): Define.
5959 * posix/tst-fnmatch.c: New file.
5960 * posix/tst-fnmatch.sh: New file.
5962 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5964 * locale/programs/charmap.c (charmap_read): Prepend
5965 the condition filename == NULL.
5967 2000-07-03 Greg McGary <greg@mcgary.org>
5969 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5971 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5972 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5974 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5975 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5976 (FILEBUF_LITERAL): Add cast for CHAIN init.
5977 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5978 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5979 Revert type of `fp' to _IO_FILE*.
5980 (_IO_iter_file): Remove cast.
5981 (_IO_iter_next): Elide intermediate member reference.
5983 * sysdeps/powerpc/strchr.S: Check bounds.
5984 Wrap extern symbols in BP_SYM ().
5986 2000-07-03 Andreas Jaeger <aj@suse.de>
5988 * dlfcn/Makefile (generated): New.
5990 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5992 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5993 (__uflow): Likewise.
5994 (__underflow): Likewise.
5995 * libio/wgenops.c (__wunderflow): Likewise.
5996 * stdio-common/tst-unbputc.c: New file.
5997 * stdio-common/tst-unbputc.sh: New file.
5998 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
6000 * po/en_GB.po: New file.
6001 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
6003 2000-07-01 Andreas Jaeger <aj@suse.de>
6005 * intl/Makefile (generated-dirs): New.
6007 * elf/Makefile (generated): trusted-dirs.h is always generated,
6008 move out of build-shared condition.
6009 (generated): Merge the two entries for build-shared.
6011 2000-07-01 Ulrich Drepper <drepper@redhat.com>
6013 * debug/Makefile (distribute): Add xtrace.sh.
6015 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6017 * version.h (VERSION): Bump to 2.1.91.
6019 * configure.in: Update warning comment. glibc should not be
6022 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
6023 ioperm.c, sys/procfs.h, and sys/io.h.
6025 * sysdeps/powerpc/Dist: Add bp-asm.h.
6027 * assert/Depend: Add localedata.
6028 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
6029 (test-assert-perr-ENV): New. Define LANGUAGE=C.
6031 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6032 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6033 relocation address to prevent unaligned trap.
6034 Suggested by Richard Henderson <rth@cygnus.com>.
6036 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6038 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6039 if redirecting and either redirection is done using defines or
6042 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6044 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6045 generated expressions.
6046 Patch by Darren McClelland <dmcclell@zetec.com>.
6048 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6049 since zic uses setlocale and gettext but we cannot make it use the
6050 new locale data since zic calls a shell which might not use the
6053 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6054 handling the internation currency symbol. POSIX says that the
6055 fourth character is used to separate the currency symbol from the
6056 value. Therefore it does not have to be printed. But we cannot
6057 remove the space if the currency symbol is printed before the
6058 number since this is what many locales expect.
6060 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6061 whether this information is available.
6063 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6064 buffers in case the translation is too large. Remember allocated
6065 memory blocks in a list.
6066 (free_mem): Free memory for translations.
6068 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6070 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6071 information is available set the string length to zero.
6073 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6075 2000-06-30 Greg McGary <greg@mcgary.org>
6077 * sysdeps/powerpc/bp-asm.h: New file.
6078 * sysdeps/powerpc/__longjmp.S: Check bounds.
6079 Wrap extern symbols in BP_SYM ().
6080 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6081 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6082 * sysdeps/powerpc/setjmp.S: Likewise.
6083 * sysdeps/powerpc/add_n.S: Likewise.
6084 * sysdeps/powerpc/addmul_1.S: Likewise.
6085 * sysdeps/powerpc/lshift.S: Likewise.
6086 * sysdeps/powerpc/rshift.S: Likewise.
6087 * sysdeps/powerpc/mul_1.S: Likewise.
6088 * sysdeps/powerpc/sub_n.S: Likewise.
6089 * sysdeps/powerpc/submul_1.S: Likewise.
6090 * sysdeps/powerpc/strlen.S: Likewise.
6091 * sysdeps/powerpc/memset.S: Likewise.
6092 * sysdeps/powerpc/stpcpy.S: Likewise.
6093 * sysdeps/powerpc/strcmp.S: Likewise.
6094 * sysdeps/powerpc/strcpy.S: Likewise.
6095 * sysdeps/powerpc/elf/bzero.S: Likewise.
6097 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6098 Line up operands column with tabs.
6100 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6102 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6104 * sysdeps/ia64/htonl.S: New file.
6105 * sysdeps/ia64/htons.S: New file.
6106 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6107 floating point registers.
6108 Patches by Dan Pop <Dan.Pop@cern.ch>.
6110 2000-06-30 Andreas Jaeger <aj@suse.de>
6112 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6115 * io/Makefile (CFLAGS-test-lfs.c): New.
6116 (tests): Add test-lfs.
6118 * io/test-lfs.c: New file.
6120 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6122 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6125 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6127 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6129 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6131 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6132 alias to the fstatfs call.
6134 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6135 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6137 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6138 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6140 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6141 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6142 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6143 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6145 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6146 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6148 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6149 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6151 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6152 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6154 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6156 2000-06-29 Andreas Jaeger <aj@suse.de>
6158 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6160 (print_err_message): Likewise.
6161 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6163 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6165 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6166 used as words is properly aligned.
6168 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6171 2000-06-29 Greg McGary <greg@mcgary.org>
6173 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
6174 * sysdeps/unix/make-syscalls.sh: Handle signatures of
6175 length 7..9, just in case...
6176 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
6178 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
6179 (POP_ERRNO_LOCATION_RETURN): Fold insns.
6180 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
6181 (PUSH_SIGNAL_MASK): New macro.
6182 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
6183 LEAVE is unnecessary. Check bounds of jmp_buf.
6184 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
6185 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
6186 immediately before tail-call.
6187 * sysdeps/i386/setjmp.S: Likewise.
6188 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6189 * sysdeps/i386/bsd-setjmp.S: Likewise.
6191 2000-06-29 Jakub Jelinek <jakub@redhat.com>
6193 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
6195 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
6196 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
6197 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
6198 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6199 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
6200 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
6201 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
6202 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
6204 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6206 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
6207 we later need to calling free().
6208 Patch by Matt Wilson <msw@redhat.com>.
6210 * stdio-common/tst-printf.c: Add test for above problem.
6212 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
6214 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
6215 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
6217 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6219 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
6220 prototype for abs().
6221 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
6223 2000-06-23 Andreas Jaeger <aj@suse.de>
6225 * config.h.in: Don't use regparm with bounded pointers.
6227 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6229 * stdlib/grouping.h: Correctly handle multibyte thousands
6230 separator and decimal point.
6231 * stdlib/stdtod.c: Likewise.
6232 * sysdeps/generic/strtol.c: Likewise.
6234 * locale/categories.def: Add entries for wide character decimal point
6235 and thousands separator in numeric and monetary category.
6237 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6239 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6240 second definition and initialization of decimal.
6242 2000-06-28 Greg McGary <greg@mcgary.org>
6244 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6246 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6247 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6249 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6250 (struct _IO_FILE_plus *).
6251 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6252 THIS, since _IO_JUMPS no longer does it implicitly.
6253 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6254 arg type as (struct _IO_FILE_plus *).
6255 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6256 arg as (_IO_strfile *).
6257 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6258 Declare 1st arg as (_IO_strfile *).
6259 * libio/fileops.c (_IO_new_file_init): Declare
6260 arg type as (struct _IO_FILE_plus *).
6261 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6262 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6263 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6264 Declare iteration pointer as (struct _IO_FILE_plus *).
6265 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6266 (struct _IO_FILE_plus *).
6267 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6268 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6269 (_IO_check_libio): Set user-visible handles to
6270 (struct _IO_FILE_plus *).
6271 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6272 to (struct _IO_FILE_plus *).
6274 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6275 whose high bound includes vtable to all functions that will use
6276 vtable. For streambufs, pass pointer whose bounds include struct
6278 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6279 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6280 * libio/iofopen.c (_IO_new_fopen): Likewise.
6281 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6282 * libio/iofopen64.c (_IO_fopen64): Likewise.
6283 * libio/iopopen.c (_IO_new_popen): Likewise.
6284 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6285 * libio/memstream.c (open_memstream): Likewise.
6286 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6287 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6288 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6289 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6290 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6291 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6292 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6293 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6294 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6295 * stdlib/strfmon.c (__strfmon_l): Likewise.
6296 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6297 (vfprintf): Qualify computed-goto targets as unbounded.
6299 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6301 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6302 thousands separator correctly.
6304 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6305 * stdio-common/vfwscanf.c: Likewise.
6307 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6309 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6310 count into signatures for most calls.
6312 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6314 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6315 the generic parser now.
6317 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6319 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6320 table entries are 32 bit on the ia64 (as specified by the ABI),
6321 not 64 bit as on the Alpha.
6323 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6324 change of objects to use 32 bit hash table indices (see above).
6326 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6328 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6329 prototype for abs().
6331 2000-06-28 Wolfram Gloger <wg@malloc.de>
6333 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6334 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6335 may have been reached.
6337 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6339 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6340 symbols in multi-character weights correctly.
6342 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6343 depending on whether the input string is empty or not.
6345 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6346 given state and not avoiding this by modifying a local object.
6347 * wcsmbs/wcrtomb.c: Likewise.
6349 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6350 object since some incomplete characters might be in there.
6352 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6353 sequences with first byte 0x8e correctly.
6355 * iconvdata/jis0208.h: Remove redundant test.
6357 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6359 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6360 Add it where it is needed now.
6362 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6363 the input charset into account when generating the hash table.
6364 (allocate_arrays): Correct setting default width. Not all empty slots
6365 in the table are filled, only those not covert explicitly by the
6366 locale description and in the charset.
6368 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6369 return values from the wctrans function.
6371 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6372 wide character version.
6373 For %C handling, test correct pointer variable for NULL.
6375 * wcsmbs/wctob.c: Handle WEOF special.
6377 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6379 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6380 always-true test to avoid warning.
6382 2000-06-27 Greg McGary <greg@mcgary.org>
6384 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6385 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6386 (symbol_version, default_symbol_version): Factor redundant
6387 definitions out of conditional.
6389 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6391 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6394 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6396 * include/libc-symbols.h (symbol_version): Add extra level of
6398 (default_symbol_version): Likewise.
6400 2000-06-26 Greg McGary <greg@mcgary.org>
6402 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6403 for BP return value & push implicit struct-return pointer to
6405 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6406 (SYSCALL_ERROR_HANDLER): Likewise.
6407 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6408 (SYSCALL_ERROR_HANDLER): Likewise.
6410 * Makeconfig: Add missing comment.
6411 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6412 BP-flavored startup object.
6413 ($(objpfx)b$(start-installed-name)): New rule.
6414 * include/libc-symbols.h (symbol_set_declare): Change type
6415 of `__start_##set' and `__stop_##set' to pointer-to-function.
6416 (symbol_set_declare): Change type of `set' to array of
6417 pointer-to-function.
6418 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6419 pointer-to-function.
6421 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6423 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6424 Remove clock_* and timer_* entries.
6425 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6426 arg-count with signatures.
6428 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6429 Check bounds of arguments.
6430 * sysdeps/i386/addmul_1.S: Likewise.
6431 * sysdeps/i386/lshift.S: Likewise.
6432 * sysdeps/i386/mul_1.S: Likewise.
6433 * sysdeps/i386/rshift.S: Likewise.
6434 * sysdeps/i386/sub_n.S: Likewise.
6435 * sysdeps/i386/submul_1.S: Likewise.
6436 * sysdeps/i386/i586/add_n.S: Likewise.
6437 * sysdeps/i386/i586/addmul_1.S: Likewise.
6438 * sysdeps/i386/i586/lshift.S: Likewise.
6439 * sysdeps/i386/i586/rshift.S: Likewise.
6440 * sysdeps/i386/i586/sub_n.S: Likewise.
6441 * sysdeps/i386/i686/add_n.S: Likewise.
6443 * sysdeps/i386/memchr.S: Likewise.
6444 * sysdeps/i386/memcmp.S: Likewise.
6445 * sysdeps/i386/rawmemchr.S: Likewise.
6446 * sysdeps/i386/i586/bzero.S: Likewise.
6447 * sysdeps/i386/i586/memcpy.S: Likewise.
6448 * sysdeps/i386/i586/mempcpy.S: Likewise.
6449 * sysdeps/i386/i586/memset.S: Likewise.
6450 * sysdeps/i386/i686/bzero.S: Likewise.
6451 * sysdeps/i386/i686/memcpy.S: Likewise.
6452 * sysdeps/i386/i686/mempcpy.S: Likewise.
6453 * sysdeps/i386/i686/memset.S: Likewise.
6455 * sysdeps/i386/stpcpy.S: Likewise.
6456 * sysdeps/i386/stpncpy.S: Likewise.
6457 * sysdeps/i386/strchr.S: Likewise.
6458 * sysdeps/i386/strchrnul.S: Likewise.
6459 * sysdeps/i386/strcspn.S: Likewise.
6460 * sysdeps/i386/strpbrk.S: Likewise.
6461 * sysdeps/i386/strrchr.S: Likewise.
6462 * sysdeps/i386/strspn.S: Likewise.
6463 * sysdeps/i386/strtok.S: Likewise.
6464 * sysdeps/i386/strtok_r.S: Likewise.
6465 * sysdeps/i386/i486/strcat.S: Likewise.
6466 * sysdeps/i386/i486/strlen.S: Likewise.
6467 * sysdeps/i386/i586/strchr.S: Likewise.
6468 * sysdeps/i386/i586/strcpy.S: Likewise.
6469 * sysdeps/i386/i586/strlen.S: Likewise.
6470 * sysdeps/i386/i686/strcmp.S: Likewise.
6471 * sysdeps/i386/i686/strtok.S: Likewise.
6472 * sysdeps/i386/i686/strtok_r.S: Likewise.
6474 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6475 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6476 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6477 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6478 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6480 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6481 * sysdeps/i386/mul_1.S: Likewise.
6482 * sysdeps/i386/submul_1.S: Likewise.
6483 * sysdeps/i386/i586/add_n.S: Likewise.
6484 * sysdeps/i386/i586/addmul_1.S: Likewise.
6485 * sysdeps/i386/i586/lshift.S: Likewise.
6486 * sysdeps/i386/i586/mul_1.S: Likewise.
6487 * sysdeps/i386/i586/rshift.S: Likewise.
6488 * sysdeps/i386/i586/sub_n.S: Likewise.
6489 * sysdeps/i386/i586/submul_1.S: Likewise.
6491 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6493 * rt/Makefile (librt-routines): Add clock_nanosleep.
6494 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6495 * sysdeps/generic/clock_nanosleep.c: New file.
6496 * sysdeps/unix/clock_nanosleep.c: New file.
6497 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6498 * time/time.h: Declare clock_nanosleep.
6500 2000-06-26 Greg McGary <greg@mcgary.org>
6502 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6503 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6504 (ALIGN): Cleanup surrounding conditionals.
6506 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6507 Call ENTER/LEAVE macros.
6508 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6509 * sysdeps/i386/submul_1.S: Likewise.
6511 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6512 syntax. Define & use symbolic argument stack offsets. Call
6514 * sysdeps/i386/i586/mul_1.S: Likewise.
6515 * sysdeps/i386/i586/submul_1.S: Likewise.
6517 2000-06-25 Greg McGary <greg@mcgary.org>
6519 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6522 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6524 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6525 * iconvdata/gen-8bit-gap.sh: Likewise.
6526 * iconvdata/gen-8bit.sh: Likewise.
6528 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6530 * locale/programs/ld-collate.c (collate_read): Don't actually read
6531 the copy locale if we are ignoring the content.
6533 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6536 * locale/programs/ld-collate.c: Correct handling of different
6538 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6539 as extra parameter from which to copy category information.
6541 (load_locale): Likewise.
6542 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6544 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6545 * locale/programs/locfile.h: Likewise.
6546 * locale/programs/locfile-kw.gperf: Add entry for script.
6547 * locale/programs/locfile-token.h: Add tok_script.
6549 * locale/programs/locale.c: Update copyright year.
6550 * locale/programs/localedef.c: Likewise.
6552 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6554 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6555 Jens Moeller <jens.moeller@waii.com>.
6557 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6559 * locale/programs/ld-name.c (name_finish): Add missing format
6560 specifier to test for name_fmt.
6562 * locale/programs/ld-address.c (iso639): Correct length of string
6564 (iso3166): Likewise.
6566 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6568 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6571 * elf/elf.h (NT_PRFPXREG): Define.
6573 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6575 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6576 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6578 2000-06-23 Andreas Schwab <schwab@suse.de>
6580 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6583 2000-06-23 Andreas Jaeger <aj@suse.de>
6585 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6587 * io/test-stat.c: Add copyright header, mention Maciej.
6589 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6590 SYS_mincore, SYS_madvise): Added.
6592 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6595 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6597 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6598 (CFLAGS-tst_putwc.c): New definition.
6599 * libio/tst_getwc.c: New file.
6600 * libio/tst_getwc.input: New file.
6601 * libio/tst_putwc.c: New file.
6603 * include/string.h: Add prototype for __strdup.
6605 2000-06-22 Greg McGary <greg@mcgary.org>
6607 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6608 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6611 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6613 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6615 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6617 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6619 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6621 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6622 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6624 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6626 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6627 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6629 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6630 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6631 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6632 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6633 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6634 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6635 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6636 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6637 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6638 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6639 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6640 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6641 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6642 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6645 2000-06-22 Andreas Jaeger <aj@suse.de>
6647 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6650 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6652 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6654 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6656 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6659 2000-06-21 Greg McGary <greg@mcgary.org>
6661 * Makerules (elide-routines.*, elide-bp-thunks):
6662 Define unconditionally.
6664 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6666 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6668 2000-06-21 Andreas Jaeger <aj@suse.de>
6670 * io/Makefile (tests): Add test-stat.
6671 (CFLAGS-test-stat.c): New.
6673 * io/test-stat.c: New file from Maciej W. Rozycki
6674 <macro@ds2.pg.gda.pl>.
6676 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6678 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6679 in __rlimit_resource to make them match the kernel order.
6680 rlim_t is always 64 bit, use __rlim64_t to declare it
6683 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6685 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6686 RLIM_INFINITY before defining it to avoid clash with kernel header
6688 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6690 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6692 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6694 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6696 2000-06-21 Andreas Jaeger <aj@suse.de>
6698 * stdio-common/temptest.c: Include <stdlib.h>.
6699 * stdio-common/tst-fileno.c: Likewise.
6700 * stdio-common/scanf4.c: Likewise.
6701 * stdio-common/scanf5.c: Likewise.
6702 * time/clocktest.c: Likewise.
6703 * posix/test-vfork.c: Likewise.
6704 * posix/globtest.c: Likewise.
6705 * io/test-utime.c: Likewise.
6706 * wctype/test_wcfuncs.c: Likewise.
6707 * crypt/cert.c: Likewise.
6709 * stdio-common/tst-printfsz.c: Include <string.h>.
6710 * libio/tst_swscanf.c: Likewise.
6711 * libio/tst_wscanf.c: Likewise.
6712 * posix/runtests.c: Likewise.
6713 * posix/tst-getaddrinfo.c: Likewise.
6714 * posix/wordexp-test.c: Likewise.
6715 * misc/tst-efgcvt.c: Likewise.
6717 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6718 * nss/test-netdb.c: Likewise.
6720 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6721 supported kernel for MIPS.
6723 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6724 * rt/aio_suspend.c: Likewise.
6726 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6728 * math/libm-test.inc: Include <string.h>.
6730 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6732 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6734 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6736 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6737 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6739 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6741 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6743 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6745 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6747 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6749 * locale/programs/ld-collate.c (insert_value): Now take string and
6750 length instead of struct token* parameter. Adjust use of token.
6751 (handle_ellipsis): Likewise.
6752 (collate_read): Allow <Uxxxx> names and transform them into names
6753 to be passed to insert_value and handle_ellipsis.
6755 * locale/programs/ld-ctype.c (uninames): New array with names of
6756 digits in <Uxxxxxxxx> format.
6757 (ctype_finish): Correct search for space character value. Likewise
6758 for default outdigits values.
6760 2000-06-20 Greg McGary <greg@mcgary.org>
6762 * Makerules (objects): Add BP thunks.
6764 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6766 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6767 in width definitions.
6769 2000-06-20 Andreas Jaeger <aj@suse.de>
6771 * sysdeps/mips/fpu/libm-test-ulps: New file.
6773 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6776 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6778 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6780 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6782 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6783 change in gconv_builtin.h.
6785 * malloc/Makefile: Change all references to memprof into memusage.
6786 * malloc/memprof.c: Rename to...
6787 * malloc/memusage.c: ...this. New file.
6788 * malloc/memprof.sh: Rename to...
6789 * malloc/memusage.sh: ...this. New file.
6790 * malloc/memprofstat.c: Rename to...
6791 * malloc/memusagestat.c: ...this. New file.
6792 * sysdeps/alpha/memprof.h: Rename to..
6793 * sysdeps/alpha/memusage.h: ...this. New file.
6794 * sysdeps/arm/memprof.h: Rename to..
6795 * sysdeps/arm/memusage.h: ...this. New file.
6796 * sysdeps/generic/memprof.h: Rename to..
6797 * sysdeps/generic/memusage.h: ...this. New file.
6798 * sysdeps/i386/memprof.h: Rename to..
6799 * sysdeps/i386/memusage.h: ...this. New file.
6800 * sysdeps/ia64/memprof.h: Rename to..
6801 * sysdeps/ia64/memusage.h: ...this. New file.
6802 * sysdeps/m68k/memprof.h: Rename to..
6803 * sysdeps/m68k/memusage.h: ...this. New file.
6804 * sysdeps/mips/memprof.h: Rename to..
6805 * sysdeps/mips/memusage.h: ...this. New file.
6806 * sysdeps/powerpc/memprof.h: Rename to..
6807 * sysdeps/powerpc/memusage.h: ...this. New file.
6808 * sysdeps/sparc/memprof.h: Rename to..
6809 * sysdeps/sparc/memusage.h: ...this. New file.
6810 * sysdeps/sh/memprof.h: Rename to..
6811 * sysdeps/sh/memusage.h: ...this. New file.
6813 * elf/sprof.c (print_version): Update year.
6815 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6816 table entry values. Use D_PTR.
6817 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6818 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6820 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6822 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6823 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6824 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6825 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6827 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6831 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6833 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6834 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6835 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6837 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6839 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6842 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6843 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6845 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6848 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6850 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6852 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6854 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6856 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6858 * iconv/gconv_int.h (strict gconv_module): Remove all members
6859 associated with regular expressions. Use a simple string as the
6861 * iconv/gconv_db.c: Remove code handling regular expressions.
6862 * iconv/gconv_conf.c: Likewise.
6863 * iconv/iconv_prog.c: Likewise.
6864 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6866 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6867 General namespace cleanup.
6868 (struct __gconv_trans_data): Add next field.
6869 (struct __gconv_step_data): Make __trans a pointer.
6870 * iconv/gconv_conf.c: Split out code to find gconv directories from
6871 __gconv_read_conf in new functions.
6872 * iconv/gconv_int.h: Define new data structure and declare new
6873 functions for handling of gconv directory list.
6874 * iconv/gconv_open.c: Allow more than one error handling step being
6875 used. Call function to load error handling module if it is none
6876 of the builtin transformations.
6877 * iconv/gconv_close.c: Add code to free transliteration data.
6878 * iconv/gconv_trans.c: Add functions to load and unload modules
6879 implementing transliteration etc.
6880 * iconv/skeleton.c: Call all context functions now that more than
6881 one module is allowed.
6882 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6883 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6884 where the full error handling using transliteration is needed.
6885 * iconvdata/8bit-gap.c: Likewise.
6886 * iconvdata/8bit-generic.c: Likewise.
6887 * iconvdata/ansi_x3.110.c: Likewise.
6888 * iconvdata/big5.c: Likewise.
6889 * iconvdata/big5hkscs.c: Likewise.
6890 * iconvdata/euc-cn.c: Likewise.
6891 * iconvdata/euc-jp.c: Likewise.
6892 * iconvdata/euc-kr.c: Likewise.
6893 * iconvdata/euc-tw.c: Likewise.
6894 * iconvdata/gbgbk.c: Likewise.
6895 * iconvdata/gbk.c: Likewise.
6896 * iconvdata/iso-2022-cn.c: Likewise.
6897 * iconvdata/iso-2022-jp.c: Likewise.
6898 * iconvdata/iso-2022-kr.c: Likewise.
6899 * iconvdata/iso646.c: Likewise.
6900 * iconvdata/iso8859-1.c: Likewise.
6901 * iconvdata/iso_6937-2.c: Likewise.
6902 * iconvdata/iso_6937.c: Likewise.
6903 * iconvdata/johab.c: Likewise.
6904 * iconvdata/sjis.c: Likewise.
6905 * iconvdata/t.61.c: Likewise.
6906 * iconvdata/uhc.c: Likewise.
6907 * iconvdata/unicode.c: Likewise.
6908 * iconvdata/utf-16.c: Likewise.
6909 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6910 structure correctly after last change.
6911 * wcsmbs/btowc.c: Likewise.
6912 * wcsmbs/mbrtowc.c: Likewise.
6913 * wcsmbs/mbsnrtowcs.c: Likewise.
6914 * wcsmbs/mbsrtowcs.c: Likewise.
6915 * wcsmbs/wcrtomb.c: Likewise.
6916 * wcsmbs/wcsnrtombs.c: Likewise.
6917 * wcsmbs/wcsrtombs.c: Likewise.
6918 * wcsmbs/wctob.c: Likewise.
6920 * localedata/Makefile: Set -Wno-format for some files since gcc does
6921 not know all the format specifiers.
6923 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6925 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6927 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6929 2000-06-18 Andreas Jaeger <aj@suse.de>
6931 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6932 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6934 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6936 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6938 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6940 * locale/programs/ld-ctype.c (ctype_output): Really write out
6941 mboutdigits information.
6942 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6943 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6944 * localedata/tests/trans.def: Add outdigit information.
6946 * localedata/tst-mbswcs3.c: Remove comment.
6948 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6949 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6950 * libio/tst_wprintf.c (main): Add test for I flag.
6952 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6953 * locale/langinfo.h: Add entries for translit_ignore information.
6954 * locale/categories.def: Add entries for new LC_CTYPE elements.
6955 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6956 pointer instead of "" where possible.
6957 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6958 * intl/Depend: Add localedata.
6959 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6960 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6962 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6964 * locale/langinfo.h: Add entries for default_missing information.
6965 * locale/C-ctype.c: Add initializers for new fields.
6966 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6968 * locale/categories.h: Add entries for all LC_CTYPE values.
6969 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6972 * localedata/tst-trans.c: Write out an error message if class is
6975 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6976 * iconv/gconv_open.c: Remove error handling specification from `from'
6978 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6979 new parameter to always enable transliteration.
6980 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6982 (struct locale_data): Add new members use_translit and options.
6983 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6984 character set name contained modifier TRANSLIT.
6985 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6987 (_nl_unload_locale): Free options string if necessary.
6988 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6989 the locale names suggested this.
6990 * locale/C-address.c: Add two new initialilzers to adjust data
6991 structure for new format.
6992 * locale/C-collate.c: Likewise.
6993 * locale/C-ctype.c: Likewise.
6994 * locale/C-identification.c: Likewise.
6995 * locale/C-measurement.c: Likewise.
6996 * locale/C-messages.c: Likewise.
6997 * locale/C-monetary.c: Likewise.
6998 * locale/C-name.c: Likewise.
6999 * locale/C-numeric.c: Likewise.
7000 * locale/C-paper.c: Likewise.
7001 * locale/C-telephone.c: Likewise.
7002 * locale/C-time.c: Likewise.
7004 * locale/setlocale.c: Add some more __builtin_expect.
7006 2000-06-15 Ulrich Drepper <drepper@redhat.com>
7008 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
7010 (__gconv_init_fct): Remove two parameters.
7011 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
7012 gconv_transliterate. Remove two parameters.
7013 Change prototypes of builtin functions according to __gconv_fct change.
7014 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
7015 != NULL only during error handling. Stop in this case after the
7017 * iconv/gconv_trans.c: Replace with real implementation for
7018 __gconv_transliterate.
7019 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
7020 * iconv/gconv.c: Change calls to downstream functions once again.
7021 Use NULL for the fifth parameter instead of pointer to output buffer.
7022 * libio/iofwide.c: Likewise.
7023 * wcsmbs/btowc.c: Likewise.
7024 * wcsmbs/mbrtowc.c: Likewise.
7025 * wcsmbs/mbsnrtowcs.c: Likewise.
7026 * wcsmbs/mbsrtowcs.c: Likewise.
7027 * wcsmbs/wcrtomb.c: Likewise.
7028 * wcsmbs/wcsnrtombs.c: Likewise.
7029 * wcsmbs/wcsrtombs.c: Likewise.
7030 * wcsmbs/wctob.c: Likewise.
7031 * iconv/gconv_simple.c: Remove two parameters from error handling
7033 * iconvdata/8bit-gap.c: Likewise.
7034 * iconvdata/8bit-generic.c: Likewise.
7035 * iconvdata/ansi_x3.110.c: Likewise.
7036 * iconvdata/big5.c: Likewise.
7037 * iconvdata/big5hkscs.c: Likewise.
7038 * iconvdata/euc-cn.c: Likewise.
7039 * iconvdata/euc-jp.c: Likewise.
7040 * iconvdata/euc-kr.c: Likewise.
7041 * iconvdata/euc-tw.c: Likewise.
7042 * iconvdata/gbgbk.c: Likewise.
7043 * iconvdata/gbk.c: Likewise.
7044 * iconvdata/iso-2022-cn.c: Likewise.
7045 * iconvdata/iso-2022-jp.c: Likewise.
7046 * iconvdata/iso-2022-kr.c: Likewise.
7047 * iconvdata/iso646.c: Likewise.
7048 * iconvdata/iso8859-1.c: Likewise.
7049 * iconvdata/iso_6937-2.c: Likewise.
7050 * iconvdata/iso_6937.c: Likewise.
7051 * iconvdata/johab.c: Likewise.
7052 * iconvdata/sjis.c: Likewise.
7053 * iconvdata/t.61.c: Likewise.
7054 * iconvdata/uhc.c: Likewise.
7055 * iconvdata/unicode.c: Likewise.
7056 * iconvdata/utf-16.c: Likewise.
7058 2000-06-15 Greg McGary <greg@mcgary.org>
7060 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7061 of callnum assignment. Tolerate callnum expressions containing
7064 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7066 * login/Makefile (utmpd): Remove rule to build utmpd.
7068 * csu/Versions: Move libgcc frame handling functions from here...
7069 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7070 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7071 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7072 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7073 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7074 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7076 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7078 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7080 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7082 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7084 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7086 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7087 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7088 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7089 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7091 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7093 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7094 defined, terminate quotes and read them after the comment char.
7095 * configure.in (HAVE_SECTION_QUOTES): Test whether
7096 __attribute__((section ("x"))) puts quotes around x or not.
7097 * config.h.in (HAVE_SECTION_QUOTES): Add.
7098 * configure: Rebuilt.
7100 2000-06-14 Andreas Jaeger <aj@suse.de>
7102 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7103 depending on the configure option --sysconfdir.
7104 Closes PR libc/1762.
7105 Patch by Andreas Schwab <schwab@suse.de>.
7107 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7109 Reported by Jim Pick <jim@jimpick.com>.
7111 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7113 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7114 crashing the application. Emit some simple error message.
7115 Reported by mju@panasas.com [PR libc/1769].
7117 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7119 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7121 * crypt/Makefile (distribute): Add md5.h.
7123 * Makefile (distribute): Add include/shlib-compat.h.
7125 * Make-dist: Search for tests also in sysdeps hierachy.
7127 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7128 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7130 * sysdeps/sparc/Subdirs: New file.
7132 * locale/Makefile (distribute): Add weightwc.h and
7133 programs/localedef.h.
7135 * time/Makefile (distribute): Add datemsk.
7137 * sysdeps/ia64/Dist: Add softpipe.h.
7139 * sysdeps/unix/sysv/aix/Dist: New file.
7141 * posix/setpgrp.c: Moved to...
7142 * sysdeps/generic/setpgrp.c: ...here. New file.
7143 * io/mknod.c: Moved to...
7144 * sysdeps/generic/mknod.c: ...here. New file.
7146 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7148 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7150 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7152 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7153 gprsave0.S, gprrest1.S, and gprrest0.S.
7155 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7157 * posix/Makefile (routines): Add spawnattr_getsigmask,
7158 spawnattr_getschedpolicy, spawnattr_getschedparam,
7159 spawnattr_setsigmask, spawnattr_setschedpolicy, and
7160 spawnattr_setschedparam.
7161 * posix/Versions: Add posix_spawnattr_getschedpolicy,
7162 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7163 posix_spawnattr_setschedparam.
7165 * posix/spawnattr_setschedparam.c: Fix typo.
7167 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7170 * login/programs/utmpd.c: Removed.
7171 * login/programs/utmpd.h: Removed.
7172 * login/programs/utmpd-private.h: Removed.
7174 * Makefile (distribute): Add include/db_185.h and include/db.h.
7176 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
7179 * elf/Makefile (distribute): Add missing files.
7181 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
7182 * elf/eval.c: Moved to...
7183 * dlfcn/eval.c: ...here. New file.
7185 * Makefile (distribute): Also distribute ChangeLog.1?.
7187 * Make-dist (+tsrcs): Remove .args handling here as well.
7189 * rt/Makefile (tests): Add tst-timer.
7190 * sysdeps/generic/tst-timer.c: New file.
7192 * Makerules (sources): Don't add BP sources here.
7194 * login/Makefile (distribute): Remove xtmp.h.
7196 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
7197 is true. Reported by Bruno Haible <haible@ilog.fr>.
7199 2000-06-13 Andreas Jaeger <aj@suse.de>
7201 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
7202 Patch by Ralf Baechle <ralf@gnu.org>.
7204 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7206 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
7207 for mincore syscall.
7209 * misc/sys/cdefs.h: Define __bounded and __unbounded if
7210 __BOUNDED_POINTERS__ is not defined.
7212 2000-06-07 Greg McGary <greg@mcgary.org>
7214 * sysdeps/generic/bp-sym.h: New file.
7215 * sysdeps/generic/bp-start.h: New file.
7216 * sysdeps/i386/elf/start.S: Designate BP symbols.
7217 * sysdeps/generic/libc-start.c: Wrap bounds around
7218 argv & envp and each of their string members.
7220 2000-06-07 Greg McGary <greg@mcgary.org>
7222 * sysdeps/unix/make-syscalls.sh: Add comments to
7223 output that aid debugging & comprehension.
7224 Map simple syscall signatures to number of args.
7225 Generate BP syscall thunk definitions.
7226 * sysdeps/generic/bp-thunks.h: New file.
7227 * sysdeps/unix/syscalls.list: Replace arg-count with
7228 simple return+arg signature.
7229 * sysdeps/unix/common/syscalls.list: Likewise.
7230 * sysdeps/unix/inet/syscalls.list: Likewise.
7231 * sysdeps/unix/mman/syscalls.list: Likewise.
7232 * sysdeps/unix/sysv/syscalls.list: Likewise.
7233 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7236 2000-06-07 Greg McGary <greg@mcgary.org>
7238 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7239 for all files *.[cS].
7240 (CFLAGS-.ob): Don't optimize sibling calls.
7241 (bppfx): New variable.
7242 * Makerules (elide-bp-thunks): New variable.
7243 (elide-routines.*): Elide BP-* files for all but *.ob.
7244 (sources): Include bp-thunks.
7246 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7248 * iconv/gconv_simple.c: Remove unnecessary prototype.
7250 * iconv/gconv_trans.c: Pretty print.
7252 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7254 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7255 minimal kernel versions. Add information about IA-64 kernel.
7257 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7258 specific minimal supported kernel versions to be specified.
7260 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7261 step data structure.
7262 * wcsmbs/btowc.c: Likewise.
7263 * wcsmbs/mbrtowc.c: Likewise.
7264 * wcsmbs/mbsnrtowcs.c: Likewise.
7265 * wcsmbs/mbsrtowcs.c: Likewise.
7266 * wcsmbs/wcrtomb.c: Likewise.
7267 * wcsmbs/wcsnrtombs.c: Likewise.
7268 * wcsmbs/wcsrtombs.c: Likewise.
7269 * wcsmbs/wctob.c: Likewise.
7271 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7272 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7274 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7276 * misc/sys/cdefs.h: Remove one more __P.
7278 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7281 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7282 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7283 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7285 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7286 Yutaka Niibe <gniibe@chroot.org>
7288 * configure.in: Add machine sh3, sh4.
7289 * elf/elf.h: Add SH specific declarations of relocations.
7290 * shlib-versions: Add sh*-*-linux* cases.
7292 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7294 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7295 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7296 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7297 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7298 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7299 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7301 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7302 instead of KERNEL_MATH_EMULATION.
7303 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7304 KERNEL_MATH_EMULATION.
7306 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7307 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7308 * sysdeps/sh/dl-machine.h: ...here. New file.
7309 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7310 and include generic SH version.
7311 * sysdeps/sh/sh3/bits/endian.h: Move to...
7312 * sysdeps/sh/bits/endian.h: ...here. New file.
7313 * sysdeps/sh/sh4/bits/endian.h: Removed.
7314 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7315 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7316 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7318 * include/libc-symbols.h (link_warning): Work around a change in
7319 GAS which warns about changing section attributes.
7320 Proposed by Nick Clifton <nickc@redhat.com>.
7322 2000-06-12 H.J. Lu <hjl@gnu.org>
7324 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7326 2000-06-11 H.J. Lu <hjl@gnu.org>
7328 * sysdeps/i386/fpu/Versions: New file.
7330 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7332 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7334 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7337 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7339 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7340 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7341 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7343 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7344 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7345 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7347 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7348 Yutaka Niibe <gniibe@chroot.org>
7350 * sysdeps/sh/Dist: New file.
7351 * sysdeps/sh/Implies: New file.
7352 * sysdeps/sh/elf/initfini.c: New file.
7353 * sysdeps/sh/gmp-mparam.h: New file.
7354 * sysdeps/sh/init-first.c: New file.
7355 * sysdeps/sh/machine-gmon.h: New file.
7356 * sysdeps/sh/memcpy.S: New file.
7357 * sysdeps/sh/memprof.h: New file.
7358 * sysdeps/sh/memset.S: New file.
7359 * sysdeps/sh/sh3/__longjmp.S: New file.
7360 * sysdeps/sh/sh3/bits/endian.h: New file.
7361 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7362 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7363 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7364 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7365 * sysdeps/sh/sh3/dl-machine.h: New file.
7366 * sysdeps/sh/sh3/setjmp.S: New file.
7367 * sysdeps/sh/sh4/__longjmp.S: New file.
7368 * sysdeps/sh/sh4/bits/endian.h: New file.
7369 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7370 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7371 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7372 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7373 * sysdeps/sh/sh4/dl-machine.h: New file.
7374 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7375 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7376 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7377 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7378 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7379 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7380 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7381 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7382 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7383 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7384 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7385 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7386 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7387 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7388 * sysdeps/sh/sh4/setjmp.S: New file.
7389 * sysdeps/sh/elf/start.S: New file.
7390 * sysdeps/sh/sys/ucontext.h: New file.
7391 * sysdeps/sh/strlen.S: New file.
7392 * sysdeps/sh/sysdep.h: New file.
7393 * sysdeps/unix/sh/sysdep.S: New file.
7394 * sysdeps/unix/sh/sysdep.h: New file.
7395 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7396 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7397 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7398 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7399 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7400 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7401 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7402 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7403 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7404 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7405 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7406 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7407 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7408 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7409 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7410 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7411 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7412 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7413 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7414 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7415 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7416 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7417 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7418 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7419 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7420 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7421 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7422 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7423 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7424 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7425 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7426 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7427 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7428 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7429 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7430 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7431 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7432 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7434 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7435 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7436 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7437 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7438 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7439 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7440 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7441 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7442 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7443 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7444 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7446 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7448 * Rules (%.out): Define GCONV_PATH in the environment.
7449 * assert/Depend: New file.
7450 * iconvdata/Depend: New file.
7451 * intl/Depend: New file.
7452 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7453 * intl/tst-gettext.sh: Likewise.
7454 * iconv/Makefile (routines): Add gconv_trans.
7455 * iconv/gconv_trans.c: New file.
7456 * iconv/gconv.h (struct __gconv_trans_data): New type.
7457 (__gconv_fct): New parameter with starting position in output buffer.
7458 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7459 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7460 (struct __gconv_step): Add new member __trans.
7461 * iconv/gconv_int.h: Pretty print prototypes.
7462 (gconv_transliterate): New prototype.
7463 (__BUILTIN_TRANS): Update for new conversion function interface.
7464 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7465 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7466 in names, find appropriate function, and install in the conversion
7467 steps it can be used.
7468 * iconv/skeleton.c: Add additional parameter for beginning of output
7469 buffer. Change calls of downstream functions.
7470 * iconv/loop.c: Change loop function interface completely. Pass in
7471 step and step_data structure. Remove optimization for BODY with
7472 NEED_LENGTH_TEST == 0.
7473 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7474 appropriate error handling code to use transliteration steps. Remove
7475 optimization for BODY with NEED_LENGTH_TEST == 0.
7476 * iconvdata/8bit-gap.c: Likewise.
7477 * iconvdata/8bit-generic.c: Likewise.
7478 * iconvdata/ansi_x3.110.c: Likewise.
7479 * iconvdata/big5.c: Likewise.
7480 * iconvdata/big5hkscs.c: Likewise.
7481 * iconvdata/euc-cn.c: Likewise.
7482 * iconvdata/euc-jp.c: Likewise.
7483 * iconvdata/euc-kr.c: Likewise.
7484 * iconvdata/euc-tw.c: Likewise.
7485 * iconvdata/gbgbk.c: Likewise.
7486 * iconvdata/gbk.c: Likewise.
7487 * iconvdata/iso-2022-cn.c: Likewise.
7488 * iconvdata/iso-2022-jp.c: Likewise.
7489 * iconvdata/iso-2022-kr.c: Likewise.
7490 * iconvdata/iso646.c: Likewise.
7491 * iconvdata/iso8859-1.c: Likewise.
7492 * iconvdata/iso_6937-2.c: Likewise.
7493 * iconvdata/iso_6937.c: Likewise.
7494 * iconvdata/johab.c: Likewise.
7495 * iconvdata/sjis.c: Likewise.
7496 * iconvdata/t.61.c: Likewise.
7497 * iconvdata/uhc.c: Likewise.
7498 * iconvdata/unicode.c: Likewise.
7499 * iconvdata/utf-16.c: Likewise.
7500 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7502 * wcsmbs/btowc.c: Likewise.
7503 * wcsmbs/mbrtowc.c: Likewise.
7504 * wcsmbs/mbsnrtowcs.c: Likewise.
7505 * wcsmbs/mbsrtowcs.c: Likewise.
7506 * wcsmbs/wcrtomb.c: Likewise.
7507 * wcsmbs/wcsnrtombs.c: Likewise.
7508 * wcsmbs/wcsrtombs.c: Likewise.
7509 * wcsmbs/wctob.c: Likewise.
7511 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7513 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7514 other header files. Mention about 128-byte cache line sizes.
7515 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7516 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7517 for current calling sequence.
7518 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7520 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7521 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7523 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7524 and setrlimit syscalls for backwards compatibility.
7526 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7528 * iconv/skeleton.c: Rename converted written to correcter name
7530 * iconv/gconv.c: Rename converted variable to correcter name
7532 * iconv/gconv_int.h: Likewise.
7533 * iconv/gconv_simple.c: Likewise.
7534 * iconv/iconv.c: Likewise.
7535 * iconv/loop.c: Likewise.
7536 * iconvdata/8bit-gap.c: Likewise.
7537 * iconvdata/8bit-generic.c: Likewise.
7538 * iconvdata/ansi_x3.110.c: Likewise.
7539 * iconvdata/big5.c: Likewise.
7540 * iconvdata/big5hkscs.c: Likewise.
7541 * iconvdata/euc-cn.c: Likewise.
7542 * iconvdata/euc-jp.c: Likewise.
7543 * iconvdata/euc-kr.c: Likewise.
7544 * iconvdata/gbgbk.c: Likewise.
7545 * iconvdata/gbk.c: Likewise.
7546 * iconvdata/iso-2022-cn.c: Likewise.
7547 * iconvdata/iso-2022-jp.c: Likewise.
7548 * iconvdata/iso-2022-kr.c: Likewise.
7549 * iconvdata/iso646.c: Likewise.
7550 * iconvdata/iso8859-1.c: Likewise.
7551 * iconvdata/iso_6937-2.c: Likewise.
7552 * iconvdata/iso_6937.c: Likewise.
7553 * iconvdata/johab.c: Likewise.
7554 * iconvdata/sjis.c: Likewise.
7555 * iconvdata/t.61.c: Likewise.
7556 * iconvdata/uhc.c: Likewise.
7557 * iconvdata/unicode.c: Likewise.
7558 * iconvdata/utf-16.c: Likewise.
7560 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7561 __cmsg_data field with __extension__.
7563 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7565 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7567 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7569 * iconv/gconv_simple.c: Fix various small bugs in several
7572 * iconv/loop.c: Fix comment.
7574 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7576 * elf/link.h: Remove libc internal declarations.
7577 * include/link.h: Move them here.
7579 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7581 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7582 Patch by Dan Pop <Dan.Pop@cern.ch>.
7584 Rewrite error message handling.
7585 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7587 * elf/dl-error (struct catch): Add objname member.
7588 (_dl_signal_error): Take new parameter with object name. When
7589 passing message on simply store object name and duplicate error
7591 (_dl_catch_error): Take new parameter. Store object name in the
7593 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7594 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7595 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7596 (dlerror): Add objname to asprintf() parameters.
7597 (_dl_error_run): Pass new parameter to _dl_catch_error.
7598 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7599 * elf/dl-open.c (_dl_open): Likewise.
7600 * elf/rtld.c (dl_main): Likewise.
7601 * elf/dl-close.c: Mark error messages with N_().
7602 * elf/dl-deps.c: Likewise.
7603 * elf/dl-error.c: Likewise.
7604 * elf/dl-load.c: Likewise.
7605 * elf/dl-open.c: Likewise.
7606 * elf/dl-reloc.c: Likewise.
7607 * elf/dl-support.c: Likewise.
7608 * elf/dl-sym.c: Likewise.
7609 * elf/dl-version.c: Likewise.
7610 * elf/dl-lookup.c: Add comments about problems with error message
7612 * elf/dl-reloc.c: Likewise.
7613 * elf/dl-version.c: Likewise.
7615 2000-06-09 H.J. Lu <hjl@gnu.org>
7617 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7620 * dlfcn/Makefile (distribute): Add failtestmod.c.
7621 (tests): Add failtest.
7622 Add rules to build and run failtest.
7623 * dlfcn/failtest.c: New file.
7624 * dlfcn/failtestmod.c: New file.
7626 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7628 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7629 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7630 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7631 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7632 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7634 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7636 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7637 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7639 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7640 Ulrich Drepper <drepper@redhat.com>
7642 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7643 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7644 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7645 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7646 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7647 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7649 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7651 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7652 to find correct mount point despite wrong information from the
7655 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7657 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7658 the address of a symbol so function pointers are handled properly.
7660 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7662 * sysdeps/i386/Dist: Add bp-asm.h.
7664 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7665 defaultdir variable instead of "/var/shm" everywhere.
7666 (defaultdir): Change to /dev/shm/.
7668 2000-06-08 Greg McGary <greg@mcgary.org>
7670 * sysdeps/i386/bp-asm.h: New file.
7671 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7672 offsets. Add ENTER/LEAVE macros for optionally maintaining
7673 frame-pointer chain when debugging.
7674 * sysdeps/i386/add_n.S: Likewise.
7675 * sysdeps/i386/addmul_1.S: Likewise.
7676 * sysdeps/i386/lshift.S: Likewise.
7677 * sysdeps/i386/memchr.S: Likewise.
7678 * sysdeps/i386/memcmp.S: Likewise.
7679 * sysdeps/i386/mul_1.S: Likewise.
7680 * sysdeps/i386/rawmemchr.S: Likewise.
7681 * sysdeps/i386/rshift.S: Likewise.
7682 * sysdeps/i386/stpcpy.S: Likewise.
7683 * sysdeps/i386/stpncpy.S: Likewise.
7684 * sysdeps/i386/strchr.S: Likewise.
7685 * sysdeps/i386/strchrnul.S: Likewise.
7686 * sysdeps/i386/strcspn.S: Likewise.
7687 * sysdeps/i386/strpbrk.S: Likewise.
7688 * sysdeps/i386/strrchr.S: Likewise.
7689 * sysdeps/i386/strspn.S: Likewise.
7690 * sysdeps/i386/strtok.S: Likewise.
7691 * sysdeps/i386/sub_n.S: Likewise.
7692 * sysdeps/i386/submul_1.S: Likewise.
7693 * sysdeps/i386/elf/setjmp.S: Likewise.
7694 * sysdeps/i386/i486/strcat.S: Likewise.
7695 * sysdeps/i386/i486/strlen.S: Likewise.
7696 * sysdeps/i386/i586/add_n.S: Likewise.
7697 * sysdeps/i386/i586/lshift.S: Likewise.
7698 * sysdeps/i386/i586/memcpy.S: Likewise.
7699 * sysdeps/i386/i586/memset.S: Likewise.
7700 * sysdeps/i386/i586/rshift.S: Likewise.
7701 * sysdeps/i386/i586/strchr.S: Likewise.
7702 * sysdeps/i386/i586/strcpy.S: Likewise.
7703 * sysdeps/i386/i586/strlen.S: Likewise.
7704 * sysdeps/i386/i586/sub_n.S: Likewise.
7705 * sysdeps/i386/i686/add_n.S: Likewise.
7706 * sysdeps/i386/i686/memcpy.S: Likewise.
7707 * sysdeps/i386/i686/mempcpy.S: Likewise.
7708 * sysdeps/i386/i686/memset.S: Likewise.
7709 * sysdeps/i386/i686/strcmp.S: Likewise.
7711 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7713 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7715 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7716 256 and don't use OPEN_MAX.
7718 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7719 use it instead of LINK_MAX.
7720 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7722 2000-06-08 Andreas Jaeger <aj@suse.de>
7724 * libio/genops.c (_IO_list_lock): Only compile body if we're
7726 (_IO_list_unlock): Likewise.
7727 (_IO_list_resetlock): Likewise.
7729 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7731 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7732 unless user defined it.
7734 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7735 if not defined by the user.
7737 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7738 * libio/iofwrite.c (_IO_fwrite): Likewise.
7740 * time/time.h: Add missing __THROW for clock_getcpuclockid
7743 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7744 * include/elf.h: Include also <dl-dtprocnum.h>.
7745 * elf/dl-deps.c: Likewise.
7746 * elf/dl-lookup.c: Likewise.
7747 * elf/dl-runtime.c: Likewise.
7748 * elf/dl-version.c: Likewise.
7749 * elf/do-rel.h: Likewise.
7750 * elf/dynamic-link.h: Likewise.
7751 * elf/link.h: Likewise.
7752 * elf/rtld.c: Likewise.
7753 * sysdeps/generic/dl-dtprocnum.h: New file.
7754 * sysdeps/ia64/dl-dtprocnum.h: New file.
7755 * sysdeps/mips/dl-dtprocnum.h: New file.
7756 * sysdeps/sparc/dl-dtprocnum.h: New file.
7758 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7760 * elf/do-lookup.h: Add some __builtin_expect.
7762 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7764 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7765 (_dl_dynamic_weak): New variable.
7766 * elf/dl-support.c: Likewise.
7767 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7768 * elf/do-lookup.h: If we find a weak definition treat it like a
7769 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7770 case treat it like before.
7772 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7774 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7776 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7777 using l_map_start and l_map_end.
7779 * elf/dl-version.c: Add __builtin_expect in many places.
7781 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7784 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7786 Lock for stdio stream list becomes global, for use in LinuxThreads.
7788 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7789 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7790 _IO_list_resetlock): New interface for iterating global list of
7791 streams without accessing the _IO_list_all global variable,
7792 and for manipulating the lock which protects this list.
7793 * libio/libioP.h: Likewise.
7794 * libio/Version: Add entries for the new functions.
7796 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7797 pointer to _IO_FILE.
7799 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7801 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7802 BIT() must actually be BITw().
7804 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7806 * locale/programs/charmap.c: Allow string arguments for
7807 code_set_name and repertoiremap.
7809 2000-06-07 Andreas Jaeger <aj@suse.de>
7811 * elf/Makefile: Build ldconfig only when building shared libraries.
7813 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7815 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7817 (fdimf, __fdim, fdim): Likewise.
7819 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7821 * locale/findlocale.c: Add __builtin_expect in many places.
7822 * locale/loadlocale.c: Likewise.
7824 2000-06-06 Greg McGary <greg@mcgary.org>
7826 * sysdeps/mips/elf/start.S: Trim redundant code.
7828 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7829 Use C comments throughout. Line up operands column with tabs.
7830 * sysdeps/powerpc/strchr.S: Likewise.
7831 * sysdeps/powerpc/strcmp.S: Likewise.
7832 * sysdeps/powerpc/strcpy.S: Likewise.
7833 * sysdeps/powerpc/strlen.S: Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7836 Get low part of &__curbrk with @l.
7838 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7840 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7841 * iconvdata/unicode.c: Likewise.
7842 * iconvdata/uhc.c: Likewise.
7843 * iconvdata/t.61.c: Likewise.
7844 * iconvdata/sjis.c: Likewise.
7845 * iconvdata/johab.c: Likewise.
7846 * iconvdata/iso_6937.c: Likewise.
7847 * iconvdata/iso_6937-2.c: Likewise.
7848 * iconvdata/iso8859-1.c: Likewise.
7849 * iconvdata/iso646.c: Likewise.
7850 * iconvdata/iso-2022-kr.c: Likewise.
7851 * iconvdata/iso-2022-jp.c: Likewise.
7852 * iconvdata/iso-2022-cn.c: Likewise.
7853 * iconvdata/gbgbk.c: Likewise.
7854 * iconvdata/gbk.c: Likewise.
7855 * iconvdata/euc-kr.c: Likewise.
7856 * iconvdata/euc-jp.c: Likewise.
7857 * iconvdata/euc-cn.c: Likewise.
7859 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7861 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7862 * iconvdata/big5.c: Likewise.
7863 * iconvdata/ansi_x3.110.c: Likewise.
7864 * iconvdata/8bit-generic.c: Likewise.
7865 * iconvdata/8bit-gap.c: Likewise.
7866 * iconv/loop.c: Likewise.
7867 * iconv/gconv_db.c: Likewise.
7868 * iconv/gconv_dl.c: Likewise.
7869 * iconv/gconv_simple.c: Likewise.
7870 * iconv/skeleton.c: Likewise.
7872 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7873 (struct __gconv_step_data): Rename __is_last to __flags.
7874 * iconv/gconv_close.c: Change all uses of __is_last.
7875 * iconv/skeleton.c: Likewise.
7876 * iconvdata/iso-2022-cn.c: Likewise.
7877 * iconvdata/iso-2022-jp.c: Likewise.
7878 * iconvdata/iso-2022-kr.c: Likewise.
7879 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7880 Recognize IGNORE error handling, set flag, and remove from name.
7881 * iconv/loop.c (ignore_errors_p): Define.
7882 Add flags parameter to both functions.
7883 * iconv/skeleton.c: Pass flags to all conversion functions.
7884 * iconv/gconv_simple.c: Add flags parameter to all functions.
7885 Don't return error for invald error if ignore flag is set.
7886 (ucs4_internal_loop_single): Add missing pointer increment.
7887 (internal_ucs4le_loop_single): Likewise.
7888 * iconv/iconv_prog.c: Implement handling of -c parameter.
7889 * iconvdata/8bit-gap.c: Don't return error for invald error if
7891 * iconvdata/8bit-generic.c: Likewise.
7892 * iconvdata/ansi_x3.110.c: Likewise.
7893 * iconvdata/big5.c: Likewise.
7894 * iconvdata/big5hkscs.c: Likewise.
7895 * iconvdata/euc-cn.c: Likewise.
7896 * iconvdata/euc-jp.c: Likewise.
7897 * iconvdata/euc-kr.c: Likewise.
7898 * iconvdata/gbgbk.c: Likewise.
7899 * iconvdata/gbk.c: Likewise.
7900 * iconvdata/iso-2022-cn.c: Likewise.
7901 * iconvdata/iso-2022-jp.c: Likewise.
7902 * iconvdata/iso-2022-kr.c: Likewise.
7903 * iconvdata/iso646.c: Likewise.
7904 * iconvdata/iso8859-1.c: Likewise.
7905 * iconvdata/iso_6937-2.c: Likewise.
7906 * iconvdata/iso_6937.c: Likewise.
7907 * iconvdata/johab.c: Likewise.
7908 * iconvdata/sjis.c: Likewise.
7909 * iconvdata/t.61.c: Likewise.
7910 * iconvdata/uhc.c: Likewise.
7911 * iconvdata/unicode.c: Likewise.
7912 * iconvdata/utf-16.c: Likewise.
7913 * libio/fileops.c: Likewise.
7914 * libio/iofwide.c: Likewise.
7915 * wcsmbs/btowc.c: Likewise.
7916 * wcsmbs/mbrtowc.c: Likewise.
7917 * wcsmbs/mbsnrtowcs.c: Likewise.
7918 * wcsmbs/mbsrtowcs.c: Likewise.
7919 * wcsmbs/wcrtomb.c: Likewise.
7920 * wcsmbs/wcsnrtombs.c: Likewise.
7921 * wcsmbs/wcsrtombs.c: Likewise.
7922 * wcsmbs/wctob.c: Likewise.
7924 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7927 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7929 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7930 counter for the object we are releasing, just decrement it.
7931 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7933 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7935 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7938 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7940 * iconvdata/big5hkscs.c: New file.
7941 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7943 * iconvdata/gconv-modules: Add entry for new module.
7944 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7945 (distribute): Add big5hkscs.c.
7947 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7949 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7950 inlines to match prototypes in mathcalls.h.
7951 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7952 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7953 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7954 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7956 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7958 * elf/elf.h (SHT_SUNW_move): Define.
7960 * elf/elf.h: Add more Solaris compatiblity definitions.
7962 2000-06-03 Andreas Jaeger <aj@suse.de>
7964 * sysdeps/powerpc/dl-start.S: Close open comment.
7966 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7968 * inet/Versions: Fix typo in rresvport_af export.
7970 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7972 * math/tgmath.h: Pretty print.
7974 2000-06-02 Andreas Jaeger <aj@suse.de>
7976 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7977 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7979 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7981 * elf/rtld.c (process_envvars): Test for = after variable name.
7983 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7985 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7986 have extra call to __gmon_start__, use the pointer we already have.
7988 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7991 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7992 binutils. gas now emits a jump through the PLT instead of a
7993 relative jump if the jump target is an exported symbol.
7995 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7997 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7999 2000-05-31 Andreas Jaeger <aj@suse.de>
8001 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
8004 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
8005 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8007 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
8009 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
8011 2000-05-30 Ulrich Drepper <drepper@redhat.com>
8013 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
8015 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
8016 * locale/localeconv.c: Make function versioned (with same definition).
8018 * elf/Makefile (modules-names): Strip before using it.
8020 2000-05-30 Andreas Jaeger <aj@suse.de>
8022 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
8023 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8024 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8025 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8026 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8027 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8029 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8031 * Makefile: Add GNU make magic.
8033 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8035 * inet/rcmd.c: Remove __P. Remove unused variables.
8036 (iruserfopen): Make first parameter const.
8037 (ruserok_sa): Return result of ruserok2_sa.
8038 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8039 * inet/rexec.c: Remove unused variables. Other small cleanups.
8040 * inet/ruserpass.c: Remove __P. Remove unused variables.
8041 (ruserpass): Check results of memory allocation.
8042 * include/netdb.h: Add prototype for ruserpass.
8044 2000-05-29 Andreas Jaeger <aj@suse.de>
8046 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8049 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8051 * inet/rcmd.c (rresvport_af): Use correct port number.
8053 2000-05-26 Andreas Schwab <schwab@suse.de>
8055 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8056 entries in all-sonames.
8057 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8058 preserving the old name if different for compatibility.
8060 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8062 * posix/Makefile (tests): Add tst-spawn.
8063 (tst-spawn-ARGS): New variable.
8064 * posix/tst-spawn.c: New file.
8066 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8067 * posix/spawn_faction_adddup2.c: Likewise.
8068 * posix/spawn_faction_addopen.c: Likewise.
8069 * posix/spawni.c: Correctly test for success of dup2 calls.
8071 * posix/tst-preadwrite.c: Check success of malloc call.
8073 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8075 * posix/Makefile (tests): Add tst-exec.
8076 (tst-exec-ARGS): New variable.
8077 * posix/tst-exec.c: New file.
8079 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8081 2000-05-04 Andreas Jaeger <aj@suse.de>
8083 * string/string.h: Remove __strdup prototype, it's not needed in
8086 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8088 * posix/Makefile (tests): Add tst-fork.
8089 * posix/tst-fork.c: New file.
8091 * resolv/inet_pton.c: Loose __P.
8093 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8095 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8096 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8097 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8098 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8099 _IO_CHECK_WIDE fails.
8101 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8103 * po/da.po: New file.
8105 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8106 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8108 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8109 (Other iconv Implementations): Fix typo.
8110 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8112 2000-05-27 Andreas Jaeger <aj@suse.de>
8114 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8116 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8117 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8118 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8119 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8120 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8121 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8123 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8124 endianness to decide how to pass arguments.
8125 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8127 * elf/vismain.c: Use test-skeleton interface.
8128 (TEST_FUNCTION): New macro.
8129 (do_test): Renamed from main.
8131 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8133 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8134 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8136 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8137 handling of AI_V4MAPPED flag.
8139 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8140 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8141 perform lookup for T_A type and tell getanswer_r to convert the
8142 result with new argument.
8143 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8144 Don't convert addresses from IPv4 to IPv6 here.
8145 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8146 IPv6 is wanted. Allow qtype and type from reply to disagree if
8147 IPv4 mapping has to be done. Perform mappings if required by the
8148 caller and not if RES_USE_INET6 bit in _res.options is set.
8149 Add several __builtin_expect.
8151 2000-05-26 Ulrich Drepper <drepper@redhat.com>
8153 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8155 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8158 * posix/tst-preadwrite.c: Allow parallel execution of
8159 tst-preadwrite and tst-preadwrite64.
8161 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8162 * posix/tst-truncate.c: New file.
8163 * posix/tst-truncate64.c: New file.
8165 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8168 * posix/Makefile (tests): Add tst-preadwrite64.
8169 * posix/tst-preadwrite.c: Alloc file being used also for testing
8170 pread64 and pwrite64.
8171 * posix/tst-preadwrite64.c: New file.
8173 2000-05-26 Andreas Jaeger <aj@suse.de>
8175 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
8176 of arguments dependend on endianness.
8177 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
8179 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
8181 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8182 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8183 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8184 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8186 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
8187 endianness to check how to pass argument.
8188 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8190 * elf/ldconfig.h: Update parameter list for process_elf_file.
8192 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
8193 Add parameter file_length and pass it ot process_elf*file.
8195 * sysdeps/generic/readelflib.c (check_ptr): New.
8196 (process_elf_file): Use check_ptr to check all accesses to the
8197 mmapped file. Add parameter file_length.
8199 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
8202 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
8203 Closes PR libc/1573, reported by Bradley White
8204 <bww@laurelnetworks.com>.
8206 2000-05-25 Ulrich Drepper <drepper@redhat.com>
8208 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
8209 __FAST_MATH__ is defined.
8211 2000-05-22 Andreas Jaeger <aj@suse.de>
8213 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
8214 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
8216 * manual/math.texi (FP Function Optimizations): Document gcc
8217 -ffast-math behaviour with mathinlines.
8219 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
8220 functions unless -ffast-math is given to gcc.
8222 2000-05-23 Jakub Jelinek <jakub@redhat.com>
8224 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
8225 __sincosl): Guard with __USE_GNU.
8227 2000-05-24 Ulrich Drepper <drepper@redhat.com>
8229 * csu/Makefile (routines): Add check_fds.
8230 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
8231 binaries. Add various __builtin_expect.
8232 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8233 * sysdeps/generic/check_fds.c: ...here. New file.
8235 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8236 binaries if file /etc/suid-debug is available.
8238 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8239 and wcseqorder members.
8240 (struct locale_collate_t): Likewise.
8241 (collate_finish): Assign collation sequence value to each character.
8242 Create tables for output.
8243 (collate_output): Write out tables with collation sequence information.
8244 * locale/C-collate.c: Provide C locale data for collation sequence
8246 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8247 _NL_COLLATE_COLLSEQWC.
8248 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8249 _NL_COLLATE_COLLSEQWC.
8250 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8251 include fnmatch_loop.c.
8252 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8253 character is matched by range expression. Use collation sequence
8254 table. Outside glibc fall back on simple character value comparison.
8256 2000-05-24 Andreas Jaeger <aj@suse.de>
8258 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8261 * intl/Makefile: Run gettext-test only if msgfmt is available.
8263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8264 Define it for newer kernels.
8266 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8268 * elf/dl-sym.c: Minor cleanups.
8270 * configure.in: Add test for .protected.
8271 * config.make.in: Add have-protected variable.
8272 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8273 (tests-vis-yes): Add vismain.
8274 (modules-names): Add $(modules-vis-$(have-protected)).
8275 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8276 Add rules to generate and run vismain.
8277 * elf/vismain.c: New file.
8278 * elf/vismod1.c: New file.
8279 * elf/vismod2.c: New file.
8280 * elf/vismod3.c: New file.
8282 2000-05-23 Andreas Jaeger <aj@suse.de>
8284 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8286 * manual/search.texi (Array Sort Function): Document that qsort is
8287 not necessarily in-place.
8289 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8290 Closes PR libc/1731.
8292 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8293 * dirent/scandir64.c: Likewise.
8294 * pwd/getpw.c: Likewise.
8295 * stdlib/bsearch.c (bsearch): Likewise.
8296 * stdlib/tst-strtoll.c: Likewise.
8297 * localedata/collate-test.c: Likewise.
8298 * localedata/xfrm-test.c: Likewise.
8299 * posix/bsd-getpgrp.c: Likewise.
8300 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8301 * sysdeps/generic/bits/siginfo.h: Likewise.
8302 * sysdeps/generic/bits/sockaddr.h: Likewise.
8303 * sysdeps/generic/sys/swap.h: Likewise.
8304 * sysdeps/generic/sys/sysinfo.h: Likewise.
8305 * sysdeps/generic/vfork.c: Likewise.
8306 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8307 * sysdeps/mach/hurd/fdopen.c: Likewise.
8308 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8309 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8310 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8311 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8312 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8314 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8316 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8317 * shadow/lckpwdf.c: Likewise.
8318 * stdlib/tst-strtol.c: Likewise.
8319 * sysdeps/generic/tcsetattr.c: Likewise.
8320 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8321 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8323 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8325 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8326 free it and set to (void *) -1.
8328 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8330 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8331 not the second character in the range.
8332 * stdio-common/tstscanf.c (main): Add testcase for the above.
8333 Reported by jik@kamens.brookline.ma.us.
8335 2000-05-21 H.J. Lu <hjl@gnu.org>
8337 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8338 with noexec and noplt parameter.
8339 (do_lookup): Likewise.
8341 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8342 do_lookup. Support STV_PROTECTED.
8343 (_dl_lookup_symbol_skip): Likewise.
8344 (_dl_lookup_versioned_symbol): Likewise.
8345 (_dl_lookup_versioned_symbol_skip): Likewise.
8347 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8349 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8351 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8353 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8354 * sysdeps/i386/bits/huge_val.h: Likewise.
8355 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8356 * sysdeps/m68k/bits/huge_val.h: Likewise.
8357 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8358 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8360 2000-05-22 Andreas Jaeger <aj@suse.de>
8362 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8365 2000-05-19 Andreas Jaeger <aj@suse.de>
8367 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8368 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8369 breaks compilation without linuxthreads.
8371 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8373 * sysdeps/ia64/memccpy.S: New file.
8374 * sysdeps/ia64/memchr.S: New file.
8375 * sysdeps/ia64/memcmp.S: New file.
8376 * sysdeps/ia64/memcpy.S: New file.
8377 * sysdeps/ia64/memmove.S: New file.
8378 * sysdeps/ia64/memset.S: New file.
8379 * sysdeps/ia64/strcat.S: New file.
8380 * sysdeps/ia64/strchr.S: New file.
8381 * sysdeps/ia64/strcmp.S: New file.
8382 * sysdeps/ia64/strcpy.S: New file.
8383 * sysdeps/ia64/strlen.S: New file.
8384 * sysdeps/ia64/strncmp.S: New file.
8385 * sysdeps/ia64/strncpy.S: New file.
8386 * sysdeps/ia64/softpipe.h: New file.
8387 Patches by Dan Pop <Dan.Pop@cern.ch>.
8389 * manual/memory.texi: Document memory handling functions (mlock,
8390 munlock, mlockall, munlockall, brk, and sbrk)
8391 * manual/time.texi: Document timespec and friends.
8392 * manual/conf.texi: Fix references.
8393 * manual/ctype.texi: Likewise.
8394 * manual/errno.texi: Likewise.
8395 * manual/intro.texi: Likewise.
8396 * manual/locale.texi: Likewise.
8397 * manual/sysinfo.texi: Likewise.
8398 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8400 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8402 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8403 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8405 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8407 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8410 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8412 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8413 * locale/localeconv.c: Initialize new elements from ISO C99.
8414 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8415 new standard elements.
8416 * locale/categories.def: Adjust accordingly.
8418 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8419 * iconv/iconv.c: Likewise.
8420 * conform/data/iconv.h-data: Likewise.
8421 * iconv/iconv_prog.c (process_block): Remove const from second
8423 (main): Remove const from addr definition.
8424 * manual/charset.texi (Generic Conversion Interface): Remove from
8425 inbuf parameter of iconv.
8427 * intl/dcigettext.c: Fix typo in comment.
8429 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8431 * resolv/res_libc.c (_res): Initialize _sock to -1.
8433 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8435 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8436 (fopencookie@@GLIBC_2.2): New.
8437 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8438 (fopencookie@GLIBC_2.0): New.
8439 * libio/Versions: Add fopencookie to GLIBC_2.2.
8441 2000-05-18 Andreas Jaeger <aj@suse.de>
8443 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8444 Closes PR libc/1731.
8446 * manual/arith.texi (Parsing of Integers): Fix typo.
8447 Closes PR libc/1744, reported by blp@gnu.org.
8449 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8451 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8452 __extension__ to hexadecimal floating constant notation.
8453 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8455 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8456 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8458 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8459 HUGE_VALL): Likewise.
8460 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8461 HUGE_VALL): Likewise.
8462 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8464 2000-05-17 Andreas Jaeger <aj@suse.de>
8466 * string/envz.h: Add pure attributes if possible.
8468 * string/argz.h: argz_count is a pure function.
8470 * string/strings.h: Add pure and const attributes if possible.
8472 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8473 possibly searching through the whole memory.
8474 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8476 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8478 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8480 (_dl_cache_check_flags): Likewise.
8481 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8484 2000-05-17 Andreas Jaeger <aj@suse.de>
8486 * manual/creature.texi (Feature Test Macros): Remove paragraph
8487 since the description is wrong.
8488 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8490 * scripts/config.sub: New version.
8491 * scripts/config.guess: Likewise.
8492 * manual/texinfo.tex: Likewise.
8494 * time/test_time.args: Removed.
8495 * time/Makefile (test_time-ARGS): Added contents here instead.
8497 * posix/tstgetopt.args: Removed.
8498 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8500 * Rules: Allow arguments for test files to be specified in
8501 Makefile with testname-ARGS; remove rules with .args in it.
8503 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8504 remove old bogus rule for opendir-tst1.args.
8506 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8508 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8509 into objdir. This allows a readonly sourcetree.
8510 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8512 2000-05-16 Andreas Jaeger <aj@suse.de>,
8513 David Huggins-Daines <dhd@linuxcare.com>
8515 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8516 cache_data in case of only new cache format correctly.
8518 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8521 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8522 struct cache_file_new.
8524 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8527 * elf/cache.c (save_cache): Align struct new_file_cache.
8528 (print_cache): Likewise.
8530 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8532 * elf/soinit.c (__libc_global_ctors): Move
8533 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8534 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8535 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8536 variable, don't define it to __res_state call.
8538 2000-05-13 Andreas Jaeger <aj@suse.de>
8540 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8542 (AF_PPPOX): Likewise.
8543 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8544 (AF_PPPOX): Likewise.
8546 2000-05-12 Andreas Jaeger <aj@suse.de>
8548 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8549 Reported by tmoestl@gmx.net, closes PR libc/1732.
8551 2000-05-11 Jan Hubicka <jh@suse.cz>
8553 * misc/sys/cdefs.h: Add support for pure attribute.
8555 * include/string.h: Add __attribute_pure__ to various functions.
8556 * string/string.h: Likewise.
8558 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8560 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8564 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8566 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8568 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8569 at proper place. Compute the high nibble correctly.
8571 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8573 * elf/ldconfig.c: Include elf.h.
8575 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8576 (_dl_vsym): Likewise.
8577 Reported by Owen Taylor <otaylor@redhat.com>.
8579 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8582 2000-05-08 Andreas Jaeger <aj@suse.de>
8584 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8586 * intl/bindtextdom.c (set_binding_values): Add prototype.
8588 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8590 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8591 call to elf_machine_fixup_plt.
8592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8595 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8597 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8598 they are not dlclose'd from underneath us.
8600 2000-05-08 Andreas Schwab <schwab@suse.de>
8602 * posix/execle.c: Fix size parameter of memcpy.
8604 2000-05-08 Andreas Schwab <schwab@suse.de>
8606 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8607 getpagesize syscall if available.
8609 2000-05-08 Andreas Jaeger <aj@suse.de>
8611 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8614 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8616 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8617 sizeof(struct link_map *) chunks, not in bytes.
8619 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8621 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8622 only needed for locale.
8623 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8624 It's only needed for catgets.
8625 Patches by Greg McGary <gkm@eng.ascend.com>.
8627 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8629 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8630 Remove duplicate <errno.h> include. Remove inclusion of
8631 <libintl.h> and "nsswitch.h".
8632 (set_cloexec_flag): New function, broken out of dbopen.
8633 (dbopen): Changed return type to `enum
8634 nss_status'. Mostly rewritten to make sure that we do not report
8635 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8636 (internal_setent): Change return type to nss_status.
8637 Document, and make sure that the function
8638 behaves accordingly. Make dynamically loading the database
8639 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8641 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8643 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8645 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8646 c_get function member.
8647 * nss/nss_db/nss_db.h: Add and tweak some comments.
8648 (DBT): Move typedef before NSS_DBC typedef.
8649 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8651 2000-05-07 H.J. Lu <hjl@gnu.org>
8653 * csu/initfini.c: Moved to ....
8654 * sysdeps/generic/initfini.c: ...here.
8656 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8658 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8660 * manual/resource.texi: Document POSIX scheduling functions.
8661 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8663 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8664 reading anything. Reported by Andries.Brouwer@cwi.nl.
8666 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8667 for x since promotion in comparison might leads to unexpected
8668 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8670 * iconv/Makefile (tests): Add tst-iconv1.
8671 * iconv/tst-iconv1.c: New file.
8672 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8673 empty input buffer over full output buffer.
8674 (ucs4_internal_loop): Likewise.
8675 (ucs4_internal_loop_unaligned): Likewise.
8676 (internal_ucs4le_loop): Likewise.
8677 (internal_ucs4le_loop_unaligned): Likewise.
8678 (ucs4le_internal_loop): Likewise.
8679 (ucs4le_internal_loop_unaligned): Likewise.
8680 Reported by yaoz@nih.gov.
8682 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8684 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8685 returned != __GCONV_OK, there is nothing to clean up.
8687 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8689 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8690 OUTPUT_CHARSET environment variables.
8692 2000-05-06 Andreas Jaeger <aj@suse.de>
8694 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8695 (struct cache_file_new): New.
8696 (struct file_entry): New (moved from cache.c).
8697 (struct cache_file): New (moved from cache.c).
8699 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8700 from _dl_load_cache_lookup.
8701 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8702 the different cache formats.
8703 New variable cache_new for new format.
8705 * elf/ldconfig.h: Change according to changes in cache.c and
8706 ldconfig.c; remove cache_libcmp; add opt_format.
8708 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8709 stuff that's defined in those headers.
8710 Add hwcap to struct lib_entry.
8711 (opt_format): New variable to select cache format.
8712 (options): Add format parameter.
8713 (is_hwcap): New function.
8714 (path_hwcap): New function.
8715 (parse_opt): Handle new format parameter.
8716 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8718 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8719 ldconfig is part of glibc.
8720 Include dl-cache.h and remove stuff that's defined there.
8721 (struct cache_entry): Add new member hwcap.
8722 (print_entry): Print hwcap, cleanup a bit.
8723 (print_cache): Print new and old formats.
8724 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8725 (save_cache): Save new and old formats.
8726 (add_to_cache): Handle hwcap.
8728 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8729 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8730 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8731 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8732 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8733 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8735 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8737 * intl/dcigettext.c (alignof): New macro.
8738 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8739 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8742 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8744 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8747 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8749 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8750 (mempcpy): Correct typo is parameter list.
8752 2000-05-06 Andreas Jaeger <aj@suse.de>
8754 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8755 functions unless -ffast-math is given to gcc.
8757 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8759 * po/ko.po: Update from translation team.
8761 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8763 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8764 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8765 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8766 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8767 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8768 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8770 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8771 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8772 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8774 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8775 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8776 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8777 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8779 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8780 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8782 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8784 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8785 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8787 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8788 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8790 * sysdeps/ia64/Implies: New file.
8791 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8792 * sysdeps/ia64/Makefile: New file.
8793 * sysdeps/ia64/gmp-mparam.h: New file,
8795 * sysdeps/ia64/elf/start.S: New file.
8797 * sysdeps/ia64/bits/fenv.h: New file.
8799 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8801 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8803 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8805 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8806 ia64 has 64 bit .hash entries just as the Alpha.
8808 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8810 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8812 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8814 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8815 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8816 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8817 * sysdeps/ia64/fpu/fegetenv.c: New file.
8818 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8819 * sysdeps/ia64/fpu/fegetround.c: New file.
8820 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8821 * sysdeps/ia64/fpu/fesetenv.c: New file.
8822 * sysdeps/ia64/fpu/fesetround.c: New file.
8823 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8824 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8825 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8826 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8827 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8829 2000-05-05 Andreas Jaeger <aj@suse.de>
8831 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8833 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8834 (_dl_string_hwcap): New, does nothing.
8836 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8837 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8838 (_dl_string_hwcap): New function, converts from string to hwcap
8840 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8841 (_DL_HWCAP_COUNT): New.
8842 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8843 (_dl_string_hwcap): New function, converts from string to hwcap
8845 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8846 (_DL_HWCAP_COUNT): New.
8847 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8848 (_dl_string_hwcap): New function, converts from string to hwcap
8851 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8853 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8854 * sysdeps/ia64/Dist: New file.
8856 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8857 parameter to mprotect and for variable assignments.
8859 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8861 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8862 validity of map before dereferencing it.
8864 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8866 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8868 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8869 lookup to the arguments to elf_machine_fixup_plt().
8871 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8872 of the symbol being resolved to input argument list and make the
8873 function return the pointer to the reloc.
8875 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8876 return valuie to lookup_t and return the value.
8877 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8878 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8879 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8880 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8884 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8885 Make it an inline function returning value after calling
8886 __elf_machine_fixup_plt().
8888 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8891 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8892 obtain the symbol address.
8894 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8895 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8897 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8898 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8901 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8903 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8904 symbol address of an object.
8906 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8907 the symbol address of an object.
8909 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8910 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8911 (_dl_lookup_symbol_skip): Likewise.
8912 (_dl_lookup_versioned_symbol): Likewise.
8913 (_dl_lookup_versioned_symbol_skip): Likewise.
8915 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8917 * elf/rtld.c (_dl_start): Get the function pointer return address
8918 via _dl_start_address for architectures that need a function
8919 pointer descriptor rather than just a pointer (ia64).
8921 * sysdeps/generic/dl-lookupcfg.h: New file.
8922 * sysdeps/ia64/dl-lookupcfg.h: New file.
8923 * sysdeps/ia64/dl-machine.h: New file.
8924 * sysdeps/ia64/dl-symaddr.c: New file.
8925 * sysdeps/ia64/dl-fptr.c: New file.
8927 * elf/elf.h: Add IA-64 specific definitions.
8929 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8931 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8934 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8936 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8939 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8941 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8942 symbol. Call _dl_init rather than the old way.
8944 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8946 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8947 test for pointer in range of DSO address space.
8949 2000-05-04 Andreas Jaeger <aj@suse.de>
8951 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8953 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8955 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8956 calls of _nl_make_l10nflist.
8958 * libio/stdio.h: Make fseeko and ftello prototypes available is
8959 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8961 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8962 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8964 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8966 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8967 before calling tfind.
8969 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8971 * resolv/resolv.h (res_querydomain): Remove redefinition to
8972 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8974 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8976 * po/gl.po: Update from translation team.
8978 * manual/intro.texi (Program Basics): Change section title.
8979 * manual/process.texi: Fix reference.
8980 (Executing a File): Add reference exec in other section.
8981 * manual/signal.texi: Fix reference.
8982 * manual/startup.texi: Document syscall function.
8983 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8985 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8987 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8988 * intl/bindtextdom.c (set_binding_values): New function.
8989 (bindtextdomain): Call it.
8990 (bind_textdomain_codeset): New function.
8991 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8992 (free_mem): Free each binding's codeset.
8993 * intl/gettextP.h (struct binding): Add codeset field.
8994 (_nl_find_domain): Add domainbinding argument.
8995 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8996 Pass it to _nl_make_l10nflist.
8997 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8998 (_nl_make_l10nflist): Add domainbinding argument.
8999 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
9000 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
9001 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
9003 * manual/message.texi: New node "Charset conversion in gettext".
9005 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9007 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
9008 appropriate. Handle possible __read error.
9010 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9012 * intl/gettextP.h (__builtin_expect): Define as empty if not a
9014 * intl/loadinfo.h (__builtin_expect): Likewise.
9015 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
9016 __builtin_expect where appropriate.
9017 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9018 * intl/localealias.c (extend_alias_table): Return an error indicator.
9019 (read_alias_file): Bail out if extend_alias_table fails.
9021 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9023 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9024 * intl/localealias.c: Likewise.
9026 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9028 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9029 Initialize domain->plural and domain->nplurals even if there is no
9032 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9034 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9035 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9036 In case of failure, goto converted.
9038 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9040 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9041 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9042 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9045 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9047 * intl/dcigettext.c (transcmp): Compare the domains as well.
9048 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9050 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9053 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9055 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9056 Reported by Bruno Haible.
9058 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9060 * manual/arith.texi: Remove @w from @itemize.
9062 2000-05-02 Andreas Jaeger <aj@suse.de>
9064 * conform/data/tar.h-data: Add some checks for specific values.
9066 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9069 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9072 * conform/data/netinet/in.h-data: Add exact checks for the values
9073 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9075 * conform/data/float.h-data: Add some minimal values.
9077 * conform/conformtest.pl: Test for macros with string constants,
9078 check for minimum and maximum values.
9079 Add limits.h to headers.
9081 * conform/data/cpio.h-data: Test for value of MAGIC.
9083 * conform/data/limits.h-data: New file.
9085 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9087 * math/Makefile (headers): Add bits/fenvinline.h.
9089 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9091 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9092 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9094 * posix/Versions: Change posix_spawnattr_getdefault and
9095 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9096 and posix_spawnattr_setsigdefault respectively.
9097 * posix/spawn.h: Likewise.
9098 * posix/spawnattr_getdefault.h: Likewise.
9099 * posix/spawnattr_setdefault.h: Likewise.
9100 * conform/data/spawn.h-data: Likewise.
9102 2000-05-01 Andreas Jaeger <aj@suse.de>
9104 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9106 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9108 * manual/sysinfo.texi: Document getdomainname, setdomainname
9110 * manual/string.texi: Fix typo.
9111 * manual/terminal.texi: Document gtty and stty.
9112 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9114 2000-04-30 Andreas Jaeger <aj@suse.de>
9116 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9117 accordance with Austin Draft.
9119 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9121 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9122 to recognize second character in comment line.
9124 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9125 ENOBUFS if we are out of memory.
9127 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9128 available if __USE_XOPEN2K.
9129 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9130 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9131 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9133 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9135 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9136 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9138 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9140 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9141 Recognize option -s, -c, and -l.
9143 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
9145 * nscd/nscd.c: Start new session for nscd, drop privilegs
9146 to configured user if requested and no -S parameter are used.
9147 * nscd/nscd.conf: Add new option "server-user".
9148 * nscd/nscd_conf.c: Add support for new "server-user" option.
9149 * nscd/nscd.h: Add declaration for server_user variable.
9150 Based on patch by Chris Wing <wingc@engin.umich.edu>
9152 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9154 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9155 that changing the __restore and __restore_rt signal return code
9158 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9160 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9163 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9165 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9167 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9169 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9170 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
9172 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
9173 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
9174 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
9175 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
9176 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
9177 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
9178 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
9179 posix_fallocate, and posix_madvise.
9180 * conform/data/netdb.h-data: New file.
9181 * conform/data/pthread.h-data: Add pthread_barrier_t,
9182 pthread_barrierattr_t, pthread_barrier_destroy,
9183 pthread_barrier_init, pthread_barrier_wait,
9184 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
9185 pthread_barrierattr_init, pthread_barrierattr_setpshared,
9186 pthread_condattr_getclock, pthread_condattr_setclock,
9187 pthread_getcpuclockid, pthread_mutex_timedlock,
9188 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
9189 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
9190 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
9191 * conform/data/sched.h-data: Add sched_ss_low_priority,
9192 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
9194 * conform/data/semaphore.h-data: Add sem_timedwait.
9195 * conform/data/signal.h-data: Add SIGIO.
9196 * conform/data/spawn.h-data: New file.
9197 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
9198 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
9199 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
9200 Fix typo in gmtime_r definition.
9201 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
9202 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
9203 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
9204 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
9205 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
9206 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
9207 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
9208 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
9209 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
9210 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
9211 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
9212 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
9213 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
9214 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
9215 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
9216 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
9217 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
9218 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
9219 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
9220 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
9221 typo in off_t definition.
9222 * conform/data/net/if.h-data: New file.
9223 * conform/data/netinet/in.h-data: New file.
9224 * conform/data/netinet/tcp.h-data: New file.
9225 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
9226 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
9227 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
9228 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
9229 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
9230 and posix_typed_mem_open.
9231 * conform/data/sys/socket.h-data: New file.
9232 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9233 * conform/data/sys/types.h-data: Add pthread_barrier_t,
9234 pthread_barrierattr_t, and pthread_spinlock_t.
9235 * conform/data/sys/un.h-data: New file.
9236 * conform/data/sys/utsname.h-data: New file.
9238 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9240 * inet/gethstbyad.c (gethostbyname): Likewise.
9241 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9242 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9243 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9244 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9246 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9247 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9248 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9249 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9250 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9251 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9252 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9253 and second parameter.
9255 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9258 2000-04-29 Andreas Jaeger <aj@suse.de>
9260 * conform/data/arpa/inet.h-data: New file.
9262 2000-04-28 Geoff Clare <gwc@unisoft.com>
9264 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9265 path passed to ftw() or nftw() is an empty string.
9266 Closes PR libc/1710.
9268 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9270 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9271 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9272 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9273 * localedata/tst-mbswcs4.c: New file.
9274 * localedata/tst-mbswcs5.c: New file.
9276 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9277 == NULL. Little optimization.
9279 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9280 DT_PREINIT_ARRAYSZ).
9281 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9283 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9284 overflows in conversion from ASCII.
9286 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9288 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9289 * Makerules (full_config_sysdirs): Likewise.
9290 * MakeTAGS (full_config_sysdirs): Likewise.
9292 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9294 * .cvsignore: Remove linuxthreads.
9295 * po/.cvsignore: Remove *.pot.
9296 * posix/glob/.cvsignore: Removed.
9297 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9299 2000-04-25 Andreas Jaeger <aj@suse.de>
9301 * conform/Makefile (distribute): Also distribute contents of
9304 * Makerules (no_deps): Remove abi-versions.h.
9306 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9308 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9310 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9311 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9312 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9313 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9314 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9315 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9318 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9320 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9322 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9324 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9325 * intl/l10nflist.c: Likewise.
9327 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9329 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9330 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9331 * intl/textdomain.c [!_LIBC]: Likewise.
9332 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9333 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9334 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9337 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9339 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9340 character set conversion also in the case the translation was found
9341 after a hash collision or through binary search. Store the maximum
9342 index together with the converted message. Use iconv() when available.
9343 In case of out of memory during conversion, return the unconverted
9344 translated string, not NULL.
9346 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9348 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9349 to avoid name clashes with the ia32 linker.
9351 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9353 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9356 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9358 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9359 strtoumax, strfry, and memfrob.
9360 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9361 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9363 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9364 if this function is available.
9366 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9369 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9371 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9373 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9375 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9376 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9377 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9378 * localedata/tst-mbswcs3.c: New file.
9380 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9382 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9383 characters. Don't handle incomplete characters as errors.
9384 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9385 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9386 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9387 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9388 * localedata/tst-mbswcs2.c: New file.
9390 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9391 stored character in state in UNPACK_BYTES macro.
9392 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9393 test for available characters, handle result of BODY code correctly.
9394 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9395 (distribute): Add tst-mbswcs.sh.
9396 Add rule to run tst-mbswcs.sh.
9397 * localedata/tst-mbswcs.sh: New file.
9398 * localedata/tst-mbswcs1.c: New file.
9400 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9402 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9403 allocation fixups centrally, fix __builtin_expect call, return NULL
9404 on failure, not NIS_NOMEMORY.
9406 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9408 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9410 * intl/loadinfo.h (internal_function): Define if not already defined.
9412 2000-04-27 Andreas Jaeger <aj@suse.de>
9414 * intl/libintl.h: Fix typo, reported by Bruno Haible
9415 <haible@clisp.cons.org>.
9417 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9419 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9420 setting the state to GMON_PROF_BUSY.
9422 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9424 * elf/dl-profile.c (_dl_start_profile): define all variables which
9425 do not have to be global as local variables.
9427 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9428 patch. Keep needed tests for failed memory allocation.
9430 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9431 __builtin_expect saying that we don't normally expect to profile.
9433 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9434 __builtin_expect where desirable.
9436 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9438 * manual/Makefile (chapters): Add syslog.
9439 * manual/syslog.texi: New file.
9440 * manual/math.texi: Fix references.
9441 * manual/terminal.texi: Likewise.
9442 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9444 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9446 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9447 stdlib.h was not included or __USE_XOPEN not defined.
9449 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9451 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9452 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9454 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9456 * manual/examples/subopt.c (mount_opts): Add missing terminating
9458 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9460 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9461 * libio/ftello.c: Likewise.
9462 * libio/ftello64.c: Likewise.
9463 * libio/ioftell.c: Likewise.
9464 * sysdeps/generic/memrchr.c: Likewise.
9465 * sysdeps/posix/libc_fatal.c: Likewise.
9466 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9467 * misc/fstab.c: Include <string.h> for strcmp prototype.
9468 * sysdeps/generic/ldsodefs.h: Likewise.
9469 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9470 Patch by Kurt Roeckx <Q@ping.be>.
9472 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9473 Remove db-open. Change all uses.
9474 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9476 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9478 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9479 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9480 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9481 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9482 with .set noat/at to shut up warnings.
9483 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9484 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9485 compilation if __NR_pciconfig_iobase is not defined.
9486 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9489 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9491 * manual/sysinfo.texi: Fix typo.
9492 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9493 Replace "high precision time" with "high accuracy clock".
9495 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9497 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9498 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9500 * nis/nis_subr.c: Use __builtin_expect.
9501 * nis/ypclnt.c: Likewise.
9502 * nis/nis_getservlist.c: Likewise.
9503 * nis/nis_creategroup.c: Likewise.
9505 * nis/nis_callback.c (__nis_create_callback): Check result of
9506 memory allocation. Fix memory leaks. Use __builtin_expect.
9507 (__nis_destroy_callback): Fix memory leaks.
9509 2000-04-21 Andreas Jaeger <aj@suse.de>
9511 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9512 * sysdeps/mips/mips64/add_n.S: Likewise.
9513 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9514 * sysdeps/mips/mips64/lshift.S: Likewise.
9515 * sysdeps/mips/mips64/mul_1.S: Likewise.
9516 * sysdeps/mips/mips64/rshift.S: Likewise.
9517 * sysdeps/mips/mips64/setjmp.S: Likewise.
9518 * sysdeps/mips/mips64/sub_n.S: Likewise.
9519 * sysdeps/mips/mips64/submul_1.S: Likewise
9520 * sysdeps/unix/mips/sysdep.S: Likewise.
9522 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9523 and update comment. The strtab from _dl_relocate_object can be
9526 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9528 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9529 * iconv/iconv_close.c (iconv_close): Likewise.
9530 * iconv/iconv_open.c (iconv_open): Likewise.
9532 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9533 __builtin_expect where useful.
9535 * grp/initgroups.c (initgroups): Test for result of memory
9536 allocation and punt if it fails.
9538 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9539 * grp/fgetgrent.c (fgetfrent): Likewise.
9540 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9542 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9544 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9546 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9548 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9549 don't search for NUL byte to decrement counter.
9550 Reported by Ulrich.Brink@sap.com.
9552 * iconv/gconv_simple.c: Define separate functions to convert from
9553 UCS4/UCS4-LE to the internal encoding.
9554 * iconv/gconv_builtin.h: Use separate functions to convert from
9555 UCS4/UCS4-LE to the internal encoding.
9556 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9557 __gconv_transform_ucs4le_internal.
9559 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9560 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9562 * iconv/skeleton.c: Add some more __builtin_expect.
9563 * iconv/loop.c: Likewise.
9565 2000-03-08 H.J. Lu <hjl@gnu.org>
9567 * posix/regex.c (regex_compile): Correctly handle "\{" when
9568 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9570 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9572 * manual/stdio.texi: Give advise about handling error when using
9574 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9576 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9578 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9579 field to nelems * sizeof (uint32_t).
9580 * locale/programs/ld-address.c (address_output): Align word fields
9582 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9583 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9585 Avoid giving arbitrary garbage in the crncystr field.
9586 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9587 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9589 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9590 Don't restart idx pointers to idx end at the decimal_point_wc field.
9591 * locale/programs/ld-time.c (time_output): week_1stday should be
9592 word, not byte. Align it properly.
9594 2000-04-19 H.J. Lu <hjl@gnu.org>
9596 * csu/gmon-start.c (_start): Declared as "extern void".
9599 2000-04-18 Andreas Jaeger <aj@suse.de>
9601 * manual/install.texi (Running make install): Don't mention utmpd
9604 2000-04-18 Andreas Jaeger <aj@suse.de>
9606 * linuxthreads/Versions: Use ld instead of ld.so.
9608 * elf/Makefile (ld-map): Use ld.map.
9610 * Versions.def: Use ld instead of ld.so.
9611 * elf/Versions: Likewise.
9612 * sysdeps/mach/hurd/Versions: Likewise.
9614 2000-04-20 Andreas Jaeger <aj@suse.de>
9616 * elf/rtld.c (print_statistics): Move ifndef further up.
9617 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9618 (dl_main): Likewise.
9620 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9622 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9623 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9625 * po/cs.po: Update from translation team.
9627 * sysdeps/generic/updwtmp.c: Remove daemon support.
9629 * login/Makefile (routines): Remove utmp_daemon.
9631 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9632 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9633 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9634 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9636 * elf/rtld.c: Display statitics option also if hp timing is not
9639 * login/programs/connection.c: Removed.
9640 * login/programs/database.c Removed.
9641 * login/programs/error.c: Removed.
9642 * login/programs/request.c: Removed.
9643 * login/programs/xtmp.c: Removed.
9644 * login/programs/xtmp.h: Removed.
9645 * login/Makefile: Remove rules for utmpd.
9646 * login/README.utmpd: Removed.
9647 * login/utmp_daemon.c: Removed.
9648 * login/getutent_r.c: Remove references to daemon functions.
9649 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9652 2000-04-18 Andreas Jaeger <aj@suse.de>
9654 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9655 2.2 for libnsl, libresolv, librt, libnss_*.
9657 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9659 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9661 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9663 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9664 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9665 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9666 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9667 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9668 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9669 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9670 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9671 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9672 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9673 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9674 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9675 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9677 * sysdeps/unix/sysv/aix/msync.c: New file.
9678 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9679 * sysdeps/unix/sysv/aix/net/if.h: New file.
9680 * sysdeps/unix/sysv/aix/pipe.c: New file.
9681 * sysdeps/unix/sysv/aix/poll.c: New file.
9682 * sysdeps/unix/sysv/aix/rename.c: New file.
9683 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9684 * sysdeps/unix/sysv/aix/select.c: New file.
9685 * sysdeps/unix/sysv/aix/semctl.c: New file.
9686 * sysdeps/unix/sysv/aix/semget.c: New file.
9687 * sysdeps/unix/sysv/aix/semop.c: New file.
9688 * sysdeps/unix/sysv/aix/sendto.c: New file.
9689 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9690 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9691 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9692 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9693 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9694 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9695 * sysdeps/unix/sysv/aix/setsid.c: New file.
9696 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9697 * sysdeps/unix/sysv/aix/shmat.c: New file.
9698 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9699 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9700 * sysdeps/unix/sysv/aix/shmget.c: New file.
9701 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9702 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9703 * sysdeps/unix/sysv/aix/socket.c: New file.
9704 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9705 * sysdeps/unix/sysv/aix/speed.c: New file.
9706 * sysdeps/unix/sysv/aix/symlink.c: New file.
9707 * sysdeps/unix/sysv/aix/sync.c: New file.
9708 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9709 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9710 * sysdeps/unix/sysv/aix/times.c: New file.
9711 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9712 * sysdeps/unix/sysv/aix/umask.c: New file.
9713 * sysdeps/unix/sysv/aix/unlink.c: New file.
9714 * sysdeps/unix/sysv/aix/ustat.c: New file.
9715 * sysdeps/unix/sysv/aix/utimes.c: New file.
9717 2000-04-18 Andreas Jaeger <aj@suse.de>
9719 * manual/startup.texi (Environment Access): Fix putenv prototype
9720 according to recent changes.
9721 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9724 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9727 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9729 * posix/Makefile (tests): Add tst-getaddrinfo.
9730 * posix/tst-getaddrinfo.c: New file.
9732 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9734 * manual/sysinfo.texi: Document that umount2 is not widely available.
9736 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9737 signal timing is not really implemented.
9739 2000-04-17 Andreas Jaeger <aj@suse.de>
9741 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9743 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9745 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9748 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9750 * manual/intro.texi: Change reference from System Information to
9752 * manual/users.texi: Likewise.
9753 * manual/conf.texi: Likewise.
9754 * manual/sysinfo.texi: Document mount, umount, and umount2.
9755 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9757 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9759 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9760 Create wnumstr as well as numstr to support wide character output
9763 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9765 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9766 modification and move it...
9767 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9768 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9769 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9770 switch to $(LD) on sparc-linux.
9772 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9774 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9775 and setresuid from sysdep_routines.
9777 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9779 * manual/Makefile (chapters): Add resource.
9781 * manual/time.texi: Move section on resources to...
9782 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9784 * manual/setjmp.texi: Adjust back reference.
9785 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9787 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9789 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9790 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9791 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9792 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9793 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9794 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9795 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9796 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9797 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9798 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9799 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9800 * sysdeps/unix/sysv/aix/Implies: New file.
9801 * sysdeps/unix/sysv/aix/Versions: New file.
9802 * sysdeps/unix/sysv/aix/bind.c: New file.
9803 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9804 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9805 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9806 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9807 * sysdeps/unix/sysv/aix/chdir.c: New file.
9808 * sysdeps/unix/sysv/aix/chmod.c: New file.
9809 * sysdeps/unix/sysv/aix/chroot.c: New file.
9810 * sysdeps/unix/sysv/aix/creat.c: New file.
9811 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9812 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9813 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9814 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9815 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9816 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9817 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9818 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9819 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9820 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9821 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9822 * sysdeps/unix/sysv/aix/link.c: New file.
9823 * sysdeps/unix/sysv/aix/madvise.c: New file.
9824 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9825 * sysdeps/unix/sysv/aix/mknod.c: New file.
9826 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9827 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9828 * sysdeps/unix/sysv/aix/msgget.c: New file.
9829 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9831 2000-04-17 Andreas Jaeger <aj@suse.de>
9833 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9834 as suggested by Ulrich Drepper.
9835 (__dl_runtime_resolve): Remove unused variable, initialize sym
9837 (RTLD_START): Document OFFSET_GP_GOT.
9838 (OFFSET_GP_GOT): New magic value.
9839 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9840 (elf_machine_got_rel): Only declare strtab if needed.
9841 (elf_machine_relplt): Removed, it's not needed.
9842 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9844 * sysdeps/mips/add_n.S: Add newline at EOF.
9845 * sysdeps/mips/rshift.S: Likewise.
9846 * sysdeps/mips/mul_1.S: Likewise.
9847 * sysdeps/mips/lshift.S: Likewise.
9848 * sysdeps/mips/addmul_1.S: Likewise.
9850 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9852 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9854 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9855 * elf/dl-lookup.c: Likewise.
9856 * elf/dl-init.c (_dl_init): Likewise.
9857 * elf/dl-fini.c (_dl_fini): Likewise.
9858 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9859 * elf/dl-close.c (_dl_close): Likewise.
9860 * elf/rtld.c (_dl_start_final): Likewise.
9862 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9864 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9866 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9867 only fall back on using Linux.
9869 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9870 Before testing versions check that we actually loaded the object
9871 and whether we are in trace mode. If not loaded during tracing don't
9872 test versions in this object.
9873 (_dl_check_all_versions): Take new parameter and pass to
9874 _dl_check_map_versions.
9875 * sysdeps/generic/ldsodefs.h: Update prototypes for
9876 _dl_check_all_versions and _dl_check_map_versions.
9877 * elf/rtld.c (struct version_check_args): Add dotrace.
9878 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9879 (dl_main): Pass info about trace mode to version_check_doit.
9880 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9881 _dl_check_all_versions.
9883 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9885 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9887 * manual/argp.texi: Document index parameter of argp_parse.
9889 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9891 2000-04-14 Andreas Jaeger <aj@suse.de>
9893 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9894 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9896 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9898 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9900 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9901 compat_symbol call for old adjtime.
9903 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9904 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9906 * posix/Makefile (headers): Add spawn.h.
9907 (distribute): Add spawn_int.h.
9908 (routines): Add spawn_faction_init, spawn_faction_destroy,
9909 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9910 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9911 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9912 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9913 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9914 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9915 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9916 posix_spawnattr_init, posix_spawnattr_destroy,
9917 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9918 posix_spawnattr_getflags, posix_spawnattr_setflags,
9919 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9921 * posix/spawn.c: New file.
9922 * posix/spawn.h: New file.
9923 * posix/spawn_faction_addclose.c: New file.
9924 * posix/spawn_faction_adddup2.c: New file.
9925 * posix/spawn_faction_addopen.c: New file.
9926 * posix/spawn_faction_destroy.c: New file.
9927 * posix/spawn_faction_init.c: New file.
9928 * posix/spawn_int.h: New file.
9929 * posix/spawnattr_destroy.c: New file.
9930 * posix/spawnattr_getdefault.c: New file.
9931 * posix/spawnattr_getflags.c: New file.
9932 * posix/spawnattr_getpgroup.c: New file.
9933 * posix/spawnattr_getschedparam.c: New file.
9934 * posix/spawnattr_getschedpolicy.c: New file.
9935 * posix/spawnattr_getsigmask.c: New file.
9936 * posix/spawnattr_init.c: New file.
9937 * posix/spawnattr_setdefault.c: New file.
9938 * posix/spawnattr_setflags.c: New file.
9939 * posix/spawnattr_setpgroup.c: New file.
9940 * posix/spawnattr_setschedparam.c: New file.
9941 * posix/spawnattr_setschedpolicy.c: New file.
9942 * posix/spawnattr_setsigmask.c: New file.
9943 * posix/spawni.c: New file.
9944 * posix/spawnp.c: New file.
9946 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9947 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9949 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9951 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9952 * malloc/malloc.c: Implement posix_memalign for glibc.
9953 * include/stdlib.h: Add prototype for __posix_memalign.
9954 * stdlib/stdlib.h: Add prototype for posix_memalign.
9956 2000-04-14 Andreas Jaeger <aj@suse.de>
9958 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9960 (elf_machine_got_rel): Cast sym correctly.
9962 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9963 * sysdeps/mips/addmul_1.S: Likewise.
9964 * sysdeps/mips/lshift.S: Likewise.
9965 * sysdeps/mips/mul_1.S: Likewise.
9966 * sysdeps/mips/rshift.S: Likewise.
9967 * sysdeps/mips/sub_n.S: Likewise.
9968 * sysdeps/mips/submul_1.S: Likewise.
9970 * stdlib/stdlib.h: Fix typo in comment.
9972 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9973 2.2 for libdl, ld and libm.
9975 * sysdeps/generic/madvise.c: Fix typos.
9977 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9979 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9981 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9984 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9986 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9987 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9988 Make old name weak alias.
9989 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9990 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9991 Make old name weak alias.
9992 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9994 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9995 posix_fallocate, and posix_fallocate64.
9996 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9997 posix_fallocate, and posix_fallocate64.
9998 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9999 posix_fallocate, and posix_fallocate64.
10000 * sysdeps/generic/fadvise.c: New file.
10001 * sysdeps/generic/fadvise64.c: New file.
10002 * sysdeps/generic/fallocate.c: New file.
10003 * sysdeps/generic/fallocate64.c: New file.
10004 * sysdeps/posix/fallocate.c: New file.
10005 * sysdeps/posix/fallocate64.c: New file.
10006 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
10007 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
10008 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
10009 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10010 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10011 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10013 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10016 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
10017 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10019 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10021 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
10022 * misc/sys/mman.h (posix_madvise): Add prototype.
10023 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
10024 old name and posix_madvise weak aliases.
10025 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10026 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10027 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10028 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10029 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10033 2000-04-13 Andreas Jaeger <aj@suse.de>
10035 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10037 (elf_machine_got_rel): Only add runtime display if needed.
10038 (elf_machine_got_rel): Handle symbol versioning.
10040 2000-04-13 Andreas Jaeger <aj@suse.de>
10042 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10044 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10047 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10048 with some applications.
10049 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10051 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10052 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10053 * sysdeps/mips/setjmp.S: Likewise.
10055 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10057 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10059 * posix/globtest.sh: Work around inconsistency with expanding ~/
10060 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10062 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10064 * posix/getconf.c: Add support for many more POSIX options.
10065 * sysdeps/posix/sysconf.c: Likewise.
10066 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10067 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10069 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10070 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10071 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10072 CLOCK_THREAD_CPUTIME_ID.
10073 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10074 CLOCK_PROCESS_CPUTIME_ID.
10075 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10076 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10077 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10078 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10080 * malloc/Makefile (tests): Add tst-calloc.
10081 * malloc/tst-calloc.c: New file.
10083 * sysdeps/arm/libm-test-ulps: New file.
10085 * malloc/malloc.c: Undo all of today's changes.
10087 * locale/programs/locale.c (show_info): Don't try to look into
10088 data for LC_ALL (there is none).
10090 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10091 avoid writing over boundary.
10092 Patch by Greg McGary <gkm@eng.ascend.com>.
10094 * sysdeps/arm/memprof.h: New file.
10096 2000-04-12 Andreas Jaeger <aj@suse.de>
10098 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10100 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10101 for memmem declaration.
10103 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10105 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10107 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10109 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10111 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10112 Patch by Bart Veer <bartv@redhat.com>.
10114 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10115 function interface.
10117 2000-04-11 Andreas Jaeger <aj@suse.de>
10119 * sysdeps/mips/dl-machine.h: Update some comments.
10120 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10122 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10124 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10125 _POSIX_SHARED_MEMORY_OBJECTS.
10127 * rt/Makefile (tests): Add tst-shm.
10128 Add rules to generate tst-shm.
10129 * rt/tst-shm.c: New file.
10131 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10134 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10135 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10136 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10137 * sysdeps/generic/shm_open.c: New file.
10138 * sysdeps/generic/shm_unlink.c: New file.
10139 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10140 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10141 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10142 __endmntent, __getmntent_r, __setmntent, and __statfs.
10144 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10145 fragmentation by allocating new memory at the end instead of
10148 * posix/globtest.sh: Fix last change.
10150 2000-04-10 Philip Blundell <philb@gnu.org>
10152 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10153 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10154 IPV6_DROP_MEMBERSHIP.
10155 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10158 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10160 * elf/readlib (process_file): Close streams in case of an error.
10162 2000-04-09 Andreas Jaeger <aj@suse.de>
10164 * elf/readlib.c (process_file): Check if file is big enough to
10165 contain aout and ELF headers.
10166 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10168 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
10170 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
10172 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10174 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
10176 * rt/Makefile (tests): Add tst-clock.
10177 Add rules to build tst-clock.
10178 * rt/tst-clock.c: New file.
10179 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
10180 about initialization of nsec.
10181 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
10182 about initialization of freq. Set retval to zero if successful.
10183 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
10185 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10187 * Versions.def (librt): Add GLIBC_2.2.
10188 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
10189 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
10190 timer_getoverr, timer_gettime, and timer_settime.
10191 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
10192 clock_settime, timer_create, timer_delete, timer_getoverrun,
10193 timer_gettime, and timer_settime.
10194 * sysdeps/generic/clock_getcpuclockid.c: New file.
10195 * sysdeps/generic/get_clockfreq.c: New file.
10196 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
10197 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
10198 * sysdeps/mach/hurd/i386/bits/time.h: New file.
10199 * sysdeps/unix/i386/i586/clock_getres.c: New file.
10200 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
10201 * sysdeps/unix/i386/i686/Implies: New file.
10202 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
10203 * time/Makefile (routines): Move clock_getres, clock_gettime,
10204 clock_settime, timer_create, timer_delete, timer_getoverr,
10205 timer_gettime, and timer_settime to rt/Makefile.
10206 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
10207 clock_settime, timer_create, timer_delete, timer_getoverrun,
10208 timer_gettime, and timer_settime.
10209 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
10211 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
10212 and not const as attribute name.
10214 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
10216 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
10218 2000-04-10 Andreas Schwab <schwab@suse.de>
10220 * posix/globtest.sh: Skip tests that depend on unreadable
10221 directories if run as root.
10223 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10225 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
10226 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
10228 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10230 * sysdeps/unix/clock_gettime.c: New file.
10231 * sysdeps/unix/clock_settime.c: New file.
10232 * sysdeps/posix/clock_getres.c: New file.
10234 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10236 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10237 lseek call be passing in a buffer which never allow a successful
10238 first getdents syscall if not at leas the initial entry can be
10239 stored in the user buffer.
10241 * localedata/Makefile: Add rules to clean up directories created by
10244 2000-04-09 Geoff Clare <gwc@unisoft.com>
10246 * localedata/tst-fmon.data: Added new tests for strfmon()
10247 using test locales with all combinations of cs_precedes,
10248 sign_posn and sep_by_space.
10249 * localedata/tst-fmon.sh: Updated to support the new tests.
10250 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10251 the localedef source for the new strfmon() test locale.
10252 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10253 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10254 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10255 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10256 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10257 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10258 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10259 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10260 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10261 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10262 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10263 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10264 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10265 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10267 * stdlib/strfmon.c: Correct problems with missing or extra
10268 spaces for unusual combinations of sign_posn and sep_by_space.
10269 Improved left-precision alignment code.
10271 2000-04-07 Andreas Jaeger <aj@suse.de>
10273 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10275 2000-04-10 Andreas Jaeger <aj@suse.de>
10277 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10279 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10281 Implement handling of restartable conversion functions according to
10283 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10284 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10285 * iconv/gconv.c: Pass additional parameter to conversion function.
10286 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10287 (internal_ucs4le_loop_single): New function.
10288 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10289 (__gconv_transform_internal_ascii): Likewise.
10290 (__gconv_transform_internal_utf8): Likewise.
10291 (__gconv_transform_utf8_internal): Likewise.
10292 (__gconv_transform_ucs2_internal): Likewise.
10293 (__gconv_transform_internal_ucs2): Likewise.
10294 (__gconv_transform_ucs2reverse_internal): Likewise.
10295 (__gconv_transform_internal_ucs2reverse): Likewise.
10296 (internal_ucs4le_loop_unaligned): Before return
10297 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10298 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10299 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10300 * iconv/loop.c: Fit in definition of function to convert one character
10301 for processing of left-over bytes from the state object.
10302 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10303 inend to match names in loop functions.
10304 (RESET_INPUT_BUFFER): Change apprpriately.
10305 (gconv): If needed, call function to process bytes from the state
10306 object. Similar at the end: store left over bytes if input is
10308 Take extra argument and add new argument to all calls of the
10309 conversion function.
10310 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10311 information in the state object to not conflict with length count.
10312 * iconvdata/iso-2022-jp.c: Likewise.
10313 * iconvdata/iso-2022-kr.c: Likewise.
10314 * iconvdata/unicode.c: Adjust for change change in parameters of
10316 * iconvdata/utf-16.c: Likewise.
10317 * libio/iofwide.c: Add new parameter to all calls of conversion
10319 * wcsmbs/btowc.c: Likewise.
10320 * wcsmbs/mbrtowc.c: Likewise.
10321 * wcsmbs/mbsnrtowcs.c: Likewise.
10322 * wcsmbs/mbsrtowcs.c: Likewise.
10323 * wcsmbs/wcrtomb.c: Likewise.
10324 * wcsmbs/wcsnrtombs.c: Likewise.
10325 * wcsmbs/wcsrtombs.c: Likewise.
10326 * wcsmbs/wctob.c: Likewise.
10328 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10331 2000-04-07 Andreas Jaeger <aj@suse.de>
10333 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10336 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10338 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10339 element a union to allow byte access.
10340 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10342 * iconvdata/iso-2022-jp.c: Likewise.
10343 * iconvdata/iso-2022-kr.c: Likewise.
10344 * wcsmbs/mbsinit.c: Likewise.
10345 * stdlib/mblen.c: Likewise.
10346 * stdio-common/printf-parse.h: Likewise.
10348 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10350 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10351 kernel does not allow relative seeks on descriptors associated
10352 with directories. Go back to get the position in the directory
10353 every time we enter the function. Return -1 and set errno if one
10354 entry could be read from the kernel but does not fit into the
10355 buffer passed in by the user.
10357 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10358 Support ..(2).. ellipsis.
10359 (parse_charmap): Recognize ..(2).. etc and pass step down.
10360 Correctly generate names for UCS4 characters.
10362 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10363 (ctype_finish): We know the wide character value for <SP>,
10365 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10366 (charclass_ucs4_ellipsis): Likewise.
10367 (read_translit_ignore_entry): Store ellipsis step.
10368 (ctype_read): Recognize ..(2).. etc and pass step down.
10370 * locale/programs/linereader.c (lr_token): When seeing comment
10371 character ignore only rest of line in sources but stop at escaped
10373 Recognize ..(2).. and ....(2).....
10375 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10376 and tok_ellipsis4_2.
10378 2000-04-06 Andreas Jaeger <aj@suse.de>
10380 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10381 removed, remove it here also.
10382 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10387 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10389 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10390 include bits/sigcontext.h.
10391 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10393 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10395 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10396 collation symbol definition. Value in quivalence definition must
10397 be defined, don't check that it is not.
10399 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10400 values as character names.
10402 * locale/programs/ld-ctype.c (get_character): Handle missing
10403 repertoire map correctly.
10405 2000-04-05 Cristian Gafton <gafton@redhat.com>
10407 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10408 because it is used in generic code.
10409 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10410 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10411 * intl/gettext.c: Include <locale.h>.
10412 * intl/ngettext.c: Likewise.
10414 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10416 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10417 socklen_t type for size.
10418 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10419 init function interface.
10420 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10421 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10423 (__jmp_buf): Declare the whole type structure here, don't use
10426 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10428 * iconv/skeleton.c (put16u): Fix typo.
10429 Reported by Bruno Haible <haible@ilog.fr>.
10431 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10432 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10433 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10435 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10436 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10438 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10439 * Makefile (distribute): Add abi-versions.awk and
10441 Patches by Torsten Duwe <duwe@caldera.de>.
10443 2000-04-05 Andreas Schwab <schwab@suse.de>
10445 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10447 2000-04-05 Andreas Schwab <schwab@suse.de>
10449 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10450 entry point, used on Hurd.
10452 2000-04-04 Andreas Jaeger <aj@suse.de>
10454 * intl/Makefile: Only run the gettext test with shared libraries.
10456 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10458 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10459 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10461 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10463 * Makeconfig: Undo last change.
10464 * configure.in: If --disable-shared was given, don't set VERSIONING,
10465 don't define DO_VERSIONING, and don't give scare warning for no
10467 * configure: Regenerated.
10469 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10471 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10473 2000-04-04 Andreas Jaeger <aj@suse.de>
10475 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10477 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10479 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10480 STV_HIDDEN and STV_INTERNAL during lookup.
10481 (profile_fixup): Likewise.
10482 * elf/dl-reloc.c (RESOLVE): Likewise.
10484 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10485 unaligned so that it compiles for system which need unaligned
10488 2000-04-04 Andreas Schwab <schwab@suse.de>
10490 * elf/cache.c (print_entry): Only look at the type field when
10493 2000-04-04 Andreas Schwab <schwab@suse.de>
10495 * iconvdata/big5.c (BODY): Fix typo.
10497 2000-04-04 Andreas Schwab <schwab@suse.de>
10499 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10500 function interface. Remove unused _dl_start_user entry point.
10502 2000-04-03 Andreas Jaeger <aj@suse.de>
10504 * include/arpa/inet.h (__inet_aton): Add protoype.
10506 2000-04-01 Andreas Jaeger <aj@suse.de>
10508 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10510 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10511 * sysdeps/mach/mips/thread_state.h: Likewise.
10513 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10514 * sysdeps/generic/fegetenv.c: Likewise.
10515 * sysdeps/generic/fesetenv.c: Likewise.
10516 * sysdeps/generic/feupdateenv.c: Likewise.
10517 * sysdeps/generic/fraiseexcpt.c: Likewise.
10518 * sysdeps/generic/fsetexcptflg.c: Likewise.
10519 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10520 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10521 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10522 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10524 2000-04-02 H.J. Lu <hjl@gnu.org>
10526 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10528 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10530 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10531 (add_name_to_object): Add cast in malloc call.
10532 (fillin_rpath): Optimize loop to initialize ->status a bit.
10534 * sysdeps/i386/dl-machine.h: Undo last change.
10535 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10536 Restore %edx register after call here.
10538 * sysdeps/arm/atomicity.h: New file.
10539 Contributed by Jesper Skov <jskov@redhat.com>.
10541 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10543 * Makeconfig (preprocess-versions): Undo last change.
10544 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10546 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10547 here, before we might move the stack.
10548 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10549 (init1): And not here.
10551 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10552 change, to restore argc value in call-clobbered register after
10553 RTLD_START_SPECIAL_INIT, which will contain a call.
10555 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10556 allocating and initializing L->l_initfini.
10558 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10560 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10562 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10563 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10564 (open_path): Change type of fourth parameter. Make pointer to array
10565 of pointers. Create variable dirs with original type.
10566 Track whether any directory for the object exists and if not,
10567 change *DIRSP to (void*) -1 to signal there is no such search path.
10568 (_dl_map_object): Change all calls of open_path.
10569 Rewrite decompose_rpath calls.
10571 2000-03-31 Andreas Schwab <schwab@suse.de>
10573 * string/strfry.c: Declare STATE as array of char instead of int
10574 and do not initialize it (done by initstate_r). Pass correct
10577 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10579 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10581 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10582 instruction out of the code.
10584 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10586 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10587 element at this position.
10589 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10590 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10591 l_reldeps elements.
10592 * elf/dl-lookup.c (add_dependency): New function.
10593 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10594 dynamically loaded object.
10595 (_dl_lookup_symbol_skip): Likewise.
10596 (_dl_lookup_versioned_symbol): Likewise.
10597 (_dl_lookup_versioned_symbol_skip): Likewise.
10598 * elf/dl-open.c: Don't define _dl_load_lock here...
10599 * elf/rtld.c: ...but here...
10600 * elf/dl-support.c: ...and here.
10601 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10602 through relocation.
10603 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10605 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10607 * dlfcn/glrefmain.c: Add one more debug message.
10609 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10611 * Makerules (sysd-versions): Use ( ) instead of { }.
10613 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10614 optimize for the non-debugging case.
10615 * elf/dl-lookup.c: Likewise.
10616 * sysdeps/generic/libc-start.c: Likewise.
10618 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10620 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10621 (init1): Don't initialize __environ here, since init already does it.
10622 (first_init): New function, broken out of _init.
10623 (_hurd_stack_setup): Use it.
10624 [SHARED] (_dl_init_first): New function, renamed from old _init.
10625 (init1) [SHARED]: Don't call posixland_init here.
10626 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10627 [SHARED] (_init): Define as alias for posixland_init.
10628 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10629 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10630 RTLD_START_SPECIAL_INIT before calling initializers.
10631 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10632 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10633 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10634 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10636 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10637 since we define the function with the name `tmpfile'.
10639 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10640 * hurd/Versions: Likewise.
10642 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10644 * elf/dl-runtime.c (fixup): Fix typo in comment.
10646 * resolv/netdb.h (getnameinfo): All length parameters are of type
10648 * inet/getnameinfo.c: Likewise.
10650 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10652 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10653 (gethostname): Change type of second parameter to socklen_t.
10654 * include/unistd.h (__gethostname): Change type of second
10655 parameter to socklen_t.
10656 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10657 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10658 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10659 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10661 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10662 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10663 Allow definition elsewhere.
10664 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10665 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10666 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10667 * sysdeps/generic/bits/types.h: Define __socklen_t.
10668 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10669 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10670 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10671 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10672 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10673 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10674 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10676 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10677 (inet_lnaof): Likewise.
10678 (inet_netof): Likewise.
10679 (inet_network): Likewise.
10680 (inet_aton): Likewise.
10681 (inet_makeaddr): Change parameter types to in_addr_t.
10682 (inet_neta): Likewise.
10683 (inet_ntop): Change type of last parameter to socklen_t.
10684 (inet_aton): Only make available if __USE_MISC.
10685 (inet_neta): Likewise.
10686 (inet_net_ntop): Likewise.
10687 (inet_net_pton): Likewise.
10688 (inet_nsap_ntoa): Likewise.
10690 * inet/in.h: Define in_port_t type.
10691 Define in_addr_t type.
10692 (struct in_addr): Use in_addr_t in definition.
10693 (IN_CLASSA): Use cast to in_addr_t.
10694 (IN_CLASSB): Likewise.
10695 (IN_CLASSC): Likewise.
10696 (IN_CLASSD): Likewise.
10697 (IN_EXPERIMENTAL): Likewise.
10698 (IN_BADCLASS): Likewise.
10699 (INADDR_ANY): Likewise.
10700 (INADDR_BROADCAST): Likewise.
10701 (INADDR_NONE): Likewise.
10702 (INADDR_LOOPBACK): Likewise.
10703 (INADDR_UNSPEC_GROUP): Likewise.
10704 (INADDR_ALLHOSTS_GROUP): Likewise.
10705 (INADDR_ALLRTRS_GROUP): Likewise.
10706 (INADDR_MAX_LOCAL_GROUP): Likewise.
10707 (struct sockaddr_in): Use in_port_t for sin_port element.
10708 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10709 Use uint8_t instead of u_int8_t.
10711 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10712 Call __inet_aton instead of inet_aton.
10713 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10715 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10716 (innetgr): Likewise.
10717 (struct addrinfo): Use socklen_t for ai_addrlen element.
10719 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10720 IPV6_RECVERR): New defines.
10722 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10723 * inet/getnetbyad.c: Likewise.
10724 * inet/getnetbyad_r.c: Likewise.
10725 * nis/nss_nis/nis-network.c: Likewise.
10726 * nis/nssplus_nis/nisplus-network.c: Likewise.
10727 * nss/nss_files/files-network.c: Likewise.
10728 * resolv/netdb.h: Define uint32_t if not already happened.
10729 Include bits/netdb.h. Remove definition of struct netent.
10730 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10731 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10732 * sysdeps/generic/bits/netdb.h: New file.
10733 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10735 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10736 (tests): Add glrefmain.
10737 Add rules to build modules and run tests. Ignore result of glrefmain
10738 for now since it fails.
10739 * dlfcn/glrefmain.c: New file.
10740 * dlfcn/glreflib1.c: New file.
10741 * dlfcn/glreflib2.c: New file.
10743 * test-skeleton.c: Include <string.h> for strsignal prototype.
10745 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10748 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10749 former init-first.h. Initialize __libc_multiple_libcs.
10751 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10753 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10754 #if expression for use of unaligned function to the one used in
10755 the definition of these functions.
10756 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10757 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10758 (internal_ucs4le_loop_unaligned): New function.
10760 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10761 (tests): Add order.
10762 (module-names): Add dep1, dep2, dep3, and dep4.
10763 Add dependencies for dep* modules and order.
10764 Define rule for order.out which checks the result.
10765 * elf/dep1.c: New file.
10766 * elf/dep2.c: New file.
10767 * elf/dep3.c: New file.
10768 * elf/dep4.c: New file.
10769 * elf/order.c: New file.
10771 * elf/dl-init.c: Fix typo in comment.
10773 2000-03-31 Andreas Jaeger <aj@suse.de>
10775 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10776 init function interface.
10777 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10779 2000-03-31 Andreas Jaeger <aj@suse.de>
10781 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10782 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10783 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10784 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10785 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10787 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10788 anymore, update comment.
10790 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10792 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10793 SHLIB_COMPAT - the struct is always needed.
10795 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10797 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10798 * elf/dl-support.c: Define _dl_starting_up.
10800 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10802 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10803 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10805 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10807 * elf/Makefile (dl-routines): Remove preinit.
10808 * elf/Versions: Remove _dl_preinit.
10809 * elf/dl-preinit.c: Removed. Move content into...
10810 * elf/dl-init.c: ...here.
10811 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10813 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10816 2000-03-29 Geoff Clare <gwc@unisoft.com>
10818 * stdlib/strfmon.c: Corrected problems with the code that
10819 sets default values for [np]_sep_by_space and
10820 [np]_sign_posn; also the new positive/negative alignment
10821 code from the previous patch was not quite right for
10822 [np]_sign_posn = 0.
10824 * localedata/tst-fmon.data: Changes corresponding to the
10825 two sets of fixes made to stdlib/strfmon.c.
10827 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10829 * malloc/malloc.c: Declare bit flags UL so that they will not
10830 default to int size when being inverted.
10832 2000-03-29 Andreas Jaeger <aj@suse.de>
10834 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10835 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10837 2000-03-29 Andreas Jaeger <aj@suse.de>,
10838 Ralf Baechle <ralf@uni-koblenz.de>
10840 * Makeconfig: Introduce new variable SHARED to mark code used in
10841 the shared library.
10842 * elf/dl-close.c: Use it instead of PIC.
10843 * elf/dl-load.c: Likewise.
10844 * elf/dl-open.c: Likewise.
10845 * hurd/geteuids.c: Likewise.
10846 * include/libc-symbols.h: Likewise.
10847 * include/shlib-compat.h: Likewise.
10848 * libio/freopen.c: Likewise.
10849 * linuxthreads/cancel.c: Likewise.
10850 * linuxthreads/pthread.c: Likewise.
10851 * linuxthreads/wrapsyscall.c: Likewise.
10852 * nss/nsswitch.c: Likewise.
10853 * stdio-common/vfprintf.c: Likewise.
10854 * sysdeps/arm/init-first.c: Likewise.
10855 * sysdeps/i386/init-first.c: Likewise
10856 * sysdeps/generic/init-first.c: Likewise.
10857 * sysdeps/generic/libc-start.c: Likewise.
10858 * sysdeps/mips/init-first.c: Likewise.
10859 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10860 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10861 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10862 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10863 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10865 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10867 2000-03-29 Andreas Jaeger <aj@suse.de>
10869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10870 Use D_PTR to access relocated entries in l_info.
10871 (elf_machine_rela): Likewise.
10873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10875 (elf_machine_rela): Likewise.
10877 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10879 (__elf_machine_fixup_plt): Likewise.
10880 (__process_machine_rela): Likewise.
10882 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10883 (elf_machine_rela): Likewise.
10885 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10886 (elf_machine_rel): Likewise.
10888 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10889 (elf_machine_fixup_plt): Likewise.
10890 (elf_machine_rela): Likewise.
10892 2000-03-29 Andreas Jaeger <aj@suse.de>
10894 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10895 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10896 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10897 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10899 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10900 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10901 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10902 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10903 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10904 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10905 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10906 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10907 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10910 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10911 macros, remove K&R prototypes.
10913 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10915 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10916 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10919 2000-03-30 Andreas Jaeger <aj@suse.de>
10921 * misc/sys/cdefs.h: Remove K&R support.
10923 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10925 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10927 * iconv/loop.c: Likewise.
10929 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10931 * iconv/loop.c (put16): Remove __const. Fix access index.
10932 (put32): Remove __const. Use uint32_t instead of uint16_t.
10933 * iconv/skeleton.c: Likewise.
10935 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10937 * mach/Versions (libc: GLIBC_2.0)
10938 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10939 __vm_allocate on this.
10940 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10941 mutex- and spinlock-related symbols on this.
10942 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10943 New version set. Lock-related symbols go here instead in this case.
10944 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10945 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10946 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10948 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10949 Put them here instead.
10950 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10951 New version set. Those cthreads symbols go here instead in this case.
10952 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10954 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10956 * elf/dl-init.c (_dl_init): We don't need to call constructors
10957 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10959 Implement dynamic determination of constructor/destructor order in
10960 the dynamic linker.
10961 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10962 (GLIBC_2.2): Add _dl_init.
10963 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10964 r_duplist is not anymore allocated separately. l_initfini is and
10965 therefore free it if necessary.
10966 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10967 malloc block. Otherwise allocate l_initfini list only.
10968 Put dependencies for the object in l_initfini list.
10969 Sort dependencies for the object to be loaded topologically.
10970 * elf/dl-fini.c: Before running the destructors sort the topologically.
10971 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10972 call constructors instead of iterating over the pointers. Get list of
10973 objects for which to run constructors from l_initfini element. Accept
10974 argc, argv, and env as parameters and pass them to the constructors.
10975 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10976 with size of dynamic section.
10977 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10978 _dl_init_next and calling constructors ourself.
10979 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10980 Take argc, argv, and env as parameters and pass them to the
10981 constructors. Rewrite to call all constructors and not iterate over
10983 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10984 precompute l_initcount and l_preinitcount.
10985 * elf/link.h (struct link_map): Add l_ldnum member.
10986 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10987 l_initcount, and l_preinitcount. Add l_initfini.
10988 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10990 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10991 function interface.
10992 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10993 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10994 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10995 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10996 conventions now match.
10998 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10999 effect for shared objects. Don't emit message and call only for
11002 2000-03-29 Ulrich Drepper <drepper@redhat.com>
11004 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
11005 CSA_Z243.4-1985-1..UCS2.
11006 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
11009 2000-03-29 Andreas Jaeger <aj@suse.de>
11011 * include/unistd.h: Remove duplicate entry for __rmdir.
11012 Remove declaration of __mkdir since __mkdir is declared in
11015 * manual/creature.texi (Feature Test Macros): Fix typo, reported
11016 by Michael Deutschmann <michael@talamasca.ocis.net>.
11018 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
11019 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11020 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11021 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11022 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11024 2000-03-28 Andreas Jaeger <aj@suse.de>
11026 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11027 declaration, the prototype is defined via bits/mathcalls.h.
11028 (__sincosf): Likewise.
11029 (__sincosl): Likewise.
11031 (ldexpf): Likewise.
11032 (ldexpl): Likewise.
11033 (__finite): Likewise.
11034 (__inline_mathcodeNP): New macro without prototype
11036 (__inline_mathcodeNP2): Likewise.
11037 (__inline_mathcodeNP3): Likewise.
11038 (__inline_mathcodeNP_): Likewise.
11039 (__inline_mathcodeNP2_): Likewise.
11040 (__inline_mathcodeNP3_): Likewise.
11041 (__inline_mathopNP): Likewise.
11042 (__inline_mathop_declNP): Likewise.
11043 (__inline_mathop_declNP_): Likewise.
11044 (__inline_mathcode_): Use __inline_mathcodeNP_.
11045 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11046 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11047 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11048 (__expm1l): Don't define prototype, the prototype is defined via
11051 (__expl): Likewise.
11054 (__atan2l): Likewise.
11059 (__fabsl): Likewise.
11077 (__sqrtl): Likewise.
11087 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11089 * Makerules: If make variable md5 is defined to yes after
11090 generating dependencies generate MD5 sum for the object.
11092 * iconv/gconv_builtin.h: Fix length in transformation definition
11095 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11097 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11098 allow as well reading from/writing to unaligned addresses on machines
11099 which don't support this in hardware. Use FCTNAME macro to define
11100 function name. Include the file a second time for platforms which
11101 need special unaligned handling.
11102 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11103 to access potentially unaligned addresses. These macros are intended
11104 to be used only outside the loops.
11105 (unaligned): New definition. In case the machine can handle unaligned
11106 access define as zero. Otherwise as a variable which is initialized
11107 as nonzero in case the buffer passed in at runtime is unaligned with
11108 respect to the character set encoding involved.
11109 Call aligned or unaligned looop functions according to unaligned
11111 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11112 of direct casting pointer to potentially handle unaligned memory
11114 * iconvdata/8bit-generic.c: Likewise.
11115 * iconvdata/ansi_x3.110.c: Likewise.
11116 * iconvdata/big5.c: Likewise.
11117 * iconvdata/euc-cn.c: Likewise.
11118 * iconvdata/euc-jp.c: Likewise.
11119 * iconvdata/euc-kr.c: Likewise.
11120 * iconvdata/euc-tw.c: Likewise.
11121 * iconvdata/gbk.c: Likewise.
11122 * iconvdata/iso-2022-cn.c: Likewise.
11123 * iconvdata/iso-2022-jp.c: Likewise.
11124 * iconvdata/iso-2022-kr.c: Likewise.
11125 * iconvdata/iso646.c: Likewise.
11126 * iconvdata/iso_6937-2.c: Likewise.
11127 * iconvdata/iso_6937.c: Likewise.
11128 * iconvdata/johab.c: Likewise.
11129 * iconvdata/sjis.c: Likewise.
11130 * iconvdata/t.61.c: Likewise.
11131 * iconvdata/uhc.c: Likewise.
11132 * iconvdata/unicode.c: Likewise.
11133 * iconvdata/utf-16.c: Likewise.
11135 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11138 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11139 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11141 * malloc/mcheck.h (mcheck_check_all): Declare.
11143 * stdio-common/Makefile (tests): Add tst-obprintf.
11145 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
11147 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11148 Declare pthread_sigmask.
11150 * csu/version.c: Add 2000 to copyright years.
11151 Remove Emacs local variables section.
11153 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11155 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11156 __gconv_transform_internal_ucs2little): Remove declarations.
11157 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11158 __gconv_transform_internal_ucs2): Never need to bswap_16.
11159 (__gconv_transform_ucs2reverse_internal,
11160 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11162 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11164 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11165 obsoleting version not being defined at all, in which case the
11166 result is always true.
11168 * Makeconfig (preprocess-versions): New canned sequence for running
11169 cpp on shlib-versions and the like.
11170 (soversions.i): Use it.
11171 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
11172 Versions.def and Versions files.
11174 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11176 * stdio-common/tst-obprintf.c (main): Add another check to see
11177 obstack_printf handling all possible beginnings of the block
11178 inside an obstack chunk.
11180 * locale/programs/localedef.c: Use __malloc_initialize_hook to
11181 install mcheck handler.
11183 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
11186 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11188 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
11190 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
11191 on [HAVE_ELF && DO_VERSIONING].
11193 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11195 * stdio-common/tst-obprintf.c: New file.
11197 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11199 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
11200 _IO_OVERFLOW directly instead through __overflow.
11202 * locale/programs/localedef.c (construct_output_path): If path
11203 contains a / compute the end of the directory name correctly.
11205 * include/features.h: Undef and document __USE_XOPEN2K.
11207 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
11208 whenever a function is called. Initiated by calling mcheck_pedantic
11210 * malloc/mcheck.h: Declare mcheck_pedantic.
11211 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
11212 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
11215 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11217 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
11218 * dlfcn/dlopenold.c: Likewise.
11219 * nss/getXXbyYY_r.c: Likewise.
11220 * nss/getXXent_r.c: Likewise.
11221 * hurd/hurdinit.c: Likewise.
11222 * hurd/compat-20.c: Likewise.
11223 * libio/oldiofopen.c: Likewise.
11224 * libio/oldiofclose.c: Likewise.
11225 * libio/oldiofdopen.c: Likewise.
11226 * libio/oldfileops.c: Likewise.
11227 * libio/oldstdfiles.c: Likewise.
11228 * libio/oldiofsetpos.c: Likewise.
11229 * libio/oldiofgetpos.c: Likewise.
11230 * libio/oldiofgetpos64.c: Likewise.
11231 * libio/oldiofsetpos64.c: Likewise.
11232 * libio/oldiopopen.c: Likewise.
11233 * libio/oldpclose.c: Likewise.
11234 * libio/oldtmpfile.c: Likewise.
11235 * libio/freopen.c (freopen): Likewise.
11236 * libio/iofclose.c (_IO_new_fclose): Likewise.
11238 * sysdeps/mach/sys/reboot.h: Include <features.h>.
11239 (reboot): Declare it.
11241 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11243 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11245 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11247 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11248 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11249 We need this for the sbrk decl, which can be included without Unix98.
11251 2000-03-20 Richard Henderson <rth@cygnus.com>
11253 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11254 argument to yperr2nss is an int, not size_t.
11255 * posix/regex.c (print_partial_compiled_pattern): Cast all
11256 ptrdiff_t to long for printing.
11257 (print_compiled_pattern): Use Z for printing size_t.
11258 * posix/testfnm.c (tests): Avoid trigraphs.
11259 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11260 Use a C comment, not an assembly comment.
11262 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11263 of __ASSUME_32BITUIDS.
11265 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11267 * libio/iofopncook.c: Remove K&R prototypes.
11269 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11271 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11272 an initial value of 1024 instead of RLIM_INFINITY.
11274 * Versions.def (libmachuser, libhurduser): Remove these sections,
11275 since these libraries do not presently use symbol versions.
11277 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11278 is RLIM_INFINITY, return -1 instead.
11280 2000-03-24 Andreas Jaeger <aj@suse.de>
11282 * Makefile (postclean): Added soversions.i.
11284 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11286 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11287 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11288 and _FPU_IEEE. Change _FPU_RESERVED.
11290 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11292 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11294 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11296 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11297 (gaih_inet): Remove unused duplicate variable.
11299 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11300 Don't use __libc_sa_len, which only exists for Linux. Just handle
11301 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11302 only flavors supported by this function anyway.
11304 2000-03-24 Geoff Clare <gwc@unisoft.com>
11306 * stdlib/strfmon.c: Corrected problems with missing signs and
11307 missing or extra spaces; allow for sign strings longer than
11308 one character; add padding to ensure positive and negative
11309 formats are aligned when a left precision is used.
11311 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11313 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11314 Patch by John Mizel <John.Mizel@msdw.com>.
11316 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11318 * manual/install.texi: Remove references to crypt add-on.
11320 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11322 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11323 section while taking the _hurd_rlimit_lock.
11324 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11326 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11328 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11331 * sysdeps/mach/hurd/if_index.c: New file.
11333 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11334 * sysdeps/gnu/net/if.h: here.
11335 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11336 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11337 * sysdeps/generic/net/if.h: New file. Declares just the standard
11338 functions and `struct if_nameindex' type.
11339 * socket/Makefile (headers): Add net/if.h here.
11340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11341 * sysdeps/mach/hurd/Dist: Remove it here.
11342 * sysdeps/unix/sysv/linux/Dist: And here.
11343 * sysdeps/generic/if_index.c: Include <net/if.h>.
11345 2000-03-24 Andreas Jaeger <aj@suse.de>
11347 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11348 access relocated entries in l_info.
11349 (elf_machine_got_rel): Likewise.
11350 (elf_machine_runtime_setup): Likewise.
11351 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11352 (elf_machine_runtime_setup): Likewise.
11353 (__dl_runtime_resolve): Likewise.
11355 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11357 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11358 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11359 according to RFC 2553.
11360 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11361 * inet/getnameinfo.c: Likewise.
11362 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11364 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11366 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11367 Remove no-op pointer increment.
11369 2000-03-23 Andreas Jaeger <aj@suse.de>
11371 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11372 follow change for libio.h from 2000-03-10.
11374 2000-03-23 Andreas Jaeger <aj@suse.de>
11376 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11378 * elf/dl-debug.c: Likewise.
11379 * elf/dl-deps.c: Likewise.
11380 * elf/dl-error.c: Likewise.
11381 * elf/dl-fini.c: Likewise.
11382 * elf/dl-init.c: Likewise.
11383 * elf/dl-load.c: Likewise.
11384 * elf/dl-lookup.c: Likewise.
11385 * elf/dl-minimal.c: Likewise.
11386 * elf/dl-object.c: Likewise.
11387 * elf/dl-open.c: Likewise.
11388 * elf/dl-preinit.c: Likewise.
11389 * elf/dl-profile.c: Likewise.
11390 * elf/dl-profstub.c: Likewise.
11391 * elf/dl-reloc.c: Likewise.
11392 * elf/dl-runtime.c: Likewise.
11393 * elf/dl-support.c: Likewise.
11394 * elf/dl-symbol.c: Likewise.
11395 * elf/dl-version.c: Likewise.
11396 * elf/rtld.c: Likewise.
11397 * elf/sprof.c: Likewise.
11398 * sysdeps/generic/dl-cache.c: Likewise.
11399 * sysdeps/generic/dl-origin.c: Likewise.
11400 * sysdeps/generic/dl-sysdep.c: Likewise.
11401 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11402 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11403 * sysdeps/generic/libc-start.c: Likewise.
11404 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11405 * sysdeps/powerpc/dl-machine.c: Likewise.
11406 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11407 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11408 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11409 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11411 * elf/ldsodefs.h: Move file to ...
11412 * sysdeps/generic/ldsodefs.h: ... here.
11414 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11416 * sysdeps/mips/elf/ldsodefs.h: New file.
11418 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11420 (_dl_check_map_versions): Likewise.
11421 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11422 * elf/dl-load.c (_dl_init_paths): Likewise.
11423 (_dl_map_object): Likewise.
11424 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11425 (elf_get_dynamic_info): Likewise.
11426 * elf/do-lookup.h (FCT): Likewise.
11427 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11428 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11429 * elf/dl-addr.c (_dl_addr): Likewise.
11430 * elf/dl-runtime.c (profile_fixup): Likewise.
11432 * elf/dl-init.c (_dl_init_next): Likewise.
11433 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11434 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11435 (DISTINGUISH_LIB_VERSIONS): Likewise.
11436 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11437 (elf_machine_rel): Likewise.
11439 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11440 for writable dynamic section.
11442 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11444 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11445 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11447 2000-03-22 Andreas Jaeger <aj@suse.de>
11449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11450 from latest Linux kernel.
11452 2000-03-21 Andreas Jaeger <aj@suse.de>
11454 * Versions.def: Add version 2.1.4.
11456 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11458 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11459 * libio/oldiofopen.c: Likewise.
11460 * libio/oldiofclose.c: Likewise.
11461 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11463 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11465 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11466 indicating the first version set to obsolete the conditionalized code.
11467 (compat_symbol): New macro.
11468 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11469 rhs be the ABI_* macro for the subsuming version. Assign increasing
11470 integer values to the ABI_* macros for supported versions.
11471 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11472 compat_symbol macro.
11474 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11476 * nscd/connections.c (nscd_run): Pretty print.
11477 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11479 * manual/charset.texi: Fix typos. Rephrase.
11480 * manual/process.texi: Likewise.
11481 * manual/signal.texi: Likewise.
11482 Patches by Mike Coleman <mkc@kc.net>.
11484 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11486 * libio/iofdopen.c: Likewise.
11487 * libio/iofgetpos.c: Likewise.
11488 * libio/iofgetpos64.c: Likewise.
11489 * libio/iofopen.c: Likewise.
11490 * libio/iofsetpos.c: Likewise.
11491 * libio/iofsetpos64.c: Likewise.
11492 * libio/iopopen.c: Likewise.
11493 * libio/oldiofopen.c: Likewise.
11494 * libio/pclose.c: Likewise.
11495 * sysdeps/gnu/siglist.c: Likewise.
11496 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11498 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11499 chance to expand VERSION_##lib##_##version.
11501 * libio/fileops.c: Use new macros from shlib-compat.h to define
11503 * libio/iofclose.c: Likewise.
11504 * libio/oldiofclose.c: Likewise.
11505 Patch by Roland McGrath <roland@frob.com>.
11507 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11509 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11510 Lay out struct sigcontext according to what really gets passed on
11512 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11513 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11514 (prgregset_t, prfpregset_t): Define to elf_* types.
11515 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11516 Define to correct value.
11517 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11521 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11523 * scripts/firstversions.awk: Allow multiple version sets in the
11524 "earliest version" specification, meaning that version sets in the
11525 gaps between listed versions should be folded into the earliest later
11526 version that is explicitly listed.
11527 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11528 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11530 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11532 * iconv/gconv_builtin.c: Include <endian.h>.
11533 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11534 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11535 according to current platform.
11536 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11537 __gconv_transform_internal_ucs2reverse, and
11538 __gconv_transform_internal_ucs4le.
11539 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11540 __gconv_transform_ucs2reverse_internal and
11541 __gconv_transform_internal_ucs2reverse.
11542 * iconvdata/Makefile (modules): Add UNICODE.
11543 (distribute): Add unicode.c.
11544 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11545 * iconvdata/unicode.c: New file.
11547 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11548 determine byte order of input and convert accordingly.
11550 * iconvdata/utf-16.c (gconv_init): Fix typo.
11552 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11554 * iconvdata/gconv-modules: Fix typo.
11556 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11559 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11561 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11563 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11565 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11567 * misc/Makefile (routines): Add mincore.
11569 2000-03-20 Andreas Jaeger <aj@suse.de>
11571 * sysdeps/generic/mincore.c: New stub file.
11573 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11574 from latest Linux kernel.
11576 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11578 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11579 _SC_GETPW_R_SIZE_MAX.
11581 2000-03-20 Richard Henderson <rth@cygnus.com>
11583 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11586 2000-03-20 Richard Henderson <rth@cygnus.com>
11588 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11589 of arithmetic instructions.
11591 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11592 with the fpcr. Protect from INV exception.
11593 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11594 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11595 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11597 * sysdeps/alpha/fpu/s_copysign.c: New.
11598 * sysdeps/alpha/fpu/s_copysignf.c: New.
11599 * sysdeps/alpha/fpu/s_fabs.c: New.
11600 * sysdeps/alpha/fpu/s_fabsf.c: New.
11601 * sysdeps/alpha/fpu/s_rint.c: New.
11602 * sysdeps/alpha/fpu/s_rintf.c: New.
11604 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11606 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11608 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11609 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11610 Use physical addresses not KSEG addresses.
11611 (io_system): Add PYXIS.
11612 (io): Remove hae.reg, sys, hae_shift.
11613 (stb_mb, stw_mb, stl_mb, __sethae): New.
11614 (inline_outb, inline_outw, inline_outl): Don't set hae.
11615 (inline_inb, inline_inw, inline_inl): Likewise.
11616 (dense_sethae): New null function.
11617 (struct cpuinfo_data): New.
11618 (process_cpuinfo): Use local and stack variables, not static.
11619 Move readlink check here from init_iosys.
11620 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11622 (_hae_shift): Calculate it here.
11623 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11624 add pciconfig_iobase.
11626 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11628 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11629 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11631 * scripts/versions.awk: Fixed version renaming code to distinguish
11632 libraries properly.
11634 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11636 * include/stdlib.h: Add prototype for __cxa_atexit.
11638 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11639 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11641 2000-03-17 Cristian Gafton <gafton@redhat.com>
11643 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11644 existing rtld-installed-name.
11645 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11646 replace existing rtld-installed-name using $(symbolic-link-prog).
11648 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11650 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11651 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11652 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11653 but not the former.
11655 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11657 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11658 glob64. Since there is no glob64 in the LFS proposal applications
11659 can assume that glob handles LFS situations. glob64 is only needed
11660 if alternative filesystem functions are used.
11662 2000-03-19 Geoff Clare <gwc@unisoft.com>
11664 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11665 when GLOB_DOOFFS is set; correct handling of patterns
11666 containing escaped wildcards (and no unescaped ones);
11667 GLOB_ERR flag was being ignored in some situations.
11669 * posix/globtest.c, posix/globtest.sh: Updated to include
11670 tests for the problems fixed by the above changes to glob.c.
11672 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11674 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11676 * Makeconfig (soversion.i): Use only first match for each lib.
11678 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11680 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11681 rather than $(sysd-dirs-done) to protect these rules.
11683 * Makerules (version-renames.def): Target removed.
11684 (Versions.all): Depend on soversions.i directly and parse it.
11686 * Makeconfig (soversions.i): New target, input-reading parts of
11687 soversions.mk generation moved here; result is a canonicalized
11688 list "LIB VERSION [SET]" for this configuration.
11689 (soversions.mk): Use that as input. Don't emit map-firstversions.
11690 * Makerules (version-renames.def): New target, generated from
11691 soversions.i with contents that was in $(map-firstversions).
11692 (Versions.all): Don't depend on soversions.mk, depend on
11693 version-renames.def instead; just cat it into the input.
11695 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11696 for $(map-firstversions), which better handles it being empty.
11698 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11699 supported version for libc 0.2.90.libio to GLIBC_2.2.
11701 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11702 and use it to emit new variable `map-firstversions'.
11703 * scripts/firstversions.awk: New file.
11704 * Makerules (Versions.all): Use scripts/firstversions.awk and
11705 the $(map-firstversions) value to generate a modified versions list
11706 that includes renames in "A = B" syntax for each version set earlier
11707 than the "earliest symbol version" named in shlib-versions.
11708 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11709 rename version set A to B in the output to the intermediate file.
11710 * scripts/abi-versions.awk: New file.
11711 * Makerules (abi-versions.h): New target, generated by that script.
11712 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11713 * include/shlib-compat.h: New file, uses that generated header.
11715 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11717 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11718 after stripping # comments, and then run it through cpp.
11719 This allows things like "%ifdef FOO" based on config.h settings.
11720 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11722 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11723 and other errors that indicate a pseudo-receive happened, grok through
11724 the message buffer for port rights that need references fixed up.
11726 2000-03-16 Andreas Jaeger <aj@suse.de>
11728 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11730 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11733 from latest Linux kernel.
11734 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11736 * misc/sys/mman.h: Add prototype for mincore.
11738 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11740 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11741 entry for GLIBC_2.0 version of setrlimit.
11742 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11744 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11746 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11747 * nis/nss_compat/compat-initgroups.c: Likewise.
11748 * nis/nss_nis/nis-initgroups.c: Likewise.
11749 * nis/nss_nis/nis-netgrp.c: Likewise.
11750 * nis/nss_nis/nis-proto.c: Likewise.
11751 * nis/nss_nis/nis-rpc.c: Likewise.
11752 * nis/nss_nis/nis-service.c: Likewise.
11753 * nis/ypclnt.c: Likewise.
11755 2000-03-16 Andreas Jaeger <aj@suse.de>
11757 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11758 doesn't exist, correct checks. Fixes PR libc/1649.
11760 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11762 * nscd/hstcache.c: Restore correct UID.
11763 * nscd/pwdcache.c: Likewise.
11764 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11766 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11768 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11769 macros for register names, in line with 2000-03-14 linux change.
11771 * sysdeps/mach/sched_yield.c: New file.
11773 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11775 * sysdeps/generic/lockfile.c: Include <stdio.h>
11776 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11777 case <libio.h> defined them.
11778 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11780 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11781 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11783 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11784 for more pleasing parse error.
11786 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11788 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11790 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11792 * elf/Makefile: Add rules to compile and run constload1 test.
11793 * elf/constload1.c: New file.
11794 * elf/constload2.c: New file.
11795 * elf/constload3.c: New file.
11797 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11799 * sysdeps/posix/open64.c: Make __open64 weak alias.
11800 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11801 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11802 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11803 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11804 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11805 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11806 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11807 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11808 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11809 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11811 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11813 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11814 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11816 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11818 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11819 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11821 2000-03-08 Andreas Jaeger <aj@suse.de>
11823 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11825 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11827 * timezone/africa: Update from tzdata2000d.
11828 * timezone/asia: Likewise.
11829 * timezone/australasia: Likewise.
11830 * timezone/europe: Likewise.
11831 * timezone/northamerica: Likewise.
11832 * timezone/southamerica: Likewise.
11834 * po/fr.po: Update from translation team.
11835 * po/de.po: Likewise.
11837 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11838 last parameter. Move code to add map to global scope from here...
11839 * elf/dl-open.c (dl_open_worker): ...here.
11840 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11841 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11843 * locale/programs/ld-collate.c (collate_read): Fix warning.
11845 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11846 values and macros for register names.
11848 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11849 returned by seek cookie function is -1.
11851 2000-03-14 Andreas Jaeger <aj@suse.de>
11853 * locale/localeconv.c (localeconv): Fix typo.
11854 Reported by Andre Charbonneau <andrec@corel.com>.
11856 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11858 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11859 since modules depend on it counting the number of times the conversion
11860 function got called.
11862 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11864 * iconv/gconv.h: Pretty print.
11866 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11868 * posix/wordexp-test.c: Correct one of the tests added in the last
11869 change. Really get the root passwd entry to check again ~root.
11871 2000-03-10 Andreas Jaeger <aj@suse.de>
11873 * manual/filesys.texi (Working Directory): Fix last patch.
11874 Patch by Martin Buchholz <martin@xemacs.org>.
11876 2000-03-10 Andreas Jaeger <aj@suse.de>
11878 * manual/creature.texi (Feature Test Macros): Fix language.
11880 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11882 * mach/devstream.c (devstream_write, devstream_read): New functions.
11883 (input, output): Functions removed.
11884 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11885 using only the vanilla fopencookie interface.
11887 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11888 as macro for __io_functions.
11889 (funcsio): Use cookie_io_functions_t type name.
11890 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11892 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11894 (fopencookie): Use it.
11895 * libio/libio.h: Declare _IO_cookie_init.
11896 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11899 * libio/libio.h (__io_seek_fn): Fix second argument type
11900 to be a pointer, in line with the manual and the old stdio.
11901 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11903 * sysdeps/generic/bits/stdio-lock.h: New file.
11904 This is a stub with #error, but that's better than no file at all.
11906 2000-03-09 Martin Buchholz <martin@xemacs.org>
11908 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11909 * manual/message.texi (Using gettextized software): Doc Fixes.
11910 * manual/message.texi (Message Translation): Doc Fixes.
11911 * manual/filesys.texi (File Size): Doc Fixes.
11912 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11913 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11914 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11915 * manual/install.texi: Doc Fixes.
11916 * manual/search.texi (Hash Search Function): Doc Fixes.
11917 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11918 * FAQ.in: Doc Fixes.
11919 * config.h.in: Doc Fixes.
11920 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11921 Doc Fixes. `allows to' is not correct English.
11923 * elf/rtld.c: Doc fixes.
11924 * manual/creature.texi (Feature Test Macros): Doc fixes.
11925 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11927 * manual/filesys.texi (Working Directory): Check for ERANGE to
11930 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11932 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11933 conditions so as not to clobber the final '\0' when there is only one
11934 element in the vector.
11936 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11938 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11939 broken by 2000-02-27 change.
11941 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11943 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11945 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11946 argument type, for 2000-02-22 change in signal/signal.h declaration.
11948 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11950 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11951 to getdirentries64 (no __), since the Linux implementation
11952 has no __ name, and there is no declaration for the __ name.
11954 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11956 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11957 sed regexp so as not to break directory names including /../ within.
11959 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11960 The sysdeps/generic file is right for BSD. This file was in fact the
11961 Hurd file, but the only difference was the WNOREAP flag that was never
11962 actually implemented or used anywhere.
11964 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11965 since AC_PATH_PROG already does it for us.
11966 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11967 correctness and sh portability. I replaced the broken check
11968 with a more sensible implementation of the apparently intended
11969 semantics, which might still be questionable. Using expr causes
11970 a non-numeric value for `perl -V:apiversion` to be accepted,
11971 refusing to use only a perl that reports a number less than 5;
11972 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11973 * configure: Regenerated.
11975 2000-03-08 Andreas Jaeger <aj@suse.de>
11977 * manual/crypt.texi: Fix paths.
11979 2000-03-07 Andreas Jaeger <aj@suse.de>
11981 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11983 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11986 2000-03-06 Andreas Jaeger <aj@suse.de>
11988 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11989 in __sgn1l, otherwise g++ fails to parse this.
11990 Reported by Sean Chen <sean.chen@turbolinux.com>.
11992 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11994 * configure.in: Compute sizeof-long-double.
11995 * configure: Regenerated.
11996 * config.make.in: Make sizeof-long-double available to sub-makes.
11998 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12000 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12003 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12005 * Makeconfig (rpath-dirs): Add crypt.
12006 (all-subdirs): Remove md5crypt.
12007 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
12008 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
12009 * sysdeps/generic/crypt-entry.c: Delete.
12010 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
12011 * sysdeps/generic/crypt.h: Delete.
12012 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
12013 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
12014 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
12015 * sysdeps/generic/des_impl.c: Delete.
12016 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
12017 * crypt/sysdeps: Delete.
12018 * crypt/crypt_util.c: Don't use `patchlevel.h'.
12019 * md5-crypt/Versions: Move to crypt/.
12020 * md5-crypt/md5-crypt.c: Move to crypt/.
12021 * md5-crypt/md5.c: Move to crypt/.
12022 * md5-crypt/md5c-test.c: Move to crypt/.
12023 * md5-crypt/md5test.c: Move to crypt/.
12024 * md5-crypt: Delete.
12025 * crypt/Makefile: Adjust for new structure.
12027 2000-03-03 Paul Eggert <eggert@twinsun.com>
12029 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12030 define to 1 if not defined.
12032 2000-03-03 Andreas Jaeger <aj@suse.de>
12034 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12036 2000-03-03 Andreas Jaeger <aj@suse.de>
12038 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12040 (xdr_int64_t): Correctly handle lower half.
12041 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12043 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12045 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12048 2000-03-02 Andreas Jaeger <aj@suse.de>
12050 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12053 2000-03-02 Andreas Jaeger <aj@suse.de>
12055 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12057 2000-03-01 Andreas Jaeger <aj@suse.de>
12059 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12060 (tests): Added tst-getdate.
12062 * time/tst-getdate.c: New file.
12064 * time/datemsk: New file, needed for tst-getdate.
12066 2000-02-29 Cristian Gafton <gafton@redhat.com>
12068 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12070 2000-02-17 H.J. Lu <hjl@gnu.org>
12072 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12074 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12076 (svcudp_recv): Set up message with the new "xp_pad" field for
12078 (svcudp_reply): Support IP_PKTINFO if available.
12080 2000-03-01 Andreas Jaeger <aj@suse.de>
12082 * time/getdate.c (check_mday): Fix check for february.
12083 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12084 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12086 2000-03-02 Andreas Jaeger <aj@suse.de>
12088 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12089 g++ fails to parse this.
12090 Reported by Sean Chen <sean.chen@turbolinux.com>.
12092 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12094 * io/creat.c: Moved to...
12095 * sysdeps/generic/creat.c: ...here.
12096 * io/creat64.c: Moved to...
12097 * sysdeps/generic/creat64.c: ...here.
12098 * io/lockf.c: Moved to...
12099 * sysdeps/generic/lockf.c: ...here.
12101 * crypt/crypt.texi: Moved to...
12102 * manual/crypt.texi: ...here.
12103 * crypt/examples/genpass.c: Moved to...
12104 * manual/examples/genpass.c: ...here.
12105 * crypt/examples/mygenpass.c: Moved to...
12106 * manual/examples/mygenpass.c: ...here.
12107 * crypt/examples/testpass.c: Moved to...
12108 * manual/examples/testpass.c: ...here.
12110 * manual/Makefile (chapters): Add crypt.
12111 * manual/conf.texi: Add usual header for not-last chapter.
12112 * manual/crypt.texi: Add special header for last chapter.
12114 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12116 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12117 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12118 complain if there is no crypt add-on.
12119 * crypt/configure: Removed.
12121 * crypt/crypt.texi: Update documentation of US export restrictions
12122 to match the 14 Jan 2000 regulations.
12124 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12126 * crypt: New subdirectory, merged in from the crypt add-on.
12128 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12130 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12133 See ChangeLog.10 for earlier changes.