2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
[glibc.git] / ChangeLog
blob8ef404db540338a33be89882a13cc1b08448d989
1 2000-10-13  Geoffrey Keating  <geoffk@cygnus.com>
3         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
4         building with the default options.
6 2000-10-11  Andreas Jaeger  <aj@suse.de>
8         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
9         Patch by Denis Zaitsev <zzz@cd-club.ru>.
11 2000-10-09  Jakub Jelinek  <jakub@redhat.com>
13         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
14         return y not x.
15         * manual/arith.texi (nextafter): Document it.
16         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
18 2000-10-08  Ulrich Drepper  <drepper@redhat.com>
20         * version.h (VERSION): Bump to 2.1.95.
22         * configure.in: Remove warning message.
24         * nscd/Makefile (distribute): Add nscd-types.h.
25         * elf/Makefile (distribute): Add gccframe.h.
26         * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
27         * sysdeps/ia64/Dist: Add ieee754.h.
29 2000-10-07  Ulrich Drepper  <drepper@redhat.com>
31         * elf/elf.h: Add a few section-related symbols.
33         * include/features.h (__STDC_ISO_10646__): Set to correct date.
34         Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
36 2000-10-06  Jes Sorensen  <jes@linuxcare.com>
38         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
39         overflow generation by adding DBL_MAX to DBL_MAX instead of
40         setting the bits manually in the fpsr and generating the exception
41         with kill() if necessary.
42         (feraiseexcept): Implement underflow by dividing DBL_MIN by
43         DBL_MIN - similar to the overflow change described above.
45 2000-08-27  H.J. Lu  <hjl@gnu.org>
47         * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
48         is not supported under Linux/ia64, use clone2.
50 2000-10-06  Jakub Jelinek  <jakub@redhat.com>
52         * malloc/malloc.h (__THROW): Define to nothing if not gcc.
53         * misc/sys/cdefs.h (__THROW): Likewise.
55 2000-10-05  Jakub Jelinek  <jakub@redhat.com>
57         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
59 2000-10-02  Jakub Jelinek  <jakub@redhat.com>
61         * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
62         remaining xp_pad space.
64 2000-10-05  Jakub Jelinek  <jakub@redhat.com>
66         * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
67         DF_1_NODELETE, not list[i]'s.
69 2000-10-04  Ulrich Drepper  <drepper@redhat.com>
71         * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
72         (BODY from direction): Map \x5c to U20a9.
73         * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
74         * iconvdata/EUC-KR.irreversible: New file.
75         * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
77         * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
78         (argp_version_argp): Likewise.
80 2000-10-04  Jakub Jelinek  <jakub@redhat.com>
82         * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
83         input_error() if EOF is seen before processing.
84         * stdio-common/tstscanf.c (main): Add testcase.
86 2000-10-04  Ulrich Drepper  <drepper@redhat.com>
88         * argp/argp-help.c: Make sure we get the correct gettext and
89         dgettext definitions.
90         * argp/argp-parse.c: Likewise.
92 2000-10-03  Ulrich Drepper  <drepper@redhat.com>
94         * locale/programs/linereader.c (get_string): Also clear wide
95         string info if illegal_string.
97 2000-10-03  Andreas Schwab  <schwab@suse.de>
99         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
101 2000-10-02  Jakub Jelinek  <jakub@redhat.com>
103         * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
104         optimized.
106         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
108 2000-10-02  Ralf Baechle  <ralf@gnu.org>
110         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
111         end of inline assembler code.
113 2000-10-02  Ulrich Drepper  <drepper@redhat.com>
115         * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
116         __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
118 2000-10-02  Andreas Jaeger  <aj@suse.de>
120         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
121         2.4.0-test9-pre8.
123         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
125 2000-10-01  Ralf Baechle  <ralf@gnu.org>
127         * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
128         argument passed to _dl_init.
130 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
132         * locale/programs/charmap-dir.h: New file.
133         * locale/programs/charmap-dir.c: New file.
134         * locale/programs/linereader.h (lr_create): New declaration.
135         * locale/programs/linereader.c (lr_create): New function, split out
136         from lr_open.
137         (lr_open): Tailcall lr_create.
138         * locale/programs/locale.c: Include "charmap-dir.h". Don't include
139         <unistd.h>.
140         (xstrdup): New declaration.
141         (more_help): Use xstrdup instead of strdup.
142         (write_locales): Likewise. When encountering a symbolic link, call
143         stat.
144         (write_charmaps): Simplify using the charmap-dir.h functions.
145         Use xstrdup instead of strdup.
146         * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
147         <dirent.h> and <unistd.h>.
148         (cmlr_open): New function.
149         (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
150         charmap-dir.h functions.
151         * locale/Makefile (distribute): Add charmap-dir.h.
152         (lib-modules): Add charmap-dir.
153         (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
154         wants a 'char **', not a 'const char **'.
155         * include/spawn.h: New file.
157 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
159         * posix/spawn_faction_init.c: Include "spawn_int.h".
160         (__posix_spawn_file_actions_realloc): Fix second realloc argument.
162 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
164         * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
166 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
168         * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
169         (internal_wcwidth): Remove the tests for L'\0' and iswprint.
170         * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
171         a pointer to the table entry, without extending the table.
172         (allocate_arrays): Set a width only for characters with 'print'
173         property. Set the width of L'\0' to 0.
174         * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
175         for unprintable characters.  Set entry of NUL to 0.
177 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
179         * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
180         Don't forget to call closedir when the filename was found as a
181         code_set_name.
183 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
185         * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
186         type to 'void *'.
188 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
190         * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
191         level2, and level3 as well.
192         (wctype_table_add): Remove a few unnecessary conditionals.
194 2000-09-30  Ralf Baechle  <ralf@gnu.org>
196         * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
198 2000-09-30  H.J. Lu  <hjl@gnu.org>
200         * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
201         * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
203 2000-09-29  H.J. Lu  <hjl@gnu.org>
205         * math/libm-test.inc (init_max_error): Clear all exceptions
206         before starting test.
207         (acosh_test): Test for existence of function.
208         (asinh_test): Likewise.
209         (atan2_test): Likewise.
210         (cabs_test): Likewise.
211         (cacos_test): Likewise.
212         (cacosh_test): Likewise.
213         (casin_test): Likewise.
214         (casinh_test): Likewise.
215         (catan_test): Likewise.
216         (catanh_test): Likewise.
217         (ccos_test): Likewise.
218         (ccosh_test): Likewise.
219         (cexp_test): Likewise.
220         (clog_test): Likewise.
221         (clog10_test): Likewise.
222         (cosh_test): Likewise.
223         (cpow_test): Likewise.
224         (csin_test): Likewise.
225         (csinh_test): Likewise.
226         (csqrt_test): Likewise.
227         (ctan_test): Likewise.
228         (ctanh_test): Likewise.
229         (fmod_test): Likewise.
230         (hypot_test): Likewise.
231         (remainder_test): Likewise.
232         (remquo_test): Likewise.
233         (sincos_test): Likewise.
234         (sinh_test): Likewise.
235         (tanh_test): Likewise.
237 2000-09-29  H.J. Lu  <hjl@gnu.org>
239         * sysdeps/ia64/ieee754.h: New file.
241         * sysdeps/ia64/fpu/math_ldbl.h: New file.
243 2000-09-30  Jakub Jelinek  <jakub@redhat.com>
245         * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
246         * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
248 2000-09-30  Ulrich Drepper  <drepper@redhat.com>
250         * manual/charset.texi: Correct notations, reference to C90 amd 1,
251         and some other details.
252         * manual/ctype.texi: Likewise.
253         Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
255 2000-09-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
257         * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
259 2000-09-29  Ulrich Drepper  <drepper@redhat.com>
261         * elf/cache.c (save_cache): Initialize __unused field in new cache
262         as well to get reproducable results.
264 2000-09-29  H.J. Lu  <hjl@gnu.org>
266         * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
268 2000-09-29  H.J. Lu  <hjl@gnu.org>
270         * sysdeps/ia64/bits/huge_val.h: New file.
272 2000-09-29  Ulrich Drepper  <drepper@redhat.com>
274         * elf/chroot_canon.c: Don't report a failure if the last path
275         component is not available.
276         * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
277         error.
279         * elf/cache.c (print_cache): Use stat64 instead of stat.
280         * elf/ldconfig.c (chroot_stat): Likewise.
281         (create_links): Likewise.
282         (manual_link): Likewise.
283         (search_dir): Likewise.
284         * elf/readlib.c (process_file): Likewise.
286         * Makefile (install): Set LC_ALL and LANGUAGE to C before running
287         ldconfig.
289 2000-09-29  Jakub Jelinek  <jakub@redhat.com>
291         * elf/chroot_canon.c: New file.
292         * elf/Makefile: Build and distribute it.
293         * elf/ldconfig.h (process_file): Add real_file_name argument.
294         (chroot_canon): Add prototype.
295         * elf/ldconfig.c (cache_file): Remove const.
296         (chroot_stat): New.
297         (create_links): Add real_path argument.
298         If opt_chroot, maintain both real and given filenames.
299         (manual_link): Likewise.
300         (search_dir): Likewise.
301         (parse_conf): If opt_chroot, use chroot_canon to find the real
302         config file.
303         (main): For -r, try to use chroot, if it fails, leave opt_chroot set
304         and use chroot_canon where appropriate to do the same as if chroot
305         succeeded.
306         * elf/readlib.c (process_file): Add real_file_name argument, pass it
307         to fopen.
309 2000-09-29  Ulrich Drepper  <drepper@redhat.com>
311         * math/complex.h (_Complex): We can be more specific when _Complex
312         is defined by the compiler.
314 2000-09-29  H.J. Lu  <hjl@gnu.org>
316         * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
318         * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
319         for x86/IA-64 binary.
321 2000-09-29  Andreas Schwab  <schwab@suse.de>
323         * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
325         * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
327 2000-09-29  Mark Kettenis  <kettenis@gnu.org>
329         * sysdeps/mach/hurd/dl-sysdep.c (__access): New function.  Dummy
330         implementation for use by the dynamic linker.
332 2000-09-29  Andreas Jaeger  <aj@suse.de>
334         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
335         __USE_GNU.
336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
337         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
338         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
339         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
340         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
341         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
343 2000-09-29  Andreas Jaeger  <aj@suse.de>
345         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
346         2.4.0-test9-pre7.
347         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
348         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
349         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
350         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
354 2000-09-29  David Mosberger  <davidm@hpl.hp.com>
356         * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
358         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
360 2000-06-10  David Mosberger  <davidm@hpl.hp.com>
362         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
363         works: call to __sigjmp_save must be done unconditionally to
364         ensure jmp_buf is initialized properly.
366 2000-09-27  Andreas Jaeger  <aj@suse.de>
368         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
369         2.4.0-test9-pre7.
371 2000-09-29  Jakub Jelinek  <jakub@redhat.com>
373         * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
374         Use nscd_ssize_t where appropriate.
375         * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
376         ssize_t where appropriate.
377         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
378         * nscd/hstcache.c (cache_addhst): Likewise.
379         * nscd/grpcache.c (cache_addgr): Likewise.
380         * sysdeps/generic/nscd-types.h: New file.
381         * sysdeps/alpha/nscd-types.h: New file.
383 2000-09-29  Ulrich Drepper  <drepper@redhat.com>
385         * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
386         INADDR_LOOPBACK instead of numeric value.
388 2000-09-28  H.J. Lu  <hjl@gnu.org>
390         * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
391         _dl_skip_args.
392         (ELF_MACHINE_FIXED_STACK): Removed.
394 2000-09-29  Andreas Jaeger  <aj@suse.de>
396         * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
398         * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
400         * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
402         * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
404 2000-09-28  Ulrich Drepper  <drepper@redhat.com>
406         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
407         relocation also for R_ALPHA_RELATIVE.
408         Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
410 2000-09-18  Bruno Haible  <haible@clisp.cons.org>
412         * intl/dcigettext.c: Outside libc, use local variable names that don't
413         clash with those in libc.
414         * intl/bindtextdom.c: Likewise.
415         * intl/textdomain.c: Likewise.
417 2000-09-28  Ulrich Drepper  <drepper@redhat.com>
419         * elf/ldconfig.c (parse_conf): Print full name of config dir
420         including chroot() path.
421         (main): Remove trailing / from opt_chroot string.
423         * include/features.h: Correct description of what happens if no
424         *_SOURCE macro is defined.
426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
427         correctly.  Reported by Felix von Leitner <leitner@convergence.de>.
429 2000-09-19  H.J. Lu  <hjl@gnu.org>
431         * malloc/malloc.h (__memalign_hook): Fix the parameter order.
432         * malloc/malloc.c (__memalign_hook): Likewise.
433         (memalign_hook_ini): Likewise.
435 2000-09-28  Ulrich Drepper  <drepper@redhat.com>
437         * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
439         * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
440         underlying functions directly.
442         * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
443         * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
444         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
445         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
446         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
447         * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
448         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
450 2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
452         * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
453         define it for powerpc for kernel >= 2.4.0.
454         * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
455         __ASSUME_32BITUIDS.
456         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
457         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
458         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
459         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
460         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
461         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
463 2000-09-28  Martin Schwidefsksy  <schwidefsky@de.ibm.com>
465         * sysdeps/s390/atomicity.h: Fix compare_and_swap.
467         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
468         (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
470 2000-09-28  Denis Joseph Barrow  <djbarrow@de.ibm.com>
472         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
473         ucontext.h.
474         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
476 2000-09-27  Andreas Schwab  <schwab@suse.de>
478         * math/Makefile (distribute): Explicitly add the long double test
479         sources, to get them included even if long double is not supported.
481 2000-09-27  Jes Sorensen  <jes@linuxcare.com>
483         * elf/soinit.c (struct object): Move definition to gccframe.h and
484         include it.  Problem identified by HJ Lu.
486         * sysdeps/ia64/gccframe.h: New file.  ia64 specific version of
487         struct object to be searched for frame unwind info.
488         * sysdeps/generic/gccframe.h: New file.  Generic version of
489         struct object to be searched for frame unwind info.
491 2000-09-28  Ulrich Drepper  <drepper@redhat.com>
493         * manual/errno.texi: Correct error text for ENXIO.
494         Reported by Jörg Schilling <schilling@fokus.gmd.de>.
496 2000-09-27  Jes Sorensen  <jes@linuxcare.com>
498         * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
499         exception status bits rather than the exception disable bits.
500         Don't include math.h.
502         * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
503         status of exceptions currently raised rather than which exceptions
504         are enabled.
506         * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
507         rather than unsigned long int.
509         * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
510         the exceptions actually requested by the caller and not just
511         disable all exceptions.
513         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
514         the ia64 are enabled by clearing the respective bits in the fpsr,
515         not setting them.
517         * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
518         unsigned long int rather than unsigned long to be consistent with
519         the coding conventions.
521 2000-09-20  H.J. Lu  <hjl@gnu.org>
523         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
524         unsigned long int.
525         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
527 2000-09-28  Ulrich Drepper  <drepper@redhat.com>
529         * string/bits/string2.h: Unify #if usage.
531 2000-09-27  Jakub Jelinek  <jakub@redhat.com>
533         * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
534         and disabling underflow or overflow, disable inexact as well.
536 2000-09-26  Andreas Jaeger  <aj@suse.de>
538         * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
540         * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
542         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
543         F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
545         * elf/ldconfig.c (search_dir): Allow unlimited path length.
546         (create_links): Likewise.
548 2000-09-27  Ulrich Drepper  <drepper@redhat.com>
550         * posix/tst-dir.c: Test a few error cases of chdir.
552 2000-09-26  Ulrich Drepper  <drepper@redhat.com>
554         * math/math_private.h: Don't add long double prototypes if
555         NO_LONG_DOUBLE is defined.
557         * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
558         CLOCK_MONOTONIC.
559         * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
560         * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
562         * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
564 2000-09-26  Jakub Jelinek  <jakub@redhat.com>
566         * sysdeps/sparc/sparc32/bits/endian.h: Remove.
567         * sysdeps/sparc/sparc32/ieee754.h: New.
568         * sysdeps/sparc/sparc64/bits/endian.h: Move...
569         * sysdeps/sparc/bits/endian.h: ...here.
570         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
571         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
572         %o1, not %o0 to see if we're parent or child.  Optimize.
574 2000-09-26  Jes Sorensen  <jes@linuxcare.com>
576         * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
577         by Hans Boehm).
578         * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
579         code by Hans Boehm).
580         * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
582 2000-09-20  H.J. Lu  <hjl@gnu.org>
584         * sysdeps/ia64/fpu/printf_fphex.c: New file.
586         * sysdeps/ia64/fpu/libm-test-ulps: New file.
588 2000-09-17  H.J. Lu  <hjl@gnu.org>
590         * sysdeps/ia64/Makefile (long-double-fcts): New.  Defined as yes.
592         * sysdeps/ia64/fpu/s_isinfl.c: New file.  Include
593         sysdeps/i386/fpu/s_isinfl.c.
595         * sysdeps/ia64/fpu/s_isnanl.c: New file.  Include
596         sysdeps/i386/fpu/s_isnanl.c.
598         * sysdeps/ia64/fpu/s_nextafterl.c: New file.  Include
599         sysdeps/i386/fpu/s_nextafterl.c.
601         * sysdeps/ia64/fpu/bits/mathdef.h: New file.  Copied from
602         sysdeps/i386/fpu/bits/mathdef.h.
604 2000-09-16  H.J. Lu  <hjl@gnu.org>
606         * sysdeps/generic/ldsodefs.h (DL_UNMAP): New.  Defined if
607         DL_UNMAP_IS_SPECIAL is not defined.
609         * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
610         (_dl_unmap): New prototype.
611         (DL_UNMAP): New.  Defined as _dl_unmap.
613         * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
615         * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
617 2000-09-16  H.J. Lu  <hjl@gnu.org>
619         * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
620         if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
622         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
623         prototype.
624         (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
626         * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
627         the memory location of a function from a function descriptor.
629         * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
631         * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
632         memory location.
634 2000-09-14  Jes Sorensen  <jes@linuxcare.com>
636         * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
637         variable as input argument.
638         (__bswap_32): Likewise.
640         * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
641         - found by Jim Wilson <wilson@cygnus.com>
643 2000-09-26  Ulrich Drepper  <drepper@redhat.com>
645         * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
646         instead of 4.
648 2000-09-26  Andreas Schwab  <schwab@suse.de>
650         * locale/programs/ld-collate.c (collate_output): Only require
651         alignment on __alignof__ (int32_t) instead of 4.
652         * locale/loadlocale.c (_nl_load_locale): Likewise.
653         * string/strcoll.c: Likewise.
655 2000-09-26  Jes Sorensen  <jes@linuxcare.com>
657         * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
658         parentheses around arithmetic used in | statement to kill compiler
659         warning.
661         * math/math_private.h: Add prototype for __finitel.
662         (__ilogbl): Likewise.
663         (__isinfl): Likewise.
664         (__isnanl): Likewise.
665         (__atanl): Likewise.
666         (__copysignl): Likewise.
667         (__expm1l): Likewise.
668         (__floorl): Likewise.
669         (__frexpl): Likewise.
670         (__ldexpl): Likewise.
671         (__log1pl): Likewise.
672         (__nanl): Likewise.
673         (__rintl): Likewise.
674         (__scalbnl): Likewise.
675         (__sqrtl): Likewise.
676         (fabsl): Likewise.
677         (__sincosl): Likewise.
679 2000-09-26  Andreas Schwab  <schwab@suse.de>
681         * sysdeps/m68k/fpu/libm-test-ulps: New file
683 2000-09-26  Ulrich Drepper  <drepper@redhat.com>
685         * locale/langinfo.h (__nl_langinfo_l): Add prototype.
687 2000-09-26  Andreas Jaeger  <aj@suse.de>
689         * misc/mkstemp64.c: New file.
690         * misc/Makefile (routines): Add mkstemp64.
691         * stdlib/stdlib.h: Add prototype and redirection magic.
692         * misc/Versions: Add mkstemp64.
694 2000-09-26  Thorsten Kukuk  <kukuk@suse.de>
696         * nscd/dbg_log.c (dbg_log): Add missing format string.
698 2000-09-26  Ulrich Drepper  <drepper@redhat.com>
700         * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
701         since we filter out the variable once.
702         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
703         * locale/newlocale.c (__newlocale): Likewise.
704         * locale/setlocale.c (setlocale): Likewise.
705         * malloc/malloc.c (ptmalloc_init): Likewise.
706         * resolv/res_hconf.c (_res_hconf_init): Likewise.
707         * resolv/res_init.c (__res_vinit): Likewise.
708         * time/tzfile.c (__tzfile_read): Likewise.
709         * sysdeps/generic/unsecvars.h: New file.
710         * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
711         * elf/rtld.c (process_envvars): Likewise.
712         * elf/Makefile (distribute): Add unsecvars.h.
714         * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
715         real /dev/null device.
717         * sysdeps/generic/check_fds.c: Include device-nrs.h.
718         * sysdeps/generic/device-nrs.h: New file.
719         * sysdeps/unix/sysv/linux/device-nrs.h: New file.
720         * misc/Makefile (distribute): Add device-nrs.h.
722         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
723         remove possible garbage at the end of the file.
725 2000-09-25  Ulrich Drepper  <drepper@redhat.com>
727         * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
728         * stdio-common/tmpnam.c: Warn about insecure tmpnam.
729         * stdio-common/tempnam.c: Warn about insecure tempnam.
730         * misc/mktemp.c: Warn about insecure mktemp.
732         * sysdeps/generic/check_fds.c: Check that file opened is really
733         /dev/null.
734         * posix/wordexp.c (exec_comm_child): Likewise.
736         * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
738         * locale/Makefile (routines): Add nl_langinfo_l.
739         * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
740         * locale/nl_langinfo_l.c: New file.
741         * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
742         definition.
744 2000-09-23  Bruno Haible  <haible@clisp.cons.org>
746         * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
747         (__gbk_to_ucs): Conditionalize private area mappings.
748         (__gbk_from_ucs4_tab9): Likewise.
749         (BODY for TO_LOOP): Likewise.
750         * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
751         * iconvdata/testdata/GBK..UTF-8: Likewise.
752         * iconvdata/tst-tables.sh: Enable GBK test.
754 2000-09-23  Bruno Haible  <haible@clisp.cons.org>
756         * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
757         (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
758         (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
759         array access.
760         * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
761         * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
763 2000-09-23  Bruno Haible  <haible@clisp.cons.org>
765         * iconvdata/johab.c (final_to_ucs): Fix typos.
766         (jamo_from_ucs_table): Likewise.
767         (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
768         0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
769         (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
770         the range 0xD9E6..0xD9FE.
771         * iconvdata/tst-tables.sh: Enable JOHAB testing.
773 2000-09-25  Ulrich Drepper  <drepper@redhat.com>
775         * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
776         GCONV_PATH.
778 2000-09-24  Ulrich Drepper  <drepper@redhat.com>
780         * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
781         stream is in wide mode.
783         * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
785 2000-09-21  Bruno Haible  <haible@clisp.cons.org>
787         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
788         by 3, not 2.
789         (INIT_PARAMS, UPDATE_PARAMS): Likewise.
791 2000-09-21  Bruno Haible  <haible@clisp.cons.org>
793         * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
794         reallocation logic for MALLOC (%as, %aS formats).
796 2000-09-24  Ulrich Drepper  <drepper@redhat.com>
798         * stdio-common/vfprintf.c (process_arg): Handle %hhn.
799         Add missing case in va_arg handling for numbers.
800         * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
801         handling.
802         * stdio/tst-printf.sh: Adjust expected results.
803         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
805 2000-09-20  Bruno Haible  <haible@clisp.cons.org>
807         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
808         (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
809         characters.
810         * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
811         as equivalent to uppercase hexadecimal digits.
813 2000-09-20  Bruno Haible  <haible@clisp.cons.org>
815         * iconvdata/testdata/EUC-KR..UTF8: New file.
816         * iconvdata/testdata/EUC-TW: New file.
817         * iconvdata/testdata/EUC-TW..UTF8: New file.
818         * iconvdata/testdata/EUC-JP: New file.
819         * iconvdata/testdata/EUC-JP..UTF8: New file.
820         * iconvdata/testdata/ISO-2022-JP: New file.
821         * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
822         * iconvdata/testdata/ISO-2022-JP-2: New file.
823         * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
824         * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
825         * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
826         * iconvdata/testdata/ISO-2022-CN: New file.
827         * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
828         * iconvdata/testdata/ISO-2022-CN-EXT: New file.
829         * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
830         * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
831         ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
833 2000-09-24  Andreas Jaeger  <aj@suse.de>
835         * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
836         function add_single_dir.
837         (add_single_dir): New function.
838         (search_dir): Use add_single_dir instead of recursing.
840         * sysdeps/generic/dl-cache.h: Include stdint.h.
841         (struct file_entry_new): Use fixed sizes for interoperability
842         between 32bit and 64bit systems, add __unused to make alignment
843         explicit.
844         (CACHE_VERSION): Increment.
845         (struct cache_file_new): Use fixed sizes, add one more unused
846         entry to make alignment explicit.
848 2000-09-24  Ulrich Drepper  <drepper@redhat.com>
850         * elf/ldconfig.c (search_dir): Make more use of d_type information.
852 2000-09-23  Ulrich Drepper  <drepper@redhat.com>
854         * stdio-common/printf-parse.h (parse_one_spec): Clear
855         spec->info.i18n.  Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
857 2000-09-18  Mark Kettenis  <kettenis@gnu.org>
859         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
860         #undef since we don't have msync.
862         * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
863         constant since that is what clock_t is.
864         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
866 2000-09-11  Mark Kettenis  <kettenis@gnu.org>
868         * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
869         multiply by LOAD_SCALE.
871 2000-09-22  Jakub Jelinek  <jakub@redhat.com>
873         * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
874         (crypt_r, setkey_r, encrypt_r): Likewise.
876 2000-09-22  Andreas Jaeger  <aj@suse.de>
878         * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
879         array size.
881         * sysdeps/alpha/fpu/libm-test-ulps: New file.
882         From Christian Iseli <chris@ludwig-alpha.unil.ch>.
884 2000-09-21  Andreas Jaeger  <aj@suse.de>
886         * math/libm-test.inc (atan_test): Test for existence of function.
887         (expm1_test): Likewise.
888         (acos_test): Likewise.
889         (asin_test): Likewise.
890         (exp_test): Likewise.
891         (log10_test): Likewise.
892         (log_test): Likewise.
893         (pow_test): Likewise.
894         (sqrt_test): Likewise.
895         (cos_test): Likewise.
896         (sin_test): Likewise.
897         (tan_test): Likewise.
898         (log1p_test): Likewise.
899         (log2_test): Likewise.
901         * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
903         * libio/oldiofsetpos64.c: Fix alias names.
905 2000-09-21  Martin Buchholz  <martin@xemacs.org>
907         * manual/terminal.texi (Allocation): Sample code correction.
909 2000-09-20  Andreas Jaeger  <aj@suse.de>
911         * iconvdata/Makefile (generated): Add tst-tables.out.
913         * intl/Makefile (generated): Add test output.
915 2000-09-19  Andreas Jaeger  <aj@suse.de>
917         * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
918         Reported by Jens-Uwe Mager <jum@helios.de>.
920 2000-09-18  Ulrich Drepper  <drepper@redhat.com>
922         * version.h (VERSION): Bump to 2.1.94.
924         * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
925         * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
926         * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
927         * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
929         * malloc/mtrace.c (mtrace): Mark stream as close on exec.
931 2000-09-17  Bruno Haible  <haible@clisp.cons.org>
933         * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
934         range 0xD800..0xDFFF.
935         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
936         (BODY for FROM_LOOP): Likewise.
937         * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
938         (internal_ucs2_loop): Likewise.
939         (ucs2reverse_internal_loop): Likewise.
940         (internal_ucs2reverse_loop): Likewise.
942 2000-09-17  Bruno Haible  <haible@clisp.cons.org>
944         * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
945         names.
947 2000-09-17  Bruno Haible  <haible@clisp.cons.org>
949         * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
950         * iconvdata/tst-table-to.c (main): Likewise.
952 2000-09-17  Bruno Haible  <haible@clisp.cons.org>
954         * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
955         __isoir165_tab.
956         * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
957         * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
958         (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
959         CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
960         (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
961         Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
962         (BODY for TO_LOOP): Fix usage of `set' vs. `used'.  Fix typo that
963         caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
964         plane 3.  Fix shift sequences. Output announcement for SS2 and SS3
965         encodings when needed.  When outputting an announcement, don't clear
966         most other announcements.
968 2000-09-17  Bruno Haible  <haible@clisp.cons.org>
970         * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
971         (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
973 2000-09-14  Bruno Haible  <haible@clisp.cons.org>
975         * intl/Versions: Add bind_textdomain_codeset.
977 2000-09-16  Ralf Baechle  <ralf@gnu.org>
979         * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat.  Declare
980         as function.
981         (_RTLD_EPILOGUE): Reformat.  Declare size of entry function.
982         (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
983         it will even work when not loaded to the standard address.
984         (RTLD_START): Reformat.  Call _dl_start in a way that is safe even
985         before the dynamic linker itself is relocated.
987 2000-09-18  Andreas Jaeger  <aj@suse.de>
989         * sysdeps/unix/sysv/linux/kernel-features.h: Always define
990         __ASSUME_32BITUIDS for MIPS.
991         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
992         * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
994 2000-09-17  H.J. Lu  <hjl@gnu.org>
996         * catgets/Makefile ($(objpfx)de/libc.cat): Use
997         $(make-target-directory) instead of mkdir.
999 2000-09-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1001         * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1002         __ASSUME_32BITUIDS for __powerpc__.
1003         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1004         * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1006 2000-09-17  Ulrich Drepper  <drepper@redhat.com>
1008         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1009         patch.
1010         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1012 2000-09-16  Jakub Jelinek  <jakub@redhat.com>
1014         * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1015         first.
1016         * sysdeps/m68k/Implies: Likewise.
1017         * sysdeps/sparc/sparc64/Implies: Likewise.
1019 2000-09-16  Jakub Jelinek  <jakub@redhat.com>
1021         * elf/readlib.c (process_file): Don't error for stale .so links either.
1023 2000-09-16  Ulrich Drepper  <drepper@redhat.com>
1025         * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1026         __builtin_expect.
1028         * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1029         Patch by Thorsten Kukuk <kukuk@suse.de>.
1031         * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1032         (test): Add default.
1033         (modules-names): Add defaultmod1 and defaultmod2.
1034         Add rules to build test objects.
1036 2000-09-15  Ulrich Drepper  <drepper@redhat.com>
1038         * wctype/wctype.h: Always include <bits/types.h>.
1039         Reported by Jim Meyering <meyering@ascend.com>.
1041         * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1042         * elf/dl-support.c: Likewise.
1044         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1045         st_blocks member in stat and stat64 structs.
1046         Patch by Bill Nottingham <notting@redhat.com>.
1048         * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1049         take longer.
1051         * math/complex.h: Don't define _Complex macro for gcc 3.  Add
1052         __extension__ to _Complex_I definition since gcc warns if -pedantic.
1053         * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1054         Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1056         * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1057         necessary.  Move includes of POSIX and Unix limits files to the end.
1058         * stdlib/Makefile (tests): Add tst-limits.
1059         * stdlib/tst-limits.h: New file.
1061 2000-09-15  Andreas Jaeger  <aj@suse.de>
1063         * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1065         * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1067 2000-09-15  Jakub Jelinek  <jakub@redhat.com>
1069         * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1070         clobber.
1071         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1072         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1074 2000-09-15  Ulrich Drepper  <drepper@redhat.com>
1076         * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1077         (tests): Add next.
1078         (modules-names): Add nextmod1 and nextmod2.
1079         Add rules to build and run next.
1080         * elf/next.c: New file.
1081         * elf/nextmod1.c: New file.
1082         * elf/nextmod2.c: New file.
1084 2000-09-14  Jakub Jelinek  <jakub@redhat.com>
1086         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1088 2000-09-15  Andreas Jaeger  <aj@suse.de>
1090         * sysdeps/mips/fpu/fenv_libc.h: New file.
1091         * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1092         * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1093         * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1095         * sysdeps/mips/fpu/feenablxcpt.c: New file.
1096         * sysdeps/mips/fpu/fegetexcept.c: New file.
1097         * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1099 2000-09-14  Ulrich Drepper  <drepper@redhat.com>
1101         * intl/Makefile: Avoid unnecessary test reruns.
1103         * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1105         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1106         to not use sysctl().  Too many architectures have problems with it.
1108 2000-09-14  Andreas Jaeger  <aj@suse.de>
1110         * scripts/config.sub: New version from subversions.gnu.org.
1112         * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1113         long.
1115 2000-09-14  Jakub Jelinek  <jakub@redhat.com>
1117         * posix/regex.c (compile_range): Cast collseq index to unsigned char
1118         to avoid accessing data before collseq.
1120         * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1121         pasting strings together.
1123 2000-09-14  Greg McGary  <greg@mcgary.org>
1125         * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1126         copyright notice.
1127         * sysdeps/generic/bp-semctl.h: Likewise.
1128         * sysdeps/generic/bp-start.h: Likewise.
1129         * sysdeps/generic/bp-sym.h: Likewise.
1130         * sysdeps/generic/bp-thunks.h: Likewise.  Include <stdio.h> to get
1131         rename prototype.
1133 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
1135         * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1136         don't fail.
1138         * elf/elf.h: Add missing official relocations.
1140         * libio/stdio.h: Define __FILE if __need___FILE is defined.
1141         * stdio/stdio.h: Likewise.
1142         * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1143         * include/stdio.h: Handle __need___FILE like __need_FILE.
1144         * include/wchar.h: Use __FILE instead of FILE.
1145         * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1146         * libio/fwscanf.c: Likewise.
1147         * libio/getwc.c: Likewise.
1149         * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1150         * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1151         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1153         * assert/assert.h: Update comment header about ISO C section.
1154         * math/complex.h: Likewise.
1155         * ctype/ctype.h: Likewise.
1156         * include/errno.h: Likewise.
1157         * include/limits.h: Likewise.
1158         * locale/locale.h: Likewise.
1159         * math/math.h: Likewise.
1160         * setjmp/setjmp.h: Likewise.
1161         * signal/signal.h: Likewise.
1162         * stdio/stdio.h: Likewise.
1163         * libio/stdio.h: Likewise.
1164         * stdlib/stdlib.h: Likewise.
1165         * string/string.h: Likewise.
1166         * time/time.h: Likewise.
1167         * wcsmbs/wchar.h: Likewise.
1168         * wctype/wctype.h: Likewise.
1169         Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1171 2000-09-13  Andreas Jaeger  <aj@suse.de>
1173         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1174         for no more entries.
1175         * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1176         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1177         Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1179 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
1181         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1182         constant since this is what clock_t is.
1183         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1184         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1185         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1186         * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1188         * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1189         definitions are requested.
1191 2000-09-13  Andreas Jaeger  <aj@suse.de>
1193         * shlib-versions: libBrokenLocale needs minimal version for ia64,
1194         sparc64 and sh to synch with libc.
1196 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
1198         * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1199         (distribute): Add iso-2022-cn-ext.c.
1200         Add definitions to compile the new module.
1201         * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1202         * iconvdata/iso-2022-cn-ext.c: New file.
1203         * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1204         ucs4_from_isoir165.  Increment input pointer if successful.
1206         * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1208         * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1210 2000-09-01  Jes Sorensen  <jes@linuxcare.com>
1212         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1213         __syscall_getdents64 wrapper.
1215         * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1217 2000-09-12  Ulrich Drepper  <drepper@redhat.com>
1219         * iconvdata/gb18030.c: Many many changes.  Make consistent with
1220         charmap and with itself.
1221         * iconvdata/tst-tables.sh: Test GB18030.
1223 2000-09-11  Ulrich Drepper  <drepper@redhat.com>
1225         * iconv/skeleton.c: Fix last patch, add missing parameter to
1226         unaligned function call.
1228 2000-09-10  Bruno Haible  <haible@clisp.cons.org>
1230         * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1231         of decimal ellipsis.
1233 2000-09-11  Bruno Haible <haible@clisp.cons.org>
1235         * locale/programs/ld-collate.c (collate_read): Always initialize
1236         error_section.next.
1238 2000-09-10  Bruno Haible  <haible@clisp.cons.org>
1240         * locale/programs/ld-collate.c (collate_finish): Upper bound for
1241         ruleidx is 128, not 256.
1243 2000-09-11  Ulrich Drepper  <drepper@redhat.com>
1245         * locale/programs/ld-collate.c (collate_read): Correct check for
1246         already inserted entries.
1248 2000-09-10  Bruno Haible <haible@clisp.cons.org>
1250         * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1251         second try as well.
1253 2000-09-10  Bruno Haible <haible@clisp.cons.org>
1255         * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1256         MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1258 2000-09-10  Bruno Haible <haible@clisp.cons.org>
1260         * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1261         SAVE_RESET_STATE.
1263 2000-09-10  Bruno Haible  <haible@clisp.cons.org>
1265         * iconvdata/utf-7.c: New file.
1266         * iconvdata/gconv-modules (UTF-7): New module entries.
1267         * iconvdata/Makefile (modules): Add UTF-7.
1268         (distribute): Add utf-7.c.
1269         * iconvdata/testdata/UTF-7: New file.
1270         * iconvdata/testdata/UTF-7..UTF8: New file.
1271         * iconvdata/TESTS (UTF-7): New entry.
1272         * iconvdata/run-iconv-test.sh: Fix confusing output.
1274 2000-09-11  Ulrich Drepper  <drepper@redhat.com>
1276         * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1278 2000-09-10  David S. Miller  <davem@redhat.com>
1280         * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1281         frame pointer offset for non-fast path.
1283 2000-09-10  Ulrich Drepper  <drepper@redhat.com>
1285         * locale/programs/3level.h (*_init): Initialize level1, level2,
1286         and level3 as well.
1287         (*_add): Remove a few unnecessary conditionals.
1289 2000-09-05  Wolfram Gloger  <wg@malloc.de>
1291         * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1292         ensure usability of mutex as an `in use' flag.
1294 2000-09-10  Ulrich Drepper  <drepper@redhat.com>
1296         * shlib-versions: Simplify libm entries.  Correct a few Hurd entries.
1298         * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1299         ugly GMON_WEAK_START hack.
1300         Patch by Philip Blundell <philb@gnu.org>.
1302         * sysdeps/i386/i486/bits/string.h: Pretty printing.
1304 2000-09-09  Ulrich Drepper  <drepper@redhat.com>
1306         * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1307         and PPC_ICBI asm for broken compilers.
1308         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1310 2000-09-09  Andreas Jaeger  <aj@suse.de>
1312         * manual/message.texi (Advanced gettext functions): Fix typo.
1314         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1315         strncpy prototype.
1317 2000-09-09  Ulrich Drepper  <drepper@redhat.com>
1319         * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1320         warnings.
1321         * sysdeps/ia64/memccpy.S: Likewise.
1322         Patches by Jim Wilson <wilson@redhat.com>.
1324         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1325         before trying to read /proc.
1326         Patch by Matt Wilson <msw@redhat.com>.
1327         * include/sys/utsname.h: Declare __uname.
1328         * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1329         * sysdeps/mach/hurd/uname.c: Likewise.
1330         * sysdeps/unix/syscalls.list: Likewise.
1332         * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1333         unloading a bit.
1335 2000-09-08  Ulrich Drepper  <drepper@redhat.com>
1337         * posix/getopt.c (_getopt_internal): When long_only is set always
1338         recognize conflicts just like before.
1340 2000-09-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1342         * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1344 2000-09-08  Greg McGary  <greg@mcgary.org>
1346         * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1347         * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1348         * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1350 2000-09-08  Andreas Jaeger  <aj@suse.de>
1352         * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1354         * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1356         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1357         (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1358         (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1360 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
1362         * iconvdata/tst-tables.sh: Enable EUC-KR test.
1364         * elf/dl-load.c (lose): Decrement _nl_loaded.
1365         (_dl_map_object_from_fd): Don't try to dlopen executables.
1367         * iconvdata/tst-tables.sh: Actually return with an error if
1368         something goes wrong.
1369         * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1370         * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1372         * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1374         * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1375         * iconvdata/tst-table-from.c: Include <string.h>.
1376         (try): Correct cast in iconv call.
1378         * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1379         too.
1380         * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1381         (sysdep_routines): Remove dl-start.
1382         Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1384         * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1386         * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1387         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1389 2000-09-06  Andreas Schwab  <schwab@suse.de>
1391         * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1393 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
1395         * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1397         * scripts/config.sub: Strip out -unknown for Linux targets.
1398         Patch by Scott Bambrough <scottb@netwinder.org>.
1400         * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1401         add one more test.
1403 2000-09-07  Andreas Jaeger  <aj@suse.de>
1405         * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1407         * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1408         syscalls.
1410         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1412         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1413         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1415         * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1417         * stdlib/tst-bsearch.c (main): Add more test cases.
1419         * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1420         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1421         Reported by GOTO Masanori <gotom@debian.or.jp>.
1423 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
1425         * posix/Makefile (tests): Add tst-dir.
1426         (tst-dir-ARGS): New variable.
1427         * posix/tst-dir.c: New file.
1429 2000-09-07  Andreas Jaeger  <aj@suse.de>
1431         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1432         (SYS_fcntl64): New.
1434         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1436 2000-09-06  Ulrich Drepper  <drepper@redhat.com>
1438         * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1439         use the hack with tryopen_o_directory to determine at runtime
1440         whether it works.
1441         * sysdeps/unix/sysv/linux/opendir.c: New file.
1442         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1443         __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1445         * catgets/Depend: New file.  Add intl.
1446         * catgets/Makefile (tests): Add tst-catgets.
1447         (generated): Remove de.msg.
1448         (generated-dirs): Add de.
1449         Add dependency if tst-catgets output on de/libc.cat.
1450         * catgets/tst-catgets.c: New file.
1452         * po/ja.po: New file.
1453         * po/el.po: Update from translation team.
1455         * wcsmbs/Depend: New file.
1456         * wcsmbs/Makefile (tests): Add tst-btowc.
1457         (tst-btowc-ENV): Define.
1458         * wcsmbs/tst-btowc.c: New file.
1460         * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1461         * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1463         * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1465         * stdlib/Makefile (tests): Add tst-bsearch.
1466         * stdlib/tst-bsearch.c: New file.
1468         * posix/getopt.c (_getopt_internal): Don't recognize an option
1469         name as ambiguous if it's a prefix for more than one name but the
1470         other struct option values are identical.
1472         * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1473         Don't depend on visual inspection of the output file to recognize
1474         errors.
1475         * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1477 2000-09-06  Andreas Jaeger  <aj@suse.de>
1479         * sysdeps/alpha/soft-fp/Dist: New file.
1480         * sysdeps/i386/soft-fp/Dist: New file.
1481         * sysdeps/mips/mips64/soft-fp/Dist: New file.
1482         * sysdeps/mips/soft-fp/Dist: New file.
1483         * sysdeps/powerpc/soft-fp/Dist: New file.
1484         * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1485         * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1487         * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1488         Use sysdep_routines instead of routines to fix make dist failure.
1489         * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1490         out code).
1491         * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1493         * sysdeps/mips/Makefile [$(subdir) = misc]:  Use
1494         sysdep_headers instead of headers for make dist.
1496         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1497         Likewise.
1499 2000-09-06  Andreas Schwab  <schwab@suse.de>
1501         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1503 2000-09-06  Andreas Jaeger  <aj@suse.de>
1505         * soft-fp/Makefile (distribute): Remove ChangeLog.
1507         * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]:  Use
1508         sysdep_routines instead of routines for make dist.
1510 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
1512         * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1513         compatibility check for old stream and call _IO_wide in doubt.
1514         (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1515         * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1516         needed tst for such an old structure and don't do anything.
1517         * libio/freopen.c: Remove declaration of _IO_stdin_used.
1519 2000-09-06  Andreas Jaeger  <aj@suse.de>
1521         * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1522         sysdep-dl-routines and sysdep_routines instead of rtld-routines
1523         and dl-routines.
1525         * soft-fp/ChangeLog: Merged with this file.
1527 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
1529         * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1531         * soft-fp/Makefile (distribute): Add the math functions, too.
1533         * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1535 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
1537         * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1538         as a statement.
1540         * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1541         * soft-fp/sysdeps/powerpc/q_*: New files.
1543 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
1545         * stdio-common/vfprintf.c (process_string_arg): Handle precision
1546         in wide char case correctly.  Don't allocate too long temporary
1547         strings with alloca.
1549         * stdio-common/Makefile (tests): Add tst-swprintf.
1550         (tst-swprintf-ENV): New variable.
1551         * stdio-common/tst-swprintf.c: New file.
1553 2000-09-05  Andreas Jaeger  <aj@suse.de>
1555         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1556         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1557         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1559 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
1561         * configure.in: Strip out "unknown" from configuration names.
1563 2000-09-05  Andreas Jaeger  <aj@suse.de>
1565         * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1567         * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1568         * sysdeps/sparc/sparc32/Implies: Likewise.
1569         * sysdeps/powerpc/Implies: Likewise.
1571         * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1572         * libio/oldiofgetpos64.c: Likewise.
1574         * soft-fp/Makefile (distribute): Remove configure.
1576         * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1578         * soft-fp/configure: Remove.
1580         * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1581         * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1583         * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1584         * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1586         * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1587         * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1589         * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1590         * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1592         * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1593         * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1595         * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1596         * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1598         * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1599         * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1601         * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1602         * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1604         * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1605         * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1607         * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1608         * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1610         * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1611         * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1613         * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1614         * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1616         * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1617         * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1619         * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1620         * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1622         * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1623         * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1625         * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1626         * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1628         * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1629         * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1631         * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1632         * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1634         * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1635         * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1637         * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1638         * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1640         * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1641         * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1643         * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1644         * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1646         * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1647         * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1649         * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1650         * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1652         * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1653         * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1655         * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1656         * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1658         * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1659         * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1661         * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1662         * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1664         * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1665         * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1667         * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1668         * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1670         * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1671         * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1673         * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1674         * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1676         * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1677         * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1679         * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1680         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1682         * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1683         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1685         * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1686         * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1688         * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1689         * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1691         * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1692         * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1694         * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1695         * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1697         * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1698         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1700         * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1701         * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1703         * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1704         * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1706         * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1707         * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1709         * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1710         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1712         * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1713         * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1715         * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1716         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1718         * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1719         * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1721         * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1722         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1724         * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1725         * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1727         * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1728         * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1730         * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1731         * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1733         * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1734         * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1736         * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1737         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1739         * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1740         * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1742         * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1743         * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1745         * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1746         * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1748         * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1749         * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1751         * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1752         * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1754         * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1755         * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1757         * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1758         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1760         * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1761         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1763         * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1764         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1766         * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1767         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1769         * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1770         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1772         * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1773         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1775         * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1776         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1778         * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1779         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1781         * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1782         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1784         * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1785         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1787         * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1788         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1790         * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1791         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1793         * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1794         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1796         * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1797         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1799         * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1800         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1802         * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1803         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1805         * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1806         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1808         * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1809         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1811         * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1812         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1814         * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1815         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1817         * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1818         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1820         * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1821         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1823         * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1824         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1826         * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1827         * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1829         * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1830         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1832         * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1833         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1835         * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1836         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1838         * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1839         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1841         * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1842         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1844         * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1845         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1847         * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1848         * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1850         * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1851         * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1853         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1854         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1856         * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1857         * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1859         * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1860         * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1862         * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1863         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1865         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1868         * soft-fp/sysdeps/powerpc/Versions: Move from here...
1869         * sysdeps/powerpc/soft-fp/Versions: ... to here.
1871         * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1872         * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1874         * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1875         change symbol version.
1876         * libio/oldiofgetpos64.c: Likewise.
1877         Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1879         * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1880         typo.
1881         Reported by dyky@kondara.org, closes PR libc/1886.
1883         * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1884         libc/1880.
1886 2000-09-04  Ulrich Drepper  <drepper@redhat.com>
1888         * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1889         script when ^C is hit.
1891         * locale/programs/localedef.c (construct_output_path): Correct
1892         computation of endp after asprintf.
1893         * locale/programs/locfile.c (write_locale_data): Don't add extra
1894         slash in filename.
1896 2000-09-05  Andreas Jaeger  <aj@suse.de>
1898         * scripts/config.guess: New upstream version.
1899         * scripts/config.sub: Likewise.
1900         * manual/texinfo.tex: Likewise.
1902 2000-09-04  Andreas Schwab  <schwab@suse.de>
1904         * elf/Makefile (all-dl-routines): New variable.
1905         (elide-routines.os): Use it instead of $(dl-routines).
1906         (all-rtld-routines): New variable.
1907         (extra-objs): Use it instead of $(rtld-routines).
1908         ($(objpfx)dl-allobjs.os): Likewise.
1909         * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1910         sysdep-dl-routines and sysdep_routines instead of rtld-routines
1911         and dl-routines.
1913 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1915         * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1916         Set fname to NULL if the module wasn't found.
1918 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1920         * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1921         true if trans->name already ends in ".so".
1923 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1925         * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1926         void.
1927         * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1928         below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1929         (__gconv_release_shlib): Change return type to void.
1930         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1931         step->__counter here.
1932         * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1933         if the reference is zero.
1934         (release_step): New function.
1935         (gen_steps): Always initialize the __counter to 1. Use release_step.
1936         Don't call the destructor on the step whose initializer failed.
1937         (increment_counter): Use release_step. Don't normally run destructors
1938         here.
1939         (__gconv_close_transform): Use release_step.
1941 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1943         * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1944         (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1946 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1948         * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1949         If the first byte is 0x8E, don't ask for 4 bytes until it has been
1950         verified that the second byte is valid. Leave it to cns11643_to_ucs4
1951         to check for incomplete input.
1952         * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1953         ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1954         __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1955         (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1956         0x9f9d..0x9fa5.
1957         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1958         __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1959         (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1960         * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1961         upto index 0x0052.
1963 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1965         * iconv/gconv_db.c (find_derivation): Always use the least-cost
1966         solution.
1968 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1970         * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1971         are invalid.
1973 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1975         * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1976         * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1977         U+007E.
1979 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1981         * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1983 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1985         * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1987 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
1989         * iconvdata/tst-tables.sh: New file.
1990         * iconvdata/tst-table.sh: New file.
1991         * iconvdata/tst-table-from.c: New file.
1992         * iconvdata/tst-table-to.c: New file.
1993         * iconvdata/tst-table-charmap.sh: New file.
1994         * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1995         (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1996         tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1997         ISIRI-3342.irreversible, SJIS.irreversible.
1998         (tests): Add dependency on tst-tables.out.
1999         (tst-tables.out, tst-tables-clean): New rules.
2000         (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2001         * iconvdata/ISIRI-3342.irreversible: New file.
2002         * iconvdata/EUC-JP.irreversible: New file.
2003         * iconvdata/SJIS.irreversible: New file.
2005 2000-09-04  Ulrich Drepper  <drepper@redhat.com>
2007         * manual/locale.texi (General Numeric): Update description of
2008         representation of the grouping information in the locale data.
2009         Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2011 2000-09-04  Andreas Jaeger  <aj@suse.de>
2013         * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2014         * iconv/iconv_prog.c (options): Fix typo.
2015         Reported by dyky@kondara.org, closes PR libc/1885.
2017 2000-09-04  Andreas Jaeger  <aj@suse.de>
2019         * sysdeps/generic/fegetenv.c: It's __fegetenv.
2020         Reported by Rob Levin <lilo@transvirtual.com>.
2022 2000-09-03  Ulrich Drepper  <drepper@redhat.com>
2024         * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2025         to the typedefs of __timezone_ptr_t.
2026         Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2028 2000-09-02  Jakub Jelinek  <jakub@redhat.com>
2030         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2031         the loop.
2033 2000-09-01  H.J. Lu  <hjl@gnu.org>
2035         * Makeconfig (built-program-cmd): Don't use the dynamic linker
2036         to run a binary if it is in $(tests-static).
2038         * Rules (binaries-static): Add $(tests-static).
2040 2000-09-02  Andreas Jaeger  <aj@suse.de>
2042         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2044         * libio/fmemopen.c (fmemopen_close): Revert one part of last
2045         patch.
2047 2000-09-01  Ulrich Drepper  <drepper@redhat.com>
2049         * iconvdata/big5hkscs.c: Regenerated from charmap.
2050         * iconvdata/testdata/BIG5HKSCS: Regenerated.
2051         * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2053         * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2054         statement.  General cleanup.
2056 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
2058         * wctype/wcfuncs.c (iswblank): New function.
2059         * wctype/wcfuncs_l.c (__iswblank_l): New function.
2060         * wctype/wcextra.c: Remove file.
2061         * wctype/wcextra_l.c: Remove file.
2062         * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2064 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
2066         * locale/programs/ld-collate.c (collate_output): Remove redundant
2067         assert call.
2068         * string/strcoll.c: Likewise.
2069         * string/strxfrm.c: Include assert.h.  Add assert calls like in
2070         string/strcoll.c.
2072 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
2074         * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2075         _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2076         _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2077         * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2078         _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2079         (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2080         (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2081         (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2082         _NL_CTYPE_GAP5/6 respectively.
2084         * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2085         * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2086         * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2087         Don't initialize __ctype_names and __ctype_width.
2088         * wctype/cname-lookup.h: Remove file.
2089         * wctype/Makefile (distribute): Remove cname-lookup.h.
2090         * wctype/wchar-lookup.h: Include stdint.h.
2091         * wctype/wctype.c (__wctype): Assume new locale format.
2092         * wctype/wctype_l.c (__wctype_l): Likewise.
2093         * wctype/iswctype.c: Don't include cname-lookup.h.
2094         (__iswctype): Assume new locale format.
2095         * wctype/iswctype_l.c: Don't include cname-lookup.h.
2096         (__iswctype_l): Assume new locale format.
2097         * wctype/wctrans.c: Don't include ctype.h.
2098         (wctrans): Assume new locale format.
2099         * wctype/wctrans_l.c (__wctrans_l): Likewise.
2100         * wctype/towctrans.c: Don't include cname-lookup.h.
2101         (__towctrans): Assume new locale format.
2102         * wctype/towctrans_l.c: Don't include cname-lookup.h.
2103         (__towctrans_l): Assume new locale format.
2104         * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2105         localeinfo.h instead.
2106         (__NO_WCTYPE): Remove unused macro.
2107         (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2108         declarations.
2109         (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2110         iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2111         (towlower, towupper): Likewise.
2112         * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2113         localeinfo.h instead.
2114         (__NO_WCTYPE): Remove unused macro.
2115         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2116         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2117         __iswxdigit_l): Assume new locale format.
2118         (__towlower_l, __towupper_l): Likewise.
2119         * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2120         (__ctype32_b): Remove declaration.
2121         (internal_wcwidth): Assume new locale format.
2122         * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2123         plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2124         to map32_b, rename width_3level to width.
2125         (ctype_output): Always create new locale format. Don't emit
2126         _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2127         (allocate_arrays): Always create new locale format.
2129         * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2130         * locale/weightwc.h (findidx): Assume new locale format.
2131         * string/strcoll.c (wcscoll): Remove local variables size, layers,
2132         names.
2133         * string/strxfrm.c (wcsxfrm): Likewise.
2134         * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2135         local variable collseq to 'const char *'.
2136         (SUFFIX): Don't use, don't undefine.
2137         * posix/fnmatch.c: Remove SUFFIX definition.
2138         * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2139         fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2140         wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2141         (collate_finish): Always create new locale format. Remove local
2142         variables min_total, act_size.
2143         (collate_output): Always create new locale format. Remove local
2144         variables table_size, names, tablewc. Rename tablewc_3level to
2145         tablewc.
2147 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
2149         * locale/programs/ld-collate.c (obstack_int32_grow,
2150         obstack_int32_grow_fast): New inline functions.
2151         (output_weightwc, collate_output): Use them where possible.
2153 2000-09-01  Ulrich Drepper  <drepper@redhat.com>
2155         * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2156         patch (_mode -> _flags).
2158         * libio/Makefile (headers): Add stdio_ext.h.
2159         (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2160         __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2161         * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2162         __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2163         __fsetlocking, and _flushlbf.
2164         * libio/__fbufsize.c: New file.
2165         * libio/__flbf.c: New file.
2166         * libio/__fpending.c: New file.
2167         * libio/__fpurge.c: New file.
2168         * libio/__freadable.c: New file.
2169         * libio/__freading.c: New file.
2170         * libio/__fsetlocking.c: New file.
2171         * libio/__fwritable.c: New file.
2172         * libio/__fwriting.c: New file.
2173         * libio/stdio_ext.h: New file.
2174         * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2175         * libio/libio.h (_IO_USER_LOCK): Define.
2176         [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2177         test _IO_USER_LOCK flag first.
2179         * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2180         malloc fails.
2182 2000-09-01  Andreas Jaeger  <aj@suse.de>
2184         * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2186         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2188 2000-08-31  Ulrich Drepper  <drepper@redhat.com>
2190         * math/Makefile (tests): Add tst-defintions.
2191         * math/tst-definitions.c: New file.
2193         * stdlib/Makefile (headers): Add bits/wchar.h.
2194         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2195         * sysdeps/generic/bits/wchar.h: New file.
2196         * sysdeps/generic/stdint.h: Include <bits/wchar.h>.  Use values in this
2197         file to define WCHAR_MIN and WCHAR_MAX.
2198         Change UINT*8_MAX and UIN*16_MAX value to type int.
2199         * wcsmbs/wchar.h: Include <bits/wchar.h>.  Use values in this
2200         file to define WCHAR_MIN and WCHAR_MAX.
2201         * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2202         int values.
2203         * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2204         * sysdeps/generic/bits/mathdef.h: Likewise.
2205         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2206         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2207         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2208         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2209         * locale/locale.h (struct lconv): Add __ prefix to the new members
2210         if not C99.
2211         * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2212         imaxdiv optimizations.
2213         * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2214         * sysdeps/wordsize-64/ldiv.c: Likewise.
2215         * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2216         const fenv_t*.
2217         * sysdeps/generic/bits/fenv.h: Likewise.
2218         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2219         * sysdeps/ia64/bits/fenv.h: Likewise.
2220         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2221         * sysdeps/mips/bits/fenv.h: Likewise.
2222         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2223         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2224         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2226         * inet/rcmd.c: Use *stat64 instead of *stat internally.
2227         * inet/ruserpass.c: Likewise.
2228         * catgets/open_catalog.c: Likewise.
2229         * intl/loadmsgcat.c: Likewise.
2230         * io/getdirname.c: Likewise.
2231         * locale/loadlocale.c: Likewise.
2232         * misc/getusershell.c: Likewise.
2233         * stdlib/canonicalize.c: Likewise.
2234         * sysdeps/posix/euidaccess.c: Likewise.
2235         * sysdeps/posix/isfdtype.c: Likewise.
2236         * sysdeps/posix/posix_fallocate.c: Likewise.
2237         * sysdeps/posix/tempname.c: Likewise.
2238         * sysdeps/unix/grantpt.c: Likewise.
2239         * sysdeps/unix/opendir.c: Likewise.
2240         * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2241         * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2242         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2243         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2244         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2245         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2246         * sysvipc/ftok.c: Likewise.
2247         * time/getdate.c: Likewise.
2249         * time/getdate.c: Add extra access test.
2251 2000-08-31  Ulrich Drepper  <drepper@redhat.com>
2253         * version.h (VERSION): Bump to 2.1.93.
2255         * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2256         * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2258         * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2259         Make this a new rule depending on tst-gettext.out and run mtrace.
2260         * intl/tst-gettext.c: Call mtrace.
2261         * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2263         * elf/dl-reloc.c: Add a few more __builtin_expect.
2265         * configure.in: Remove --with-gettext option.
2267         * intl/dcigettext.c (free_mem): Correct freeing of
2268         _nl_domain_bindings list.
2270         * sysdeps/generic/setenv.c (free_mem): New function.  Free all
2271         allocated memory.
2273         * intl/locale.alias: Add aliases for bokmal and nynorsk.
2275         * locale/iso-639.def: Fix 639-1 code for Bokmal.
2277         * stdio-common/itoa-digits.c: Move upper digits to...
2278         * stdio-common/itoa-udigits.c: ...here.  New file.
2279         * stdio-common/Makefile (routines): Add itoa-udigits.
2281         * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2282         relocate ld.so don't add supprt for relocations which should not
2283         appear in ld.so.
2285         * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2286         __secure_getenv.  Instead test __libc_enable_secure once.
2288         * io/pwd.c (main): Provide a good example, use *_unlocked function.
2290 2000-08-30  Ulrich Drepper  <drepper@redhat.com>
2292         * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2293         whether the new record should be freed if it's a duplicate.
2294         (add_module): Adjust insert_module call.
2295         (__gconv_read_conf): Likewise.
2296         * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2297         mtrace-tst-loading.
2298         (tests): Make $(objpfx)mtrace-tst-loading a dependency.  Add rule.
2300         * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2301         _dl_all_init_dirs.
2302         * include/link.h (struct r_search_path_struct): New.
2303         (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2304         * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2305         _dl_all_init_dirs.
2306         * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2307         * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2308         added at startup time.
2309         * elf/dl-load.c: Fix memory handling.  r_search_path_struct
2310         contains element to remember fact that we can free memory.
2311         (all_dirs): Renamed to _dl_all_dirs.  Made global.
2312         (_dl_init_all_dirs): New variable.
2313         (fillin_rpath): Save one malloc call.
2314         (decompose_rpath): Change interface.  New first parameter points to
2315         r_search_path_struct.
2316         (_dl_init_paths): Adjust for changes.  Mark all memory as not
2317         deletable.  Set _dl_init_all_paths value.
2318         (open_path): Remove may_free_dirs parameter.  r_search_path_elem ***
2319         parameter replaced with r_search_path_struct *.  Information about
2320         freeing now contained in r_search_path_struct.
2321         (_dl_map_object): Adjust for above changes.
2323         * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2325         * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2326         when adding new entries.
2328         * elf/dl-load.c (fillin_rpath): Make local copy of where string
2329         since the object being loaded can be unloaded.
2331         * iconvdata/Makefile (tests): Add tst-loading.
2332         * iconvdata/tst-loading.c: New file.
2334 2000-08-29  Bruno Haible  <haible@clisp.cons.org>
2336         * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2337         When comparing a char with an int, always cast the char to
2338         'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2339         compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2341 2000-08-30  Ulrich Drepper  <drepper@redhat.com>
2343         * time/strftime.c (my_strftime): Add compatibility code for use
2344         outside glibc.  Patch by Jim Meyering <meyering@ascend.com>.
2346         * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2347         return 0 for success but always < 0 on failure.
2349         * nss/getXXbyYY_r.c: Define result to *result before including
2350         digits_dots.c.
2352 2000-08-30  Andreas Jaeger  <aj@suse.de>
2354         * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2356 2000-08-29  Ulrich Drepper  <drepper@redhat.com>
2358         * iconvdata/big5hkscs.c: Rewritten.  Regenerate data from the
2359         official file.
2360         * iconvdata/TESTS: Add BIG5HKSCS entry.
2361         * iconvdata/testdata/BIG5HKSCS: New file.
2362         * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2364         * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2365         always true.
2367         * libio/iogetline.c: Set mode before the loop in case n==0.
2368         * libio/iogetwline.c: Likewise.
2370 2000-08-29  H.J. Lu  <hjl@gnu.org>
2372         * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2373         of fp->_mode < 0.
2374         (_IO_new_file_overflow): Likewise.
2375         * libio/genops.c (_IO_flush_all): Likewise.
2376         * libio/ioftell.c (_IO_ftell): Likewise.
2378 2000-08-29  Akira Higuchi  <a@kondara.org>
2380         * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2381         and __end_fct fields of struct __gconv_step.
2382         * iconv/Makefile (tests): Add iconv-bug2.
2383         * iconv/iconv-bug2.c: New file.
2385         * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2386         instead of 'inptr - inend' to ksc5601_to_ucs4.
2388         * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2390         * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2391         character or shift sequence is found at the end of the input
2392         string, return__GCONV_INCOMPLETE_INPUT instead of
2393         __GCONV_EMPTY_INPUT.
2394         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2395         * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2397         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2398         __GCONV_ILLEGAL_INPUT for 8bit characters.
2400 2000-08-29  Ulrich Drepper  <drepper@redhat.com>
2402         * signal/signal.h (sigpause): Move __THROW before __asm__.
2404         * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2405         names don't match don't return.
2406         Patch by Olaf Kirch <okir@flash.lst.de>.
2408 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2410         * time/strftime.c (my_strftime): Handle # flag for %b as well.
2412 2000-08-27  H.J. Lu  <hjl@gnu.org>
2414         * posix/Makefile (otherlibs): Add for building with static-nss
2415         for "make check".
2417 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2419         * libio/stdio.h: Add fmemopen prototype.
2421 2000-08-25  Andreas Jaeger  <aj@suse.de>
2423         * libio/Makefile (routines): Add fmemopen.
2424         (tests): Add test-fmemopen.
2425         * libio/Versions: Add fmemopen with version GLIBC_2.2.
2426         * libio/test-fmemopen.c: New file.
2427         * libio/fmemopen.c: New file.
2428         Patches by Hanno Mueller <kontakt@hanno.de>.
2430 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2432         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2433         inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.
2435         * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2436         to avoid crashing statically linked applications.
2438 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
2440         * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2441         If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2443         * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2444         If the result is fits in the buffer, copy only as many bytes as needed.
2446         * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2447         buffer after copying numbuf into it.
2448         * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2450 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
2452         * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2453         the result.  When string_len < len, don't clear the rest of the buffer.
2455 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
2457         Support for new LC_COLLATE format.
2458         * locale/coll-lookup.h: New file.
2459         * locale/weightwc.h (findidx): When size == 0, call
2460         collidx_table_lookup.
2461         * wcsmbs/wcscoll.c: Include coll-lookup.h.
2462         * wcsmbs/wcsxfrm.c: Likewise.
2463         * posix/fnmatch.c: Likewise.
2464         * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2465         collseq_table_lookup.
2466         * locale/programs/3level.h: New file.
2467         * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2468         by including "3level.h".
2469         * locale/programs/ld-collate.c (wchead_table, collidx_table,
2470         collseq_table): New types, defined by including "3level.h".
2471         (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2472         (encoding_mask, encoding_byte): Remove.
2473         (utf8_encode): Use simple shifts instead.
2474         (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2475         to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2476         (collate_output): New local variable tablewc_3level. When
2477         !oldstyle_tables, set table_size to 0 and names to NULL and fill
2478         tablewc_3level instead of tablewc. Change format of TABLEWC and
2479         COLLSEQWC entries written to the file.
2480         * locale/C-collate.c (collseqwc): Change format.
2481         (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2482         of COLLSEQWC.
2483         * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2485 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
2487         * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2488         (locale_ctype_t): New charnames_idx field.
2489         (ctype_startup): Initialize charnames_idx field.
2490         (find_idx): Speed up dramatically by using charnames_idx inverse table.
2492 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
2494         * locale/C-ctype.c: Switch to new locale format.
2495         (_nl_C_LC_CTYPE_names): Remove array.
2496         (STRUCT_CTYPE_CLASS): New macro.
2497         (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2498         graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2499         New three-level tables.
2500         (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2501         (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2502         to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2503         12 class tables and 2 map tables at the end.
2504         * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2505         (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2506         graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2507         New declarations.
2508         (b): Remove trailing semicolon.
2509         (__ctype_names, __ctype_width): Don't initialize.
2510         (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2512 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
2514         * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2515         is guaranteed to be allocated with the same malloc() and may be
2516         passed to free().
2517         (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2518         been set to empty by an earlier open_path call, don't pass it again.
2520 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2522         * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2523         we are not optimizing.
2525         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2526         inclusion.
2528         * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2529         really match EOF.
2530         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2532 2000-08-28  Andreas Jaeger  <aj@suse.de>
2534         * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2536 2000-08-28  Mark Kettenis  <kettenis@gnu.org>
2538         * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2539         getpeername.  Use ISO C style function definition.
2540         (getpeername): Provide weak alias.
2541         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2542         setrlimit.  Use ISO C style function definition.
2543         (setrlimit): Provide weak alias.
2545 2000-08-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2547         * shlib-versions: Add a rule for S/390 to the libm version list.
2548         * sysdeps/s390/Versions: New file.
2549         * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2550         * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2551         * sysdeps/unix/sysv/linux/s390/Versions: New file.
2552         * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2553         * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2554         * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2555         * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2556         * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2557         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2558         * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2559         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2560         * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2561         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2562         * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2563         * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2564         * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2565         * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2566         * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2568 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2570         * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2571         (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2573         * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2574         * elf/dl-close.c (_dl_close): Print debug message if object is not
2575         unloaded.
2576         * elf/dl-open.c (dl_open_worked): Print message about opencount before
2577         returning to caller.
2579         * po/zh.po: Renamed to...
2580         * po/zh_TW.po: ...this.
2582 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
2584         * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2586         * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2587         * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2588         * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2589         * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2591 2000-08-27  Ulrich Drepper  <drepper@redhat.com>
2593         * locale/programs/ld-collate.c (insert_weights): Also update
2594         backpointer of next element.
2595         (collate_read): Allow definition of new collation symbols in stage 2.
2596         Symbol after reorder-after can be UCS4 value.
2597         Allow reordering of collation symbols and elements.
2598         Do not only move reorder entry in new position.  Instead call
2599         insert_weight to do this and read the weights.
2601         * locale/findlocale.c (free_mem): Add cast to avoid warning.
2603         * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2604         to determine invalid locale name.
2605         * locale/findlocale.c (_nl_find_locale): Likewise.
2607         * posix/annexc.c: Correct test for unavailable feature.
2609         * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2610         __inline.
2612 2000-08-26  Ulrich Drepper  <drepper@redhat.com>
2614         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2615         syscall.
2617         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2618         (sysdep_routines): Add oldgetrlimit64.
2620         * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2621         reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2622         (tests): Add unload, reldep, reldep2, and reldep3.
2623         (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2624         and reldepmod4.
2625         Add rules to build and run unload, reldep, reldep2, and reldep3.
2626         * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2627         Don't create relocation dependency if it is nonzero.
2628         (_dl_lookup_symbol_skip): Remove relocation dependency stuff.  This
2629         can never happen here.
2630         (_dl_lookup_versioned_symbol): Add new parameter explicit.
2631         Don't create relocation dependency if it is nonzero.
2632         (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2633         stuff.  This can never happen here.
2634         * sysdeps/generic/ldsodefs.h: Change prototypes.
2635         * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2636         _dl_lookup_up and _dl_lookup_versioned_symbol.
2637         (RESOLV): Likewise.
2638         * elf/dl-runtime.c (fixup): Likewise.
2639         (profile_fixup): Likewise.
2640         * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2641         _dl_lookup_symbol.
2642         * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2643         * elf/rtld.c (dl_main): Likewise.
2644         * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2645         _dl_lookup_symbol if handle is not RTLD_DEFAULT.  Always compute
2646         and pass down the caller map.
2647         (_dl_vsym): Likewise.
2648         * elf/reldep.c: New file.
2649         * elf/reldep2.c: New file.
2650         * elf/reldep3.c: New file.
2651         * elf/reldepmod1.c: New file.
2652         * elf/reldepmod2.c: New file.
2653         * elf/reldepmod3.c: New file.
2654         * elf/reldepmod4.c: New file.
2655         * elf/unload.c: New file.
2656         * elf/unloadmod.c: New file.
2658         * elf/do-lookup.h: Remove unused undef_name parameter.
2659         * elf/dl-lookup.c: Adjust callers.
2661 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
2663         * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2664         irreversible in recursive call of conversion function to signal that
2665         no error handling is wanted.
2666         * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2667         (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2668         * iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
2669         recursive error handling call, otherwise to &lirreversible.  Use it
2670         for calls to conversion functions.
2671         * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2672         transliterating.
2673         (ucs4_internal_loop_unaligned): Likewise.
2674         (ucs4le_internal_loop): Likewise.
2675         (ucs4le_internal_loop_unaligned): Likewise.
2677 2000-08-25  Greg McGary  <greg@mcgary.org>
2679         * sysdeps/i386/memchr.S: Check high bound against chars
2680         actually scanned.
2681         * sysdeps/i386/memcmp.S: Likewise.
2682         * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2683         account for pointers that lie one beyond end-of-buffer.
2685 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
2687         * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2688         * elf/nodelete.c (fini_ran): New global variable.
2689         (do_test): Before every dlclose call clear fini_ran and test
2690         afterwards that it is not set by the destructors.
2691         * elf/nodelmod1.c: Add destructor which sets fini_ran.
2692         * elf/nodelmod2.c: Likewise.
2693         * elf/nodelmod4.c: Likewise.
2695 2000-08-21  Jes Sorensen  <jes@linuxcare.com>
2697         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2698         getrlimit to the list.
2700 2000-08-18  Jes Sorensen  <jes@linuxcare.com>
2702         * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2703         long double format so use ldbl-96 instead of ldbl-128.
2705 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
2707         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2708         even if bits 10 a 11 are non-zero.
2709         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2711         * Makeconfig: Ensures the soversions.mk part of Makefile gets
2712         included before building gnu/lib-names.h
2713         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2715         * elf/dl-close.c (_dl_close): Don't run destructors of objects
2716         marked DF_1_NODELETE.
2718         * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2719         since we call sigaction in the child.
2721 2000-08-25  Andreas Jaeger  <aj@suse.de>
2723         * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2724         gconv-modules.
2726 2000-08-25  Andreas Jaeger  <aj@suse.de>
2728         * manual/arith.texi (Control Functions): Clarify possible
2729         arguments.  Closes PR libc/1856.
2731 2000-08-24  H.J. Lu  <hjl@gnu.org>
2733         * stdio-common/Makefile (tests): Don't do it for cross compiling.
2734         * malloc/Makefile (tests): Likewise.
2736 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
2738         * iconvdata/unicode.c (gconv_init): Correct test for direction.
2740 2000-08-24  Andreas Jaeger  <aj@suse.de>
2742         * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2743         only if LIBGD is available.
2745 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
2747         * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2748         problems with now restrict parameter types.
2749         (convaddr4to6): Likewise.
2751 2000-08-24  Denis Joseph Barrow  <djbarrow@de.ibm.com>
2753         * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2754         * sysdeps/s390/fpu/feenablxcpt.c: New file.
2755         * sysdeps/s390/fpu/fegetexcept.c: New file.
2756         * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2757         FPC_VALID_MASK.
2759 2000-08-24  Andreas Jaeger  <aj@suse.de>
2761         * malloc/Makefile (extra-objs): Add memusagestat.o.
2762         (generated): Added memusage and memusagestat for make clean.
2764         * libio/tst_putwc.c (do_test): Delete temporary file.
2765         Move inclusion of test-skeleton to front to have prototype for
2766         add_temp_file.
2768         * posix/Makefile (generated): Add wordexp-tst.out.
2770 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
2772         * resolv/res_hconf.c (free_mem): Remove not needed if.
2774         * time/tzset.c (free_mem): New function.
2775         * string/strsignal.c (free_mem): New function.
2776         * inet/inet_ntoa.c (free_mem): New function.
2777         * sunrpc/clnt_perr.c (free_mem): New function.
2779 2000-08-24  Andreas Jaeger  <aj@suse.de>
2781         * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2782         * sysdeps/unix/sysv/syscalls.list: Likewise.
2784         * posix/unistd.h: Move internal prototypes from here ...
2785         * include/unistd.h: ... to here.
2787         * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2789 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
2791         * grp/initgroups.c (initgroups): Deallocate groups array.
2792         Reported by jani.raiha@sonera.com [PR libc/1868].
2794         * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2795         * sysdeps/alpha/Dist: Likewise.
2797 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
2799         * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2800         destructor).  Reported by Solar Designer <solar@false.com>.
2802         * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2803         avoid adding double slashes.
2805 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
2807         * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2808         out of the __REDIRECT macro.
2810 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
2812         * stdio-common/vfscanf.c: Add %F format support.
2814         * locale/programs/ld-ctype.c (ctype_output): Make sure
2815         _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2816         _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2817         (ctype_read): Enable returning of wide character strings for reading
2818         transliteration information.
2820 2000-08-23  Andreas Jaeger  <aj@suse.de>
2822         * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2823         Use static __inline instead of _EXTERN_INLINE.
2825         * misc/sys/select.h: Move prototypes of __select from here ...
2826         * include/sys/select.h: ... to here.
2828         * socket/sys/socket.h: Move prototypes of __send and __connect
2829         from here....
2830         * include/sys/socket.h: ... to here.
2832         * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2833         lr_error.
2835 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
2837         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2838         __setrlimit as strong name. Takes only 2 arguments.
2840         * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2841         takes only 2 arguments.
2843 2000-08-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2845         * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2847         * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2849 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
2851         * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2852         default_missing character being specified, pick the first
2853         representable.
2855 2000-08-23  Andreas Jaeger  <aj@suse.de>
2857         * include/wchar.h: Add some pure attributes.
2859         * time/time.h: Add const attribute for dysize.
2861         * include/stdlib.h: Add malloc attribute to __posix memalign.
2863         * stdlib/stdlib.h: Add some pure and malloc attributes.
2864         * wcsmbs/wchar.h: Likewise.
2866         * dirent/dirent.h: Add some pure attributes.
2867         * include/dirent.h: Likewise.
2869 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
2871         * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2872         on 64bit arches.
2874 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
2876         * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2877         missing buffer size checks.
2879 2000-08-23  Andreas Jaeger  <aj@suse.de>
2881         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2882         strong name.
2883         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2885         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2886         otherwise __LINUX_KERNEL_VERSION might not be defined.
2887         (MIN): Define if not already defined.
2889 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
2891         * stdio-common/vfprintf.c: Handle %F format.
2892         * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2893         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2895         * stdio-common/tstdiomisc.c: Add test for %F printf format.
2897         * po/zh.po: New file.
2899         * iconvdata/sjis.c: In conversion from UCS4, correct test for
2900         enough room in target buffer.
2901         Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2902         * iconvdata/bug-iconv1.c: New file.
2903         * iconvdata/Makefile (tests): Add bug-iconv1.
2905         * locale/iso-4217.def: Update entry for Nicaragua.
2907 2000-08-22  Mark Kettenis  <kettenis@gnu.org>
2909         * hurd/hurdsig.c: Rearrange headers a bit.
2910         (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2911         when cthreads is being used.
2913 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
2915         * elf/Makefile (distribute): Add dl-osinfo.h.
2916         * sysdeps/generic/dl-osinfo.h: New file.
2917         * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2918         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2919         if defined.
2920         * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2921         only for !SHARED case.  Get the code from dl-osinfo.h.
2923         * stdlib/random_r.c: Cleanups.
2924         * stdlib/tst-random.c: New file.
2925         * stdlib/Makefile (tests): Add tst-random.
2926         Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2928 2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2930         * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2931         * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2932         * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2933         * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2935 2000-08-22  Jakub Jelinek  <jakub@redhat.com>
2937         * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2938         * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2939         (__syscall__sysctl): Add.
2941 2000-08-21  Andreas Jaeger  <aj@suse.de>
2943         * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2944         libc/1864).
2945         * stdlib/tst-strtoll.c: Likewise.
2947 2000-08-21  Ulrich Drepper  <drepper@redhat.com>
2949         * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2950         correctly.
2951         (__initstate_r): Set errno on error.
2952         (__random_r): Likewise.
2953         (__setstate_r): Correct offset when computing
2954         new rptr and fptr.  Test for arg_state being NULL.
2955         Reported by Michael Fischer <fischer@cs.yale.edu>.
2957         * posix/regex.h: Add macro definitions to allow compiling outside
2958         glibc.
2960         * sysdeps/i370/Implies: Removed.
2961         * sysdeps/mvs/Implies: Removed.
2963         * catgets/catgets.c (catopen): Filter out env_var values with / if
2964         necessary.
2966         * locale/findlocale.c (_nl_find_locale): Move test for unusable
2967         locale name after all getenvs.
2969         * configure.in: Allow sed versions like 3.02.8.
2970         Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2972 2000-08-21  Marko Myllynen  <myllynen@lut.fi>
2974         * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2976 2000-08-21  Ulrich Drepper  <drepper@redhat.com>
2978         * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2979         of gethostbyname2_r call.
2981         * intl/locale.alias: Add aliases for Korean.
2983 2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2985         * sysdeps/s390/__longjmp.c: Remove unused variable result.
2986         * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2987         * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2988         * sysdeps/s390/fpu/fegetenv.c: New file.
2989         * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2990         * sysdeps/s390/fpu/feholdexcpt.c: New file.
2991         * sysdeps/s390/fpu/fenv_libc.h: New file.
2992         * sysdeps/s390/fpu/fesetenv.c: New file.
2993         * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2994         * sysdeps/s390/fpu/feupdateenv.c: New file.
2995         * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2996         * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2997         * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2998         * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2999         * sysdeps/s390/fpu/ftestexcept.c: New file.
3000         * sysdeps/s390/fpu/libm-test-ulps: New file.
3001         * sysdeps/s390/gmp-mparam.h: Add end of comment.
3002         * sysdeps/s390/initfini.c: New file.
3003         * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3004         * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3005         * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3006         * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3007         * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3008         sys/procfs.h as proposed by Mark Kettenis.
3009         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3011 2000-08-21  Andreas Jaeger  <aj@suse.de>
3013         * include/poll.h: Include include/sys/poll.h to get __poll
3014         declaration.
3016         * io/sys/poll.h: Move __poll declaration from here...
3017         * include/sys/poll.h: ...to here.
3019         * include/sys/socket.h (__getpeername): Add declaration.
3021         * include/wchar.h (__vswprintf): Add declaration.
3023         * include/stdio.h (__flockfile): Add declaration.
3024         (__funlockfile): Likewise.
3026 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
3028         * misc/sys/cdefs.h: Define __restrict_arr.
3029         * include/sys/time.h: Add restrict where required by AGd4.
3030         * inet/arpa/inet.h: Likewise.
3031         * io/sys/stat.h: Likewise.
3032         * io/sys/statvfs.h: Likewise.
3033         * misc/search.h: Likewise.
3034         * misc/sys/select.h: Likewise.
3035         * posix/glob.h: Likewise.
3036         * posix/regex.h: Likewise.
3037         * posix/spawn.h: Likewise.
3038         * posix/unistd.h: Likewise.
3039         * rt/aio.h: Likewise.
3040         * signal/signal.h: Likewise.
3041         * socket/sys/socket.h: Likewise.
3042         * stdlib/ucontext.h: Likewise.
3043         * streams/stropts.h: Likewise.
3044         * string/string.h: Likewise.
3045         * time/time.h: Likewise.
3046         * time/sys/time.h: Likewise.
3048         * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3049         and posix_spawnattr_setscheparam.
3051         * libio/stdio.h: Make cuserid prototype again available for all
3052         XPG versions.
3054         * argp/argp-help.c: Unify use of function aliases to make more compact
3055         PLT.
3056         * include/libintl.h: Likewise.
3057         * inet/rcmd.c: Likewise.
3058         * intl/dcigettext.c: Likewise.
3059         * libio/iofputws.c: Likewise.
3060         * libio/iofputws_u.c: Likewise.
3061         * libio/iogetwline.c: Likewise.
3062         * libio/swprintf.c: Likewise.
3063         * malloc/malloc.c: Likewise.
3064         * nss/digits_dots.c: Likewise.
3065         * posix/fnmatch.c: Likewise.
3066         * posix/spawn_faction_addclose.c: Likewise.
3067         * posix/spawn_faction_adddup2.c: Likewise.
3068         * posix/spawn_faction_addopen.c: Likewise.
3069         * posix/spawni.c: Likewise.
3070         * posix/wordexp.c: Likewise.
3071         * posix/spawni.c: Likewise.
3072         * resolv/res_hconf.c: Likewise.
3073         * resolv/res_init.c: Likewise.
3074         * shadow/lckpwdf.c: Likewise.
3075         * signal/sighold.c: Likewise.
3076         * signal/sigrelse.c: Likewise.
3077         * stdio-common/printf-parse.h: Likewise.
3078         * stdio-common/printf-prs.c: Likewise.
3079         * stdio-common/printf_fp.c: Likewise.
3080         * stdio-common/vfprintf.c: Likewise.
3081         * stdio-common/vfscanf.c: Likewise.
3082         * stdlib/rpmatch.c: Likewise.
3083         * sunrpc/create_xid.c: Likewise.
3084         * sunrpc/key_call.c: Likewise.
3085         * sysdeps/generic/setrlimit64.c: Likewise.
3086         * sysdeps/generic/utmp_file.c: Likewise.
3087         * sysdeps/generic/vlimit.c: Likewise.
3088         * sysdeps/posix/posix_fallocate.c: Likewise.
3089         * sysdeps/posix/posix_fallocate64.c: Likewise.
3090         * sysdeps/posix/sigpause.c: Likewise.
3091         * sysdeps/posix/sigset.c: Likewise.
3092         * sysdeps/unix/grantpt.c: Likewise.
3093         * sysdeps/unix/bsd/ualarm.c: Likewise.
3094         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3095         * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3096         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3097         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3098         * time/strftime.c: Likewise.
3099         * wcsmbs/wcscoll.c: Likewise.
3100         * wcsmbs/wcsxfrm.c: Likewise.
3102         * time/tst-getdate.c (main): Make error messages more human readable.
3104         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3105         postinc/predec instruction.
3106         (_FPU_SETCW): Likewise.
3107         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3109 2000-08-20  Andreas Jaeger  <aj@suse.de>
3111         * time/tst-getdate.c (main): Increase error in case of wrong
3112         conversion.
3113         Fix typo in test case.
3115 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
3117         * ctype/ctype.h (isblank): Make available if ISO C99.
3118         * wctype/wctype.h (iswblank): Make available if ISO C99.
3119         * math/math.h (signgam): Don't make available if ISO C99.
3120         * math/tgmath.h (tgamma): Renamed from gamma.
3121         Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3123         * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3124         Pretty printing.
3125         * intl/plural.y (new_exp): Take number of optional parameters in
3126         second parameter.  Test for correct number of parameters and free
3127         correctly in case of failure.  Adjust all callers.
3128         (yylex): Allow ';' as terminator character.
3130 2000-08-19  Ulrich Drepper  <drepper@redhat.com>
3132         * locale/lc-time.c (free_mem): New function.  Free alt_digits and
3133         walt_digits.
3135         * locale/findlocale.c (free_mem): Also free here->filename.
3137         * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3139         * math/test-fenv.c (feenv_tests): Clear all exceptions before
3140         first test.
3141         (feexcp_nomask_test): Correct printf args.
3142         (feexcp_mask_test): Likewise.
3144 2000-08-19  Andreas Jaeger  <aj@suse.de>
3146         * inet/tst-gethnm.c: Include string.h to provide prototype for
3147         strcmp.
3149         * malloc/mtrace.pl (usage): Inform about --help.
3151 2000-08-19  Wolfram Gloger  <wg@malloc.de>
3153         * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3154         size HEAP_MAX_SIZE.
3156 2000-08-19  Andreas Jaeger  <aj@suse.de>
3158         * shlib-versions: Remove libnss_db, libdb and libdb1.
3160 2000-08-19  Jakub Jelinek  <jakub@redhat.com>
3162         * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3163         * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3164         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3165         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3166         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3167         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3168         * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3169         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3170         * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3171         * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3172         getdents.
3173         * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3174         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3176 2000-08-18  Jakub Jelinek  <jakub@redhat.com>
3178         * include/glob.h (__glob64): Add prototype.
3179         * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3180         define glob and glob_in_dir.
3181         * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3182         * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3183         * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3184         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3185         * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3186         * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3187         * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3188         * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3190 2000-08-18  Jakub Jelinek  <jakub@redhat.com>
3192         * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3194 2000-08-17  Andreas Jaeger  <aj@suse.de>
3196         * math/test-fenv.c (fe_single_test): New function.
3197         (fe_env_tests): Use fe_single_test.
3198         (feenable_test): New tests for feenable/fedisable and
3199         fegetexcpetions.
3200         (feexcp_mask_test): New function.
3201         (feexcp_nomask_test): New function.
3203 2000-08-19  Richard Henderson  <rth@cygnus.com>
3205         * sysdeps/alpha/fpu/fenv_libc.h: New file.
3206         * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3207         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3208         * sysdeps/alpha/fpu/fesetround.c: Likewise.
3209         * sysdeps/alpha/fpu/fegetround.c: Likewise.
3210         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3211         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3212         * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3213         * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise.  Use the smaller mask.
3214         * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3215         * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3216         * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3217         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3218         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3219         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3220         * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3221         (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3223 2000-08-19  Andreas Jaeger  <aj@suse.de>
3225         * elf/constload1.c: Include <stdio.h> for puts prototype.
3227 2000-08-19  Ulrich Drepper  <drepper@redhat.com>
3229         * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3230         * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3231         a dynamically loaded object remove old l_initfini list.
3232         * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3233         remove some dynamically allocated memory blocks in the dynamic
3234         loading data structures.
3235         * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3236         * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3237         Instead call _dl_check_map_versions only for the dependencies.
3238         * elf/rtld.c: Avoid unneccessary initializations.  Mark l_libname
3239         information of initial objects as not free-able.
3240         * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3241         element.
3243         * elf/filter.c: Call mtrace.
3244         * elf/restest1.c: Likewise.  Close the objects.
3245         * elf/loadtest.c: Call mtrace.  Check result of dlclose.  Print more
3246         debug information.
3248         * elf/constload1.c: Add comment explaining not freed memory.
3250 2000-08-18  Andreas Jaeger  <aj@suse.de>
3252         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3253         alignment for structs stat and stat64.
3254         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3256 2000-08-17  Ulrich Drepper  <drepper@redhat.com>
3258         * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3259         handling.  Patch by Richard Henderson <rth@twiddle.net>.
3261         * nss/Versions: Remove libnss_db information.
3263 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
3265         * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3266         * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3267         * sysdeps/sparc/fpu/fegetexcept.c: New file.
3268         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3270         * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3271         to match Solaris.
3273 2000-08-17  Ulrich Drepper  <drepper@redhat.com>
3275         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3276         (_FPU_SETCW): Likewise.
3277         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3279         * stdio-common/printf_fp.c: Fix chars_needed computation.
3280         Patch by Greg McGary <greg@mcgary.org>.
3282 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
3284         * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3285         _dl_loaded are NULL.
3287 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
3289         * manual/arith.texi (feholdexcept): Returns 0 on success.
3291 2000-08-17  Andreas Jaeger  <aj@suse.de>
3293         * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3294         (ifr_newname): New.
3295         Reported by Andi Kleen <ak@suse.de>.
3297 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
3299         * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3300         * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3301         * sysdeps/alpha/fpu/fegetexcept.c: New file.
3303 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
3305         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3306         of buf->st_ino and kbuf->st_ino, not __st_ino.
3307         If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3308         * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3309         directive so that only linux/getdents.c is used, not some
3310         architecture specific one.
3312 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
3314         * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3315         enabled, not disabled exceptions.
3316         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3317         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3319 2000-08-17  Greg McGary  <greg@mcgary.org>
3321         * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3322         from test program name when constructing suffix for $(LDLIBS-*).
3323         (bounded-thread-library): New variable.
3324         * crypt/Makefile
3325         [build-shared, build-static] (libcrypt-dep): Remove variable.
3326         ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3327         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3328         * linuxthreads/Makefile (libpthread, librt): Remove variables.
3329         (librt-tests): Add variable.  (tests): Use it.
3330         [build-shared, build-static]
3331         ($(addprefix $(objpfx),$(tests)),
3332         $(addprefix $(objpfx),$(librt-tests))):
3333         Consolidate individual dependencies.
3334         [build-bounded]
3335         ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3336         Add dependencies.
3337         * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3338         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3339         * misc/Makefile
3340         [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3341         * rt/Makefile
3342         [build-shared, build-static]
3343         ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3344         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3346 2000-08-17  Greg McGary  <greg@mcgary.org>
3348         * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3349         * sysdeps/unix/make-syscalls.sh: Likewise.
3350         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3351         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3352         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3353         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3354         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3356 2000-08-17  Greg McGary  <greg@mcgary.org>
3358         * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3359         Wrap extern symbols in BP_SYM ().
3360         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3361         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3362         * sysdeps/i386/fpu/s_remquo.S: Likewise.
3363         * sysdeps/i386/fpu/s_remquof.S: Likewise.
3364         * sysdeps/i386/fpu/s_remquol.S: Likewise.
3365         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3366         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3367         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3368         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3369         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3371 2000-08-16  Andreas Schwab  <schwab@suse.de>
3373         * sysdeps/m68k/fpu/fegetexcept.c: New file.
3374         * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3375         * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3377 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
3379         * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3380         * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3381         * elf/dl-support.c: Define _nl_nloaded.
3382         * elf/rtld.c: Likewise.  Increment _nl_nloaded for rtld itself.
3383         * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3384         object to global list.
3385         * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3386         from _dl_loaded list.
3387         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3388         * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3389         number here.
3391         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3392         unmask, exceptions.
3393         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3394         exceptions.
3395         Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3397 2000-08-16  Andreas Jaeger  <aj@suse.de>
3399         * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3401 2000-08-15  Marko Myllynen  <myllynen@lut.fi>
3403         * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3405 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
3407         * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3408         * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3409         (sysdep_routines): Add oldgetrlimit64.
3410         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3411         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3413         * include/link.h: Undo last patches.  Hurd now has stat64.
3414         * elf/Makefile: Likewise.
3415         * elf/dl-load.c: Likewise.
3416         * elf/dl-misc.c: Likewise.
3417         * elf/dl-profile.c: Likewise.
3418         * sysdeps/generic/sysd-link.h: Removed.
3419         * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3421         * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3422         thread event callback function.
3423         (__aio_notify_only): Use function above.
3424         Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3426 2000-08-16  Mark Kettenis  <kettenis@gnu.org>
3428         * sysdeps/mach/hurd/lseek64.c: New file.
3430 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
3432         * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3433         Remove typedefs.
3434         * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3435         typedefs.
3436         * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3437         typedefs.
3438         * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3440 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
3442         * sysdeps/mach/hurd/xstatconv.c: New file.
3443         * sysdeps/mach/hurd/fxstat64.c: New file.
3444         * sysdeps/mach/hurd/lxstat64.c: New file.
3445         * sysdeps/mach/hurd/xstat64.c: New file.
3446         * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3448 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
3450         * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3451         Initialize, needed for change in common symbol handling in newer
3452         binutils.  Mirrors 2000-01-03 change made by Andreas Schwab.
3454 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
3456         * elf/constload1.c: Call mtrace.  Check return value of dlclose call.
3457         * elf/constload2.c: Add destructor to unload constload3.
3459         * include/link.h: Include sysd-link.h.
3460         * sysdeps/generic/sysd-link.h: New file.
3461         * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3462         * elf/Makefile (distribute): Add sysd-link.h.
3463         * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3464         types and functions directly.
3465         * elf/dl-misc.c: Likewise.
3466         * elf/dl-profile.c: Likewise.
3468         * elf/loadfail.c (main): Close all successfully loaded objects.
3470         * elf/multiload.c: Add mtrace call.  Call dlclose for all handles and
3471         free wd.
3472         * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3473         there is already one.
3475         * elf/dl-close.c: Pretty print.
3477 2000-08-14  Ulrich Drepper  <drepper@redhat.com>
3479         * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3480         global (with file scope).  Add __libc_subfreeres function to free the
3481         string.
3482         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.  Also for buf variable
3483         in ttyname function.
3485         * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3487         * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3489         * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3490         mapping them to /x5c and /x7e respectively.
3492         * locale/programs/ld-ctype.c: Add support for more definitions after
3493         copy statement.
3495 2000-08-14  Jakub Jelinek  <jakub@redhat.com>
3497         * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3498         * sysdeps/unix/sysv/linux/kernel-features.h
3499         (__ASSUME_GETDENTS64_SYSCALL): Define.
3500         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3501         syscall if available to get d_type fields.
3502         * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3503         * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3504         __lxstat64): Export at GLIBC_2.2.
3505         (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3506         Likewise.
3507         * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3508         * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3509         * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3510         getdirentries64, versionsort64): Remove.
3511         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3512         getdirentries64, versionsort64): Remove.
3514 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
3516         * posix/Makefile: Remove rules to generate glob package.
3518         * posix/Makefile (tests): Add tst-regexloc.
3519         (tst-regexloc-ENV): Add LOCPATH.
3520         * posix/tst-regexloc.c: New file.
3522 2000-08-12  Andreas Jaeger  <aj@suse.de>
3524         * include/features.h (__STDC_ISO_10646__): Define.
3525         Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3527 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
3529         * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3531         * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3532         for revision 6 and up).
3534         * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3535         including <time.h>.
3536         * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3537         to get definitions of just these types.
3539         * signal/signal.h: Define thread signal handling functions also for
3540         POSIX95.
3542         * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3543         POSIX95.
3544         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3545         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3546         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3547         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3549         * sysvipc/sys/shm.h: Define pid_t for XPG.
3551         * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3552         they are not anymore required here.
3554         * wcsmbs/wchar.h: Make the various wide char string and stream
3555         functions available for the respective XPG versions.
3557         * nss/Makefile: Remove rules to build and distribute nss_db.
3559         * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3560         * sysdeps/generic/scandir64.c: Likewise.
3561         * sysdeps/generic/versionsort64.c: Likewise.
3563 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
3564             Benjamin Koznik  <bkoz@redhat.com>
3566         * libio/fileops.c: Merge with libstdc++-v3.
3567         * libio/genops.c: Likewise.
3568         * libio/iofclose.c: Likewise.
3569         * libio/iofopen.c: Likewise.
3570         * libio/iofwide.c: Likewise.
3571         * libio/libio.h: Likewise.
3572         * libio/libioP.h: Likewise.
3573         * libio/stdfiles.c: Likewise.
3574         * libio/stdio.c: Likewise.
3575         * libio/wfileops.c: Likewise.
3576         * libio/wgenops.c: Likewise.
3578         * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3580 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
3582         * locale/programs/localedef.c: Implement --prefix option to allow
3583         writing in standard places of alternative install directories.
3585         * posix/regex.c (compile_range): Implement collation sequence
3586         handling for glibc.  Use simple character ordering otherwise and
3587         not strcoll.
3589 2000-08-12  Mark Kettenis  <kettenis@gnu.org>
3591         * sysdeps/generic/scandir64.c: Include <dirent.h>.
3593 2000-08-12  Andreas Jaeger  <aj@suse.de>
3595         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3596         __USE_FILE_OFFSET64 correctly for locking.
3597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3599 2000-08-12  Jakub Jelinek  <jakub@redhat.com>
3601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3602         Define for 2.4.1 on sparc as well.
3603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3604         for F_GETLK64, F_SETLK64, and F_SETLKW64.
3605         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3606         * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3608 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
3610         * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3611         defined.
3613 2000-08-12  Andreas Jaeger  <aj@suse.de>
3615         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3616         F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3618         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3619         mips2 for assembler.
3621         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3622         if fnctl64 is not available for F_*LK*64.
3624         * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3626 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
3628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3629         Define for 2.4.1 on x86.
3630         * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3631         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3632         for F_GETLK64, F_SETLK64, and F_SETLKW64.
3634         * dirent/dirent.h: Define DT_WHT.
3636         * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3637         * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3638         * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3639         * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3640         * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3641         * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3643 2000-08-11  Ulrich Drepper  <drepper@redhat.com>
3645         * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3646         lookup, pass pointer to array with NULL pointer [PR libc/1858].
3647         * inet/Makefile (tests): Add tst-gethnm.
3648         * inet/tst-gethnm.c: New file.
3650         * rt/aio_cancel.c: If canceling a specific request which is running
3651         *really* do nothing.
3652         * rt/aio_misc.h: Add `done' to states of a request.
3653         * rt/aio_misc.c: Add several tests for the correct state.
3654         Simplify request table memory handling.
3656 2000-08-10  Jakub Jelinek  <jakub@redhat.com>
3658         * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3659         * dirent/scandir64.c: Move...
3660         * sysdeps/generic/scandir64.c: ...here.
3661         * dirent/alphasort64.c: Move...
3662         * sysdeps/generic/alphasort64.c: ...here.
3663         * dirent/versionsort64.c: Move...
3664         * sysdeps/generic/versionsort64.c: ...here.
3665         * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3666         getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3667         Export symbols at GLIBC_2.2.
3668         * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3669         * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3670         * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3671         __versionsort64): Add prototypes.
3672         * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3673         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3674         unused prototype.
3675         * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3676         and GLIBC_2.2.
3677         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3678         * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3679         * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3680         * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3681         __u_quad_t.
3682         * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3683         Adjust for kernel-2.4.0-test6 layout.
3684         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3685         GLIBC_2.1 and GLIBC_2.2.
3686         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3687         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3688         * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3689         * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3690         * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3691         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3692         * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3693         * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3694         * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3695         * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3696         * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3697         * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3698         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3699         * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3700         __u_quad_t.
3701         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3702         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3703         * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3704         * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3705         * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3706         * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3707         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3708         __u_quad_t.
3709         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3710         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3711         Define.
3712         * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3713         * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3714         * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3715         * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3716         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3717         Define.
3718         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3719         alpha/readdir.c.
3720         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3721         alpha/readdir_r.c
3722         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3723         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3724         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3725         _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3726         st_ino from __st_ino.
3727         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3728         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3729         * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3730         xstat32_conv): Use _HAVE_STAT* macros.  If _HAVE_STAT64___ST_INO,
3731         set __st_ino in addition to st_ino.
3732         * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3733         * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3734         __old_getdents64 as well.
3735         * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3736         getdirentries64 and old_getdirentries64 as well.
3737         * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3738         __GETDENTS): Define.
3739         (GETDENTS64): Remove.
3740         * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3741         Define.
3742         (GETDENTS64): Remove.
3743         * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3744         * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3745         * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3746         as well.
3747         * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3748         __old_readdir64_r as well.
3749         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3750         __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3752 2000-08-08  Jes Sorensen  <jes@linuxcare.com>
3754         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3755         Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3756         define of the kernel.
3757         Add missing __SEG_PSTKOVF definition.
3758         Adjust the padding of struct siginfo and struct sigevent to
3759         match the fact that sigval_t is 64 bit.
3761 2000-08-10  Ulrich Drepper  <drepper@redhat.com>
3763         * timezone/zic.c: Update from tzcode2000f.
3764         * timezone/australasia: Update from tzdata2000f.
3765         * timezone/europe: Likewise.
3766         * timezone/southamerica: Likewise.
3767         * timezone/yearistype: Likewise.
3769 2000-08-10  Andreas Jaeger  <aj@suse.de>
3771         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3772         stat with current MIPS kernel.
3774 2000-08-01  Mark Kettenis  <kettenis@gnu.org>
3776         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3777         elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3778         sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3779         Remove the junk that's only relevant in the Linux kernel itself.
3780         Add a warning saying that this file is now obsolete, and include
3781         <sys/procfs.h>.
3782         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3783         ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3784         here from sysdeps/unix/sysv/linux/i386/sys/elf.h.  Don't include
3785         <signal.h>, <sys/ucontext.h> and <sys/elf.h>.  Remove parts of
3786         `struct elf_prstatus' that are #ifdef'ed out.  Improve comments
3787         and add the notice that the file is primarily there for GDB.
3788         * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3790 2000-08-09  Jakub Jelinek  <jakub@redhat.com>
3792         * time/tzfile.c (__tzfile_compute): __tzstring zones
3793         from zone_names.
3795 2000-08-09  Jakub Jelinek  <jakub@redhat.com>
3797         * resolv/resolv.h (__res_state): Surround prototype with
3798         __BEGIN_DECLS/__END_DECLS.
3799         * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3801 2000-08-04  Jes Sorensen  <jes@linuxcare.com>
3803         * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3804         Make independant of asm/resource.h from the Linux kernel.
3806 2000-08-06  Bruno Haible  <haible@clisp.cons.org>
3808         * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3810 2000-08-06  Bruno Haible  <haible@clisp.cons.org>
3812         * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3813         * locale/Makefile (locale-CPPFLAGS): Likewise.
3815 2000-08-09  Ulrich Drepper  <drepper@redhat.com>
3817         * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3818         for AMD processors.
3820 2000-08-03  Jakub Jelinek  <jakub@redhat.com>
3822         * misc/Versions (mincore): Export at GLIBC_2.2.
3824 2000-08-03  Bruno Haible  <haible@clisp.cons.org>
3826         * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3828 2000-08-02  Mark Kettenis  <kettenis@gnu.org>
3830         * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3831         socketpair.  Made socketpair a weak alias.
3832         * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3833         __socketpair.  Use S_IFIFO protocol to make pipes POSIX
3834         conforming, but fall back on the old protocol if the socket server
3835         doesn't support it.
3836         * include/sys/socket.h: Add prototype for __socketpair.
3838 2000-08-09  Andreas Schwab  <schwab@suse.de>
3840         * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3841         long long modifier is seen.
3843         * elf/nodelete.c (do_test): Remove reference to undefined member
3844         sa_restorer.
3845         * rt/tst-aio4.c (do_test): Likewise.
3847         * configure.in: Add `-lm' when checking for libgd.
3848         * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3849         linking.
3851 2000-08-09  Andreas Jaeger  <aj@suse.de>
3853         * configure.in: Change required make versions.
3855         * manual/install.texi (Tools for Compilation): Document required
3856         make version.
3857         (Supported Configurations): Update list of supported
3858         configurations.
3860 2000-08-08  Ulrich Drepper  <drepper@redhat.com>
3862         * locale/linereader.c (get_string): Don't print an error is a string
3863         contains an unknown character.
3865 2000-08-06  Ulrich Drepper  <drepper@redhat.com>
3867         * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3868         (new_symbol): Take new parameters with name of the symbol.
3869         Adjust callers.
3870         (handle_ellipsis): Don't only allow character symbols.
3871         (collate_read): Allow string of collating elements contain invalid
3872         characters; ignore entry in this case.
3873         Handle ellipsis of collating symbols before first order_start.
3874         Allow ellipsis in state 0.
3876 2000-08-04  Ulrich Drepper  <drepper@redhat.com>
3878         * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3879         error message.
3880         Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3882 2000-08-04  Greg McGary  <greg@mcgary.org>
3884         * posix/regex.c (SET_HIGH_BOUND): New macro.
3885         (MOVE_BUFFER_POINTER): Use it.
3886         (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3887         (EXTEND_BUFFER): Use it.
3889 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
3891         * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3892         * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3893         _wide_data but from _IO_FILE directly.
3894         * libio/iofclose.c: Likewise.
3895         * libio/wfileops.c: Likewise.
3897         * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3898         * libio/libioP.h: Change prototypes.
3900 2000-08-03  Greg McGary  <greg@mcgary.org>
3902         * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3903         frame pointer early so that we save caller's frame pointer.
3904         * sysdeps/i386/elf/setjmp.S: Likewise.
3906         * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3907         * io/test-utime.c: Test passing NULL as utimbuf* arg.
3909         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3910         (MOVE_BUFFER_POINTER): Handle high_bound properly.
3911         (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3913 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
3915         * iconvdata/big5.c: Updated.
3916         Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3918 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
3920         * Makeconfig (all-subdirs): Add conform.
3921         * conform/Makefile: Include ../Rules.
3923         * Makefile (README): Add rules to generate here as well.
3925 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
3927         * version.h (VERSION): Bump to 2.1.92.
3929         * sysdeps/ia64/Dist: Add _mcount.S.
3931         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3933         * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3935         * elf/Makefile (distribute): Add missing modules.
3937         * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3939         * posix/regex.c (compile_range): Translate range start and end
3940         characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3942         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3943         asm/resource.h.
3945         * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3947 2000-08-02  Andreas Jaeger  <aj@suse.de>
3949         * elf/elf.h (EM_S390): Added.
3950         (R_390_*): New relocs for S390.
3952         * sysdeps/unix/sysv/linux/s390/Dist: New file.
3953         * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3954         * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3955         * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3956         * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3957         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3958         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3959         * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3960         * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3961         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3962         * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3963         * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3964         * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3965         * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3966         * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3967         * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3968         * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3969         * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3970         * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3971         * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3972         * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3973         * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3974         * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3975         * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3976         * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3977         * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3978         * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3979         * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3980         * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3981         * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3982         * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3983         * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3984         * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3985         * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3986         * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3987         * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3988         * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3989         * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3990         * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3991         * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3992         * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3993         * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3994         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3995         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3996         * sysdeps/s390/sysdep.h: New file.
3997         * sysdeps/s390/sys/ucontext.h: New file.
3998         * sysdeps/s390/sub_n.S: New file.
3999         * sysdeps/s390/strncpy.S: New file.
4000         * sysdeps/s390/strcpy.S: New file.
4001         * sysdeps/s390/stackinfo.h: New file.
4002         * sysdeps/s390/setjmp.S: New file.
4003         * sysdeps/s390/s390-mcount.S: New file.
4004         * sysdeps/s390/mul_1.S: New file.
4005         * sysdeps/s390/memusage.h: New file.
4006         * sysdeps/s390/memset.S: New file.
4007         * sysdeps/s390/memcpy.S: New file.
4008         * sysdeps/s390/memchr.S: New file.
4009         * sysdeps/s390/machine-gmon.h: New file.
4010         * sysdeps/s390/ldbl2mpn.c: New file.
4011         * sysdeps/s390/gmp-mparam.h: New file.
4012         * sysdeps/s390/fpu/fpu_control.h: New file.
4013         * sysdeps/s390/fpu/fesetround.c: New file.
4014         * sysdeps/s390/fpu/fegetround.c: New file.
4015         * sysdeps/s390/fpu/fclrexcpt.c: New file.
4016         * sysdeps/s390/fpu/bits/fenv.h: New file.
4017         * sysdeps/s390/ffs.c: New file.
4018         * sysdeps/s390/elf/start.S: New file.
4019         * sysdeps/s390/elf/setjmp.S: New file.
4020         * sysdeps/s390/elf/bsd-setjmp.S: New file.
4021         * sysdeps/s390/elf/bsd-_setjmp.S: New file.
4022         * sysdeps/s390/dl-machine.h: New file.
4023         * sysdeps/s390/bzero.S: New file.
4024         * sysdeps/s390/bsd-setjmp.S: New file.
4025         * sysdeps/s390/bsd-_setjmp.S: New file.
4026         * sysdeps/s390/bits/string.h: New file.
4027         * sysdeps/s390/bits/setjmp.h: New file.
4028         * sysdeps/s390/bits/huge_val.h: New file.
4029         * sysdeps/s390/bits/endian.h: New file.
4030         * sysdeps/s390/bits/byteswap.h: New file.
4031         * sysdeps/s390/bcopy.S: New file.
4032         * sysdeps/s390/backtrace.c: New file.
4033         * sysdeps/s390/atomicity.h: New file.
4034         * sysdeps/s390/asm-syntax.h: New file.
4035         * sysdeps/s390/addmul_1.S: New file.
4036         * sysdeps/s390/add_n.S: New file.
4037         * sysdeps/s390/abort-instr.h: New file.
4038         * sysdeps/s390/__longjmp.c: New file.
4039         * sysdeps/s390/Makefile: New file.
4040         * sysdeps/s390/Implies: New file.
4041         * sysdeps/s390/Dist: New file.
4042         Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4044 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
4046         Remove incompatible IPv6 extension of RPC.
4047         * sunrpc/Makefile: Undo changes.
4048         * sunrpc/rpc_main.c: Likewise.
4049         * sunrpc/rpc/clnt.h: Likewise.
4050         * sunrpc/rpc/svc.h: Likewise.
4051         * sunrpc/bindrsvprt6.c: Removed.
4052         * sunrpc/clnt_tcp6.c: Removed.
4053         * sunrpc/clnt_udp6.c: Removed.
4054         * sunrpc/svc_tcp6.c: Removed.
4055         * sunrpc/svc_udp6.c: Removed.
4057         * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4058         dgettext, and dcgettetxt.
4060         * intl/locale.alias: Update japanese aliases.
4062         * sysdeps/ia64/bits/byteswap.h: New file.
4063         Patch by Dan Pop <Dan.Pop@cern.ch>.
4065         * misc/sys/cdefs.h: Define __attribute_format_arg__.
4066         * intl/libintl.h: Use it here instead of using __attribute__ directly.
4068 2000-07-13  H.J. Lu  <hjl@gnu.org>
4070         * posix/regex.c (re_max_failures): Set to 4000.
4072 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
4074         * gnulib/Makefile (tests): Add tst-gcc.
4075         * gnulib/tst-gcc.c: New file.
4077         * assert/Makefile (routines): Add __assert.
4078         * assert/Versions: Export __assert for glibc 2.2.
4079         * assert/__assert.c: New file.
4080         * assert/assert.h: Declare __assert.
4082 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
4084         * locale/localeinfo.h (_ISCTYPE): New macro.
4085         * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4086         LC_CTYPE locale format.
4087         * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4088         (ctype_output): Output class_b[nr] right before class_3level[nr].
4089         (allocate_arrays): Fill class_b, similarly to class_3level.
4091 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
4092             Joseph S. Myers  <jsm28@cam.ac.uk>
4094         * math/tgmath.h: Make standard compliant.  Don't ask how.
4096 2000-07-04  H.J. Lu  <hjl@gnu.org>
4098         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4099         Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4100         ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4102 2000-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4104         * include/features.h (_XOPEN_SOURCE): Update the explanation.
4105         (__USE_LARGEFILE): Add an explanation.
4106         (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4107         (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4109 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
4111         * libio/Makefile: Enable exception handling for genops, wgenops,
4112         fileops, and wfileops.
4114 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
4116         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4117         acount that elf/rtld's main program might remove some varibales
4118         from the environment if we're trying to be secure.  Move the Hurd
4119         startup data if necessary, or, if we there is no startup data,
4120         make sure the magical convention that ARGV[0] is stored just after
4121         the environment list.
4123 2000-08-01  Philip Blundell  <philb@gnu.org>
4125         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4126         (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4127         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4128         oldsetrlimit for GLIBC_2.0.
4130 2000-08-01  Andreas Jaeger  <aj@suse.de>
4132         * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4133         (LINE_PARSER): Allow any number of spaces between ip address and
4134         number.  Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4136         * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4138         * include/netdb.h: Remove getipnodebyaddr and friends, leave
4139         constants in.
4141         * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4142         _nss_nisplus_getipnodebyname_r.
4144         * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4145         now, getipnodebyname is deprecated.
4146         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4147         Likewise.
4149         * inet/Makefile (routines): Don't build getipnodebyaddr and
4150         friends.
4152         * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4154         * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4156         * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4158         * wctype/Makefile (distribute): Add wchar-lookup.h.
4160         * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4162         * iconvdata/Makefile (distribute): Add isiri-3342.h.
4164 2000-08-01  Andreas Schwab  <schwab@suse.de>
4166         * Make-dist (dist): Resolve `..' in file names.
4168 2000-08-01  Andreas Jaeger  <aj@suse.de>
4170         * stdio-common/Makefile (distribute): Remove removed files, add
4171         new files.
4173         * Makefile (distribute): Remove include/db_185.h and db.h.
4175         * include/db_185.h: Remove, it's not needed anymore.
4176         * include/db.h: Likewise.
4178 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
4180         * inet/Makefile (tests): Remove tst-ipnode.
4181         * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4182         now.
4184 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
4186         * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4187         endp statements have already been added.
4189 2000-04-18  David Mosberger  <davidm@hpl.hp.com>
4191         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4192         <sysdeps/ia64/sysdep.h>.
4194         * sysdeps/ia64/_mcount.S: New file.
4196         * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4197         __gmon_start__.  Fix up extraneous whitespace.
4199 2000-01-12  H.J. Lu  <hjl@gnu.org>
4201         * sysdeps/ia64/elf/initfini.c: New file.
4203 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
4205         * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
4206         dependency between branch and ar.pfs write.
4208 2000-07-31  H.J. Lu  <hjl@gnu.org>
4210         * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4211         handle the wchar_t array.
4213 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
4215         * iconvdata/gb18030.c: Don't map to and from positions in ISO
4216         10646 which are not yet assigned.
4217         Patch by wang shouhua <shouhuawang@redflag-linux.com>.
4219 2000-07-31  Andreas Jaeger  <aj@suse.de>
4221         * inet/Versions: Remove getipnodebyaddr and friends from
4222         GLIBC_2.2.
4224         * resolv/netdb.h: Remove getipnodebyaddr and friends.
4226 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4228         * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
4229         ch >= 0x81 && ch2 < 0x40 as invalid.
4231 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4233         * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
4234         (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
4236 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4238         * iconvdata/johab.c (BODY for TO_LOOP): After calling
4239         ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
4241 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4243         * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
4244         0xb8.
4245         (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
4247 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4249         * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
4251 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4253         * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
4254         (from_ucs4): Change values of U+00A4 and U+00ED.
4255         (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
4257 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4259         * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
4260         (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
4262 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4264         * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4265         * iconvdata/isiri-3342.h: New file.
4266         * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4267         treat 0x80 as a gap.
4269 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
4271         * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4272         (utf8_encode): Use simple shifts instead.  Fix return value.
4274 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
4276         * timezone/private.h: Update from tzcode2000e.
4277         * timezone/asia: Update from tzdata2000e.
4278         * timezone/australasia: Likewise.
4279         * timezone/europe: Likewise.
4280         * timezone/northamerica: Likewise.
4281         * timezone/zone-tab: Likewise.
4283 2000-07-30  Ralf Baechle  <ralf@gnu.org>
4285         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h:  New file.  On MIPS
4286         the order of struct sigaltstack members is different.
4288 2000-07-26  Philip Blundell  <philb@gnu.org>
4290         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4292 2000-07-29  Ulrich Drepper  <drepper@redhat.com>
4294         * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4295         * locale/programs/ld-ctype.c: Adjust for this.
4297         * locale/programs/ld-collate.c: Add more alignment checks.
4298         * locale/string/strcoll.c: Likewise.
4300 2000-07-30  Mark Kettenis  <kettenis@gnu.org>
4302         * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4303         outside USE_IN_LIBIO block.
4305 2000-07-26  Philip Blundell  <philb@gnu.org>
4307         * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4308         (elf_machine_rel): Use it for out-of-range PC24 relocs.
4310 2000-07-28  Philip Blundell  <philb@gnu.org>
4312         * math/test-fpucw.c: Ignore reserved bits in control word.
4314 2000-07-28  Philip Blundell  <philb@gnu.org>
4316         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4317         (ret): Redefine to PSEUDO_RET.
4318         (PSEUDO): Remove jump to syscall_error.
4320 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
4322         * resolv/README: Add some information about using the resolver in
4323         multi-threaded code and with C++.  Spelling fixes.
4325 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
4327         * resolv/resolv.h (struct __sockaddr_in): Remove.
4328         (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4330 2000-07-29  Greg McGary  <greg@mcgary.org>
4332         * Rules (test-bp-inputs, make-test-out): New variables.
4333         ($(objpfx)%-bp.out): New rule.
4334         ($(objpfx)%.out): Rewrite in terms of new variables.
4336         * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4337         internal function that uses vtable.
4338         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4339         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4341         * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4342         (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4343         (chunk_align): Likewise.
4345         * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4346         in a way that conforms to decl, and avoids spurious bounds violation.
4348         * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4349         * sysdeps/generic/frame.h: Likewise.
4350         * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4351         around return value.
4352         (__backtrace): Qualify frame-pointer chain and return address
4353         pointers as __unbounded.  Wrap bounds around variable `current'.
4354         * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4355         around return value.
4356         (catch_segfault): Qualify frame-pointer chain and return address
4357         pointers as __unbounded.  Wrap bounds around variable `current'.
4358         * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4359         (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4360         * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4361         __unbounded.
4362         (__backtrace): Qualify frame-pointer chain and return address
4363         pointers as __unbounded.  Wrap bounds around variable `current'.
4365         * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4366         * sysdeps/i386/mul_1.S: Likewise.
4367         * sysdeps/i386/submul_1.S: Likewise.
4368         * sysdeps/i386/i586/addmul_1.S: Likewise.
4369         * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4370         * sysdeps/i386/i586/submul_1.S: Likewise.
4372 2000-07-27  Andreas Jaeger  <aj@suse.de>
4374         * libio/Depend: New file, libio needs localedata for tests.
4375         * posix/Depend: Likewise.
4377 2000-07-28  Ulrich Drepper  <drepper@redhat.com>
4379         * stdio-common/_i18n_itoa.c: Removed.
4380         * stdio-common/_i18n_itoa.h: Removed.
4381         * stdio-common/_i18n_itowa.c: Removed.
4382         * stdio-common/_i18n_itowa.h: Removed.
4383         * stdio-common/_i18n_number.h: New file.
4384         * stdio-common/Depend: New file.
4385         * stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
4386         * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4387         printing.  Change printing of numbers with locale specific digits to
4388         use new code in _i18n_number.h.
4389         * stdio-common/Makefile (routines): Remove _i18n_itoa and
4390         _i18n_itowa.
4392         * stdio-common/bug13.c: Improve messages.
4394         * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4395         (set_class_defaults): Always search also for Uxxxx names.
4396         Detect insufficient number of outdigits.
4398         * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4400 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
4402         * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4403         _NL_CTYPE_MAP_NAMES.
4404         * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4405         * wctype/wcfuncs.c (towlower, towupper): Use them.
4406         * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4407         * wctype/wctrans.c (wctrans): Likewise.
4408         * wctype/wctrans_l.c (__wctrans_l): Likewise.
4410 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
4412         * posix/fnmatch.c (is_char_class): Fix logic.  Avoid buffer overrun.
4413         Use the optimized version of this function outside glibc as well.
4415 2000-07-27  Jakub Jelinek  <jakub@redhat.com>
4417         * locale/indigits.h (indigit_value): Correct.
4418         * locale/indigitswc.h (indigitwc_value): Correct.
4419         * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4420         conversion, add GROUP checking for it, fix GROUP number
4421         conversion with strlen(thousands) > 1.
4422         Honour width correctly in the presence of floating
4423         decimal points and thousands separators.
4424         * stdio-common/tst-sscanf.c: New test.
4425         * stdio-common/Makefile: Add it to tests.
4426         * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4427         thousands separators and group argument is non-zero.
4429 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
4431         * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4432         starts at GLIBC_2.2.
4434 2000-07-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4436         * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4437         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4438         _test_and_set.
4439         (headers): Add sys/tas.h.
4440         * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4441         GLIBC_2.2 from libc.
4442         * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4443         * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4444         _test_and_set.
4446 2000-07-28  Andreas Jaeger  <aj@suse.de>
4448         * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4450         * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4451         ($(objpfx)tst-dladdr.out): new.
4452         (tests): Add tst-dladdr.
4453         ($(objpfx)glrefmain): Use libdl.
4455         * dlfcn/tst-dladdr.c: New file.  Based on a test by Volkmar Sieh
4456         <vs@caldera.de>.
4458 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
4460         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4461         ftruncate(64) calls.
4463 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
4465         * intl/tst-translit.c: Include string.h to get prototype for
4466         strcmp().
4468 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
4470         * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4471         name and add weak alias for __fork.
4473         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4474         & pwrite to use __libc_<name> as strong names instead of
4475         __syscall_<name>.
4477         * include/sched.h: Add clone2 prototype.
4479 2000-07-26  Jes Sorensen  <jes@linuxcare.com>
4481         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4482         procedure name twice.
4484 2000-07-27  Philip Blundell  <philb@gnu.org>
4486         * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4488 2000-07-27  Andreas Jaeger  <aj@suse.de>
4490         * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4491         MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4492         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4493         Reported by Andi Kleen <ak@suse.de>.
4495         * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4496         (do_wait): Test requests with aio_return64.
4497         (do_test): Change callers of do_wait.
4499 2000-07-26  Andreas Jaeger  <aj@suse.de>
4501         * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4502         (do_wait): Test requests with aio_return.
4503         (do_test): Change callers of do_wait.
4505 2000-07-27  Ulrich Drepper  <drepper@redhat.com>
4507         * rt/aio_misc.c (__aio_remove_request): New function.  Handle removing
4508         from request list.  Don't do the list handling here, call
4509         __aio_remove_request.
4510         * rt/aio_misc.h: Add prototype for __aio_remove_request.
4511         * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4512         request might already be processed.  Don't do the list handling
4513         here, call __aio_remove_request.
4515         * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4516         LIO_DSYNC.
4518         * rt/aio_misc.c: Add comment explaining why writer memory barriers
4519         are missing.
4521 2000-07-27  Greg McGary  <greg@mcgary.org>
4523         * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4524         * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4525         in union init.  Pass zero for ignored semnum arg to semctl.
4526         * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4528 2000-07-26  Greg McGary  <greg@mcgary.org>
4530         * sysdeps/gnu/bits/msq.h: Qualify kernel's
4531         data structure pointers as __unbounded.
4532         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4533         * sysdeps/generic/bp-semctl.h: New file.
4534         * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4535         pointers as __unbounded.  Check bounds of syscall args.
4536         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4537         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4538         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4539         * sysdeps/unix/sysv/linux/semop.c: Likewise.
4540         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4541         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4542         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4543         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4544         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4545         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4546         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4547         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4548         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4549         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4550         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4551         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4553 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
4555         * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4556         by default.
4557         * locale/C-ctype.c: Likewise.
4558         * wcsmbs/wcsmbsload.c: Likewise.
4560 2000-07-26  Greg McGary  <greg@mcgary.org>
4562         * Makeconfig (+link-bounded, link-libc-bounded,
4563         link-extra-libs-bounded): New variables.
4564         (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4565         * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4566         * Rules (tests-bp.out): New variable.
4567         (tests): Conditionally add BP tests.
4568         (binaries-bounded): Add variable and associated rule.
4569         * csu/Makefile [build-bounded] (extra-objs, install-lib):
4570         Move conditional stuff after place where condition is defined.
4572         * malloc/malloc.c (bp-checks.h): Add #include.
4573         (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4574         (_bin_at): Add unbounded version of bin_at.
4575         (IAV, chunk_alloc): Use unbounded _bin_at.
4576         (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4577         chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4578         Wrap BOUNDED_N around return value.
4579         (chunk_realloc): Adjust oldsize once.
4581         * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4582         (__ubp_memchr): Add correct decl.
4583         (_CHECK_STRING): Use __ubp_memchr.
4584         * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4585         New alias for unbounded-pointer __memchr.
4586         * sysdeps/i386/memchr.S: Likewise.
4587         * sysdeps/ia64/memchr.S: Likewise.
4588         * sysdeps/m68k/memchr.S: Likewise.
4589         * sysdeps/sparc/sparc32/memchr.S: Likewise.
4590         * sysdeps/sparc/sparc64/memchr.S: Likewise.
4591         * sysdeps/vax/memchr.s: Likewise.
4593         * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4594         (SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
4595         (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4596         * sysdeps/i386/i686/strtok.S: Likewise.
4597         * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4598         RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4600         * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4601         * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4603         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4604         bounds of copy_result to mount_proc.
4606 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
4608         * wctype/wctype.h (__wctrans_l): New declaration.
4609         * wctype/wctrans_l.c: New file.
4610         * wctype/Makefile (routines): Add wctrans_l.
4612 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
4614         * posix/fnmatch_loop.c: Fixes for use outside glibc.
4615         Patch by MacGyver <macgyver@tos.net>.
4617 2000-07-26  Andreas Jaeger  <aj@suse.de>
4619         * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4620         * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4621         * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4623         * rt/tst-aio.c (test_file): Fix typo.
4624         * rt/tst-aio64.c (test_file): Likewise.
4626         * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4627         * rt/Makefile: Add rules to build and run tst-aio3.
4629         * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4630         it's not needed and confuses only.
4632 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
4634         * resolv/res_init.c: Add support for nameserver communication with
4635         IPv6.
4636         * resolv/res_send.c: Likewise.
4637         * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4638         in nsaddrs field.
4639         Patch by <venaas@nvg.ntnu.no>.
4641 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
4643         * locale/programs/ld-ctype.c (wctype_table_get): New function.
4644         (wcwidth_table_get): New function.
4645         (wcwidth_table_add): Call it.
4646         (wctrans_table_get): New function.
4647         (wctrans_table_add): Call it.
4649 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
4651         * rt/lio_listio.c (lio_listio): Always disable individual
4652         notification.
4653         * rt/Makefile: Add rules to build and run tst-aio2.
4654         * rt/tst-aio2.c: New file.
4656         * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4657         Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4659 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
4661         * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4662         (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4663         leading and trailing spaces from host, user and domain name.
4665 2000-07-25  Jes Sorensen  <jes@linuxcare.com>
4667         * csu/defs.awk: Add support for need_endp.
4669 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
4671         * resolv/resolv.h: Remove __P from res_send_qhook and
4672         res_send_rhook typedefs.
4674 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
4676         * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4678 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
4680         * iconv/gconv_builtin.h: Add WCHAR_T alias.
4682 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
4684         * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4685         calling thread, set the cancellation flag and return success
4686         instead of EINTR.
4688 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
4690         * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4691         * libio/tst-widetext.c: New file.
4692         * libio/tst-widetext.input: New file.
4694         * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4696         * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4697         empty external buffer correctly.
4699 2000-07-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4701         * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4702         __STRING(entry) and not #entry.
4703         (_RTLD_EPILOGUE): Likewise.
4704         * sysdeps/mips/mips64/dl-machine.h: Likewise.
4706 2000-07-25  Andreas Jaeger  <aj@suse.de>
4708         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4709         according to changes in test program, run also with static only
4710         builds.
4711         ($(objpfx)tst-printf.out): Likewise.
4713         * stdio-common/tst-unbputc.sh: Likewise.
4714         * stdio-common/tst-printf.sh: Likewise.
4716 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
4718         * libio/wfileops.c (_IO_wdo_write): Correct return value.
4720         * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4721         loop.
4723         * libio/fileops.c: Pretty print.
4725 2000-07-23  Bruno Haible  <haible@clisp.cons.org>
4727         * wctype/wchar-lookup.h: New file.
4728         * wctype/iswctype.c: Include "wchar-lookup.h".
4729         (__iswctype): Support alternate locale format with 3-level tables.
4730         * wctype/iswctype_l.c (__iswctype_l): Likewise.
4731         * wctype/towctrans.c (__towctrans): Likewise.
4732         * wctype/towctrans_l.c (__towctrans_l): Likewise.
4733         * wctype/wcfuncs.c: Include "wchar-lookup.h".
4734         (__ctype32_wctype, __ctype32_wctrans): Declare external.
4735         (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4736         __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4737         __iswxdigit, towlower, towupper): Support alternate locale format
4738         with 3-level tables.
4739         * wctype/wcextra.c (iswblank): Likewise.
4740         * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4741         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4742         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4743         __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4744         format with 3-level tables.
4745         * wctype/wcextra_l.c (__iswblank_l): Likewise.
4746         * wctype/wctype.c (__wctype): Likewise.  In the alternate locale
4747         format, return a 3-level table pointer.
4748         * wctype/wctype_l.c (__wctype_l): Likewise.
4749         * wctype/wctrans.c (wctrans): Likewise.
4750         * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4751         __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4752         __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4753         (iswctype): Remove macro definition.
4754         * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4755         (internal_wcwidth): Support alternate locale format with 3-level
4756         tables.
4757         * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4758         New nl_items.
4759         * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4760         Define them as being type "word".
4761         * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4762         * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4763         __ctype32_width): New exported variables.
4764         * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4765         alternate locale format. Don't initialize __ctype_names and
4766         __ctype_width in the alternate locale format.
4767         * locale/programs/localedef.h (oldstyle_tables): New declaration.
4768         * locale/programs/localedef.c (oldstyle_tables): New variable.
4769         (OPT_OLDSTYLE): New macro.
4770         (options): Add --old-style option.
4771         (parse_opt): Handle --old-style option.
4772         * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4773         map_offset, class_3level, map_3level, width_3level members.
4774         (ctype_output): Support for alternate locale format: Computation of
4775         nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4776         _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4777         New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4778         _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4779         now contain both class and map tables.
4780         (struct wctype_table): New type.
4781         (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4782         functions.
4783         (struct wcwidth_table): New type.
4784         (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4785         functions.
4786         (struct wctrans_table): New type.
4787         (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4788         functions.
4789         (allocate_arrays): Support for alternate locale format: Set
4790         plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4791         256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4792         to the first 256 characters. Compute ctype->map_3level. Set
4793         ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4794         instead of ctype->width.
4796 2000-07-24  Ulrich Drepper  <drepper@redhat.com>
4798         * libio/iogetwline.c (_IO_getwline_info): Use wide character
4799         string functions.
4801 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
4803         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4804         in wide characters, not bytes.
4805         * libio/tst_putwc.c (do_test): Add test for writing lots of data
4806         into file.
4808 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
4810         * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4811         new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4812         LC_MEASUREMENT, LC_IDENTIFICATION.
4814         * locale/xlocale.h (struct __locale_struct): Increase size of
4815         __locales array.
4816         * locale/duplocale.c (__duplocale): Copy newly added categories as
4817         well.
4818         * locale/freelocale.c (__freelocale): Free newly added categories.
4819         * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4820         If a base is given, use it, don't simply return it.
4822 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
4824         * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4825         variables, copied_key and copied_salt, instead of boolean variables.
4827 2000-07-24  Andreas Jaeger  <aj@suse.de>
4829         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4830         check for offset.
4832         * grp/initgroups.c (initgroups_dyn_function): Renamed from
4833         initgroups_function, adopted prototype for change from 2000-07-23.
4834         (initgroups): Follow type change.
4836         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4837         & PAGE_MASK case, reformat.
4839         * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4840         from stdin and setup environment.
4842 2000-07-24  Andreas Schwab  <schwab@suse.de>
4844         * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4846 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
4848         * string/endian.h: Explain the _*_ENDIAN constant values a bit
4849         more.  Patch by scarlet@mit.edu [PR libc/1799].
4851         * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4852         [PR libc/1792].
4854         * argp/argp-parse.c (parser_finalize): Reverse order in which
4855         parsers are run for ARGP_KEY_END.  [PR libc/1755].
4857         * grp/initgroups.c (initgroups): Don't limit the possible number
4858         of groups to NGROUPS_MAX.  Allow dynamic resizing.  Loop around
4859         the setgroups call while the call fails and descrease the number
4860         of groups each round.
4861         The name of the initgroups function in the NSS modules changed.
4862         (compat_call): Adapt for dynamic resizing.
4863         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4864         Implement dynamic resizing.
4865         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4866         Likewise.
4867         * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4868         * hesiod/Versions: Change exported interface name.
4869         * nis/Versions: Change exported interface name.
4871 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
4873         * locale/iso-639.def: Some errors corrected.
4874         Patch by Keld Simonsen.
4876         * include/limits.h: Update non-gcc portion.
4877         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4879 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
4881         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4882         program's data space, reallocate only the space that was just
4883         deallocated to release its backing space.
4885 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
4887         * stdio-common/vfprintf.c (process_string_arg): For wide character
4888         version, handle precision also correctly.
4890         * nss/nss_files/files-hosts.c: Correct problem with three or more
4891         entries with the same name.
4893         * nss/nss_files/files-hosts.c: Implement multi handling.
4894         * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4896 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
4898         * nss/nss_files/files-parse.c: Don't pollute namespace by using
4899         strcasecmp.
4901         * grp/Makefile: Change Makefiles and tests to run only when necessary.
4902         * malloc/Makefile: Likewise.
4903         * malloc/tst-mtrace.sh: Likewise.
4904         * posix/Makefile: Likewise.
4905         * posix/globtest.sh: Likewise.
4906         * posix/wordexp-tst.sh: Likewise.
4907         * string/Makefile: Likewise.
4909 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
4911         * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4912         size instead of LC_ALL to take into account the new locale
4913         categories.
4915 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
4917         * iconv/gconv_trans.c: Correct a few bugs in the search loop.  Remove
4918         remainders of hash table.
4919         * locale/categories.def: Remove remainders of transliteration
4920         hash table.
4921         * locale/langinfo.h: Likewise.
4922         * locale/programs/ld-ctype.c: Likewise.  Fix code to write out
4923         transliteration tables.
4925         * locale/gen-translit.pl: New file.
4926         * locale/C-translit.h.in: New file.
4927         * locale/C-ctype.c: Include C-translit.h.  Initialize transliteration
4928         data pointers with data from this file.
4929         * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4930         and gen-translit.pl.
4931         Add rule to generate C-translit.h.
4932         * intl/tst-translit.c (main): Update for now performed
4933         transliteration.
4935         * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4936         (it's no input error).
4937         * stdio-common/tstscanf.c: Add test case for format %f with input --.
4938         * stdio-common/scanf12.c: Correct expected result for first scanf.
4940         * stdio-common/vfprintf.c (process_string_arg): Correct handling
4941         of multibyte character strings in %s format with precision.
4943 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
4945         * locale/programs/ld-collate.c (collate_read): Allow collating
4946         symbols and elements be named in reorder-after instructions.
4947         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4949         * locale/programs/ld-collate.c (handle_ellipsis): Test for
4950         duplication with generated name, not the name of the first
4951         character.
4952         Patch by Yong Li <yong.li@asu.edu>.
4954         * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4955         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4957 2000-07-21  Wolfram Gloger  <wg@malloc.de>
4959         * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4960         allocations only if a non-main arena cannot be extended.
4962 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
4964         * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4965         in DF_1_NODEFLIB handling.
4967 2000-07-21  Andreas Jaeger  <aj@suse.de>
4969         * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4970         own rule.
4972         * libio/fwide.c: Include <wchar.h> for prototype.
4974 2000-07-21  Greg McGary  <greg@mcgary.org>
4976         * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4977         set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4978         Define in terms of chunk_at_offset.
4979         (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4980         (next_bin, prev_bin): offset by size of real array elements.
4981         (chunk_align): Make `m' a scalar, since that's how it's used.
4983 2000-07-21  Greg McGary  <greg@mcgary.org>
4985         * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4986         UNCHECK_BOUNDS.
4987         * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4988         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4989         Wrap bounds around argv & envp and each of their string members.
4990         * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4991         * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4992         symbol in BP_SYM ().  Discard bounds of address arg.
4993         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4994         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4995         Discard bounds on address arg, add bounds to return value.
4997 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
4999         * elf/Makefile (tests): Add filter.  Add rules to generate filter.
5000         * elf/filter.c: New file.
5001         * elf/filtmod1.c: New file.
5002         * elf/filtmod2.c: New file.
5004         * elf/rtld.c: Define _dl_bind_not variable.
5005         (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
5006         * elf/dl-support.c: Likewise.
5007         * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
5008         * elf/dl-runtime.c (fixup): Don't remember looked up value if
5009         _dl_bind_not.
5010         (profile_fixup): Likewise.
5012         * libio/Makefile (routines): Add fwide.
5013         * libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
5014         fwide now.  Internal calls to _IO_fwide must do locking themselves
5015         or don't need locking.
5016         * libio/fwide.c: New file.
5018         * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
5020         * elf/Makefile: Add no modules for nodelete test.
5021         * elf/nodelmod3.c: New file.
5022         * elf/nodelmod4.c: New file.
5023         * elf/nodelete.c: Also test case where dependency of dlopen() object
5024         is marked nodelete.
5026         * elf/Makefile (tests): Add nodlopen.  Add rules to generate nodlopen.
5027         * elf/nodlopen.c: New file.
5028         * elf/nodlopenmod.c: New file.
5029         * include/dlfcn.h: Define __RTLD_DLOPEN.
5030         * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
5031         and this is a dlopen() call, do not load the binary.
5032         * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
5033         * dlfcn/dlopenold.c: Likewise.
5034         * configure.in: Add test for -z nodelete option.
5035         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5037 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
5039         Make Hesiod NSS module thread-safe.
5041         * hesiod/README.hesiod: Update.
5043         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
5044         _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
5045         _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
5046         * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
5047         hesiod-proto.
5048         * hesiod/nss_hesiod/hesiod-init.c: New file.
5049         * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
5050         * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
5051         * hesiod/nss_hesiod/nss_hesiod.h: New file.
5052         * hesiod/nss_hesiod/hesiod-service.c
5053         (_nss_hesiod_getservbyport_r): New function.  Provide support for
5054         looking up services by port number.
5055         * hesiod/nss_hesiod/hesiod-proto.c: New file.
5057         * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5058         * hesiod/hesiod.h: Likewise.
5059         * hesiod/hesiod_p.h: Likewise.
5061 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
5063         Fix problems with `struct __res_state' getting too big.
5064         * resolv/resolv.h (struct __sockaddr_in): New definition.
5065         (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5066         the private parts of the structure to save some space.
5067         * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5068         (struct sockaddr_in *) in call to sock_eq.
5069         Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5071 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
5073         * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5074         * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5075         with nodelete.
5076         * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5077         to _dl_map_object.  Return immediately if no object loaded.
5078         Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5079         * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5080         if it exists into l_flags_1 word.
5081         * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5082         it to determine whether loading is wanted or not.
5083         (_dl_map_object): Likewise.
5084         Call _dl_map_object_from_fd with new parameter.
5085         * sysdeps/generic/ldsodefs.h: Update prototype.
5086         * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5087         * elf/rtld.c: Likewise.
5088         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5089         * elf/Makefile (tests): Add noload.  Add rules to generate noload.
5090         * elf/noload.c: New file.
5091         * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5092         * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5093         * sysdeps/mips/bits/dlfcn.h: Likewise.
5094         * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5095         (tests-nodelete-yes): Define.
5096         (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5097         Add rules to build nodelete and modules.
5098         * elf/nodelete.c: New file.
5099         * elf/nodelmod1.c: New file.
5100         * elf/nodelmod2.c: New file.
5101         * configure.in: Add test for -z nodelete option.
5102         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5104         * libio/Makefile (tests): Add tst_wprintf2.
5105         (tst_wprintf2-ARGS): Define.
5106         * libio/tst_wprintf2.c: New file.
5107         Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5109         * libio/wfiledoalloc.c: Only allocate external buffer if this
5110         hasn't happened yet.
5112         * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5113         something in the buffer.  gconv call can write up to end of the
5114         buffer, not only _IO_write_end.
5115         (_IO_wfile_overflow): Allocate also external buffer.
5117 2000-07-19  Ulrich Drepper  <drepper@redhat.com>
5119         * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5120         strings with precision in vfwprintf correctly.
5121         * stdio-common/vfprintf.c: Fix completely broken handling of
5122         unbuffered wide character streams.
5123         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5125         * resolv/Makefile (distribute): Add README.
5127         * resolv/README: New file.  By Mark Kettenis <kettenis@gnu.org>.
5129 2000-07-18  Mark Kettenis  <kettenis@gnu.org>
5131         Update resolver code to BIND 8.2.3-T5B.
5133         * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5134         __res_nclose.
5135         [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5136         __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5137         __res_search.
5138         * resolv/Banner: BIND-8.2.3-T5B.
5140         * resolv/base64.c: Update from BIND 8.2.3-T5B.
5141         * resolv/herror.c: Likewise.
5142         * resolv/inet_addr.c: Likewise.
5143         * resolv/inet_net_ntop.c: Likewise.
5144         * resolv/inet_net_pton.c: Likewise.
5145         * resolv/inet_neta.c: Likewise.
5146         * resolv/inet_ntop.c: Likewise.
5147         * resolv/nsap_addr.c: Likewise.
5148         * resolv/inet_pton.c: Likewise.  Reject a few more more invalid
5149         IPv6 addresses (ISC bug #520).
5151         * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5152         * resolv/ns_parse.c: Likewise.
5153         * resolv/ns_netint.c: Likewise.
5154         * resolv/ns_samedomain.c: Likewise.
5155         * resolv/ns_ttl.c: Likewise.
5156         * resolv/ns_print.c: Update from BIND 8.2.3-T5B.  Avoid emitting
5157         RCS ID in object file.
5159         * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5160         * resolv/res_mkquery.c: Likewise.
5161         * resolv/res_query.c: Likewise.
5162         * resolv/res_init.c: Likewise.
5163         (res_setoptions): Mark internal.
5164         * resolv/res_send.c: Likewise.
5165         [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5166         by using poll instead.
5167         * resolv/res_comp.c: Likewise.
5168         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5169         weak alias for __dn_expand.
5170         * resolv/res_data.c: Likewise.
5171         (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5172         in _res.options.  Avoids a potential security risk by avoiding a
5173         close (0).
5174         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5175         res_mkquery, res_query, res_querydomain adn res_search weak
5176         aliases for __res_mkquery, __res_query, __res_querydomain and
5177         __res_search.
5178         * resolv/res_libc.c: (_res): Don't initialize.  Fix res_close
5179         instead to avoid close(0).
5180         (res_init): Always use the static resolver context.
5181         [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5182         alias for __res_init.
5184         * resolv/resolv.h: Update from BIND 8.2.3-T5B.  Move definition of
5185         RES_SET_H_ERRNO and accompanying comment to...
5186         * include/resolv.h: ... here.
5188         * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5189         * resolv/arpa/nameser_compat.h: Likewise.
5191 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
5193         * nss/makedb.c (main): Compare result of load_db with
5194         NSS_STATUS_SUCCESS and not 0.
5195         Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5197         * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5199 2000-07-18  Greg McGary  <greg@mcgary.org>
5201         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
5202         (EXTEND_BUFFER): Use it.
5204 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
5206         * include/libc-symbols.h: Define RETURN_ADDRESS macro.
5207         * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
5208         __builtin_return_address.
5209         * dlfcn/dlopenold.c: Likewise.
5210         * dlfcn/dlsym.c: Likewise.
5211         * dlfcn/dlvsym.c: Likewise.
5212         * elf/dl-profstub.c: Likewise.
5213         * malloc/malloc.c: Likewise.
5214         * sysdeps/generic/machine-gmon.h: Likewise.
5215         Based on a patch by schwidefsky@de.ibm.com.
5217 2000-07-18  Andreas Jaeger  <aj@suse.de>
5219         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
5220         NULL to elf_machine_fixup_plt t argument to silence GCC.
5222         * include/string.h: Add prototype for __memchr.
5224         * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
5226         * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
5227         instead of memrchr.
5229 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
5231         * intl/Makefile: Make sure tst-translit is run after tst-gettext.
5233         * locale/C-ctype.c: Add initializers for gap elements.
5234         * locale/programs/ld-ctype.c (ctype_output): Write out index entries
5235         for gap elements.
5237 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
5239         * nscd/nscd.c (print_version): Update copyright year.
5241 2000-07-17  Greg McGary  <greg@mcgary.org>
5243         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5244         keyletters F, I, S, W.  Remove unused keyletter V.  Surround
5245         signature argnames with angle-brackets for use as word delimiters,
5246         and to induce syntax errors for any args not handled.  Split
5247         multi-echo echoes and comment each stage.
5248         * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
5249         * sysdeps/unix/inet/syscalls.list: Likewise.
5250         * sysdeps/unix/mman/syscalls.list: Likewise.
5251         * sysdeps/unix/syscalls.list: Likewise.
5252         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5253         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5254         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5255         * sysdeps/unix/sysv/syscalls.list: Likewise.
5256         * sysdeps/unix/sysv/linux/powerpc/syscalls.list
5258         * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
5259         * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
5260         qualifiers.  Don't check NULL-terminator of argv & envp.
5261         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
5262         unbounded pointer type in word-size assertion.
5263         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5264         cases to stifle warnings.
5266         * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5267         _IO_file_attach.
5268         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5270         * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5271         * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
5272         ptr as __unbouned.
5274         * Makerules (o-objects): Supplement with $(o-objects$o).
5275         * string/Makefile (o-objects.ob): Add variable to pull
5276         unbounded versions of memcpy, memset and memchr into libc_b.
5278         * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5279         rather than non-existent __ubp_memchr.
5280         (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5281         (_CHECK_STRING, _CHECK_N): New macros.
5282         (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5283         (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5284         * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5285         Add weak alias "memchr".
5286         * sysdeps/generic/memchr.c: Likewise.
5287         * sysdeps/i386/memchr.S: Likewise.
5288         * sysdeps/ia64/memchr.S: Likewise.
5289         * sysdeps/m68k/memchr.S: Likewise.
5290         * sysdeps/sparc/sparc32/memchr.S: Likewise.
5291         * sysdeps/sparc/sparc64/memchr.S: Likewise.
5292         * sysdeps/vax/memchr.s: Likewise.
5294         * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5296         * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5297         (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5298         * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5299         __BOUNDED_POINTERS__.
5300         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5301         for __BOUNDED_POINTERS__.
5303 2000-07-17  Bruno Haible  <haible@clisp.cons.org>
5305         * iconv/gconv_open.c (__gconv_open): Initialize the __data
5306         field of struct __gconv_trans_data differently.  Don't pass NULL to
5307         trans_init_fct.  Simplify list append operation.
5309 2000-07-14  Bruno Haible  <haible@clisp.cons.org>
5311         * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5312         not only those having tsearch.
5314 2000-07-17  Ulrich Drepper  <drepper@redhat.com>
5316         * locale/langinfo.h: Add placeholder values in enum for removed
5317         LC_CTYPE entries.
5319 2000-07-17  Jakub Jelinek  <jakub@redhat.com>
5321         * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5322         chain if the PHDR check fails.
5324 2000-07-17  Mark Kettenis  <kettenis@gnu.org>
5326         * nss/getent.c (print_hosts): Make sure we always print a space
5327         between numeric addresses and hostnames.
5329 2000-07-17  Wolfram Gloger  <wg@malloc.de>
5331         * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5332         i.e. if n_mmaps_max>0.
5334 2000-07-16  Mark Kettenis  <kettenis@gnu.org>
5336         * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5337         values to remove possible clash with other AI_* constants.
5338         (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5339         hexadecimal constants to stress the fact they're in fact
5340         bit flags.
5342 2000-07-15  Mark Kettenis  <kettenis@gnu.org>
5344         * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5345         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5346         instead of res_init.
5348 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
5350         * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5351         parameters of memset calls to avoid warnings.
5353 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
5355         * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5356         necessary.
5358         * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5359         Patch by Greg McGary <greg@mcgary.org>.
5361         * io/Makefile (tests): Add tst-getcwd.
5362         * io/tst-getcwd.c: New file.
5364         * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5366 2000-07-15  Jakub Jelinek  <jakub@redhat.com>
5368         * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5369         structure.
5371 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
5373         * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5374         * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5376 2000-07-12  H.J. Lu  <hjl@gnu.org>
5378         * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5379         GLIBC_2.2.
5380         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5381         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5382         (sysdep-routines): Add clone2.
5383         * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5385 2000-07-13  Jes Sorensen  <jes@linuxcare.com>
5387         * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5388         * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5390 2000-06-05  David Mosberger  <davidm@hpl.hp.com>
5392         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5393         based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5394         Change type of si_band from "int" to "long".
5395         (si_imm) [USE_GNU]: Define
5396         (si_isr) [USE_GNU]: Likewise.
5397         (ILL_BREAK) [USE_GNU]: Likewise.
5398         (FPE_DECOVF) [USE_GNU]: Likewise.
5399         (FPE_DECDIV) [USE_GNU]: Likewise.
5400         (FPE_DECERR) [USE_GNU]: Likewise.
5401         (FPE_INVASC) [USE_GNU]: Likewise.
5402         (FPE_INVDEC) [USE_GNU]: Likewise.
5403         (TRAP_BRANCH) [USE_GNU]: Likewise.
5404         (TRAP_HWBKPT) [USE_GNU]: Likewise.
5406 2000-07-06  Jes Sorensen  <jes@linuxcare.com>
5408         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5409         bits/sigcontext as struct mcontext does not depend on it.
5411         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5413 2000-07-04  Jes Sorensen  <jes@linuxcare.com>
5415         * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5417 2000-07-04  David Mosberger-Tang  <davidm@hpl.hp.com>
5419         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5421 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
5423         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5425 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
5427         * intl/Makefile (test-srcs): Add tst-translit.
5428         (tests): Likewise.
5429         Add rules to build and run tst-translit.
5430         * intl/tst-translit.c: New file.
5431         * intl/tst-translit.sh: New file.
5432         * intl/translit.po: New file.
5434 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
5436         * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5437         transliteration function did its job, continue, don't stop.
5439         * iconvdata/iso646.c: Little optimizations in body for conversion
5440         from UCS4.
5442 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
5444         * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5446 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
5448         * configure.in: Check for pwd binary.
5449         * config.make.in: Add PWD_P to be subsituted.
5450         * Makerules: Use $(PWD_P) instead of /bin/pwd.
5452 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
5454         * iconvdata/Makefile (modules): Add GB18030.
5455         (distribute): Add gb18030.c.
5456         * iconvdata/gconv-modules: Add entries for GB18030 module.
5457         * iconvdata/gb18030.c: New file.
5458         Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5459         and Wu Jian.
5461 2000-07-13  Andreas Jaeger  <aj@suse.de>
5463         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5464         patch.
5466         * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5467         * inet/getnetgrent.c (free_mem): Likewise.
5468         * misc/mntent.c (free_mem): Likewise.
5469         * nss/getXXbyYY.c (free_mem): Likewise.
5470         * nss/getXXent.c (free_mem): Likewise.
5471         * pwd/fgetpwent.c (free_mem): Likewise.
5472         * shadow/fgetspent.c (free_mem): Likewise.
5474 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
5476         * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5477         64-bit architecture correctly [PR libc/1794].
5479 2000-07-13  Ulrich Drepper  <drepper@redhat.com>
5481         * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5482         * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5483         report that we are out of memory.
5484         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5485         * elf/dl-libc.c (dlerror_run): Likewise.
5486         * elf/dl-open.c (_dl_open): Likewise.
5487         * elf/rtld.c (dl_main): Likewise.
5488         * elf/dl-error.c: Define _dl_out_of_memory.
5489         (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5490         the error string.
5491         * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5492         [PR libc/1813].
5494         * dlfcn/dlerror.c (free_key_mem): Also free error string.
5496         * iconv/loop.c: Fix comment.
5498         * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5500 2000-07-13  Andreas Jaeger  <aj@suse.de>
5502         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5503         getcwd (NULL, size) with size > 0.
5504         Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5506 2000-07-13  Andreas Jaeger  <aj@suse.de>
5508         * posix/Makefile: Remove build rules for libposix.
5510 2000-07-13  Andreas Schwab  <schwab@suse.de>
5512         * sysdeps/generic/glob.c (glob): Fix memory leak.
5513         [SHELL]: Remove reference to undefined variable `files'.
5514         Fixes PR libc/1782.
5516 2000-07-13  Andreas Jaeger  <aj@suse.de>
5518         * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5519         functions.
5521         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5522         memory if it was allocated.
5524 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
5526         * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5527         step.
5529         * iconv/gconv_open.c (__gconv_open): Reapply
5530         2000-07-12 Bruno Haible <haible@clisp.cons.org>
5532                 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5534         * iconv/gconv_open.c: Undo last two changes for now.  They break
5535         everything.
5537 2000-07-12  Andreas Jaeger  <aj@suse.de>
5539         * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5540         compiler.
5541         (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5542         (CFLAGS-dl-cache.c): Likewise.
5543         (CFLAGS-ldconfig.c): Added, passes directory locations.
5545         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5546         locate cache.
5547         * elf/ldconfig.c (LD_SO_CONF): Likewise.
5548         (main): Use configured LIBDIR and SLIBDIR.
5550 2000-07-11  Jakub Jelinek  <jakub@redhat.com>
5552         * math/bits/cmathcalls.h (cimag): Add __THROW.
5553         (creal, conj): Likewise.
5554         * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5555         by negative value.
5557 2000-07-12  H.J. Lu  <hjl@gnu.org>
5559         * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5560         for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5562 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
5564         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5565         it is wrong.
5567 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
5569         * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5571 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
5573         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5574         __modname.
5576 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
5578         * iconv/gconv_open.c (__gconv_open): Initialize
5579         result->__steps[cnt].__data.
5581 2000-07-12  Mark Kettenis  <kettenis@gnu.org>
5583         * nss/getent.c (services_keys): Pass port number in network byte
5584         order in call to getservbyport.
5586 2000-07-11  Andreas Jaeger  <aj@suse.de>
5588         * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5589         source dir.
5590         * intl/Makefile (do-gettext-test): Likewise.
5591         * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5593 2000-07-11  Andreas Schwab  <schwab@suse.de>
5595         * Makeconfig (run-program-prefix): New rule.
5596         (built-program-cmd): Use run-program-prefix.
5598 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
5600         * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5601         and NOEXPR unconditionally available.
5603 2000-07-12  Greg McGary  <greg@mcgary.org>
5605         * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5606         * sysdeps/posix/open64.c: Likewise.
5607         * sysdeps/generic/fegetenv.c: Likewise.
5608         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5609         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5610         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5611         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5612         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5613         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5615 2000-07-11  Greg McGary  <greg@mcgary.org>
5617         * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5618         Add extra level of macro expansion.
5619         [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5620         * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5621         is available at the time `select' prototype is declared.
5622         * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5623         Collect non-versioned weak aliases.  Consider only non-versioned
5624         aliases for the user-visible systemcall name.  Do checks inline with
5625         call to primitive system call.
5626         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5627         stand-alone bounds checks to suppress unused value warnings.
5628         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5630 2000-07-10  Mark Kettenis  <kettenis@gnu.org>
5632         * sysdeps/mach/hurd/check_fds.c: New file.  Implements
5633         file descriptor checking in SUID programs for the Hurd.
5635         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5636         res_hostalias instead of __hostalias for thread-safety.
5638 2000-07-09  Mark Kettenis  <kettenis@gnu.org>
5640         * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5641         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5643 2000-07-10  Ulrich Drepper  <drepper@redhat.com>
5645         * include/features.h: Include ISO C99 features if the compiler used
5646         is an ISO C99 compiler.
5647         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5649 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
5651         * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5653 2000-07-10  Andreas Jaeger  <aj@suse.de>
5655         * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5656         it's overridden by libpthreads.
5657         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5658         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5659         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5660         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5661         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5663         * malloc/Makefile: Run tst-mtrace only with shared libs.
5665         * stdio-common/Makefile: Run unbputc and tst-printf tests only
5666         with shared libs.
5668 2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5670         * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5671         that gpreg really points to the GOT section of the calling object.
5672         Scan all PT_LOAD segments of objects for stub_pc, instead of only
5673         checking a start address of first one.
5674         Fix typos.
5675         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5676         Likewise.
5678         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5680 2000-07-10  Andreas Jaeger  <aj@suse.de>
5682         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5683         (string_alias->strong_alias).
5685 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
5687         * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5689 2000-07-07  Greg McGary  <greg@mcgary.org>
5691         * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5692         have no names without leading underscores.
5694 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
5696         * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5697         U007E.
5699         * stdio-common/Makefile (tests): Remove tst-printf here...
5700         (tests-srcs): ...and add it here.
5701         (distribute): Add tst-unbputc.sh and tst-printf.sh.
5702         Add rules to run tst-printf.sh.
5703         * stdio-common/tst-printf.c: Move code around so that there is really
5704         no further output where it's stated.
5705         * stdio-common/tst-printf.sh: New file.
5707 2000-07-07  Mark Kettenis  <kettenis@gnu.org>
5709         * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5710         (do_write): Renamed from pwrite.
5711         (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5712         `struct _IO_cookie_file'.
5714 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
5716         * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5717         detected.
5718         * malloc/tst-mtrace.sh: Run mtrace script.
5720 2000-07-07  Greg McGary  <greg@mcgary.org>
5722         * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5723         Move all three components of a bounded pointer.
5725 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
5727         * locale/programs/locale.c (write_locales): Don't simply add all
5728         directories found in the subdir, test whether at least the
5729         LC_CTYPE file is in there.
5731 2000-07-06  Ulrich Drepper  <drepper@redhat.com>
5733         * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5734         * iconvdata/euc-kr.c: Likewise.
5736         * stdio-common/vfprintf.c (process_string_arg): Check result of
5737         wcrtomb call and bail out if it failed.
5739         * malloc/Makefile (test-srcs): Add tst-mtrace.
5740         (distribute): Add tst-mtrace.sh.
5741         Add rule to run tst-mtrace.sh.
5742         * malloc/tst-mtrace.c: New file.
5743         * malloc/tst-mtrace.sh: New file.
5745         * include/signal.h: Declare __libc_sigaction.
5746         * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5747         * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5748         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5749         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5750         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5751         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5752         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5754         * configure.in: Fix CFLAGS-memprofstat.c definition after
5755         2000-06-19 change.
5756         Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5758 2000-07-06  Jakub Jelinek  <jakub@redhat.com>
5760         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5761         instead of NULL to elf_machine_fixup_plt t argument.
5762         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5763         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5764         cast.
5766 2000-07-06  Andreas Jaeger  <aj@suse.de>
5768         * crypt/Makefile (LDLIBS-cert): Removed.
5769         (LDLIBS-md5c-test): Removed.
5770         ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5771         ($(objpfx)md5c-test): Likewise for md5c-test.out.
5773 2000-07-06  Andreas Jaeger  <aj@suse.de>
5775         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5776         of the proc system is "proc".
5778         * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5779         thread library for static programs.
5781 2000-07-06  Greg McGary  <greg@mcgary.org>
5783         * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5784         New macros.
5785         * sysdeps/generic/strcpy.c: Add bounds checks.
5786         * sysdeps/unix/fxstat.c: Likewise.
5787         * sysdeps/unix/xstat.c: Likewise.
5788         * sysdeps/unix/common/lxstat.c: Likewise.
5789         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5790         * sysdeps/unix/sysv/linux/execve.c: Likewise.
5791         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5792         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5793         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5794         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5795         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5796         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5797         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5798         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5799         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5800         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5801         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5802         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5803         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5804         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5805         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5806         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5807         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5808         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5809         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5810         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5811         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5812         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5813         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5814         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5815         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5816         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5817         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5818         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5819         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5820         * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5821         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5822         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5823         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5824         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5825         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5826         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5827         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5828         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5829         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5830         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5831         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5832         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5833         * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5834         * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5835         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5836         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5837         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5838         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5839         * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5840         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5841         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5842         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5843         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5844         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5845         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5846         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5847         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5848         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5850         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5851         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5854         * string/endian.h (__LONG_LONG_PAIR): New macro.
5855         * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5856         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5857         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5858         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5859         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5860         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5861         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5862         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5863         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5864         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5865         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5866         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5868         * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5870 2000-07-06  Andreas Jaeger  <aj@suse.de>
5872         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5873         Initialize result.
5875         * math/test-fpucw.c: Include <stdio.h> for printf.
5877 2000-07-05  Greg McGary  <greg@mcgary.org>
5879         * sysdeps/generic/bp-checks.h: New file.
5880         * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5881         with list of #include files.
5882         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5883         keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
5884         Don't generate BP thunk if `V' appears in signature.
5885         Generate thunks with complete bounds checks.
5886         * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5887         * sysdeps/unix/inet/syscalls.list: Likewise.
5888         * sysdeps/unix/mman/syscalls.list: Likewise.
5889         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5890         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5891         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5892         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5894 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
5896         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5897         result.  Search first in /etc/mtab (proc/mounts would be stupid).
5898         If mount not in the file fall back on /proc.
5900         * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5901         string got copied in.
5902         Patch by Solar Designer <solar@false.com>.
5904 2000-07-05  Andreas Jaeger  <aj@suse.de>
5906         * manual/install.texi (Installation): Update information about
5907         add-ons.
5908         (Configuring and compiling): Update for glibc 2.2.
5910 2000-07-04  Andreas Jaeger  <aj@suse.de>
5912         * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5913         (_FPU_IEEE): Likewise.
5915         * math/Makefile (tests): Add test-fpucw.
5917         * math/test-fpucw.c (main): New file.
5919 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
5921         * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5923         * locale/programs/ld-collate.c (collate_output): Also write out the
5924         collation sequence values and the wide character string for the
5925         collation symbol table.
5927         * posix/fnmatch.c: Include "../locale/elem-hash.h".
5928         * posix/fnmatch_loop.c: Implement collating symbol handling.
5929         * posix/tst-fnmatch.input: Add more tests, especially for collating
5930         symbol handling.
5932         * posix/regex.c: Fix comment.
5934 2000-07-05  Andreas Jaeger  <aj@suse.de>
5936         * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5937         (_FPU_GETCW): Remove extra colon.
5938         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5940         * posix/fnmatch_loop.c (FCT): Only declare len if
5941         !WIDE_CHAR_VERSION to silence GCC.
5943         * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5944         prototype.
5945         * sysdeps/generic/strchrnul.c: Likewise.
5946         * sysdeps/generic/strlen.c: Likewise.
5947         * sysdeps/generic/strchr.c: Likewise.
5948         * sysdeps/generic/memchr.c: Likewise.
5950 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
5952         * posix/fnmatch_loop.c: Implement equivalence class handling.
5953         * posix/tst-fnmatch.input: Add tests for equivalence class
5954         handling.
5956         * posix/fnmatch_loop.c: Improve performance for single-byte
5957         character sets by not using btowc.
5959         * posix/tst-fnmatch.input: Add tests for locale dependent
5960         behaviour.
5961         * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5963         * posix/tst-fnmatch.input: Add more test cases.
5965         * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5966         are not aligned to alignof(md5_uint32) do it before calling
5967         __md5_process_bytes.
5968         * crypt/md5.c: Make sure buffers are aligned.
5969         * crypt/md5.h: Likewise.
5970         Reported by Solar Designer <solar@false.com>.
5972         * crypt/Makefile: Add dependencies for test programs.
5974         * Rules: Define LC_ALL=C in environments of all programs we run.
5976         * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5978 2000-07-03  H.J. Lu  <hjl@gnu.org>
5980         * locale/programs/ld-ctype.c (ctype_output): The size of iov
5981         is 2 + elem + offset, not 2 + elem + offset + 2.
5983 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
5985         * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5986         suite.
5987         * posix/Makefile (tests): Add tst-fnmatch.
5988         (tst-fnmatch-ENV): Define.
5989         * posix/tst-fnmatch.c: New file.
5990         * posix/tst-fnmatch.sh: New file.
5992 2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>
5994         * locale/programs/charmap.c (charmap_read): Prepend
5995         the condition filename == NULL.
5997 2000-07-03  Greg McGary  <greg@mcgary.org>
5999         * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
6001         * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
6002         ($(objpfx)b$(start-installed-name)): Add non-elf rule.
6004         * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
6005         * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
6006         (FILEBUF_LITERAL): Add cast for CHAIN init.
6007         * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
6008         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6009         Revert type of `fp' to _IO_FILE*.
6010         (_IO_iter_file): Remove cast.
6011         (_IO_iter_next): Elide intermediate member reference.
6013         * sysdeps/powerpc/strchr.S:  Check bounds.
6014         Wrap extern symbols in BP_SYM ().
6016 2000-07-03  Andreas Jaeger  <aj@suse.de>
6018         * dlfcn/Makefile (generated): New.
6020 2000-07-03  Ulrich Drepper  <drepper@redhat.com>
6022         * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
6023         (__uflow): Likewise.
6024         (__underflow): Likewise.
6025         * libio/wgenops.c (__wunderflow): Likewise.
6026         * stdio-common/tst-unbputc.c: New file.
6027         * stdio-common/tst-unbputc.sh: New file.
6028         * stdio-common/Makefile: Add rules to build and run tst-unbputc.
6030         * po/en_GB.po: New file.
6031         Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
6033 2000-07-01  Andreas Jaeger  <aj@suse.de>
6035         * intl/Makefile (generated-dirs): New.
6037         * elf/Makefile (generated): trusted-dirs.h is always generated,
6038         move out of build-shared condition.
6039         (generated): Merge the two entries for build-shared.
6041 2000-07-01  Ulrich Drepper  <drepper@redhat.com>
6043         * debug/Makefile (distribute): Add xtrace.sh.
6045 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
6047         * version.h (VERSION): Bump to 2.1.91.
6049         * configure.in: Update warning comment.  glibc should not be
6050         broken anymore.
6052         * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
6053         ioperm.c, sys/procfs.h, and sys/io.h.
6055         * sysdeps/powerpc/Dist: Add bp-asm.h.
6057         * assert/Depend: Add localedata.
6058         * assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
6059         (test-assert-perr-ENV): New.  Define LANGUAGE=C.
6061         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6062         R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6063         relocation address to prevent unaligned trap.
6064         Suggested by Richard Henderson <rth@cygnus.com>.
6066 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
6068         * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6069         if redirecting and either redirection is done using defines or
6070         not optimizing.
6072 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
6074         * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6075         generated expressions.
6076         Patch by Darren McClelland <dmcclell@zetec.com>.
6078         * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6079         since zic uses setlocale and gettext but we cannot make it use the
6080         new locale data since zic calls a shell which might not use the
6081         new libc.
6083         * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6084         handling the internation currency symbol.  POSIX says that the
6085         fourth character is used to separate the currency symbol from the
6086         value.  Therefore it does not have to be printed.  But we cannot
6087         remove the space if the currency symbol is printed before the
6088         number since this is what many locales expect.
6090         * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6091         whether this information is available.
6093         * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6094         buffers in case the translation is too large.  Remember allocated
6095         memory blocks in a list.
6096         (free_mem): Free memory for translations.
6098         * intl/tst-gettext.c: Use correct locale.  Improve error messages.
6100         * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6101         information is available set the string length to zero.
6103         * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6105 2000-06-30  Greg McGary  <greg@mcgary.org>
6107         * sysdeps/powerpc/bp-asm.h: New file.
6108         * sysdeps/powerpc/__longjmp.S:  Check bounds.
6109         Wrap extern symbols in BP_SYM ().
6110         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6111         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6112         * sysdeps/powerpc/setjmp.S: Likewise.
6113         * sysdeps/powerpc/add_n.S: Likewise.
6114         * sysdeps/powerpc/addmul_1.S: Likewise.
6115         * sysdeps/powerpc/lshift.S: Likewise.
6116         * sysdeps/powerpc/rshift.S: Likewise.
6117         * sysdeps/powerpc/mul_1.S: Likewise.
6118         * sysdeps/powerpc/sub_n.S: Likewise.
6119         * sysdeps/powerpc/submul_1.S: Likewise.
6120         * sysdeps/powerpc/strlen.S: Likewise.
6121         * sysdeps/powerpc/memset.S: Likewise.
6122         * sysdeps/powerpc/stpcpy.S: Likewise.
6123         * sysdeps/powerpc/strcmp.S: Likewise.
6124         * sysdeps/powerpc/strcpy.S: Likewise.
6125         * sysdeps/powerpc/elf/bzero.S: Likewise.
6127         * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6128         Line up operands column with tabs.
6130 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
6132         * elf/Makefile (LDFLAGS-origtest): Actually add it.
6134         * sysdeps/ia64/htonl.S: New file.
6135         * sysdeps/ia64/htons.S: New file.
6136         * sysdeps/ia64/memcpy.S: Replace with version which does not use
6137         floating point registers.
6138         Patches by Dan Pop <Dan.Pop@cern.ch>.
6140 2000-06-30  Andreas Jaeger  <aj@suse.de>
6142         * posix/Makefile (tests): tst-exec and tst-spawn only work with
6143         shared libraries.
6145         * io/Makefile (CFLAGS-test-lfs.c): New.
6146         (tests): Add test-lfs.
6148         * io/test-lfs.c: New file.
6150 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
6152         * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6153         instruction.
6155 2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>
6157         * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6159 2000-06-29  Jes Sorensen  <jes@linuxcare.com>
6161         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6162         alias to the fstatfs call.
6164         * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6165         * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6167         * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6168         * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6170         * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6171         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6172         * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6173         * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6175         * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6176         * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6178         * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6179         * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6181         * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6182         * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6184         * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6186 2000-06-29  Andreas Jaeger  <aj@suse.de>
6188         * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6189         with syslog.
6190         (print_err_message): Likewise.
6191         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6193 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
6195         * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6196         used as words is properly aligned.
6198         * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6199         data files.
6201 2000-06-29  Greg McGary  <greg@mcgary.org>
6203         * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
6204         * sysdeps/unix/make-syscalls.sh: Handle signatures of
6205         length 7..9, just in case...
6206         * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
6208         * sysdeps/i386/bp-asm.h (PCOFF): New constant.
6209         (POP_ERRNO_LOCATION_RETURN): Fold insns.
6210         * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
6211         (PUSH_SIGNAL_MASK): New macro.
6212         * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
6213         LEAVE is unnecessary.  Check bounds of jmp_buf.
6214         * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
6215         in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
6216         immediately before tail-call.
6217         * sysdeps/i386/setjmp.S: Likewise.
6218         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6219         * sysdeps/i386/bsd-setjmp.S: Likewise.
6221 2000-06-29  Jakub Jelinek  <jakub@redhat.com>
6223         * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
6224         versioned_symbol.
6225         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
6226         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
6227         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
6228         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6229         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
6230         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
6231         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
6232         * shlib-versions: Make sparc64 GLIBC_2.2+ only.
6234 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
6236         * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
6237         we later need to calling free().
6238         Patch by Matt Wilson <msw@redhat.com>.
6240         * stdio-common/tst-printf.c: Add test for above problem.
6242 2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>
6244         * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
6245         * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
6247 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
6249         * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
6250         prototype for abs().
6251         * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
6253 2000-06-23  Andreas Jaeger  <aj@suse.de>
6255         * config.h.in: Don't use regparm with bounded pointers.
6257 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
6259         * stdlib/grouping.h: Correctly handle multibyte thousands
6260         separator and decimal point.
6261         * stdlib/stdtod.c: Likewise.
6262         * sysdeps/generic/strtol.c: Likewise.
6264         * locale/categories.def: Add entries for wide character decimal point
6265         and thousands separator in numeric and monetary category.
6267 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
6269         * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6270         second definition and initialization of decimal.
6272 2000-06-28  Greg McGary  <greg@mcgary.org>
6274         * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6275         out.
6276         (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6277         * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6278         in.
6279         (_IO_JUMPS): Don't cast THIS--expect arg to be a
6280         (struct _IO_FILE_plus *).
6281         (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6282         THIS, since _IO_JUMPS no longer does it implicitly.
6283         (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6284         arg type as (struct _IO_FILE_plus *).
6285         (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6286         arg as (_IO_strfile *).
6287         * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6288         Declare 1st arg as (_IO_strfile *).
6289         * libio/fileops.c (_IO_new_file_init): Declare
6290         arg type as (struct _IO_FILE_plus *).
6291         * libio/oldfileops.c (_IO_old_file_init): Likewise.
6292         * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6293         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6294         Declare iteration pointer as (struct _IO_FILE_plus *).
6295         (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6296                 (struct _IO_FILE_plus *).
6297         * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6298         * libio/oldstdfiles.c (_IO_list_all): Likewise.
6299         (_IO_check_libio): Set user-visible handles to
6300         (struct _IO_FILE_plus *).
6301         * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6302         to (struct _IO_FILE_plus *).
6304         * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6305         whose high bound includes vtable to all functions that will use
6306         vtable.  For streambufs, pass pointer whose bounds include struct
6307         _IO_strfile.
6308         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6309         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6310         * libio/iofopen.c (_IO_new_fopen): Likewise.
6311         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6312         * libio/iofopen64.c (_IO_fopen64): Likewise.
6313         * libio/iopopen.c (_IO_new_popen): Likewise.
6314         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6315         * libio/memstream.c (open_memstream): Likewise.
6316         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6317         * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6318         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6319         * libio/iofopncook.c (_IO_cookie_init): Likewise.
6320         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6321         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6322         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6323         * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6324         * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6325         * stdlib/strfmon.c (__strfmon_l): Likewise.
6326         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6327         (vfprintf): Qualify computed-goto targets as unbounded.
6329 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
6331         * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6332         thousands separator correctly.
6334         * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6335         * stdio-common/vfwscanf.c: Likewise.
6337 2000-06-27  Jes Sorensen  <jes@linuxcare.com>
6339         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6340         count into signatures for most calls.
6342 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
6344         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
6345         the generic parser now.
6347 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
6349         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
6350         table entries are 32 bit on the ia64 (as specified by the ABI),
6351         not 64 bit as on the Alpha.
6353         * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6354         change of objects to use 32 bit hash table indices (see above).
6356 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
6358         * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6359         prototype for abs().
6361 2000-06-28  Wolfram Gloger  <wg@malloc.de>
6363         * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6364         fails, try mmap_chunk() as a last resort even though n_mmaps_max
6365         may have been reached.
6367 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
6369         * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6370         symbols in multi-character weights correctly.
6372         * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6373         depending on whether the input string is empty or not.
6375         * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6376         given state and not avoiding this by modifying a local object.
6377         * wcsmbs/wcrtomb.c: Likewise.
6379         * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6380         object since some incomplete characters might be in there.
6382         * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6383         sequences with first byte 0x8e correctly.
6385         * iconvdata/jis0208.h: Remove redundant test.
6387 2000-06-27  Ulrich Drepper  <drepper@redhat.com>
6389         * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6390         Add it where it is needed now.
6392         * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6393         the input charset into account when generating the hash table.
6394         (allocate_arrays): Correct setting default width.  Not all empty slots
6395         in the table are filled, only those not covert explicitly by the
6396         locale description and in the charset.
6398         * wctype/towctrans.c (__towctrans): Be graceful and accept error
6399         return values from the wctrans function.
6401         * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6402         wide character version.
6403         For %C handling, test correct pointer variable for NULL.
6405         * wcsmbs/wctob.c: Handle WEOF special.
6407         * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6409         * wctype/wctype.h: Protect gcc-isms with __extension__.  Avoid
6410         always-true test to avoid warning.
6412 2000-06-27  Greg McGary  <greg@mcgary.org>
6414         * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6415         * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6416         (symbol_version, default_symbol_version): Factor redundant
6417         definitions out of conditional.
6419 2000-06-27  Jakub Jelinek  <jakub@redhat.com>
6421         * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6422         not obstack_blank.
6424 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
6426         * include/libc-symbols.h (symbol_version): Add extra level of
6427         macro expansion.
6428         (default_symbol_version): Likewise.
6430 2000-06-26  Greg McGary  <greg@mcgary.org>
6432         * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6433         for BP return value & push implicit struct-return pointer to
6434         __errno_location.
6435         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6436         (SYSCALL_ERROR_HANDLER): Likewise.
6437         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6438         (SYSCALL_ERROR_HANDLER): Likewise.
6440         * Makeconfig: Add missing comment.
6441         * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6442         BP-flavored startup object.
6443         ($(objpfx)b$(start-installed-name)): New rule.
6444         * include/libc-symbols.h (symbol_set_declare): Change type
6445         of `__start_##set' and `__stop_##set' to pointer-to-function.
6446         (symbol_set_declare): Change type of `set' to array of
6447         pointer-to-function.
6448         * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6449         pointer-to-function.
6451         * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6453         * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6454         Remove clock_* and timer_* entries.
6455         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6456         arg-count with signatures.
6458         * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6459         Check bounds of arguments.
6460         * sysdeps/i386/addmul_1.S: Likewise.
6461         * sysdeps/i386/lshift.S: Likewise.
6462         * sysdeps/i386/mul_1.S: Likewise.
6463         * sysdeps/i386/rshift.S: Likewise.
6464         * sysdeps/i386/sub_n.S: Likewise.
6465         * sysdeps/i386/submul_1.S: Likewise.
6466         * sysdeps/i386/i586/add_n.S: Likewise.
6467         * sysdeps/i386/i586/addmul_1.S: Likewise.
6468         * sysdeps/i386/i586/lshift.S: Likewise.
6469         * sysdeps/i386/i586/rshift.S: Likewise.
6470         * sysdeps/i386/i586/sub_n.S: Likewise.
6471         * sysdeps/i386/i686/add_n.S: Likewise.
6473         * sysdeps/i386/memchr.S: Likewise.
6474         * sysdeps/i386/memcmp.S: Likewise.
6475         * sysdeps/i386/rawmemchr.S: Likewise.
6476         * sysdeps/i386/i586/bzero.S: Likewise.
6477         * sysdeps/i386/i586/memcpy.S: Likewise.
6478         * sysdeps/i386/i586/mempcpy.S: Likewise.
6479         * sysdeps/i386/i586/memset.S: Likewise.
6480         * sysdeps/i386/i686/bzero.S: Likewise.
6481         * sysdeps/i386/i686/memcpy.S: Likewise.
6482         * sysdeps/i386/i686/mempcpy.S: Likewise.
6483         * sysdeps/i386/i686/memset.S: Likewise.
6485         * sysdeps/i386/stpcpy.S: Likewise.
6486         * sysdeps/i386/stpncpy.S: Likewise.
6487         * sysdeps/i386/strchr.S: Likewise.
6488         * sysdeps/i386/strchrnul.S: Likewise.
6489         * sysdeps/i386/strcspn.S: Likewise.
6490         * sysdeps/i386/strpbrk.S: Likewise.
6491         * sysdeps/i386/strrchr.S: Likewise.
6492         * sysdeps/i386/strspn.S: Likewise.
6493         * sysdeps/i386/strtok.S: Likewise.
6494         * sysdeps/i386/strtok_r.S: Likewise.
6495         * sysdeps/i386/i486/strcat.S: Likewise.
6496         * sysdeps/i386/i486/strlen.S: Likewise.
6497         * sysdeps/i386/i586/strchr.S: Likewise.
6498         * sysdeps/i386/i586/strcpy.S: Likewise.
6499         * sysdeps/i386/i586/strlen.S: Likewise.
6500         * sysdeps/i386/i686/strcmp.S: Likewise.
6501         * sysdeps/i386/i686/strtok.S: Likewise.
6502         * sysdeps/i386/i686/strtok_r.S: Likewise.
6504         * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6505         * sysdeps/i386/fpu/fesetenv.c: Likewise.
6506         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6507         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6508         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6510         * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6511         * sysdeps/i386/mul_1.S: Likewise.
6512         * sysdeps/i386/submul_1.S: Likewise.
6513         * sysdeps/i386/i586/add_n.S: Likewise.
6514         * sysdeps/i386/i586/addmul_1.S: Likewise.
6515         * sysdeps/i386/i586/lshift.S: Likewise.
6516         * sysdeps/i386/i586/mul_1.S: Likewise.
6517         * sysdeps/i386/i586/rshift.S: Likewise.
6518         * sysdeps/i386/i586/sub_n.S: Likewise.
6519         * sysdeps/i386/i586/submul_1.S: Likewise.
6521 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
6523         * rt/Makefile (librt-routines): Add clock_nanosleep.
6524         * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6525         * sysdeps/generic/clock_nanosleep.c: New file.
6526         * sysdeps/unix/clock_nanosleep.c: New file.
6527         * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6528         * time/time.h: Declare clock_nanosleep.
6530 2000-06-26  Greg McGary  <greg@mcgary.org>
6532         * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6533         INSN1, INSN2, TEXT, GLOBL): Remove macros.
6534         (ALIGN): Cleanup surrounding conditionals.
6536         * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6537         Call ENTER/LEAVE macros.
6538         * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6539         * sysdeps/i386/submul_1.S: Likewise.
6541         * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6542         syntax.  Define & use symbolic argument stack offsets.  Call
6543         ENTER/LEAVE macros.
6544         * sysdeps/i386/i586/mul_1.S: Likewise.
6545         * sysdeps/i386/i586/submul_1.S: Likewise.
6547 2000-06-25  Greg McGary  <greg@mcgary.org>
6549         * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6550         not as bcopy.
6552 2000-06-25  Ulrich Drepper  <drepper@redhat.com>
6554         * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6555         * iconvdata/gen-8bit-gap.sh: Likewise.
6556         * iconvdata/gen-8bit.sh: Likewise.
6558         * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6560         * locale/programs/ld-collate.c (collate_read): Don't actually read
6561         the copy locale if we are ignoring the content.
6563         * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6564         unknown character.
6566         * locale/programs/ld-collate.c: Correct handling of different
6567         collation sections.
6568         * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6569         as extra parameter from which to copy category information.
6570         Change all callers.
6571         (load_locale): Likewise.
6572         * locale/programs/localedef.h: Update prototypes of add_to_readlist
6573         and load_locale.
6574         * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6575         * locale/programs/locfile.h: Likewise.
6576         * locale/programs/locfile-kw.gperf: Add entry for script.
6577         * locale/programs/locfile-token.h: Add tok_script.
6579         * locale/programs/locale.c: Update copyright year.
6580         * locale/programs/localedef.c: Likewise.
6582 2000-06-23  Thorsten Kukuk  <kukuk@suse.de>
6584         * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6585         Jens Moeller <jens.moeller@waii.com>.
6587 2000-06-24  Ulrich Drepper  <drepper@redhat.com>
6589         * locale/programs/ld-name.c (name_finish): Add missing format
6590         specifier to test for name_fmt.
6592         * locale/programs/ld-address.c (iso639): Correct length of string
6593         elements.
6594         (iso3166): Likewise.
6596         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6598         * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6599         Define.
6601         * elf/elf.h (NT_PRFPXREG): Define.
6603 2000-06-23  Ulrich Drepper  <drepper@redhat.com>
6605         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6606         PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6608 2000-06-23  Andreas Schwab  <schwab@suse.de>
6610         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6611         with signatures.
6613 2000-06-23  Andreas Jaeger  <aj@suse.de>
6615         * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6617         * io/test-stat.c: Add copyright header, mention Maciej.
6619         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6620         SYS_mincore, SYS_madvise): Added.
6622         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6623         execve.
6625 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
6627         * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6628         (CFLAGS-tst_putwc.c): New definition.
6629         * libio/tst_getwc.c: New file.
6630         * libio/tst_getwc.input: New file.
6631         * libio/tst_putwc.c: New file.
6633         * include/string.h: Add prototype for __strdup.
6635 2000-06-22  Greg McGary  <greg@mcgary.org>
6637         * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6638         * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6639         Fix signatures.
6641 2000-06-23  Jes Sorensen  <jes@linuxcare.com>
6643         * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6645 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
6647         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6649 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
6651         * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6652         ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6654 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
6656         * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6657         * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6658         and __S_TYPEISSHM.
6659         * sysdeps/mach/hurd/bits/stat.h: Likewise.
6660         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6661         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6662         * sysdeps/unix/sysv/bits/stat.h: Likewise.
6663         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6664         * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6665         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6666         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6667         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6668         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6669         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6670         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6671         * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6672         * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6673         S_TYPEISSHM.
6675 2000-06-22  Andreas Jaeger  <aj@suse.de>
6677         * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6678         with signatures.
6680         * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6682         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6684 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
6686         * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6687         ahead.
6689 2000-06-21  Greg McGary  <greg@mcgary.org>
6691         * Makerules (elide-routines.*, elide-bp-thunks):
6692         Define unconditionally.
6694 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
6696         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6698 2000-06-21  Andreas Jaeger  <aj@suse.de>
6700         * io/Makefile (tests): Add test-stat.
6701         (CFLAGS-test-stat.c): New.
6703         * io/test-stat.c: New file from Maciej W. Rozycki
6704         <macro@ds2.pg.gda.pl>.
6706 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
6708         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6709         in __rlimit_resource to make them match the kernel order.
6710         rlim_t is always 64 bit, use __rlim64_t to declare it
6711         unconditionally.
6713 2000-05-04  Jes Sorensen  <jes@linuxcare.com>
6715         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6716         RLIM_INFINITY before defining it to avoid clash with kernel header
6718 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
6720         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6722 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
6724         * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6726 2000-06-21  Andreas Jaeger  <aj@suse.de>
6728         * stdio-common/temptest.c: Include <stdlib.h>.
6729         * stdio-common/tst-fileno.c: Likewise.
6730         * stdio-common/scanf4.c: Likewise.
6731         * stdio-common/scanf5.c: Likewise.
6732         * time/clocktest.c: Likewise.
6733         * posix/test-vfork.c: Likewise.
6734         * posix/globtest.c: Likewise.
6735         * io/test-utime.c: Likewise.
6736         * wctype/test_wcfuncs.c: Likewise.
6737         * crypt/cert.c: Likewise.
6739         * stdio-common/tst-printfsz.c: Include <string.h>.
6740         * libio/tst_swscanf.c: Likewise.
6741         * libio/tst_wscanf.c: Likewise.
6742         * posix/runtests.c: Likewise.
6743         * posix/tst-getaddrinfo.c: Likewise.
6744         * posix/wordexp-test.c: Likewise.
6745         * misc/tst-efgcvt.c: Likewise.
6747         * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6748         * nss/test-netdb.c: Likewise.
6750         * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6751         supported kernel for MIPS.
6753         * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6754         * rt/aio_suspend.c: Likewise.
6756 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
6758         * math/libm-test.inc: Include <string.h>.
6760 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
6762         * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6764 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
6766         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6767         * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6769 2000-06-20  David Mosberger-Tang  <davidm@hpl.hp.com>
6771         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6773 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
6775         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6777 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
6779         * locale/programs/ld-collate.c (insert_value): Now take string and
6780         length instead of struct token* parameter.  Adjust use of token.
6781         (handle_ellipsis): Likewise.
6782         (collate_read): Allow <Uxxxx> names and transform them into names
6783         to be passed to insert_value and handle_ellipsis.
6785         * locale/programs/ld-ctype.c (uninames): New array with names of
6786         digits in <Uxxxxxxxx> format.
6787         (ctype_finish): Correct search for space character value.  Likewise
6788         for default outdigits values.
6790 2000-06-20  Greg McGary  <greg@mcgary.org>
6792         * Makerules (objects): Add BP thunks.
6794 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
6796         * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6797         in width definitions.
6799 2000-06-20  Andreas Jaeger  <aj@suse.de>
6801         * sysdeps/mips/fpu/libm-test-ulps: New file.
6803         * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6804         first.
6806         * sysdeps/mips/fpu/feholdexcpt.c: New file.
6808         * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6810 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
6812         * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6813         change in gconv_builtin.h.
6815         * malloc/Makefile: Change all references to memprof into memusage.
6816         * malloc/memprof.c: Rename to...
6817         * malloc/memusage.c: ...this.  New file.
6818         * malloc/memprof.sh: Rename to...
6819         * malloc/memusage.sh: ...this.  New file.
6820         * malloc/memprofstat.c: Rename to...
6821         * malloc/memusagestat.c: ...this.  New file.
6822         * sysdeps/alpha/memprof.h: Rename to..
6823         * sysdeps/alpha/memusage.h: ...this.  New file.
6824         * sysdeps/arm/memprof.h: Rename to..
6825         * sysdeps/arm/memusage.h: ...this.  New file.
6826         * sysdeps/generic/memprof.h: Rename to..
6827         * sysdeps/generic/memusage.h: ...this.  New file.
6828         * sysdeps/i386/memprof.h: Rename to..
6829         * sysdeps/i386/memusage.h: ...this.  New file.
6830         * sysdeps/ia64/memprof.h: Rename to..
6831         * sysdeps/ia64/memusage.h: ...this.  New file.
6832         * sysdeps/m68k/memprof.h: Rename to..
6833         * sysdeps/m68k/memusage.h: ...this.  New file.
6834         * sysdeps/mips/memprof.h: Rename to..
6835         * sysdeps/mips/memusage.h: ...this.  New file.
6836         * sysdeps/powerpc/memprof.h: Rename to..
6837         * sysdeps/powerpc/memusage.h: ...this.  New file.
6838         * sysdeps/sparc/memprof.h: Rename to..
6839         * sysdeps/sparc/memusage.h: ...this.  New file.
6840         * sysdeps/sh/memprof.h: Rename to..
6841         * sysdeps/sh/memusage.h: ...this.  New file.
6843         * elf/sprof.c (print_version): Update year.
6845         * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6846         table entry values.  Use D_PTR.
6847         * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6848         binaries without PLT.  Patches by James Mathiesen <james@curl.com>.
6850 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
6852         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6853         * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6854         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6855         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6857 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
6859         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6861 2000-06-16  Jes Sorensen  <jes@linuxcare.com>
6863         * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6864         * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6865         * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6867         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6869         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6870         kernel change.
6872         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6873         __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6874         structure.
6875         Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6876         implementation.
6878 2000-06-15  Jes Sorensen  <jes@linuxcare.com>
6880         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6882 2000-06-08  Jes Sorensen  <jes@linuxcare.com>
6884         * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6886 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
6888         * iconv/gconv_int.h (strict gconv_module): Remove all members
6889         associated with regular expressions.  Use a simple string as the
6890         from name.
6891         * iconv/gconv_db.c: Remove code handling regular expressions.
6892         * iconv/gconv_conf.c: Likewise.
6893         * iconv/iconv_prog.c: Likewise.
6894         * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6896         * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6897         General namespace cleanup.
6898         (struct __gconv_trans_data): Add next field.
6899         (struct __gconv_step_data): Make __trans a pointer.
6900         * iconv/gconv_conf.c: Split out code to find gconv directories from
6901         __gconv_read_conf in new functions.
6902         * iconv/gconv_int.h: Define new data structure and declare new
6903         functions for handling of gconv directory list.
6904         * iconv/gconv_open.c: Allow more than one error handling step being
6905         used.  Call function to load error handling module if it is none
6906         of the builtin transformations.
6907         * iconv/gconv_close.c: Add code to free transliteration data.
6908         * iconv/gconv_trans.c: Add functions to load and unload modules
6909         implementing transliteration etc.
6910         * iconv/skeleton.c: Call all context functions now that more than
6911         one module is allowed.
6912         * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6913         * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6914         where the full error handling using transliteration is needed.
6915         * iconvdata/8bit-gap.c: Likewise.
6916         * iconvdata/8bit-generic.c: Likewise.
6917         * iconvdata/ansi_x3.110.c: Likewise.
6918         * iconvdata/big5.c: Likewise.
6919         * iconvdata/big5hkscs.c: Likewise.
6920         * iconvdata/euc-cn.c: Likewise.
6921         * iconvdata/euc-jp.c: Likewise.
6922         * iconvdata/euc-kr.c: Likewise.
6923         * iconvdata/euc-tw.c: Likewise.
6924         * iconvdata/gbgbk.c: Likewise.
6925         * iconvdata/gbk.c: Likewise.
6926         * iconvdata/iso-2022-cn.c: Likewise.
6927         * iconvdata/iso-2022-jp.c: Likewise.
6928         * iconvdata/iso-2022-kr.c: Likewise.
6929         * iconvdata/iso646.c: Likewise.
6930         * iconvdata/iso8859-1.c: Likewise.
6931         * iconvdata/iso_6937-2.c: Likewise.
6932         * iconvdata/iso_6937.c: Likewise.
6933         * iconvdata/johab.c: Likewise.
6934         * iconvdata/sjis.c: Likewise.
6935         * iconvdata/t.61.c: Likewise.
6936         * iconvdata/uhc.c: Likewise.
6937         * iconvdata/unicode.c: Likewise.
6938         * iconvdata/utf-16.c: Likewise.
6939         * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6940         structure correctly after last change.
6941         * wcsmbs/btowc.c: Likewise.
6942         * wcsmbs/mbrtowc.c: Likewise.
6943         * wcsmbs/mbsnrtowcs.c: Likewise.
6944         * wcsmbs/mbsrtowcs.c: Likewise.
6945         * wcsmbs/wcrtomb.c: Likewise.
6946         * wcsmbs/wcsnrtombs.c: Likewise.
6947         * wcsmbs/wcsrtombs.c: Likewise.
6948         * wcsmbs/wctob.c: Likewise.
6950         * localedata/Makefile: Set -Wno-format for some files since gcc does
6951         not know all the format specifiers.
6953 2000-06-18  Ulrich Drepper  <drepper@redhat.com>
6955         * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6956         unneeded code.
6957         * locale/lc-time.c (_nl_init_era_entries): Likewise.
6959 2000-06-18  Andreas Jaeger  <aj@suse.de>
6961         * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6962         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6964 2000-06-17  Ulrich Drepper  <drepper@redhat.com>
6966         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6967         LINUX_LINK_MAX.
6968         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6970         * locale/programs/ld-ctype.c (ctype_output): Really write out
6971         mboutdigits information.
6972         * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6973         * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6974         * localedata/tests/trans.def: Add outdigit information.
6976         * localedata/tst-mbswcs3.c: Remove comment.
6978         * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6979         * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6980         * libio/tst_wprintf.c (main): Add test for I flag.
6982         * iconv/gconv_trans.c: Implement handling if translit_ignore.
6983         * locale/langinfo.h: Add entries for translit_ignore information.
6984         * locale/categories.def: Add entries for new LC_CTYPE elements.
6985         * locale/C-ctype.c: Add initializers for new fields.  Use NULL
6986         pointer instead of "" where possible.
6987         * locale/programs/ld-ctype.c: Write out translit_ignore information.
6988         * intl/Depend: Add localedata.
6989         * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6990         * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6992 2000-06-16  Ulrich Drepper  <drepper@redhat.com>
6994         * locale/langinfo.h: Add entries for default_missing information.
6995         * locale/C-ctype.c: Add initializers for new fields.
6996         * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6997         information.
6998         * locale/categories.h: Add entries for all LC_CTYPE values.
6999         * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
7000         information.
7002         * localedata/tst-trans.c: Write out an error message if class is
7003         not found.
7005         * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
7006         * iconv/gconv_open.c: Remove error handling specification from `from'
7007         character set name.
7008         * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
7009         new parameter to always enable transliteration.
7010         * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
7011         change.
7012         (struct locale_data): Add new members use_translit and options.
7013         * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
7014         character set name contained modifier TRANSLIT.
7015         * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
7016         and options fields.
7017         (_nl_unload_locale): Free options string if necessary.
7018         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
7019         the locale names suggested this.
7020         * locale/C-address.c: Add two new initialilzers to adjust data
7021         structure for new format.
7022         * locale/C-collate.c: Likewise.
7023         * locale/C-ctype.c: Likewise.
7024         * locale/C-identification.c: Likewise.
7025         * locale/C-measurement.c: Likewise.
7026         * locale/C-messages.c: Likewise.
7027         * locale/C-monetary.c: Likewise.
7028         * locale/C-name.c: Likewise.
7029         * locale/C-numeric.c: Likewise.
7030         * locale/C-paper.c: Likewise.
7031         * locale/C-telephone.c: Likewise.
7032         * locale/C-time.c: Likewise.
7034         * locale/setlocale.c: Add some more __builtin_expect.
7036 2000-06-15  Ulrich Drepper  <drepper@redhat.com>
7038         * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
7039         unsigned char **.
7040         (__gconv_init_fct): Remove two parameters.
7041         * iconv/gconv_int.h (__gconv_transliterate): Renamed from
7042         gconv_transliterate.  Remove two parameters.
7043         Change prototypes of builtin functions according to __gconv_fct change.
7044         * iconv/skeleton.c: Change type of fifth parameter.  make sure it is
7045         != NULL only during error handling.  Stop in this case after the
7046         conversion.
7047         * iconv/gconv_trans.c: Replace with real implementation for
7048         __gconv_transliterate.
7049         * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
7050         * iconv/gconv.c: Change calls to downstream functions once again.
7051         Use NULL for the fifth parameter instead of pointer to output buffer.
7052         * libio/iofwide.c: Likewise.
7053         * wcsmbs/btowc.c: Likewise.
7054         * wcsmbs/mbrtowc.c: Likewise.
7055         * wcsmbs/mbsnrtowcs.c: Likewise.
7056         * wcsmbs/mbsrtowcs.c: Likewise.
7057         * wcsmbs/wcrtomb.c: Likewise.
7058         * wcsmbs/wcsnrtombs.c: Likewise.
7059         * wcsmbs/wcsrtombs.c: Likewise.
7060         * wcsmbs/wctob.c: Likewise.
7061         * iconv/gconv_simple.c: Remove two parameters from error handling
7062         function call.
7063         * iconvdata/8bit-gap.c: Likewise.
7064         * iconvdata/8bit-generic.c: Likewise.
7065         * iconvdata/ansi_x3.110.c: Likewise.
7066         * iconvdata/big5.c: Likewise.
7067         * iconvdata/big5hkscs.c: Likewise.
7068         * iconvdata/euc-cn.c: Likewise.
7069         * iconvdata/euc-jp.c: Likewise.
7070         * iconvdata/euc-kr.c: Likewise.
7071         * iconvdata/euc-tw.c: Likewise.
7072         * iconvdata/gbgbk.c: Likewise.
7073         * iconvdata/gbk.c: Likewise.
7074         * iconvdata/iso-2022-cn.c: Likewise.
7075         * iconvdata/iso-2022-jp.c: Likewise.
7076         * iconvdata/iso-2022-kr.c: Likewise.
7077         * iconvdata/iso646.c: Likewise.
7078         * iconvdata/iso8859-1.c: Likewise.
7079         * iconvdata/iso_6937-2.c: Likewise.
7080         * iconvdata/iso_6937.c: Likewise.
7081         * iconvdata/johab.c: Likewise.
7082         * iconvdata/sjis.c: Likewise.
7083         * iconvdata/t.61.c: Likewise.
7084         * iconvdata/uhc.c: Likewise.
7085         * iconvdata/unicode.c: Likewise.
7086         * iconvdata/utf-16.c: Likewise.
7088 2000-06-15  Greg McGary  <greg@mcgary.org>
7090         * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7091         of callnum assignment.  Tolerate callnum expressions containing
7092         parens.
7094 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
7096         * login/Makefile (utmpd): Remove rule to build utmpd.
7098         * csu/Versions: Move libgcc frame handling functions from here...
7099         * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7100         * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7101         * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7102         * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7103         * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7104         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7105         New file.
7106         * sysdeps/mach/hurd/i386/Versions: ...and here.  New file.
7108         * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7110         * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7112 2000-06-14  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
7114         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7115         compatibility.
7116         * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7117         * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7118         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7119         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7121 2000-06-14  Jakub Jelinek  <jakub@redhat.com>
7123         * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7124         defined, terminate quotes and read them after the comment char.
7125         * configure.in (HAVE_SECTION_QUOTES): Test whether
7126         __attribute__((section ("x"))) puts quotes around x or not.
7127         * config.h.in (HAVE_SECTION_QUOTES): Add.
7128         * configure: Rebuilt.
7130 2000-06-14  Andreas Jaeger  <aj@suse.de>
7132         * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7133         depending on the configure option --sysconfdir.
7134         Closes PR libc/1762.
7135         Patch by Andreas Schwab <schwab@suse.de>.
7137         * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7138         entry point.
7139         Reported by Jim Pick <jim@jimpick.com>.
7141 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
7143         * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7144         crashing the application.  Emit some simple error message.
7145         Reported by mju@panasas.com [PR libc/1769].
7147 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
7149         * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7151         * crypt/Makefile (distribute): Add md5.h.
7153         * Makefile (distribute): Add include/shlib-compat.h.
7155         * Make-dist: Search for tests also in sysdeps hierachy.
7157         * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7158         ufc.c, speeds.c, README.ufc-crypt, and Banner.
7160         * sysdeps/sparc/Subdirs: New file.
7162         * locale/Makefile (distribute): Add weightwc.h and
7163         programs/localedef.h.
7165         * time/Makefile (distribute): Add datemsk.
7167         * sysdeps/ia64/Dist: Add softpipe.h.
7169         * sysdeps/unix/sysv/aix/Dist: New file.
7171         * posix/setpgrp.c: Moved to...
7172         * sysdeps/generic/setpgrp.c: ...here.  New file.
7173         * io/mknod.c: Moved to...
7174         * sysdeps/generic/mknod.c: ...here.  New file.
7176         * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7178         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7180         * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7182         * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7183         gprsave0.S, gprrest1.S, and gprrest0.S.
7185         * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7187         * posix/Makefile (routines): Add spawnattr_getsigmask,
7188         spawnattr_getschedpolicy, spawnattr_getschedparam,
7189         spawnattr_setsigmask, spawnattr_setschedpolicy, and
7190         spawnattr_setschedparam.
7191         * posix/Versions: Add posix_spawnattr_getschedpolicy,
7192         posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7193         posix_spawnattr_setschedparam.
7195         * posix/spawnattr_setschedparam.c: Fix typo.
7197         * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7198         Correct typo.
7200         * login/programs/utmpd.c: Removed.
7201         * login/programs/utmpd.h: Removed.
7202         * login/programs/utmpd-private.h: Removed.
7204         * Makefile (distribute): Add include/db_185.h and include/db.h.
7206         * iconvdata/Makefile (distribute): Add iso-ir-165.c and
7207         iso-ir-165.h.
7209         * elf/Makefile (distribute): Add missing files.
7211         * dlfcn/Makefile: Add back rules to include eval in libdl.so.
7212         * elf/eval.c: Moved to...
7213         * dlfcn/eval.c: ...here.  New file.
7215         * Makefile (distribute): Also distribute ChangeLog.1?.
7217         * Make-dist (+tsrcs): Remove .args handling here as well.
7219         * rt/Makefile (tests): Add tst-timer.
7220         * sysdeps/generic/tst-timer.c: New file.
7222         * Makerules (sources): Don't add BP sources here.
7224         * login/Makefile (distribute): Remove xtmp.h.
7226         * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
7227         is true.  Reported by Bruno Haible <haible@ilog.fr>.
7229 2000-06-13  Andreas Jaeger  <aj@suse.de>
7231         * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
7232         Patch by Ralf Baechle <ralf@gnu.org>.
7234 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
7236         * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
7237         for mincore syscall.
7239         * misc/sys/cdefs.h: Define __bounded and __unbounded if
7240         __BOUNDED_POINTERS__ is not defined.
7242 2000-06-07  Greg McGary  <greg@mcgary.org>
7244         * sysdeps/generic/bp-sym.h: New file.
7245         * sysdeps/generic/bp-start.h: New file.
7246         * sysdeps/i386/elf/start.S: Designate BP symbols.
7247         * sysdeps/generic/libc-start.c: Wrap bounds around
7248         argv & envp and each of their string members.
7250 2000-06-07  Greg McGary  <greg@mcgary.org>
7252         * sysdeps/unix/make-syscalls.sh: Add comments to
7253         output that aid debugging & comprehension.
7254         Map simple syscall signatures to number of args.
7255         Generate BP syscall thunk definitions.
7256         * sysdeps/generic/bp-thunks.h: New file.
7257         * sysdeps/unix/syscalls.list: Replace arg-count with
7258         simple return+arg signature.
7259         * sysdeps/unix/common/syscalls.list: Likewise.
7260         * sysdeps/unix/inet/syscalls.list: Likewise.
7261         * sysdeps/unix/mman/syscalls.list: Likewise.
7262         * sysdeps/unix/sysv/syscalls.list: Likewise.
7263         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7264         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7266 2000-06-07  Greg McGary  <greg@mcgary.org>
7268         * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7269         for all files *.[cS].
7270         (CFLAGS-.ob): Don't optimize sibling calls.
7271         (bppfx): New variable.
7272         * Makerules (elide-bp-thunks): New variable.
7273         (elide-routines.*): Elide BP-* files for all but *.ob.
7274         (sources): Include bp-thunks.
7276 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
7278         * iconv/gconv_simple.c: Remove unnecessary prototype.
7280         * iconv/gconv_trans.c: Pretty print.
7282         * elf/elf.h (R_SH_NUM): Got accidently dropped.
7284         * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7285         minimal kernel versions.  Add information about IA-64 kernel.
7287         * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7288         specific minimal supported kernel versions to be specified.
7290         * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7291         step data structure.
7292         * wcsmbs/btowc.c: Likewise.
7293         * wcsmbs/mbrtowc.c: Likewise.
7294         * wcsmbs/mbsnrtowcs.c: Likewise.
7295         * wcsmbs/mbsrtowcs.c: Likewise.
7296         * wcsmbs/wcrtomb.c: Likewise.
7297         * wcsmbs/wcsnrtombs.c: Likewise.
7298         * wcsmbs/wcsrtombs.c: Likewise.
7299         * wcsmbs/wctob.c: Likewise.
7301         * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7302         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7304         * shlib-versions: Earliest backward compatible version for SH is 2.2.
7306         * misc/sys/cdefs.h: Remove one more __P.
7308         * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7309         Reported by HJ Lu.
7311         * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7312         * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7313         * sysdeps/sh/bits/setjmp.h: ...here.  New file.
7315 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
7316             Yutaka Niibe  <gniibe@chroot.org>
7318         * configure.in: Add machine sh3, sh4.
7319         * elf/elf.h: Add SH specific declarations of relocations.
7320         * shlib-versions: Add sh*-*-linux* cases.
7322 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
7324         * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7325         * sysdeps/sh/bsd-_setjmp.S: ...here.  New file.
7326         * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7327         * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7328         * sysdeps/sh/bsd-setjmp.S: ...here.  New file.
7329         * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7331         * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7332         instead of KERNEL_MATH_EMULATION.
7333         * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7334         KERNEL_MATH_EMULATION.
7336         * sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
7337         * sysdeps/sh/sh3/dl-machine.h: Moved to...
7338         * sysdeps/sh/dl-machine.h: ...here.  New file.
7339         * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7340         and include generic SH version.
7341         * sysdeps/sh/sh3/bits/endian.h: Move to...
7342         * sysdeps/sh/bits/endian.h: ...here.  New file.
7343         * sysdeps/sh/sh4/bits/endian.h: Removed.
7344         * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7345         * sysdeps/sh/bits/huge_val.h: ...here.  New file.
7346         * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7348         * include/libc-symbols.h (link_warning): Work around a change in
7349         GAS which warns about changing section attributes.
7350         Proposed by Nick Clifton <nickc@redhat.com>.
7352 2000-06-12  H.J. Lu  <hjl@gnu.org>
7354         * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7356 2000-06-11  H.J. Lu  <hjl@gnu.org>
7358         * sysdeps/i386/fpu/Versions: New file.
7360 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
7362         * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7363         parameters.
7364         * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7365         exists.
7367 2000-06-12  Jes Sorensen  <jes@linuxcare.com>
7369         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7370         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7371         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7373         * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7374         * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7375         * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7377 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
7378             Yutaka Niibe  <gniibe@chroot.org>
7380         * sysdeps/sh/Dist: New file.
7381         * sysdeps/sh/Implies: New file.
7382         * sysdeps/sh/elf/initfini.c: New file.
7383         * sysdeps/sh/gmp-mparam.h: New file.
7384         * sysdeps/sh/init-first.c: New file.
7385         * sysdeps/sh/machine-gmon.h: New file.
7386         * sysdeps/sh/memcpy.S: New file.
7387         * sysdeps/sh/memprof.h: New file.
7388         * sysdeps/sh/memset.S: New file.
7389         * sysdeps/sh/sh3/__longjmp.S: New file.
7390         * sysdeps/sh/sh3/bits/endian.h: New file.
7391         * sysdeps/sh/sh3/bits/huge_val.h: New file.
7392         * sysdeps/sh/sh3/bits/setjmp.h: New file.
7393         * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7394         * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7395         * sysdeps/sh/sh3/dl-machine.h: New file.
7396         * sysdeps/sh/sh3/setjmp.S: New file.
7397         * sysdeps/sh/sh4/__longjmp.S: New file.
7398         * sysdeps/sh/sh4/bits/endian.h: New file.
7399         * sysdeps/sh/sh4/bits/huge_val.h: New file.
7400         * sysdeps/sh/sh4/bits/setjmp.h: New file.
7401         * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7402         * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7403         * sysdeps/sh/sh4/dl-machine.h: New file.
7404         * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7405         * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7406         * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7407         * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7408         * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7409         * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7410         * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7411         * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7412         * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7413         * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7414         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7415         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7416         * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7417         * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7418         * sysdeps/sh/sh4/setjmp.S: New file.
7419         * sysdeps/sh/elf/start.S: New file.
7420         * sysdeps/sh/sys/ucontext.h: New file.
7421         * sysdeps/sh/strlen.S: New file.
7422         * sysdeps/sh/sysdep.h: New file.
7423         * sysdeps/unix/sh/sysdep.S: New file.
7424         * sysdeps/unix/sh/sysdep.h: New file.
7425         * sysdeps/unix/sysv/linux/sh/Dist: New file.
7426         * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7427         * sysdeps/unix/sysv/linux/sh/Versions: New file.
7428         * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7429         * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7430         * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7431         * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7432         * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7433         * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7434         * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7435         * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7436         * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7437         * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7438         * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7439         * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7440         * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7441         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7442         * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7443         * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7444         * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7445         * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7446         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7447         * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7448         * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7449         * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7450         * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7451         * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7452         * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7453         * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7454         * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7455         * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7456         * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7457         * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7458         * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7459         * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7460         * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7461         * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7462         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7463         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7464         * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7465         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7466         * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7467         * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7468         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7469         * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7470         * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7471         * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7472         * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7473         * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7474         * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7476 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
7478         * Rules (%.out): Define GCONV_PATH in the environment.
7479         * assert/Depend: New file.
7480         * iconvdata/Depend: New file.
7481         * intl/Depend: New file.
7482         * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7483         * intl/tst-gettext.sh: Likewise.
7484         * iconv/Makefile (routines): Add gconv_trans.
7485         * iconv/gconv_trans.c: New file.
7486         * iconv/gconv.h (struct __gconv_trans_data): New type.
7487         (__gconv_fct): New parameter with starting position in output buffer.
7488         (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7489         __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7490         (struct __gconv_step): Add new member __trans.
7491         * iconv/gconv_int.h: Pretty print prototypes.
7492         (gconv_transliterate): New prototype.
7493         (__BUILTIN_TRANS): Update for new conversion function interface.
7494         * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7495         * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7496         in names, find appropriate function, and install in the conversion
7497         steps it can be used.
7498         * iconv/skeleton.c: Add additional parameter for beginning of output
7499         buffer.  Change calls of downstream functions.
7500         * iconv/loop.c: Change loop function interface completely.  Pass in
7501         step and step_data structure.  Remove optimization for BODY with
7502         NEED_LENGTH_TEST == 0.
7503         * iconv/gconv_simple.c: Update interfaces of functions.  Insert
7504         appropriate error handling code to use transliteration steps.  Remove
7505         optimization for BODY with NEED_LENGTH_TEST == 0.
7506         * iconvdata/8bit-gap.c: Likewise.
7507         * iconvdata/8bit-generic.c: Likewise.
7508         * iconvdata/ansi_x3.110.c: Likewise.
7509         * iconvdata/big5.c: Likewise.
7510         * iconvdata/big5hkscs.c: Likewise.
7511         * iconvdata/euc-cn.c: Likewise.
7512         * iconvdata/euc-jp.c: Likewise.
7513         * iconvdata/euc-kr.c: Likewise.
7514         * iconvdata/euc-tw.c: Likewise.
7515         * iconvdata/gbgbk.c: Likewise.
7516         * iconvdata/gbk.c: Likewise.
7517         * iconvdata/iso-2022-cn.c: Likewise.
7518         * iconvdata/iso-2022-jp.c: Likewise.
7519         * iconvdata/iso-2022-kr.c: Likewise.
7520         * iconvdata/iso646.c: Likewise.
7521         * iconvdata/iso8859-1.c: Likewise.
7522         * iconvdata/iso_6937-2.c: Likewise.
7523         * iconvdata/iso_6937.c: Likewise.
7524         * iconvdata/johab.c: Likewise.
7525         * iconvdata/sjis.c: Likewise.
7526         * iconvdata/t.61.c: Likewise.
7527         * iconvdata/uhc.c: Likewise.
7528         * iconvdata/unicode.c: Likewise.
7529         * iconvdata/utf-16.c: Likewise.
7530         * libio/iofwide.c: Adjust to new interface of gconv functions.  Use
7531         DL_CALL_FCT.
7532         * wcsmbs/btowc.c: Likewise.
7533         * wcsmbs/mbrtowc.c: Likewise.
7534         * wcsmbs/mbsnrtowcs.c: Likewise.
7535         * wcsmbs/mbsrtowcs.c: Likewise.
7536         * wcsmbs/wcrtomb.c: Likewise.
7537         * wcsmbs/wcsnrtombs.c: Likewise.
7538         * wcsmbs/wcsrtombs.c: Likewise.
7539         * wcsmbs/wctob.c: Likewise.
7541 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
7543         * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7544         other header files.  Mention about 128-byte cache line sizes.
7545         (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7546         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7547         for current calling sequence.
7548         * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7550         * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7551         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7553         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7554         and setrlimit syscalls for backwards compatibility.
7556 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
7558         * iconv/skeleton.c:  Rename converted written to correcter name
7559         irreversible.
7560         * iconv/gconv.c: Rename converted variable to correcter name
7561         irreversible.
7562         * iconv/gconv_int.h: Likewise.
7563         * iconv/gconv_simple.c: Likewise.
7564         * iconv/iconv.c: Likewise.
7565         * iconv/loop.c: Likewise.
7566         * iconvdata/8bit-gap.c: Likewise.
7567         * iconvdata/8bit-generic.c: Likewise.
7568         * iconvdata/ansi_x3.110.c: Likewise.
7569         * iconvdata/big5.c: Likewise.
7570         * iconvdata/big5hkscs.c: Likewise.
7571         * iconvdata/euc-cn.c: Likewise.
7572         * iconvdata/euc-jp.c: Likewise.
7573         * iconvdata/euc-kr.c: Likewise.
7574         * iconvdata/gbgbk.c: Likewise.
7575         * iconvdata/gbk.c: Likewise.
7576         * iconvdata/iso-2022-cn.c: Likewise.
7577         * iconvdata/iso-2022-jp.c: Likewise.
7578         * iconvdata/iso-2022-kr.c: Likewise.
7579         * iconvdata/iso646.c: Likewise.
7580         * iconvdata/iso8859-1.c: Likewise.
7581         * iconvdata/iso_6937-2.c: Likewise.
7582         * iconvdata/iso_6937.c: Likewise.
7583         * iconvdata/johab.c: Likewise.
7584         * iconvdata/sjis.c: Likewise.
7585         * iconvdata/t.61.c: Likewise.
7586         * iconvdata/uhc.c: Likewise.
7587         * iconvdata/unicode.c: Likewise.
7588         * iconvdata/utf-16.c: Likewise.
7590         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7591         __cmsg_data field with __extension__.
7593 2000-06-10  David Mosberger  <davidm@hpl.hp.com>
7595         * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7597 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
7599         * iconv/gconv_simple.c: Fix various small bugs in several
7600         functions.
7602         * iconv/loop.c: Fix comment.
7604 2000-06-10  Jakub Jelinek  <jakub@redhat.com>
7606         * elf/link.h: Remove libc internal declarations.
7607         * include/link.h: Move them here.
7609 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
7611         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7612         Patch by Dan Pop <Dan.Pop@cern.ch>.
7614         Rewrite error message handling.
7615         * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7616         _dl_catch_error.
7617         * elf/dl-error (struct catch): Add objname member.
7618         (_dl_signal_error): Take new parameter with object name.  When
7619         passing message on simply store object name and duplicate error
7620         message.
7621         (_dl_catch_error): Take new parameter.  Store object name in the
7622         place pointed to.
7623         * include/dlfcn.h: Adjust _dl_catch_error prototype.
7624         * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7625         * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7626         (dlerror): Add objname to asprintf() parameters.
7627         (_dl_error_run): Pass new parameter to _dl_catch_error.
7628         * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7629         * elf/dl-open.c (_dl_open): Likewise.
7630         * elf/rtld.c (dl_main): Likewise.
7631         * elf/dl-close.c: Mark error messages with N_().
7632         * elf/dl-deps.c: Likewise.
7633         * elf/dl-error.c: Likewise.
7634         * elf/dl-load.c: Likewise.
7635         * elf/dl-open.c: Likewise.
7636         * elf/dl-reloc.c: Likewise.
7637         * elf/dl-support.c: Likewise.
7638         * elf/dl-sym.c: Likewise.
7639         * elf/dl-version.c: Likewise.
7640         * elf/dl-lookup.c: Add comments about problems with error message
7641         translations.
7642         * elf/dl-reloc.c: Likewise.
7643         * elf/dl-version.c: Likewise.
7645 2000-06-09  H.J. Lu  <hjl@gnu.org>
7647         * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7648         after freeing it.
7650         * dlfcn/Makefile (distribute): Add failtestmod.c.
7651         (tests): Add failtest.
7652         Add rules to build and run failtest.
7653         * dlfcn/failtest.c: New file.
7654         * dlfcn/failtestmod.c: New file.
7656 2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>
7658         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7659         * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7660         * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7661         * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7662         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7664 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
7666         * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7667         * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7669 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
7670             Ulrich Drepper  <drepper@redhat.com>
7672         * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7673         * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7674         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7675         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7676         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7677         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7679 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
7681         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7682         to find correct mount point despite wrong information from the
7683         kernel.
7685 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
7687         * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7688         the address of a symbol so function pointers are handled properly.
7690 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
7692         * sysdeps/i386/Dist: Add bp-asm.h.
7694         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7695         defaultdir variable instead of "/var/shm" everywhere.
7696         (defaultdir): Change to /dev/shm/.
7698 2000-06-08  Greg McGary  <greg@mcgary.org>
7700         * sysdeps/i386/bp-asm.h: New file.
7701         * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7702         offsets.  Add ENTER/LEAVE macros for optionally maintaining
7703         frame-pointer chain when debugging.
7704         * sysdeps/i386/add_n.S: Likewise.
7705         * sysdeps/i386/addmul_1.S: Likewise.
7706         * sysdeps/i386/lshift.S: Likewise.
7707         * sysdeps/i386/memchr.S: Likewise.
7708         * sysdeps/i386/memcmp.S: Likewise.
7709         * sysdeps/i386/mul_1.S: Likewise.
7710         * sysdeps/i386/rawmemchr.S: Likewise.
7711         * sysdeps/i386/rshift.S: Likewise.
7712         * sysdeps/i386/stpcpy.S: Likewise.
7713         * sysdeps/i386/stpncpy.S: Likewise.
7714         * sysdeps/i386/strchr.S: Likewise.
7715         * sysdeps/i386/strchrnul.S: Likewise.
7716         * sysdeps/i386/strcspn.S: Likewise.
7717         * sysdeps/i386/strpbrk.S: Likewise.
7718         * sysdeps/i386/strrchr.S: Likewise.
7719         * sysdeps/i386/strspn.S: Likewise.
7720         * sysdeps/i386/strtok.S: Likewise.
7721         * sysdeps/i386/sub_n.S: Likewise.
7722         * sysdeps/i386/submul_1.S: Likewise.
7723         * sysdeps/i386/elf/setjmp.S: Likewise.
7724         * sysdeps/i386/i486/strcat.S: Likewise.
7725         * sysdeps/i386/i486/strlen.S: Likewise.
7726         * sysdeps/i386/i586/add_n.S: Likewise.
7727         * sysdeps/i386/i586/lshift.S: Likewise.
7728         * sysdeps/i386/i586/memcpy.S: Likewise.
7729         * sysdeps/i386/i586/memset.S: Likewise.
7730         * sysdeps/i386/i586/rshift.S: Likewise.
7731         * sysdeps/i386/i586/strchr.S: Likewise.
7732         * sysdeps/i386/i586/strcpy.S: Likewise.
7733         * sysdeps/i386/i586/strlen.S: Likewise.
7734         * sysdeps/i386/i586/sub_n.S: Likewise.
7735         * sysdeps/i386/i686/add_n.S: Likewise.
7736         * sysdeps/i386/i686/memcpy.S: Likewise.
7737         * sysdeps/i386/i686/mempcpy.S: Likewise.
7738         * sysdeps/i386/i686/memset.S: Likewise.
7739         * sysdeps/i386/i686/strcmp.S: Likewise.
7741 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
7743         * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7745         * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7746         256 and don't use OPEN_MAX.
7748         * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7749         use it instead of LINK_MAX.
7750         * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7752 2000-06-08  Andreas Jaeger  <aj@suse.de>
7754         * libio/genops.c (_IO_list_lock): Only compile body if we're
7755         thread safe.
7756         (_IO_list_unlock): Likewise.
7757         (_IO_list_resetlock): Likewise.
7759 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
7761         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7762         unless user defined it.
7764         * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7765         if not defined by the user.
7767         * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7768         * libio/iofwrite.c (_IO_fwrite): Likewise.
7770         * time/time.h: Add missing __THROW for clock_getcpuclockid
7771         prototype.
7773         * elf/Makefile (distribute): Add dl-dtprocnum.h.
7774         * include/elf.h: Include also <dl-dtprocnum.h>.
7775         * elf/dl-deps.c: Likewise.
7776         * elf/dl-lookup.c: Likewise.
7777         * elf/dl-runtime.c: Likewise.
7778         * elf/dl-version.c: Likewise.
7779         * elf/do-rel.h: Likewise.
7780         * elf/dynamic-link.h: Likewise.
7781         * elf/link.h: Likewise.
7782         * elf/rtld.c: Likewise.
7783         * sysdeps/generic/dl-dtprocnum.h: New file.
7784         * sysdeps/ia64/dl-dtprocnum.h: New file.
7785         * sysdeps/mips/dl-dtprocnum.h: New file.
7786         * sysdeps/sparc/dl-dtprocnum.h: New file.
7788         * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7790         * elf/do-lookup.h: Add some __builtin_expect.
7792         * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7794         * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7795         (_dl_dynamic_weak): New variable.
7796         * elf/dl-support.c: Likewise.
7797         * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7798         * elf/do-lookup.h: If we find a weak definition treat it like a
7799         normal symbol unless _dl_dynamic_weak is nonzero.  In the latter
7800         case treat it like before.
7802         * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7803         is in main program.
7804         * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7806         * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7807         using l_map_start and l_map_end.
7809         * elf/dl-version.c: Add __builtin_expect in many places.
7811         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7812         Update.
7814 2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>
7816         Lock for stdio stream list becomes global, for use in LinuxThreads.
7818         * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7819         _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7820         _IO_list_resetlock): New interface for iterating global list of
7821         streams without accessing the _IO_list_all global variable,
7822         and for manipulating the lock which protects this list.
7823         * libio/libioP.h: Likewise.
7824         * libio/Version: Add entries for the new functions.
7826         * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7827         pointer to _IO_FILE.
7829 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
7831         * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7832         BIT() must actually be BITw().
7834         * locale/programs/ld-ctype.c: Handle SP and space consistently.
7836         * locale/programs/charmap.c: Allow string arguments for
7837         code_set_name and repertoiremap.
7839 2000-06-07  Andreas Jaeger  <aj@suse.de>
7841         * elf/Makefile: Build ldconfig only when building shared libraries.
7843 2000-06-07  Jakub Jelinek  <jakub@redhat.com>
7845         * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7846         __USE_ISOC99.
7847         (fdimf, __fdim, fdim): Likewise.
7849 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
7851         * locale/findlocale.c: Add __builtin_expect in many places.
7852         * locale/loadlocale.c: Likewise.
7854 2000-06-06  Greg McGary  <greg@mcgary.org>
7856         * sysdeps/mips/elf/start.S: Trim redundant code.
7858         * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7859         Use C comments throughout.  Line up operands column with tabs.
7860         * sysdeps/powerpc/strchr.S: Likewise.
7861         * sysdeps/powerpc/strcmp.S: Likewise.
7862         * sysdeps/powerpc/strcpy.S: Likewise.
7863         * sysdeps/powerpc/strlen.S: Likewise.
7865         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7866         Get low part of &__curbrk with @l.
7868 2000-06-06  Ulrich Drepper  <drepper@redhat.com>
7870         * iconvdata/utf-16.c: Add __builtin_expect in many places.
7871         * iconvdata/unicode.c: Likewise.
7872         * iconvdata/uhc.c: Likewise.
7873         * iconvdata/t.61.c: Likewise.
7874         * iconvdata/sjis.c: Likewise.
7875         * iconvdata/johab.c: Likewise.
7876         * iconvdata/iso_6937.c: Likewise.
7877         * iconvdata/iso_6937-2.c: Likewise.
7878         * iconvdata/iso8859-1.c: Likewise.
7879         * iconvdata/iso646.c: Likewise.
7880         * iconvdata/iso-2022-kr.c: Likewise.
7881         * iconvdata/iso-2022-jp.c: Likewise.
7882         * iconvdata/iso-2022-cn.c: Likewise.
7883         * iconvdata/gbgbk.c: Likewise.
7884         * iconvdata/gbk.c: Likewise.
7885         * iconvdata/euc-kr.c: Likewise.
7886         * iconvdata/euc-jp.c: Likewise.
7887         * iconvdata/euc-cn.c: Likewise.
7889 2000-06-05  Ulrich Drepper  <drepper@redhat.com>
7891         * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7892         * iconvdata/big5.c: Likewise.
7893         * iconvdata/ansi_x3.110.c: Likewise.
7894         * iconvdata/8bit-generic.c: Likewise.
7895         * iconvdata/8bit-gap.c: Likewise.
7896         * iconv/loop.c: Likewise.
7897         * iconv/gconv_db.c: Likewise.
7898         * iconv/gconv_dl.c: Likewise.
7899         * iconv/gconv_simple.c: Likewise.
7900         * iconv/skeleton.c: Likewise.
7902         * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7903         (struct __gconv_step_data): Rename __is_last to __flags.
7904         * iconv/gconv_close.c: Change all uses of __is_last.
7905         * iconv/skeleton.c: Likewise.
7906         * iconvdata/iso-2022-cn.c: Likewise.
7907         * iconvdata/iso-2022-jp.c: Likewise.
7908         * iconvdata/iso-2022-kr.c: Likewise.
7909         * iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
7910         Recognize IGNORE error handling, set flag, and remove from name.
7911         * iconv/loop.c (ignore_errors_p): Define.
7912         Add flags parameter to both functions.
7913         * iconv/skeleton.c: Pass flags to all conversion functions.
7914         * iconv/gconv_simple.c: Add flags parameter to all functions.
7915         Don't return error for invald error if ignore flag is set.
7916         (ucs4_internal_loop_single): Add missing pointer increment.
7917         (internal_ucs4le_loop_single): Likewise.
7918         * iconv/iconv_prog.c: Implement handling of -c parameter.
7919         * iconvdata/8bit-gap.c: Don't return error for invald error if
7920         ignore flag is set.
7921         * iconvdata/8bit-generic.c: Likewise.
7922         * iconvdata/ansi_x3.110.c: Likewise.
7923         * iconvdata/big5.c: Likewise.
7924         * iconvdata/big5hkscs.c: Likewise.
7925         * iconvdata/euc-cn.c: Likewise.
7926         * iconvdata/euc-jp.c: Likewise.
7927         * iconvdata/euc-kr.c: Likewise.
7928         * iconvdata/gbgbk.c: Likewise.
7929         * iconvdata/gbk.c: Likewise.
7930         * iconvdata/iso-2022-cn.c: Likewise.
7931         * iconvdata/iso-2022-jp.c: Likewise.
7932         * iconvdata/iso-2022-kr.c: Likewise.
7933         * iconvdata/iso646.c: Likewise.
7934         * iconvdata/iso8859-1.c: Likewise.
7935         * iconvdata/iso_6937-2.c: Likewise.
7936         * iconvdata/iso_6937.c: Likewise.
7937         * iconvdata/johab.c: Likewise.
7938         * iconvdata/sjis.c: Likewise.
7939         * iconvdata/t.61.c: Likewise.
7940         * iconvdata/uhc.c: Likewise.
7941         * iconvdata/unicode.c: Likewise.
7942         * iconvdata/utf-16.c: Likewise.
7943         * libio/fileops.c: Likewise.
7944         * libio/iofwide.c: Likewise.
7945         * wcsmbs/btowc.c: Likewise.
7946         * wcsmbs/mbrtowc.c: Likewise.
7947         * wcsmbs/mbsnrtowcs.c: Likewise.
7948         * wcsmbs/mbsrtowcs.c: Likewise.
7949         * wcsmbs/wcrtomb.c: Likewise.
7950         * wcsmbs/wcsnrtombs.c: Likewise.
7951         * wcsmbs/wcsrtombs.c: Likewise.
7952         * wcsmbs/wctob.c: Likewise.
7954         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7955         an error.
7957 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
7959         * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7960         counter for the object we are releasing, just decrement it.
7961         Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7963 2000-06-04  Jakub Jelinek  <jakub@redhat.com>
7965         * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7966         if -ffast-math.
7968 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
7970         * iconvdata/big5hkscs.c: New file.
7971         Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7973         * iconvdata/gconv-modules: Add entry for new module.
7974         * iconvdata/Makefile (modules): Add BIG5HKSCS.
7975         (distribute): Add big5hkscs.c.
7977 2000-06-01  Jakub Jelinek  <jakub@redhat.com>
7979         * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7980         inlines to match prototypes in mathcalls.h.
7981         * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7982         * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7983         * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7984         * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7986 2000-06-03  Ulrich Drepper  <drepper@redhat.com>
7988         * elf/elf.h (SHT_SUNW_move): Define.
7990         * elf/elf.h: Add more Solaris compatiblity definitions.
7992 2000-06-03  Andreas Jaeger  <aj@suse.de>
7994         * sysdeps/powerpc/dl-start.S: Close open comment.
7996 2000-06-03  Jakub Jelinek  <jakub@redhat.com>
7998         * inet/Versions: Fix typo in rresvport_af export.
8000 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
8002         * math/tgmath.h: Pretty print.
8004 2000-06-02  Andreas Jaeger  <aj@suse.de>
8006         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
8007         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8009 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
8011         * elf/rtld.c (process_envvars): Test for = after variable name.
8013 2000-06-01  Ulrich Drepper  <drepper@redhat.com>
8015         * sysdeps/generic/initfini.c (_init): One less relocation.  Don't
8016         have extra call to __gmon_start__, use the pointer we already have.
8018         * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
8019         shifting.
8021         * sysdeps/i386/elf/setjmp.S: Work around change is recent
8022         binutils.  gas now emits a jump through the PLT instead of a
8023         relative jump if the jump target is an exported symbol.
8025 2000-05-31  Ulrich Drepper  <drepper@redhat.com>
8027         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
8029 2000-05-31  Andreas Jaeger  <aj@suse.de>
8031         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
8032         gregset_t.
8034         * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
8035         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8037         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
8038         syscall.
8039         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
8041 2000-05-30  Ulrich Drepper  <drepper@redhat.com>
8043         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
8045         * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
8046         * locale/localeconv.c: Make function versioned (with same definition).
8048         * elf/Makefile (modules-names): Strip before using it.
8050 2000-05-30  Andreas Jaeger  <aj@suse.de>
8052         * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
8053         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8054         * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8055         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8056         * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8057         * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8059 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
8061         * Makefile: Add GNU make magic.
8063         * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8064         Removed.
8065         * inet/rcmd.c: Remove __P.  Remove unused variables.
8066         (iruserfopen): Make first parameter const.
8067         (ruserok_sa): Return result of ruserok2_sa.
8068         (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8069         * inet/rexec.c: Remove unused variables.  Other small cleanups.
8070         * inet/ruserpass.c: Remove __P.  Remove unused variables.
8071         (ruserpass): Check results of memory allocation.
8072         * include/netdb.h: Add prototype for ruserpass.
8074 2000-05-29  Andreas Jaeger  <aj@suse.de>
8076         * elf/readlib.c (interpreters): Use LD_SO since this is supported
8077         for all platforms.
8079 2000-05-29  Jakub Jelinek  <jakub@redhat.com>
8081         * inet/rcmd.c (rresvport_af): Use correct port number.
8083 2000-05-26  Andreas Schwab  <schwab@suse.de>
8085         * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8086         entries in all-sonames.
8087         ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8088         preserving the old name if different for compatibility.
8090 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
8092         * posix/Makefile (tests): Add tst-spawn.
8093         (tst-spawn-ARGS): New variable.
8094         * posix/tst-spawn.c: New file.
8096         * posix/spawn_faction_addclose.c: Correctly account for new entry.
8097         * posix/spawn_faction_adddup2.c: Likewise.
8098         * posix/spawn_faction_addopen.c: Likewise.
8099         * posix/spawni.c: Correctly test for success of dup2 calls.
8101         * posix/tst-preadwrite.c: Check success of malloc call.
8103 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
8105         * posix/Makefile (tests): Add tst-exec.
8106         (tst-exec-ARGS): New variable.
8107         * posix/tst-exec.c: New file.
8109         * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8111 2000-05-04  Andreas Jaeger  <aj@suse.de>
8113         * string/string.h: Remove __strdup prototype, it's not needed in
8114         this file anymore.
8116 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
8118         * posix/Makefile (tests): Add tst-fork.
8119         * posix/tst-fork.c: New file.
8121         * resolv/inet_pton.c: Loose __P.
8123 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
8125         * libio/libioP.h (_IO_CHECK_WIDE): Define.
8126         * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8127         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8128         * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8129         _IO_CHECK_WIDE fails.
8131 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
8133         * po/da.po: New file.
8135         * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8136         Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8138         * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8139         (Other iconv Implementations): Fix typo.
8140         Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8142 2000-05-27  Andreas Jaeger  <aj@suse.de>
8144         * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8145         normal version now.
8146         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8147         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8148         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8149         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8150         * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8151         * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8153         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8154         endianness to decide how to pass arguments.
8155         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8157         * elf/vismain.c: Use test-skeleton interface.
8158         (TEST_FUNCTION): New macro.
8159         (do_test): Renamed from main.
8161 2000-05-27  Ulrich Drepper  <drepper@redhat.com>
8163         * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8164         AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8166         * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
8167         handling of AI_V4MAPPED flag.
8169         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8170         of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8171         perform lookup for T_A type and tell getanswer_r to convert the
8172         result with new argument.
8173         (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8174         Don't convert addresses from IPv4 to IPv6 here.
8175         (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8176         IPv6 is wanted.  Allow qtype and type from reply to disagree if
8177         IPv4 mapping has to be done.  Perform mappings if required by the
8178         caller and not if RES_USE_INET6 bit in _res.options is set.
8179         Add several __builtin_expect.
8181 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
8183         * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8185         * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8186         NULL.
8188         * posix/tst-preadwrite.c: Allow parallel execution of
8189         tst-preadwrite and tst-preadwrite64.
8191         * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8192         * posix/tst-truncate.c: New file.
8193         * posix/tst-truncate64.c: New file.
8195         * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8196         was switched.
8198         * posix/Makefile (tests): Add tst-preadwrite64.
8199         * posix/tst-preadwrite.c: Alloc file being used also for testing
8200         pread64 and pwrite64.
8201         * posix/tst-preadwrite64.c: New file.
8203 2000-05-26  Andreas Jaeger  <aj@suse.de>
8205         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
8206         of arguments dependend on endianness.
8207         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
8209         * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
8210         normal version now.
8211         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8212         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8213         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8214         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8216         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
8217         endianness to check how to pass argument.
8218         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8220         * elf/ldconfig.h: Update parameter list for process_elf_file.
8222         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
8223         Add parameter file_length and pass it ot process_elf*file.
8225         * sysdeps/generic/readelflib.c (check_ptr): New.
8226         (process_elf_file): Use check_ptr to check all accesses to the
8227         mmapped file. Add parameter file_length.
8229         * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
8230         library names.
8232         * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
8233         Closes PR libc/1573, reported by Bradley White
8234         <bww@laurelnetworks.com>.
8236 2000-05-25  Ulrich Drepper  <drepper@redhat.com>
8238         * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
8239         __FAST_MATH__ is defined.
8241 2000-05-22  Andreas Jaeger  <aj@suse.de>
8243         * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
8244         CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
8246         * manual/math.texi (FP Function Optimizations): Document gcc
8247         -ffast-math behaviour with mathinlines.
8249         * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
8250         functions unless -ffast-math is given to gcc.
8252 2000-05-23  Jakub Jelinek  <jakub@redhat.com>
8254         * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
8255         __sincosl): Guard with __USE_GNU.
8257 2000-05-24  Ulrich Drepper  <drepper@redhat.com>
8259         * csu/Makefile (routines): Add check_fds.
8260         * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
8261         binaries.  Add various __builtin_expect.
8262         * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8263         * sysdeps/generic/check_fds.c: ...here.  New file.
8265         * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8266         binaries if file /etc/suid-debug is available.
8268         * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8269         and wcseqorder members.
8270         (struct locale_collate_t): Likewise.
8271         (collate_finish): Assign collation sequence value to each character.
8272         Create tables for output.
8273         (collate_output): Write out tables with collation sequence information.
8274         * locale/C-collate.c: Provide C locale data for collation sequence
8275         table.
8276         * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8277         _NL_COLLATE_COLLSEQWC.
8278         * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8279         _NL_COLLATE_COLLSEQWC.
8280         * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8281         include fnmatch_loop.c.
8282         * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8283         character is matched by range expression.  Use collation sequence
8284         table.  Outside glibc fall back on simple character value comparison.
8286 2000-05-24  Andreas Jaeger  <aj@suse.de>
8288         * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8289         words.
8291         * intl/Makefile: Run gettext-test only if msgfmt is available.
8293         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8294         Define it for newer kernels.
8296 2000-05-23  Ulrich Drepper  <drepper@redhat.com>
8298         * elf/dl-sym.c: Minor cleanups.
8300         * configure.in: Add test for .protected.
8301         * config.make.in: Add have-protected variable.
8302         * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8303         (tests-vis-yes): Add vismain.
8304         (modules-names): Add $(modules-vis-$(have-protected)).
8305         (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8306         Add rules to generate and run vismain.
8307         * elf/vismain.c: New file.
8308         * elf/vismod1.c: New file.
8309         * elf/vismod2.c: New file.
8310         * elf/vismod3.c: New file.
8312 2000-05-23  Andreas Jaeger  <aj@suse.de>
8314         * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8316         * manual/search.texi (Array Sort Function): Document that qsort is
8317         not necessarily in-place.
8319         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8320         Closes PR libc/1731.
8322         * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8323         * dirent/scandir64.c: Likewise.
8324         * pwd/getpw.c: Likewise.
8325         * stdlib/bsearch.c (bsearch): Likewise.
8326         * stdlib/tst-strtoll.c: Likewise.
8327         * localedata/collate-test.c: Likewise.
8328         * localedata/xfrm-test.c: Likewise.
8329         * posix/bsd-getpgrp.c: Likewise.
8330         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8331         * sysdeps/generic/bits/siginfo.h: Likewise.
8332         * sysdeps/generic/bits/sockaddr.h: Likewise.
8333         * sysdeps/generic/sys/swap.h: Likewise.
8334         * sysdeps/generic/sys/sysinfo.h: Likewise.
8335         * sysdeps/generic/vfork.c: Likewise.
8336         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8337         * sysdeps/mach/hurd/fdopen.c: Likewise.
8338         * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8339         * sysdeps/unix/sysv/linux/poll.c: Likewise.
8340         * sysdeps/unix/sysv/linux/readv.c: Likewise.
8341         * sysdeps/unix/sysv/linux/writev.c: Likewise.
8342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8343         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8344         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8346         * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8347         * shadow/lckpwdf.c: Likewise.
8348         * stdlib/tst-strtol.c: Likewise.
8349         * sysdeps/generic/tcsetattr.c: Likewise.
8350         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8351         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8353 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
8355         * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8356         free it and set to (void *) -1.
8358 2000-05-22  Jakub Jelinek <jakub@redhat.com>
8360         * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8361         not the second character in the range.
8362         * stdio-common/tstscanf.c (main): Add testcase for the above.
8363         Reported by jik@kamens.brookline.ma.us.
8365 2000-05-21  H.J. Lu  <hjl@gnu.org>
8367         * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8368         with noexec and noplt parameter.
8369         (do_lookup): Likewise.
8371         * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8372         do_lookup.  Support STV_PROTECTED.
8373         (_dl_lookup_symbol_skip): Likewise.
8374         (_dl_lookup_versioned_symbol): Likewise.
8375         (_dl_lookup_versioned_symbol_skip): Likewise.
8377         * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8379         * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8381 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
8383         * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8384         * sysdeps/i386/bits/huge_val.h: Likewise.
8385         * sysdeps/ieee754/bits/huge_val.h: Likewise.
8386         * sysdeps/m68k/bits/huge_val.h: Likewise.
8387         * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8388         * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8390 2000-05-22  Andreas Jaeger  <aj@suse.de>
8392         * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8393         change in iconv.h.
8395 2000-05-19  Andreas Jaeger  <aj@suse.de>
8397         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8398         (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8399         breaks compilation without linuxthreads.
8401 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
8403         * sysdeps/ia64/memccpy.S: New file.
8404         * sysdeps/ia64/memchr.S: New file.
8405         * sysdeps/ia64/memcmp.S: New file.
8406         * sysdeps/ia64/memcpy.S: New file.
8407         * sysdeps/ia64/memmove.S: New file.
8408         * sysdeps/ia64/memset.S: New file.
8409         * sysdeps/ia64/strcat.S: New file.
8410         * sysdeps/ia64/strchr.S: New file.
8411         * sysdeps/ia64/strcmp.S: New file.
8412         * sysdeps/ia64/strcpy.S: New file.
8413         * sysdeps/ia64/strlen.S: New file.
8414         * sysdeps/ia64/strncmp.S: New file.
8415         * sysdeps/ia64/strncpy.S: New file.
8416         * sysdeps/ia64/softpipe.h: New file.
8417         Patches by Dan Pop <Dan.Pop@cern.ch>.
8419         * manual/memory.texi: Document memory handling functions (mlock,
8420         munlock, mlockall, munlockall, brk, and sbrk)
8421         * manual/time.texi: Document timespec and friends.
8422         * manual/conf.texi: Fix references.
8423         * manual/ctype.texi: Likewise.
8424         * manual/errno.texi: Likewise.
8425         * manual/intro.texi: Likewise.
8426         * manual/locale.texi: Likewise.
8427         * manual/sysinfo.texi: Likewise.
8428         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8430 2000-05-09  Jes Sorensen  <jes@linuxcare.com>
8432         * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8433         * sysdeps/ia64/dl-lookupcfg.h: ...here.
8435 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
8437         * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8438         dxfer_direction.
8440 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
8442         * locale/locale.h (struct lconv): Add new elements from ISO C99.
8443         * locale/localeconv.c: Initialize new elements from ISO C99.
8444         * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8445         new standard elements.
8446         * locale/categories.def: Adjust accordingly.
8448         * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8449         * iconv/iconv.c: Likewise.
8450         * conform/data/iconv.h-data: Likewise.
8451         * iconv/iconv_prog.c (process_block): Remove const from second
8452         parameter.
8453         (main): Remove const from addr definition.
8454         * manual/charset.texi (Generic Conversion Interface): Remove from
8455         inbuf parameter of iconv.
8457         * intl/dcigettext.c: Fix typo in comment.
8459 2000-05-20 2000  H.J. Lu  <hjl@gnu.org>
8461         * resolv/res_libc.c (_res): Initialize _sock to -1.
8463 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
8465         * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8466         (fopencookie@@GLIBC_2.2): New.
8467         (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8468         (fopencookie@GLIBC_2.0): New.
8469         * libio/Versions: Add fopencookie to GLIBC_2.2.
8471 2000-05-18  Andreas Jaeger  <aj@suse.de>
8473         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8474         Closes PR libc/1731.
8476         * manual/arith.texi (Parsing of Integers): Fix typo.
8477         Closes PR libc/1744, reported by blp@gnu.org.
8479 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
8481         * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8482         __extension__ to hexadecimal floating constant notation.
8483         * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8484         Likewise.
8485         * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8486         * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8487         Likewise.
8488         * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8489         HUGE_VALL): Likewise.
8490         * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8491         HUGE_VALL): Likewise.
8492         (HUGE_VALL): Set to HUGE_VAL on sparc32.
8494 2000-05-17  Andreas Jaeger  <aj@suse.de>
8496         * string/envz.h: Add pure attributes if possible.
8498         * string/argz.h: argz_count is a pure function.
8500         * string/strings.h: Add pure and const attributes if possible.
8502         * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8503         possibly searching through the whole memory.
8504         Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8506 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
8508         * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8509         not yet defined.
8510         (_dl_cache_check_flags): Likewise.
8511         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8512         dl-cache.h.
8514 2000-05-17  Andreas Jaeger  <aj@suse.de>
8516         * manual/creature.texi (Feature Test Macros): Remove paragraph
8517         since the description is wrong.
8518         Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8520         * scripts/config.sub: New version.
8521         * scripts/config.guess: Likewise.
8522         * manual/texinfo.tex: Likewise.
8524         * time/test_time.args: Removed.
8525         * time/Makefile (test_time-ARGS): Added contents here instead.
8527         * posix/tstgetopt.args: Removed.
8528         * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8530         * Rules: Allow arguments for test files to be specified in
8531         Makefile with testname-ARGS; remove rules with .args in it.
8533         * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8534         remove old bogus rule for opendir-tst1.args.
8536         * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8538         * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8539         into objdir.  This allows a readonly sourcetree.
8540         Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8542 2000-05-16  Andreas Jaeger  <aj@suse.de>,
8543             David Huggins-Daines <dhd@linuxcare.com>
8545         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8546         cache_data in case of only new cache format correctly.
8548         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8549         cache_file_new.
8551         * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8552         struct cache_file_new.
8554         * elf/cache.c (save_cache): Fix str_offset if only new cache is
8555         present.
8557         * elf/cache.c (save_cache): Align struct new_file_cache.
8558         (print_cache): Likewise.
8560 2000-05-13  Jakub Jelinek  <jakub@redhat.com>
8562         * elf/soinit.c (__libc_global_ctors): Move
8563         __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8564         * resolv/resolv.h (__res_state): Added __attribute__((const)).
8565         (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8566         variable, don't define it to __res_state call.
8568 2000-05-13  Andreas Jaeger  <aj@suse.de>
8570         * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8571         Linux 2.3.99pre7.
8572         (AF_PPPOX): Likewise.
8573         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8574         (AF_PPPOX): Likewise.
8576 2000-05-12  Andreas Jaeger  <aj@suse.de>
8578         * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8579         Reported by tmoestl@gmx.net, closes PR libc/1732.
8581 2000-05-11  Jan Hubicka  <jh@suse.cz>
8583         * misc/sys/cdefs.h: Add support for pure attribute.
8585         * include/string.h: Add __attribute_pure__ to various functions.
8586         * string/string.h: Likewise.
8588 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
8590         * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8591         argument.
8592         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8593         R_SPARC_UA64.
8594         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8596 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
8598         * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8599         at proper place.  Compute the high nibble correctly.
8601 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
8603         * elf/ldconfig.c: Include elf.h.
8605         * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8606         (_dl_vsym): Likewise.
8607         Reported by Owen Taylor <otaylor@redhat.com>.
8609         * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8610         always.
8612 2000-05-08  Andreas Jaeger  <aj@suse.de>
8614         * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8616         * intl/bindtextdom.c (set_binding_values): Add prototype.
8618 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
8620         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8621         call to elf_machine_fixup_plt.
8622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8625 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
8627         * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8628         they are not dlclose'd from underneath us.
8630 2000-05-08  Andreas Schwab  <schwab@suse.de>
8632         * posix/execle.c: Fix size parameter of memcpy.
8634 2000-05-08  Andreas Schwab  <schwab@suse.de>
8636         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file.  Use
8637         getpagesize syscall if available.
8639 2000-05-08  Andreas Jaeger  <aj@suse.de>
8641         * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8642         set errno.
8644 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
8646         * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8647         sizeof(struct link_map *) chunks, not in bytes.
8649 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
8651         * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS.  It's
8652         only needed for locale.
8653         * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8654         It's only needed for catgets.
8655         Patches by Greg McGary <gkm@eng.ascend.com>.
8657 2000-05-07  Mark Kettenis  <kettenis@gnu.org>
8659         * nss/nss_db/db-open.c: Cleanup and add comments.  Pretty print.
8660         Remove duplicate <errno.h> include.  Remove inclusion of
8661         <libintl.h> and "nsswitch.h".
8662         (set_cloexec_flag): New function, broken out of dbopen.
8663         (dbopen): Changed return type to `enum
8664         nss_status'.  Mostly rewritten to make sure that we do not report
8665         NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
8666         (internal_setent): Change return type to nss_status.
8667         Document, and make sure that the function
8668         behaves accordingly.  Make dynamically loading the database
8669         library really thread-safe and return NSS_STATUS_UNAVAIL if it
8670         failed.
8671         (db_cursor): Return ENOMEM is memory allocation failed.  Remove
8672         unecessary casts.
8673         * nss/nss_db/dummy-db.h: Add copyright notice.  Improve
8674         documentation.
8675         (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8676         c_get function member.
8677         * nss/nss_db/nss_db.h: Add and tweak some comments.
8678         (DBT): Move typedef before NSS_DBC typedef.
8679         (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8681 2000-05-07  H.J. Lu  <hjl@gnu.org>
8683         * csu/initfini.c: Moved to ....
8684         * sysdeps/generic/initfini.c: ...here.
8686         * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8688 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
8690         * manual/resource.texi: Document POSIX scheduling functions.
8691         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8693         * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8694         reading anything.  Reported by Andries.Brouwer@cwi.nl.
8696         * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8697         for x since promotion in comparison might leads to unexpected
8698         results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
8700         * iconv/Makefile (tests): Add tst-iconv1.
8701         * iconv/tst-iconv1.c: New file.
8702         * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8703         empty input buffer over full output buffer.
8704         (ucs4_internal_loop): Likewise.
8705         (ucs4_internal_loop_unaligned): Likewise.
8706         (internal_ucs4le_loop): Likewise.
8707         (internal_ucs4le_loop_unaligned): Likewise.
8708         (ucs4le_internal_loop): Likewise.
8709         (ucs4le_internal_loop_unaligned): Likewise.
8710         Reported by yaoz@nih.gov.
8712 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
8714         * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8715         returned != __GCONV_OK, there is nothing to clean up.
8717 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
8719         * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8720         OUTPUT_CHARSET environment variables.
8722 2000-05-06  Andreas Jaeger  <aj@suse.de>
8724         * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8725         (struct cache_file_new): New.
8726         (struct file_entry): New (moved from cache.c).
8727         (struct cache_file): New (moved from cache.c).
8729         * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8730         from _dl_load_cache_lookup.
8731         (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8732         the different cache formats.
8733         New variable cache_new for new format.
8735         * elf/ldconfig.h: Change according to changes in cache.c and
8736         ldconfig.c; remove cache_libcmp; add opt_format.
8738         * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8739         stuff that's defined in those headers.
8740         Add hwcap to struct lib_entry.
8741         (opt_format): New variable to select cache format.
8742         (options): Add format parameter.
8743         (is_hwcap): New function.
8744         (path_hwcap): New function.
8745         (parse_opt): Handle new format parameter.
8746         (search_dir): Handle hwcap, search also subdirectories with hwcap.
8748         * elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
8749         ldconfig is part of glibc.
8750         Include dl-cache.h and remove stuff that's defined there.
8751         (struct cache_entry): Add new member hwcap.
8752         (print_entry): Print hwcap, cleanup a bit.
8753         (print_cache): Print new and old formats.
8754         (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8755         (save_cache): Save new and old formats.
8756         (add_to_cache): Handle hwcap.
8758         * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8759         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8760         * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8761         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8762         * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8763         * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8765 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
8767         * intl/dcigettext.c (alignof): New macro.
8768         (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8769         buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8770         freemem_size to 0.
8772 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
8774         * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8775         return value.
8777 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
8779         * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8780         (mempcpy): Correct typo is parameter list.
8782 2000-05-06  Andreas Jaeger  <aj@suse.de>
8784         * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8785         functions unless -ffast-math is given to gcc.
8787 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
8789         * po/ko.po: Update from translation team.
8791 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
8793         * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8794         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8795         * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8796         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8797         * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8798         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8800         * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8801         * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8802         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8804         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8805         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8806         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8807         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8809         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8810         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8812 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
8814         * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8815         * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8817         * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8818         * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8820         * sysdeps/ia64/Implies: New file.
8821         * sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
8822         * sysdeps/ia64/Makefile: New file.
8823         * sysdeps/ia64/gmp-mparam.h: New file,
8825         * sysdeps/ia64/elf/start.S: New file.
8827         * sysdeps/ia64/bits/fenv.h: New file.
8829 2000-05-05  David Mosberger-Tang  <davidm@hpl.hp.com>
8831         * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8833 2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>
8835         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
8836         ia64 has 64 bit .hash entries just as the Alpha.
8838 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
8840         * sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.
8842 2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>
8844         * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8845         * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8846         * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8847         * sysdeps/ia64/fpu/fegetenv.c: New file.
8848         * sysdeps/ia64/fpu/fegetexcept.c: New file.
8849         * sysdeps/ia64/fpu/fegetround.c: New file.
8850         * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8851         * sysdeps/ia64/fpu/fesetenv.c: New file.
8852         * sysdeps/ia64/fpu/fesetround.c: New file.
8853         * sysdeps/ia64/fpu/feupdateenv.c: New file.
8854         * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8855         * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8856         * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8857         * sysdeps/ia64/fpu/ftestexcept.c: New file.
8859 2000-05-05  Andreas Jaeger  <aj@suse.de>
8861         * misc/tst-tsearch.c (main): Correct type for initstate argument.
8863         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8864         (_dl_string_hwcap): New, does nothing.
8866         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8867         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8868         (_dl_string_hwcap): New function, converts from string to hwcap
8869         encoding.
8870         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8871         (_DL_HWCAP_COUNT): New.
8872         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8873         (_dl_string_hwcap): New function, converts from string to hwcap
8874         encoding.
8875         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8876         (_DL_HWCAP_COUNT): New.
8877         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8878         (_dl_string_hwcap): New function, converts from string to hwcap
8879         encoding.
8881 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
8883         * elf/Makefile (distribute): Add dl-lookupcfg.h.
8884         * sysdeps/ia64/Dist: New file.
8886         * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8887         parameter to mprotect and for variable assignments.
8889 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
8891         * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8892         validity of map before dereferencing it.
8894         * elf/dl-reloc.c (RESOLVE_MAP): Define.
8896 2000-05-02  Jes Sorensen  <jes@linuxcare.com>
8898         * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8899         lookup to the arguments to elf_machine_fixup_plt().
8901         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8902         of the symbol being resolved to input argument list and make the
8903         function return the pointer to the reloc.
8905         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8906         return valuie to lookup_t and return the value.
8907         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8908         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8909         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8910         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8914         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8915         Make it an inline function returning value after calling
8916         __elf_machine_fixup_plt().
8918         * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8919         symbol address.
8921         * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8922         obtain the symbol address.
8924         * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8925         depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8927         * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8928         _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8929         inline on non ia64.
8931 2000-04-28  Jes Sorensen  <jes@linuxcare.com>
8933         * elf/dl-runtime.c (fixup): Use the portable macros to get the
8934         symbol address of an object.
8936         * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8937         the symbol address of an object.
8939         * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8940         * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8941         (_dl_lookup_symbol_skip): Likewise.
8942         (_dl_lookup_versioned_symbol): Likewise.
8943         (_dl_lookup_versioned_symbol_skip): Likewise.
8945 2000-04-27  Jes Sorensen  <jes@linuxcare.com>
8947         * elf/rtld.c (_dl_start): Get the function pointer return address
8948         via _dl_start_address for architectures that need a function
8949         pointer descriptor rather than just a pointer (ia64).
8951         * sysdeps/generic/dl-lookupcfg.h: New file.
8952         * sysdeps/ia64/dl-lookupcfg.h: New file.
8953         * sysdeps/ia64/dl-machine.h: New file.
8954         * sysdeps/ia64/dl-symaddr.c: New file.
8955         * sysdeps/ia64/dl-fptr.c: New file.
8957         * elf/elf.h: Add IA-64 specific definitions.
8959 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
8961         * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8962         end of enum.
8964 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
8966         * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8967         happy.
8969 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
8971         * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8972         symbol.  Call _dl_init rather than the old way.
8974 2000-05-04  Ulrich Drepper  <drepper@redhat.com>
8976         * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8977         test for pointer in range of DSO address space.
8979 2000-05-04  Andreas Jaeger  <aj@suse.de>
8981         * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8983 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
8985         * locale/findlocale.c (_nl_find_locale): Add new parameter to
8986         calls of _nl_make_l10nflist.
8988         * libio/stdio.h: Make fseeko and ftello prototypes available is
8989         __USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.
8991         * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8992         real unsetenv implementation from 1999-07-29 [PR libc/1714].
8994 2000-05-03  Bruno Haible  <haible@clisp.cons.org>
8996         * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8997         before calling tfind.
8999 2000-03-05  Jakub Jelinek  <jakub@redhat.com>
9001         * resolv/resolv.h (res_querydomain): Remove redefinition to
9002         __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
9004 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
9006         * po/gl.po: Update from translation team.
9008         * manual/intro.texi (Program Basics): Change section title.
9009         * manual/process.texi: Fix reference.
9010         (Executing a File): Add reference exec in other section.
9011         * manual/signal.texi: Fix reference.
9012         * manual/startup.texi: Document syscall function.
9013         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9015 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
9017         * intl/libintl.h (bind_textdomain_codeset): New declaration.
9018         * intl/bindtextdom.c (set_binding_values): New function.
9019         (bindtextdomain): Call it.
9020         (bind_textdomain_codeset): New function.
9021         * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
9022         (free_mem): Free each binding's codeset.
9023         * intl/gettextP.h (struct binding): Add codeset field.
9024         (_nl_find_domain): Add domainbinding argument.
9025         * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
9026         Pass it to _nl_make_l10nflist.
9027         * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
9028         (_nl_make_l10nflist): Add domainbinding argument.
9029         * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
9030         * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
9031         codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
9032         locale_charset().
9033         * manual/message.texi: New node "Charset conversion in gettext".
9035 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
9037         * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
9038         appropriate.  Handle possible __read error.
9040 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
9042         * intl/gettextP.h (__builtin_expect): Define as empty if not a
9043         compiler builtin.
9044         * intl/loadinfo.h (__builtin_expect): Likewise.
9045         * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
9046         __builtin_expect where appropriate.
9047         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9048         * intl/localealias.c (extend_alias_table): Return an error indicator.
9049         (read_alias_file): Bail out if extend_alias_table fails.
9051 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
9053         * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9054         * intl/localealias.c: Likewise.
9056 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
9058         * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9059         Initialize domain->plural and domain->nplurals even if there is no
9060         nullentry.
9062 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
9064         * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9065         value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9066         In case of failure, goto converted.
9068 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
9070         * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9071         * iconv/gconv_int.h (norm_add_slashes): Move to here.
9072         * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9073         __gconv_open.
9075 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
9077         * intl/dcigettext.c (transcmp): Compare the domains as well.
9078         (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9079         not before.
9080         * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9081         <errno.h>.
9083 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
9085         * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9086         Reported by Bruno Haible.
9088 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
9090         * manual/arith.texi: Remove @w from @itemize.
9092 2000-05-02  Andreas Jaeger  <aj@suse.de>
9094         * conform/data/tar.h-data: Add some checks for specific values.
9096         * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9097         and RAND_MAX.
9099         * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9100         FOPEN_MAX.
9102         * conform/data/netinet/in.h-data: Add exact checks for the values
9103         fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9105         * conform/data/float.h-data: Add some minimal values.
9107         * conform/conformtest.pl: Test for macros with string constants,
9108         check for minimum and maximum values.
9109         Add limits.h to headers.
9111         * conform/data/cpio.h-data: Test for value of MAGIC.
9113         * conform/data/limits.h-data: New file.
9115 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
9117         * math/Makefile (headers): Add bits/fenvinline.h.
9119 2000-05-01  Ulrich Drepper  <drepper@redhat.com>
9121         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9122         * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9124         * posix/Versions: Change posix_spawnattr_getdefault and
9125         posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9126         and posix_spawnattr_setsigdefault respectively.
9127         * posix/spawn.h: Likewise.
9128         * posix/spawnattr_getdefault.h: Likewise.
9129         * posix/spawnattr_setdefault.h: Likewise.
9130         * conform/data/spawn.h-data: Likewise.
9132 2000-05-01  Andreas Jaeger  <aj@suse.de>
9134         * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9136 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
9138         * manual/sysinfo.texi: Document getdomainname, setdomainname
9139         and sysctl.
9140         * manual/string.texi: Fix typo.
9141         * manual/terminal.texi: Document gtty and stty.
9142         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9144 2000-04-30  Andreas Jaeger  <aj@suse.de>
9146         * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9147         accordance with Austin Draft.
9149 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
9151         * catgets/gencat.c (read_input_file): Use isblank and not isspace
9152         to recognize second character in comment line.
9154         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9155         ENOBUFS if we are out of memory.
9157         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9158         available if __USE_XOPEN2K.
9159         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9160         * sysdeps/unix/common/bits/fcntl.h: Likewise.
9161         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9163         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9165         * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9166         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9168 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
9170         * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9171         Recognize option -s, -c, and -l.
9173 2000-04-20  Thorsten Kukuk  <kukuk@suse.de>
9175         * nscd/nscd.c: Start new session for nscd, drop privilegs
9176         to configured user if requested and no -S parameter are used.
9177         * nscd/nscd.conf: Add new option "server-user".
9178         * nscd/nscd_conf.c: Add support for new "server-user" option.
9179         * nscd/nscd.h: Add declaration for server_user variable.
9180         Based on patch by Chris Wing <wingc@engin.umich.edu>
9182 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
9184         * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9185         that changing the __restore and __restore_rt signal return code
9186         will break GDB.
9188 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
9190         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9191         <sys/user.h>.
9193 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
9195         * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9197 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
9199         * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9200         sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
9201         arpa/inet.h.
9202         * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
9203         SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
9204         S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
9205         S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
9206         S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
9207         POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
9208         POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
9209         posix_fallocate, and posix_madvise.
9210         * conform/data/netdb.h-data: New file.
9211         * conform/data/pthread.h-data: Add pthread_barrier_t,
9212         pthread_barrierattr_t, pthread_barrier_destroy,
9213         pthread_barrier_init, pthread_barrier_wait,
9214         pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
9215         pthread_barrierattr_init, pthread_barrierattr_setpshared,
9216         pthread_condattr_getclock, pthread_condattr_setclock,
9217         pthread_getcpuclockid, pthread_mutex_timedlock,
9218         pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
9219         pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
9220         pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
9221         * conform/data/sched.h-data: Add sched_ss_low_priority,
9222         sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
9223         SCHED_SPORADIC.
9224         * conform/data/semaphore.h-data: Add sem_timedwait.
9225         * conform/data/signal.h-data: Add SIGIO.
9226         * conform/data/spawn.h-data: New file.
9227         * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
9228         * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
9229         CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
9230         Fix typo in gmtime_r definition.
9231         * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
9232         _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
9233         _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
9234         _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
9235         _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
9236         _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
9237         _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
9238         _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
9239         _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
9240         _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
9241         _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
9242         _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
9243         _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
9244         _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
9245         _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
9246         _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
9247         _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
9248         _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
9249         _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
9250         _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid.  Fix
9251         typo in off_t definition.
9252         * conform/data/net/if.h-data: New file.
9253         * conform/data/netinet/in.h-data: New file.
9254         * conform/data/netinet/tcp.h-data: New file.
9255         * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
9256         POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
9257         POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
9258         POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
9259         posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
9260         and posix_typed_mem_open.
9261         * conform/data/sys/socket.h-data: New file.
9262         * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9263         * conform/data/sys/types.h-data: Add pthread_barrier_t,
9264         pthread_barrierattr_t, and pthread_spinlock_t.
9265         * conform/data/sys/un.h-data: New file.
9266         * conform/data/sys/utsname.h-data: New file.
9268         * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9269         parameter.
9270         * inet/gethstbyad.c (gethostbyname): Likewise.
9271         * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9272         * inet/getipnodebyad.c (getipnodebyad): Likewise.
9273         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9274         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9275         Likewise.
9276         * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9277         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9278         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9279         * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9280         * resolv/gethnamaddr.c (gethostbyname): Likewise.
9281         * resolv/netdb.h (struct hostent): Fix type of h_length member.
9282         (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9283         and second parameter.
9285         * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9286         == NULL.
9288 2000-04-29  Andreas Jaeger  <aj@suse.de>
9290         * conform/data/arpa/inet.h-data: New file.
9292 2000-04-28  Geoff Clare <gwc@unisoft.com>
9294         * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9295         path passed to ftw() or nftw() is an empty string.
9296         Closes PR libc/1710.
9298 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
9300         * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9301         (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9302         * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9303         * localedata/tst-mbswcs4.c: New file.
9304         * localedata/tst-mbswcs5.c: New file.
9306         * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9307         == NULL.  Little optimization.
9309         * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9310         DT_PREINIT_ARRAYSZ).
9311         Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9313         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9314         overflows in conversion from ASCII.
9316 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
9318         * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9319         * Makerules (full_config_sysdirs): Likewise.
9320         * MakeTAGS (full_config_sysdirs): Likewise.
9322 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
9324         * .cvsignore: Remove linuxthreads.
9325         * po/.cvsignore: Remove *.pot.
9326         * posix/glob/.cvsignore: Removed.
9327         * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9329 2000-04-25  Andreas Jaeger  <aj@suse.de>
9331         * conform/Makefile (distribute): Also distribute contents of
9332         subdirectories.
9334         * Makerules (no_deps): Remove abi-versions.h.
9336         * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9338 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
9340         * sysdeps/sparc/sparc64/elf/Dist: Remove.
9341         * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9342         * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9343         * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9344         * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9345         * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9346         objects.
9348 2000-04-25  Thorsten Kukuk  <kukuk@suse.de>
9350         * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9352 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
9354         * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9355         * intl/l10nflist.c: Likewise.
9357 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
9359         * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9360         __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9361         * intl/textdomain.c [!_LIBC]: Likewise.
9362         * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9363         __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9364         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9365         syntax error.
9367 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
9369         * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9370         character set conversion also in the case the translation was found
9371         after a hash collision or through binary search.  Store the maximum
9372         index together with the converted message.  Use iconv() when available.
9373         In case of out of memory during conversion, return the unconverted
9374         translated string, not NULL.
9376 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
9378         * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9379         to avoid name clashes with the ia32 linker.
9381 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
9383         * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9384         handling.
9386 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
9388         * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9389         strtoumax, strfry, and memfrob.
9390         * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9391         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9393         * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9394         if this function is available.
9396         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9397         all values.
9399 2000-04-27  Jakub Jelinek  <jakub@redhat.com>
9401         * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9403 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
9405         * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9406         Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9407         * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9408         * localedata/tst-mbswcs3.c: New file.
9410 2000-04-26  Ulrich Drepper  <drepper@redhat.com>
9412         * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9413         characters.  Don't handle incomplete characters as errors.
9414         * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9415         * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9416         Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9417         * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9418         * localedata/tst-mbswcs2.c: New file.
9420         * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9421         stored character in state in UNPACK_BYTES macro.
9422         * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
9423         test for available characters, handle result of BODY code correctly.
9424         * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9425         (distribute): Add tst-mbswcs.sh.
9426         Add rule to run tst-mbswcs.sh.
9427         * localedata/tst-mbswcs.sh: New file.
9428         * localedata/tst-mbswcs1.c: New file.
9430 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
9432         * nis/nis_callback.c (__nis_create_callback): Do failed memory
9433         allocation fixups centrally, fix __builtin_expect call, return NULL
9434         on failure, not NIS_NOMEMORY.
9436 2000-04-27  Bruno Haible  <haible@clisp.cons.org>
9438         * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9440         * intl/loadinfo.h (internal_function): Define if not already defined.
9442 2000-04-27  Andreas Jaeger  <aj@suse.de>
9444         * intl/libintl.h: Fix typo, reported by Bruno Haible
9445         <haible@clisp.cons.org>.
9447 2000-04-25  Ulrich Drepper  <drepper@redhat.com>
9449         * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9450         setting the state to GMON_PROF_BUSY.
9452 2000-04-24  Ulrich Drepper  <drepper@redhat.com>
9454         * elf/dl-profile.c (_dl_start_profile): define all variables which
9455         do not have to be global as local variables.
9457         * nis/nis_callback.c (__nis_create_callback): Partially undo last
9458         patch.  Keep needed tests for failed memory allocation.
9460         * elf/dl-reloc.c (_dl_relocate_object): Add one more
9461         __builtin_expect saying that we don't normally expect to profile.
9463         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9464         __builtin_expect where desirable.
9466 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
9468         * manual/Makefile (chapters): Add syslog.
9469         * manual/syslog.texi: New file.
9470         * manual/math.texi: Fix references.
9471         * manual/terminal.texi: Likewise.
9472         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9474 2000-04-18  Jakub Jelinek  <jakub@redhat.com>
9476         * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9477         stdlib.h was not included or __USE_XOPEN not defined.
9479 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
9481         * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9482         Patch by Zack Weinberg <zack@wolery.cumb.org>.
9484 2000-04-22  Ulrich Drepper  <drepper@redhat.com>
9486         * manual/examples/subopt.c (mount_opts): Add missing terminating
9487         entry.
9488         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9490         * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9491         * libio/ftello.c: Likewise.
9492         * libio/ftello64.c: Likewise.
9493         * libio/ioftell.c: Likewise.
9494         * sysdeps/generic/memrchr.c: Likewise.
9495         * sysdeps/posix/libc_fatal.c: Likewise.
9496         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9497         * misc/fstab.c: Include <string.h> for strcmp prototype.
9498         * sysdeps/generic/ldsodefs.h: Likewise.
9499         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9500         Patch by Kurt Roeckx <Q@ping.be>.
9502         * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9503         Remove db-open.  Change all uses.
9504         (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9506 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
9508         * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9509         * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9510         * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9511         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9512         with .set noat/at to shut up warnings.
9513         * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9514         * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9515         compilation if __NR_pciconfig_iobase is not defined.
9516         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9517         Add alias.
9519 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
9521         * manual/sysinfo.texi: Fix typo.
9522         * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9523         Replace "high precision time" with "high accuracy clock".
9524         Fix language.
9525         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9527         * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9528         * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9529         instead of malloc.
9530         * nis/nis_subr.c: Use __builtin_expect.
9531         * nis/ypclnt.c: Likewise.
9532         * nis/nis_getservlist.c: Likewise.
9533         * nis/nis_creategroup.c: Likewise.
9535         * nis/nis_callback.c (__nis_create_callback): Check result of
9536         memory allocation.  Fix memory leaks.  Use __builtin_expect.
9537         (__nis_destroy_callback): Fix memory leaks.
9539 2000-04-21  Andreas Jaeger  <aj@suse.de>
9541         * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9542         * sysdeps/mips/mips64/add_n.S: Likewise.
9543         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9544         * sysdeps/mips/mips64/lshift.S: Likewise.
9545         * sysdeps/mips/mips64/mul_1.S: Likewise.
9546         * sysdeps/mips/mips64/rshift.S: Likewise.
9547         * sysdeps/mips/mips64/setjmp.S: Likewise.
9548         * sysdeps/mips/mips64/sub_n.S: Likewise.
9549         * sysdeps/mips/mips64/submul_1.S: Likewise
9550         * sysdeps/unix/mips/sysdep.S: Likewise.
9552         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9553         and update comment.  The strtab from _dl_relocate_object can be
9554         used.
9556 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
9558         * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9559         * iconv/iconv_close.c (iconv_close): Likewise.
9560         * iconv/iconv_open.c (iconv_open): Likewise.
9562         * grp/putgrent.c (putgrent): Unlock steam if fprintf failed.  Add
9563         __builtin_expect where useful.
9565         * grp/initgroups.c (initgroups): Test for result of memory
9566         allocation and punt if it fails.
9568         * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9569         * grp/fgetgrent.c (fgetfrent): Likewise.
9570         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9572 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
9574         * libio/vasprintf.c: Include string.h to get memcpy prototype.
9576 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
9578         * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9579         don't search for NUL byte to decrement counter.
9580         Reported by Ulrich.Brink@sap.com.
9582         * iconv/gconv_simple.c: Define separate functions to convert from
9583         UCS4/UCS4-LE to the internal encoding.
9584         * iconv/gconv_builtin.h: Use separate functions to convert from
9585         UCS4/UCS4-LE to the internal encoding.
9586         * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9587         __gconv_transform_ucs4le_internal.
9589         * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9590         output buffer overflow.  Reported by Ulrich.Brink@sap.com.
9592         * iconv/skeleton.c: Add some more __builtin_expect.
9593         * iconv/loop.c: Likewise.
9595 2000-03-08  H.J. Lu  <hjl@gnu.org>
9597         * posix/regex.c (regex_compile): Correctly handle "\{" when
9598         the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9600 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
9602         * manual/stdio.texi: Give advise about handling error when using
9603         stream functions.
9604         Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9606 2000-04-19  Jakub Jelinek  <jakub@redhat.com>
9608         * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9609         field to nelems * sizeof (uint32_t).
9610         * locale/programs/ld-address.c (address_output): Align word fields
9611         properly.
9612         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9613         Don't restart idx pointers to idx end at the duo_int_curr_symbol
9614         field.
9615         Avoid giving arbitrary garbage in the crncystr field.
9616         Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9617         uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9618         fields.
9619         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9620         Don't restart idx pointers to idx end at the decimal_point_wc field.
9621         * locale/programs/ld-time.c (time_output): week_1stday should be
9622         word, not byte.  Align it properly.
9624 2000-04-19  H.J. Lu  <hjl@gnu.org>
9626         * csu/gmon-start.c (_start): Declared as "extern void".
9627         (etext): Likewise.
9629 2000-04-18  Andreas Jaeger  <aj@suse.de>
9631         * manual/install.texi (Running make install): Don't mention utmpd
9632         anymore.
9634 2000-04-18  Andreas Jaeger  <aj@suse.de>
9636         * linuxthreads/Versions: Use ld instead of ld.so.
9638         * elf/Makefile (ld-map): Use ld.map.
9640         * Versions.def: Use ld instead of ld.so.
9641         * elf/Versions: Likewise.
9642         * sysdeps/mach/hurd/Versions: Likewise.
9644 2000-04-20  Andreas Jaeger  <aj@suse.de>
9646         * elf/rtld.c (print_statistics): Move ifndef further up.
9647         (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9648         (dl_main): Likewise.
9650 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
9652         * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9653         * gmon/Versions: Move moncontrol to GLIBC_2.2.
9655         * po/cs.po: Update from translation team.
9657         * sysdeps/generic/updwtmp.c: Remove daemon support.
9659         * login/Makefile (routines): Remove utmp_daemon.
9661         * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9662         * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9663         * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9664         * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9666         * elf/rtld.c: Display statitics option also if hp timing is not
9667         available.
9669         * login/programs/connection.c: Removed.
9670         * login/programs/database.c Removed.
9671         * login/programs/error.c: Removed.
9672         * login/programs/request.c: Removed.
9673         * login/programs/xtmp.c: Removed.
9674         * login/programs/xtmp.h: Removed.
9675         * login/Makefile: Remove rules for utmpd.
9676         * login/README.utmpd: Removed.
9677         * login/utmp_daemon.c: Removed.
9678         * login/getutent_r.c: Remove references to daemon functions.
9679         * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9680         declaration.
9682 2000-04-18  Andreas Jaeger  <aj@suse.de>
9684         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9685         2.2 for libnsl, libresolv, librt, libnss_*.
9687         * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9689         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9691 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
9693         * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9694         * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9695         * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9696         * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9697         * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9698         * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9699         * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9700         * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9701         * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9702         * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9703         * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9704         * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9705         * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9706         it here.
9707         * sysdeps/unix/sysv/aix/msync.c: New file.
9708         * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9709         * sysdeps/unix/sysv/aix/net/if.h: New file.
9710         * sysdeps/unix/sysv/aix/pipe.c: New file.
9711         * sysdeps/unix/sysv/aix/poll.c: New file.
9712         * sysdeps/unix/sysv/aix/rename.c: New file.
9713         * sysdeps/unix/sysv/aix/rmdir.c: New file.
9714         * sysdeps/unix/sysv/aix/select.c: New file.
9715         * sysdeps/unix/sysv/aix/semctl.c: New file.
9716         * sysdeps/unix/sysv/aix/semget.c: New file.
9717         * sysdeps/unix/sysv/aix/semop.c: New file.
9718         * sysdeps/unix/sysv/aix/sendto.c: New file.
9719         * sysdeps/unix/sysv/aix/setgroups.c: New file.
9720         * sysdeps/unix/sysv/aix/setpgid.c: New file.
9721         * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9722         * sysdeps/unix/sysv/aix/setpriority.c: New file.
9723         * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9724         * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9725         * sysdeps/unix/sysv/aix/setsid.c: New file.
9726         * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9727         * sysdeps/unix/sysv/aix/shmat.c: New file.
9728         * sysdeps/unix/sysv/aix/shmctl.c: New file.
9729         * sysdeps/unix/sysv/aix/shmdt.c: New file.
9730         * sysdeps/unix/sysv/aix/shmget.c: New file.
9731         * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9732         * sysdeps/unix/sysv/aix/sigstack.c: New file.
9733         * sysdeps/unix/sysv/aix/socket.c: New file.
9734         * sysdeps/unix/sysv/aix/socketpair.c: New file.
9735         * sysdeps/unix/sysv/aix/speed.c: New file.
9736         * sysdeps/unix/sysv/aix/symlink.c: New file.
9737         * sysdeps/unix/sysv/aix/sync.c: New file.
9738         * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9739         * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9740         * sysdeps/unix/sysv/aix/times.c: New file.
9741         * sysdeps/unix/sysv/aix/ulimit.c: New file.
9742         * sysdeps/unix/sysv/aix/umask.c: New file.
9743         * sysdeps/unix/sysv/aix/unlink.c: New file.
9744         * sysdeps/unix/sysv/aix/ustat.c: New file.
9745         * sysdeps/unix/sysv/aix/utimes.c: New file.
9747 2000-04-18  Andreas Jaeger  <aj@suse.de>
9749         * manual/startup.texi (Environment Access): Fix putenv prototype
9750         according to recent changes.
9751         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9752         PR libc/1692.
9754         * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9755         needed.
9757 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
9759         * posix/Makefile (tests): Add tst-getaddrinfo.
9760         * posix/tst-getaddrinfo.c: New file.
9762 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
9764         * manual/sysinfo.texi: Document that umount2 is not widely available.
9766         * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9767         signal timing is not really implemented.
9769 2000-04-17  Andreas Jaeger  <aj@suse.de>
9771         * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9773 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
9775         * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9776         and inst_libdir.
9778 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
9780         * manual/intro.texi: Change reference from System Information to
9781         System Management.
9782         * manual/users.texi: Likewise.
9783         * manual/conf.texi: Likewise.
9784         * manual/sysinfo.texi: Document mount, umount, and umount2.
9785         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9787 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
9789         * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9790         Create wnumstr as well as numstr to support wide character output
9791         correctly.
9793 2000-04-15  Jakub Jelinek  <jakub@redhat.com>
9795         * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9796         modification and move it...
9797         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9798         Add -melf64_sparc switch to $(LD) on sparc64-linux.
9799         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9800         switch to $(LD) on sparc-linux.
9802 2000-04-17  Thorsten Kukuk  <kukuk@suse.de>
9804         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9805         and setresuid from sysdep_routines.
9807 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
9809         * manual/Makefile (chapters): Add resource.
9811         * manual/time.texi: Move section on resources to...
9812         * manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
9813         and vtimes.
9814         * manual/setjmp.texi: Adjust back reference.
9815         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9817         * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9818         definition.
9819         * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9820         * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9821         * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9822         * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9823         * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9824         * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9825         * sysdeps/unix/sysv/aix/close.c: Add copyright.
9826         * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9827         * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9828         * sysdeps/unix/sysv/aix/access.c: Add copyright.
9829         * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9830         * sysdeps/unix/sysv/aix/Implies: New file.
9831         * sysdeps/unix/sysv/aix/Versions: New file.
9832         * sysdeps/unix/sysv/aix/bind.c: New file.
9833         * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9834         * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9835         * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9836         * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9837         * sysdeps/unix/sysv/aix/chdir.c: New file.
9838         * sysdeps/unix/sysv/aix/chmod.c: New file.
9839         * sysdeps/unix/sysv/aix/chroot.c: New file.
9840         * sysdeps/unix/sysv/aix/creat.c: New file.
9841         * sysdeps/unix/sysv/aix/dl-close.c: New file.
9842         * sysdeps/unix/sysv/aix/dl-open.c: New file.
9843         * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9844         * sysdeps/unix/sysv/aix/fchdir.c: New file.
9845         * sysdeps/unix/sysv/aix/fchmod.c: New file.
9846         * sysdeps/unix/sysv/aix/getgroups.c: New file.
9847         * sysdeps/unix/sysv/aix/gethostname.c: New file.
9848         * sysdeps/unix/sysv/aix/getpriority.c: New file.
9849         * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9850         * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9851         * sysdeps/unix/sysv/aix/getrusage.c: New file.
9852         * sysdeps/unix/sysv/aix/link.c: New file.
9853         * sysdeps/unix/sysv/aix/madvise.c: New file.
9854         * sysdeps/unix/sysv/aix/mkdir.c: New file.
9855         * sysdeps/unix/sysv/aix/mknod.c: New file.
9856         * sysdeps/unix/sysv/aix/mprotect.c: New file.
9857         * sysdeps/unix/sysv/aix/msgctl.c: New file.
9858         * sysdeps/unix/sysv/aix/msgget.c: New file.
9859         * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9861 2000-04-17  Andreas Jaeger  <aj@suse.de>
9863         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9864         as suggested by Ulrich Drepper.
9865         (__dl_runtime_resolve): Remove unused variable, initialize sym
9866         directly.
9867         (RTLD_START): Document OFFSET_GP_GOT.
9868         (OFFSET_GP_GOT): New magic value.
9869         (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9870         (elf_machine_got_rel): Only declare strtab if needed.
9871         (elf_machine_relplt): Removed, it's not needed.
9872         (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9874         * sysdeps/mips/add_n.S: Add newline at EOF.
9875         * sysdeps/mips/rshift.S: Likewise.
9876         * sysdeps/mips/mul_1.S: Likewise.
9877         * sysdeps/mips/lshift.S: Likewise.
9878         * sysdeps/mips/addmul_1.S: Likewise.
9880 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
9882         * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9884         * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9885         * elf/dl-lookup.c: Likewise.
9886         * elf/dl-init.c (_dl_init): Likewise.
9887         * elf/dl-fini.c (_dl_fini): Likewise.
9888         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9889         * elf/dl-close.c (_dl_close): Likewise.
9890         * elf/rtld.c (_dl_start_final): Likewise.
9892         * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9894 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
9896         * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9897         only fall back on using Linux.
9899         * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9900         Before testing versions check that we actually loaded the object
9901         and whether we are in trace mode.  If not loaded during tracing don't
9902         test versions in this object.
9903         (_dl_check_all_versions): Take new parameter and pass to
9904         _dl_check_map_versions.
9905         * sysdeps/generic/ldsodefs.h: Update prototypes for
9906         _dl_check_all_versions and _dl_check_map_versions.
9907         * elf/rtld.c (struct version_check_args): Add dotrace.
9908         (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9909         (dl_main): Pass info about trace mode to version_check_doit.
9910         * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9911         _dl_check_all_versions.
9913         * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9914         and getutmpx.
9915         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9917         * manual/argp.texi: Document index parameter of argp_parse.
9918         Fix typo.
9919         Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9921 2000-04-14  Andreas Jaeger  <aj@suse.de>
9923         * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9924         SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.
9926         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9928 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
9930         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9931         compat_symbol call for old adjtime.
9933         * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9934         function interface.  Patch by Richard Henderson <rth@cygnus.com>.
9936         * posix/Makefile (headers): Add spawn.h.
9937         (distribute): Add spawn_int.h.
9938         (routines): Add spawn_faction_init, spawn_faction_destroy,
9939         spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9940         spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9941         spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9942         spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9943         * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9944         posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9945         posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9946         posix_spawnattr_init, posix_spawnattr_destroy,
9947         posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9948         posix_spawnattr_getflags, posix_spawnattr_setflags,
9949         posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9950         and posix_spawnp.
9951         * posix/spawn.c: New file.
9952         * posix/spawn.h: New file.
9953         * posix/spawn_faction_addclose.c: New file.
9954         * posix/spawn_faction_adddup2.c: New file.
9955         * posix/spawn_faction_addopen.c: New file.
9956         * posix/spawn_faction_destroy.c: New file.
9957         * posix/spawn_faction_init.c: New file.
9958         * posix/spawn_int.h: New file.
9959         * posix/spawnattr_destroy.c: New file.
9960         * posix/spawnattr_getdefault.c: New file.
9961         * posix/spawnattr_getflags.c: New file.
9962         * posix/spawnattr_getpgroup.c: New file.
9963         * posix/spawnattr_getschedparam.c: New file.
9964         * posix/spawnattr_getschedpolicy.c: New file.
9965         * posix/spawnattr_getsigmask.c: New file.
9966         * posix/spawnattr_init.c: New file.
9967         * posix/spawnattr_setdefault.c: New file.
9968         * posix/spawnattr_setflags.c: New file.
9969         * posix/spawnattr_setpgroup.c: New file.
9970         * posix/spawnattr_setschedparam.c: New file.
9971         * posix/spawnattr_setschedpolicy.c: New file.
9972         * posix/spawnattr_setsigmask.c: New file.
9973         * posix/spawni.c: New file.
9974         * posix/spawnp.c: New file.
9976         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9977         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9979 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
9981         * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9982         * malloc/malloc.c: Implement posix_memalign for glibc.
9983         * include/stdlib.h: Add prototype for __posix_memalign.
9984         * stdlib/stdlib.h: Add prototype for posix_memalign.
9986 2000-04-14  Andreas Jaeger  <aj@suse.de>
9988         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9989         symidx correctly.
9990         (elf_machine_got_rel): Cast sym correctly.
9992         * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9993         * sysdeps/mips/addmul_1.S: Likewise.
9994         * sysdeps/mips/lshift.S: Likewise.
9995         * sysdeps/mips/mul_1.S: Likewise.
9996         * sysdeps/mips/rshift.S: Likewise.
9997         * sysdeps/mips/sub_n.S: Likewise.
9998         * sysdeps/mips/submul_1.S: Likewise.
10000         * stdlib/stdlib.h: Fix typo in comment.
10002         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10003         2.2 for libdl, ld and libm.
10005         * sysdeps/generic/madvise.c: Fix typos.
10007         * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
10009         * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
10011         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
10012         warnings.
10014 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
10016         * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
10017         * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
10018         Make old name weak alias.
10019         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
10020         * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
10021         Make old name weak alias.
10022         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
10024         * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
10025         posix_fallocate, and posix_fallocate64.
10026         * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
10027         posix_fallocate, and posix_fallocate64.
10028         * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
10029         posix_fallocate, and posix_fallocate64.
10030         * sysdeps/generic/fadvise.c: New file.
10031         * sysdeps/generic/fadvise64.c: New file.
10032         * sysdeps/generic/fallocate.c: New file.
10033         * sysdeps/generic/fallocate64.c: New file.
10034         * sysdeps/posix/fallocate.c: New file.
10035         * sysdeps/posix/fallocate64.c: New file.
10036         * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
10037         POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
10038         POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
10039         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10040         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10041         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10042         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10043         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10046         * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
10047         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10049 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
10051         * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
10052         * misc/sys/mman.h (posix_madvise): Add prototype.
10053         * sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
10054         old name and posix_madvise weak aliases.
10055         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10056         * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10057         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10058         * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10059         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10060         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10061         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10063 2000-04-13  Andreas Jaeger  <aj@suse.de>
10065         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10066         versioning.
10067         (elf_machine_got_rel): Only add runtime display if needed.
10068         (elf_machine_got_rel): Handle symbol versioning.
10070 2000-04-13  Andreas Jaeger  <aj@suse.de>
10072         * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10074         * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10075         default.
10077         * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10078         with some applications.
10079         Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10081         * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10082         * sysdeps/mips/bsd-_setjmp.S: Likewise.
10083         * sysdeps/mips/setjmp.S: Likewise.
10085         * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10087 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
10089         * posix/globtest.sh: Work around inconsistency with expanding ~/
10090         in shell (PR libc/1690).  Reported by patsmith@pobox.com.
10092 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
10094         * posix/getconf.c: Add support for many more POSIX options.
10095         * sysdeps/posix/sysconf.c: Likewise.
10096         * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10097         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10098         _POSIX_SHELL.
10099         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10100         * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10101         CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
10102         CLOCK_THREAD_CPUTIME_ID.
10103         * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10104         CLOCK_PROCESS_CPUTIME_ID.
10105         * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10106         __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
10107         CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10108         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10110         * malloc/Makefile (tests): Add tst-calloc.
10111         * malloc/tst-calloc.c: New file.
10113         * sysdeps/arm/libm-test-ulps: New file.
10115         * malloc/malloc.c: Undo all of today's changes.
10117         * locale/programs/locale.c (show_info): Don't try to look into
10118         data for LC_ALL (there is none).
10120         * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10121         avoid writing over boundary.
10122         Patch by Greg McGary <gkm@eng.ascend.com>.
10124         * sysdeps/arm/memprof.h: New file.
10126 2000-04-12  Andreas Jaeger  <aj@suse.de>
10128         * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10130         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10131         for memmem declaration.
10133 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
10135         * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10136         to -1.
10137         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10139         * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10140         mode is invalid.
10141         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10142         Patch by Bart Veer <bartv@redhat.com>.
10144         * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10145         function interface.
10147 2000-04-11  Andreas Jaeger  <aj@suse.de>
10149         * sysdeps/mips/dl-machine.h: Update some comments.
10150         (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10152 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
10154         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10155         _POSIX_SHARED_MEMORY_OBJECTS.
10157         * rt/Makefile (tests): Add tst-shm.
10158         Add rules to generate tst-shm.
10159         * rt/tst-shm.c: New file.
10161         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10162         for descriptor.
10164         * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10165         * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10166         * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10167         * sysdeps/generic/shm_open.c: New file.
10168         * sysdeps/generic/shm_unlink.c: New file.
10169         * sysdeps/unix/sysv/linux/shm_open.c: New file.
10170         * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10171         * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10172          __endmntent, __getmntent_r, __setmntent, and __statfs.
10174         * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10175         fragmentation by allocating new memory at the end instead of
10176         reallocating.
10178         * posix/globtest.sh: Fix last change.
10180 2000-04-10  Philip Blundell  <philb@gnu.org>
10182         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10183         IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10184         IPV6_DROP_MEMBERSHIP.
10185         * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10186         Likewise.
10188 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
10190         * elf/readlib (process_file): Close streams in case of an error.
10192 2000-04-09  Andreas Jaeger  <aj@suse.de>
10194         * elf/readlib.c (process_file): Check if file is big enough to
10195         contain aout and ELF headers.
10196         Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10198 2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>
10200         * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
10202 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
10204         * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
10205         stream unbuffered.
10206         * rt/Makefile (tests): Add tst-clock.
10207         Add rules to build tst-clock.
10208         * rt/tst-clock.c: New file.
10209         * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
10210         about initialization of nsec.
10211         * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
10212         about initialization of freq.  Set retval to zero if successful.
10213         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
10215 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
10217         * Versions.def (librt): Add GLIBC_2.2.
10218         * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
10219         clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
10220         timer_getoverr, timer_gettime, and timer_settime.
10221         * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
10222         clock_settime, timer_create, timer_delete, timer_getoverrun,
10223         timer_gettime, and timer_settime.
10224         * sysdeps/generic/clock_getcpuclockid.c: New file.
10225         * sysdeps/generic/get_clockfreq.c: New file.
10226         * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
10227         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
10228         * sysdeps/mach/hurd/i386/bits/time.h: New file.
10229         * sysdeps/unix/i386/i586/clock_getres.c: New file.
10230         * sysdeps/unix/i386/i586/clock_gettime.c: New file.
10231         * sysdeps/unix/i386/i686/Implies: New file.
10232         * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
10233         * time/Makefile (routines): Move clock_getres, clock_gettime,
10234         clock_settime, timer_create, timer_delete, timer_getoverr,
10235         timer_gettime, and timer_settime to rt/Makefile.
10236         * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
10237         clock_settime, timer_create, timer_delete, timer_getoverrun,
10238         timer_gettime, and timer_settime.
10239         * time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.
10241         * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
10242         and not const as attribute name.
10244 2000-04-10  Thorsten Kukuk  <kukuk@suse.de>
10246         * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
10248 2000-04-10  Andreas Schwab  <schwab@suse.de>
10250         * posix/globtest.sh: Skip tests that depend on unreadable
10251         directories if run as root.
10253 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
10255         * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
10256         for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.
10258 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
10260         * sysdeps/unix/clock_gettime.c: New file.
10261         * sysdeps/unix/clock_settime.c: New file.
10262         * sysdeps/posix/clock_getres.c: New file.
10264         * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10266         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10267         lseek call be passing in a buffer which never allow a successful
10268         first getdents syscall if not at leas the initial entry can be
10269         stored in the user buffer.
10271         * localedata/Makefile: Add rules to clean up directories created by
10272         new strfmon tests.
10274 2000-04-09  Geoff Clare  <gwc@unisoft.com>
10276         * localedata/tst-fmon.data: Added new tests for strfmon()
10277         using test locales with all combinations of cs_precedes,
10278         sign_posn and sep_by_space.
10279         * localedata/tst-fmon.sh: Updated to support the new tests.
10280         * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10281         the localedef source for the new strfmon() test locale.
10282         * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10283         * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10284         * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10285         * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10286         * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10287         * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10288         * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10289         * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10290         * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10291         * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10292         * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10293         * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10294         * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10295         * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10297         * stdlib/strfmon.c: Correct problems with missing or extra
10298         spaces for unusual combinations of sign_posn and sep_by_space.
10299         Improved left-precision alignment code.
10301 2000-04-07  Andreas Jaeger  <aj@suse.de>
10303         * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10305 2000-04-10  Andreas Jaeger  <aj@suse.de>
10307         * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10309 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
10311         Implement handling of restartable conversion functions according to
10312         ISO C.
10313         * iconv/gconv.h (__gconv_fct): Add additional parameter.
10314         * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10315         * iconv/gconv.c: Pass additional parameter to conversion function.
10316         * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10317         (internal_ucs4le_loop_single): New function.
10318         (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10319         (__gconv_transform_internal_ascii): Likewise.
10320         (__gconv_transform_internal_utf8): Likewise.
10321         (__gconv_transform_utf8_internal): Likewise.
10322         (__gconv_transform_ucs2_internal): Likewise.
10323         (__gconv_transform_internal_ucs2): Likewise.
10324         (__gconv_transform_ucs2reverse_internal): Likewise.
10325         (__gconv_transform_internal_ucs2reverse): Likewise.
10326         (internal_ucs4le_loop_unaligned): Before return
10327         __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10328         a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
10329         (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10330         * iconv/loop.c: Fit in definition of function to convert one character
10331         for processing of left-over bytes from the state object.
10332         * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10333         inend to match names in loop functions.
10334         (RESET_INPUT_BUFFER): Change apprpriately.
10335         (gconv): If needed, call function to process bytes from the state
10336         object.  Similar at the end: store left over bytes if input is
10337         incomplete.
10338         Take extra argument and add new argument to all calls of the
10339         conversion function.
10340         * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10341         information in the state object to not conflict with length count.
10342         * iconvdata/iso-2022-jp.c: Likewise.
10343         * iconvdata/iso-2022-kr.c: Likewise.
10344         * iconvdata/unicode.c: Adjust for change change in parameters of
10345         skeleton function.
10346         * iconvdata/utf-16.c: Likewise.
10347         * libio/iofwide.c: Add new parameter to all calls of conversion
10348         function.
10349         * wcsmbs/btowc.c: Likewise.
10350         * wcsmbs/mbrtowc.c: Likewise.
10351         * wcsmbs/mbsnrtowcs.c: Likewise.
10352         * wcsmbs/mbsrtowcs.c: Likewise.
10353         * wcsmbs/wcrtomb.c: Likewise.
10354         * wcsmbs/wcsnrtombs.c: Likewise.
10355         * wcsmbs/wcsrtombs.c: Likewise.
10356         * wcsmbs/wctob.c: Likewise.
10358         * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10359         MAX_NEEDED_INPUT.
10361 2000-04-07  Andreas Jaeger  <aj@suse.de>
10363         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10364         newer kernels.
10366 2000-04-07  Ulrich Drepper  <drepper@redhat.com>
10368         * wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
10369         element a union to allow byte access.
10370         * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10371         mbstate_t.
10372         * iconvdata/iso-2022-jp.c: Likewise.
10373         * iconvdata/iso-2022-kr.c: Likewise.
10374         * wcsmbs/mbsinit.c: Likewise.
10375         * stdlib/mblen.c: Likewise.
10376         * stdio-common/printf-parse.h: Likewise.
10378 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
10380         * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10381         kernel does not allow relative seeks on descriptors associated
10382         with directories.  Go back to get the position in the directory
10383         every time we enter the function.  Return -1 and set errno if one
10384         entry could be read from the kernel but does not fit into the
10385         buffer passed in by the user.
10387         * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10388         Support ..(2).. ellipsis.
10389         (parse_charmap): Recognize ..(2).. etc and pass step down.
10390         Correctly generate names for UCS4 characters.
10392         * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10393         (ctype_finish): We know the wide character value for <SP>,
10394         don't search.
10395         (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10396         (charclass_ucs4_ellipsis): Likewise.
10397         (read_translit_ignore_entry): Store ellipsis step.
10398         (ctype_read): Recognize ..(2).. etc and pass step down.
10400         * locale/programs/linereader.c (lr_token): When seeing comment
10401         character ignore only rest of line in sources but stop at escaped
10402         newline.
10403         Recognize ..(2).. and ....(2).....
10405         * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10406         and tok_ellipsis4_2.
10408 2000-04-06  Andreas Jaeger  <aj@suse.de>
10410         * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10411         removed, remove it here also.
10412         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10413         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10414         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10415         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10417 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
10419         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10420         include bits/sigcontext.h.
10421         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10423 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
10425         * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10426         collation symbol definition.  Value in quivalence definition must
10427         be defined, don't check that it is not.
10429         * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10430         values as character names.
10432         * locale/programs/ld-ctype.c (get_character): Handle missing
10433         repertoire map correctly.
10435 2000-04-05  Cristian Gafton  <gafton@redhat.com>
10437         * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10438         because it is used in generic code.
10439         * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10440         * wcsmbs/wcwidth.h: Declare __ctype32_b.
10441         * intl/gettext.c: Include <locale.h>.
10442         * intl/ngettext.c: Likewise.
10444 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
10446         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10447         socklen_t type for size.
10448         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10449         init function interface.
10450         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10451         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10452         sys/ucontext.h.
10453         (__jmp_buf): Declare the whole type structure here, don't use
10454         ucontext.
10456 2000-04-05  Ulrich Drepper  <drepper@redhat.com>
10458         * iconv/skeleton.c (put16u): Fix typo.
10459         Reported by Bruno Haible <haible@ilog.fr>.
10461         * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10462         * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10463         * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10464         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10465         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10466         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10468         * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10469         * Makefile (distribute): Add abi-versions.awk and
10470         firstversions.awk.
10471         Patches by Torsten Duwe <duwe@caldera.de>.
10473 2000-04-05  Andreas Schwab  <schwab@suse.de>
10475         * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10477 2000-04-05  Andreas Schwab  <schwab@suse.de>
10479         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10480         entry point, used on Hurd.
10482 2000-04-04  Andreas Jaeger  <aj@suse.de>
10484         * intl/Makefile: Only run the gettext test with shared libraries.
10486 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
10488         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10489         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10491 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
10493         * Makeconfig: Undo last change.
10494         * configure.in: If --disable-shared was given, don't set VERSIONING,
10495         don't define DO_VERSIONING, and don't give scare warning for no
10496         versioning.
10497         * configure: Regenerated.
10499 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
10501         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10503 2000-04-04  Andreas Jaeger  <aj@suse.de>
10505         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10507 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
10509         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10510         STV_HIDDEN and STV_INTERNAL during lookup.
10511         (profile_fixup): Likewise.
10512         * elf/dl-reloc.c (RESOLVE): Likewise.
10514         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10515         unaligned so that it compiles for system which need unaligned
10516         access handling.
10518 2000-04-04  Andreas Schwab  <schwab@suse.de>
10520         * elf/cache.c (print_entry): Only look at the type field when
10521         printing the type.
10523 2000-04-04  Andreas Schwab  <schwab@suse.de>
10525         * iconvdata/big5.c (BODY): Fix typo.
10527 2000-04-04  Andreas Schwab  <schwab@suse.de>
10529         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10530         function interface.  Remove unused _dl_start_user entry point.
10532 2000-04-03  Andreas Jaeger  <aj@suse.de>
10534         * include/arpa/inet.h (__inet_aton): Add protoype.
10536 2000-04-01  Andreas Jaeger  <aj@suse.de>
10538         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10540         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10541         * sysdeps/mach/mips/thread_state.h: Likewise.
10543         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10544         * sysdeps/generic/fegetenv.c: Likewise.
10545         * sysdeps/generic/fesetenv.c: Likewise.
10546         * sysdeps/generic/feupdateenv.c: Likewise.
10547         * sysdeps/generic/fraiseexcpt.c: Likewise.
10548         * sysdeps/generic/fsetexcptflg.c: Likewise.
10549         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10550         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10551         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10552         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10554 2000-04-02  H.J. Lu  <hjl@gnu.org>
10556         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10558 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
10560         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10561         (add_name_to_object): Add cast in malloc call.
10562         (fillin_rpath): Optimize loop to initialize ->status a bit.
10564         * sysdeps/i386/dl-machine.h: Undo last change.
10565         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10566         Restore %edx register after call here.
10568         * sysdeps/arm/atomicity.h: New file.
10569         Contributed by Jesper Skov <jskov@redhat.com>.
10571 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
10573         * Makeconfig (preprocess-versions): Undo last change.
10574         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10576         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10577         here, before we might move the stack.
10578         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10579         (init1): And not here.
10581         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10582         change, to restore argc value in call-clobbered register after
10583         RTLD_START_SPECIAL_INIT, which will contain a call.
10585         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10586         allocating and initializing L->l_initfini.
10588         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10590 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
10592         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10593         RUNPATH, RPATH, and LD_LIBRARY_PATH.
10594         (open_path): Change type of fourth parameter.  Make pointer to array
10595         of pointers.  Create variable dirs with original type.
10596         Track whether any directory for the object exists and if not,
10597         change *DIRSP to (void*) -1 to signal there is no such search path.
10598         (_dl_map_object): Change all calls of open_path.
10599         Rewrite decompose_rpath calls.
10601 2000-03-31  Andreas Schwab  <schwab@suse.de>
10603         * string/strfry.c: Declare STATE as array of char instead of int
10604         and do not initialize it (done by initstate_r).  Pass correct
10605         size.
10607 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
10609         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10611         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10612         instruction out of the code.
10614 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
10616         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10617         element at this position.
10619         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10620         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10621         l_reldeps elements.
10622         * elf/dl-lookup.c (add_dependency): New function.
10623         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10624         dynamically loaded object.
10625         (_dl_lookup_symbol_skip): Likewise.
10626         (_dl_lookup_versioned_symbol): Likewise.
10627         (_dl_lookup_versioned_symbol_skip): Likewise.
10628         * elf/dl-open.c: Don't define _dl_load_lock here...
10629         * elf/rtld.c: ...but here...
10630         * elf/dl-support.c: ...and here.
10631         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10632         through relocation.
10633         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10634         relocations.
10635         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10636         anymore.
10637         * dlfcn/glrefmain.c: Add one more debug message.
10639         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10640         command line.
10641         * Makerules (sysd-versions): Use ( ) instead of { }.
10643         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10644         optimize for the non-debugging case.
10645         * elf/dl-lookup.c: Likewise.
10646         * sysdeps/generic/libc-start.c: Likewise.
10648 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
10650         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10651         (init1): Don't initialize __environ here, since init already does it.
10652         (first_init): New function, broken out of _init.
10653         (_hurd_stack_setup): Use it.
10654         [SHARED] (_dl_init_first): New function, renamed from old _init.
10655         (init1) [SHARED]: Don't call posixland_init here.
10656         (posixland_init): Take ENVP arg, so signature is usual for initializer.
10657         [SHARED] (_init): Define as alias for posixland_init.
10658         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10659         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10660         RTLD_START_SPECIAL_INIT before calling initializers.
10661         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10662         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10663         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10664         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10666         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10667         since we define the function with the name `tmpfile'.
10669         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10670         * hurd/Versions: Likewise.
10672 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
10674         * elf/dl-runtime.c (fixup): Fix typo in comment.
10676         * resolv/netdb.h (getnameinfo): All length parameters are of type
10677         socklen_t.
10678         * inet/getnameinfo.c: Likewise.
10680 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
10682         * posix/unistd.h (socklen_t): Define if it has not yet happened.
10683         (gethostname): Change type of second parameter to socklen_t.
10684         * include/unistd.h (__gethostname): Change type of second
10685         parameter to socklen_t.
10686         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10687         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10688         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10689         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10690         Likewise.
10691         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10692         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10693         Allow definition elsewhere.
10694         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10695         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10696         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10697         * sysdeps/generic/bits/types.h: Define __socklen_t.
10698         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10699         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10700         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10701         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10702         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10703         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10704         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10706         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10707         (inet_lnaof): Likewise.
10708         (inet_netof): Likewise.
10709         (inet_network): Likewise.
10710         (inet_aton): Likewise.
10711         (inet_makeaddr): Change parameter types to in_addr_t.
10712         (inet_neta): Likewise.
10713         (inet_ntop): Change type of last parameter to socklen_t.
10714         (inet_aton): Only make available if __USE_MISC.
10715         (inet_neta): Likewise.
10716         (inet_net_ntop): Likewise.
10717         (inet_net_pton): Likewise.
10718         (inet_nsap_ntoa): Likewise.
10720         * inet/in.h: Define in_port_t type.
10721         Define in_addr_t type.
10722         (struct in_addr): Use in_addr_t in definition.
10723         (IN_CLASSA): Use cast to in_addr_t.
10724         (IN_CLASSB): Likewise.
10725         (IN_CLASSC): Likewise.
10726         (IN_CLASSD): Likewise.
10727         (IN_EXPERIMENTAL): Likewise.
10728         (IN_BADCLASS): Likewise.
10729         (INADDR_ANY): Likewise.
10730         (INADDR_BROADCAST): Likewise.
10731         (INADDR_NONE): Likewise.
10732         (INADDR_LOOPBACK): Likewise.
10733         (INADDR_UNSPEC_GROUP): Likewise.
10734         (INADDR_ALLHOSTS_GROUP): Likewise.
10735         (INADDR_ALLRTRS_GROUP): Likewise.
10736         (INADDR_MAX_LOCAL_GROUP): Likewise.
10737         (struct sockaddr_in): Use in_port_t for sin_port element.
10738         (struct sockaddr_in6): Use in_port_t for sin6_port element.
10739         Use uint8_t instead of u_int8_t.
10741         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10742         Call __inet_aton instead of inet_aton.
10743         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
10745         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10746         (innetgr): Likewise.
10747         (struct addrinfo): Use socklen_t for ai_addrlen element.
10749         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10750         IPV6_RECVERR): New defines.
10752         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10753         * inet/getnetbyad.c: Likewise.
10754         * inet/getnetbyad_r.c: Likewise.
10755         * nis/nss_nis/nis-network.c: Likewise.
10756         * nis/nssplus_nis/nisplus-network.c: Likewise.
10757         * nss/nss_files/files-network.c: Likewise.
10758         * resolv/netdb.h: Define uint32_t if not already happened.
10759         Include bits/netdb.h.  Remove definition of struct netent.
10760         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10761         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10762         * sysdeps/generic/bits/netdb.h: New file.
10763         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10765         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10766         (tests): Add glrefmain.
10767         Add rules to build modules and run tests.  Ignore result of glrefmain
10768         for now since it fails.
10769         * dlfcn/glrefmain.c: New file.
10770         * dlfcn/glreflib1.c: New file.
10771         * dlfcn/glreflib2.c: New file.
10773         * test-skeleton.c: Include <string.h> for strsignal prototype.
10775         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10776         to be missing.
10778         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10779         former init-first.h.  Initialize __libc_multiple_libcs.
10781 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
10783         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
10784         #if expression for use of unaligned function to the one used in
10785         the definition of these functions.
10786         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10787         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10788         (internal_ucs4le_loop_unaligned): New function.
10790         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10791         (tests): Add order.
10792         (module-names): Add dep1, dep2, dep3, and dep4.
10793         Add dependencies for dep* modules and order.
10794         Define rule for order.out which checks the result.
10795         * elf/dep1.c: New file.
10796         * elf/dep2.c: New file.
10797         * elf/dep3.c: New file.
10798         * elf/dep4.c: New file.
10799         * elf/order.c: New file.
10801         * elf/dl-init.c: Fix typo in comment.
10803 2000-03-31  Andreas Jaeger  <aj@suse.de>
10805         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10806         init function interface.
10807         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10809 2000-03-31  Andreas Jaeger  <aj@suse.de>
10811         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10812         * sysdeps/mips/fpu/fegetenv.c: Likewise.
10813         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10814         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10815         * sysdeps/mips/fpu/fesetenv.c: Likewise.
10817         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10818         anymore, update comment.
10820         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10822         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10823         SHLIB_COMPAT - the struct is always needed.
10825 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
10827         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10828         * elf/dl-support.c: Define _dl_starting_up.
10830 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
10832         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10833         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10835         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10837         * elf/Makefile (dl-routines): Remove preinit.
10838         * elf/Versions: Remove _dl_preinit.
10839         * elf/dl-preinit.c: Removed.  Move content into...
10840         * elf/dl-init.c: ...here.
10841         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10843         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10844         elements.
10846 2000-03-29  Geoff Clare  <gwc@unisoft.com>
10848         * stdlib/strfmon.c: Corrected problems with the code that
10849         sets default values for [np]_sep_by_space and
10850         [np]_sign_posn; also the new positive/negative alignment
10851         code from the previous patch was not quite right for
10852         [np]_sign_posn = 0.
10854         * localedata/tst-fmon.data: Changes corresponding to the
10855         two sets of fixes made to stdlib/strfmon.c.
10857 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
10859         * malloc/malloc.c: Declare bit flags UL so that they will not
10860         default to int size when being inverted.
10862 2000-03-29  Andreas Jaeger  <aj@suse.de>
10864         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10865         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10867 2000-03-29  Andreas Jaeger  <aj@suse.de>,
10868             Ralf Baechle <ralf@uni-koblenz.de>
10870         * Makeconfig: Introduce new variable SHARED to mark code used in
10871         the shared library.
10872         * elf/dl-close.c: Use it instead of PIC.
10873         * elf/dl-load.c: Likewise.
10874         * elf/dl-open.c: Likewise.
10875         * hurd/geteuids.c: Likewise.
10876         * include/libc-symbols.h: Likewise.
10877         * include/shlib-compat.h: Likewise.
10878         * libio/freopen.c: Likewise.
10879         * linuxthreads/cancel.c: Likewise.
10880         * linuxthreads/pthread.c: Likewise.
10881         * linuxthreads/wrapsyscall.c: Likewise.
10882         * nss/nsswitch.c: Likewise.
10883         * stdio-common/vfprintf.c: Likewise.
10884         * sysdeps/arm/init-first.c: Likewise.
10885         * sysdeps/i386/init-first.c: Likewise
10886         * sysdeps/generic/init-first.c: Likewise.
10887         * sysdeps/generic/libc-start.c: Likewise.
10888         * sysdeps/mips/init-first.c: Likewise.
10889         * sysdeps/powerpc/elf/libc-start.c: Likewise.
10890         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10891         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10892         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10893         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10895         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10897 2000-03-29  Andreas Jaeger  <aj@suse.de>
10899         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10900         Use D_PTR to access relocated entries in l_info.
10901         (elf_machine_rela): Likewise.
10903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10904         Likewise.
10905         (elf_machine_rela): Likewise.
10907         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10908         Likewise.
10909         (__elf_machine_fixup_plt): Likewise.
10910         (__process_machine_rela): Likewise.
10912         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10913         (elf_machine_rela): Likewise.
10915         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10916         (elf_machine_rel): Likewise.
10918         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10919         (elf_machine_fixup_plt): Likewise.
10920         (elf_machine_rela): Likewise.
10922 2000-03-29  Andreas Jaeger  <aj@suse.de>
10924         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10925         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10926         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10927         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10928         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10929         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10930         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10931         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10932         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10933         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10934         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10935         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10936         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10937         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10938         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10940         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10941         macros, remove K&R prototypes.
10943 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
10945         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10946         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10947         (PR libc/1677).
10949 2000-03-30  Andreas Jaeger  <aj@suse.de>
10951         * misc/sys/cdefs.h: Remove K&R support.
10953 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
10955         * iconv/skeleton.c: Avoid compiling unaligned versions in some
10956         more cases.
10957         * iconv/loop.c: Likewise.
10959 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
10961         * iconv/loop.c (put16): Remove __const. Fix access index.
10962         (put32): Remove __const. Use uint32_t instead of uint16_t.
10963         * iconv/skeleton.c: Likewise.
10965 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
10967         * mach/Versions (libc: GLIBC_2.0)
10968         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10969         __vm_allocate on this.
10970         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10971         mutex- and spinlock-related symbols on this.
10972         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10973         New version set.  Lock-related symbols go here instead in this case.
10974         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10975         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10976         cthread_getspecific, cthread_setspecific, __libc_getspecific.
10977         * hurd/Versions
10978         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10979         Put them here instead.
10980         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10981         New version set.  Those cthreads symbols go here instead in this case.
10982         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10984 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
10986         * elf/dl-init.c (_dl_init): We don't need to call constructors
10987         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
10989         Implement dynamic determination of constructor/destructor order in
10990         the dynamic linker.
10991         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10992         (GLIBC_2.2): Add _dl_init.
10993         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10994         r_duplist is not anymore allocated separately.  l_initfini is and
10995         therefore free it if necessary.
10996         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10997         malloc block.  Otherwise allocate l_initfini list only.
10998         Put dependencies for the object in l_initfini list.
10999         Sort dependencies for the object to be loaded topologically.
11000         * elf/dl-fini.c: Before running the destructors sort the topologically.
11001         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
11002         call constructors instead of iterating over the pointers.  Get list of
11003         objects for which to run constructors from l_initfini element. Accept
11004         argc, argv, and env as parameters and pass them to the constructors.
11005         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
11006         with size of dynamic section.
11007         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
11008         _dl_init_next and calling constructors ourself.
11009         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
11010         Take argc, argv, and env as parameters and pass them to the
11011         constructors.  Rewrite to call all constructors and not iterate over
11012         the pointers.
11013         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
11014         precompute l_initcount and l_preinitcount.
11015         * elf/link.h (struct link_map): Add l_ldnum member.
11016         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
11017         l_initcount, and l_preinitcount.  Add l_initfini.
11018         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
11019         one for _dl_init.
11020         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
11021         function interface.
11022         * sysdeps/unix/sysv/linux/init-first.h: Removed.
11023         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
11024         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
11025         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
11026         conventions now match.
11028         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
11029         effect for shared objects.  Don't emit message and call only for
11030         static library.
11032 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
11034         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
11035         CSA_Z243.4-1985-1..UCS2.
11036         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
11037         ISO-8859-10..UCS2.
11039 2000-03-29  Andreas Jaeger  <aj@suse.de>
11041         * include/unistd.h: Remove duplicate entry for __rmdir.
11042         Remove declaration of __mkdir since __mkdir is declared in
11043         sys/stat.h.
11045         * manual/creature.texi (Feature Test Macros): Fix typo, reported
11046         by Michael Deutschmann <michael@talamasca.ocis.net>.
11048         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
11049         * sysdeps/mips/fpu/fegetenv.c: Likewise.
11050         * sysdeps/mips/fpu/fesetenv.c: Likewise.
11051         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11052         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11054 2000-03-28  Andreas Jaeger  <aj@suse.de>
11056         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11057         declaration, the prototype is defined via bits/mathcalls.h.
11058         (__sincosf): Likewise.
11059         (__sincosl): Likewise.
11060         (ldexp): Likewise.
11061         (ldexpf): Likewise.
11062         (ldexpl): Likewise.
11063         (__finite): Likewise.
11064         (__inline_mathcodeNP): New macro without prototype
11065         declarations.
11066         (__inline_mathcodeNP2): Likewise.
11067         (__inline_mathcodeNP3): Likewise.
11068         (__inline_mathcodeNP_): Likewise.
11069         (__inline_mathcodeNP2_): Likewise.
11070         (__inline_mathcodeNP3_): Likewise.
11071         (__inline_mathopNP): Likewise.
11072         (__inline_mathop_declNP): Likewise.
11073         (__inline_mathop_declNP_): Likewise.
11074         (__inline_mathcode_): Use __inline_mathcodeNP_.
11075         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11076         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11077         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11078         (__expm1l): Don't define prototype, the prototype is defined via
11079         bits/mathcalls.h.
11080         (exp): Likewise.
11081         (__expl): Likewise.
11082         (tan): Likewise.
11083         (atan2): Likewise.
11084         (__atan2l): Likewise.
11085         (fmod): Likewise.
11086         (pow): Likewise.
11087         (fabsf): Likewise.
11088         (fabsl): Likewise.
11089         (__fabsl): Likewise.
11090         (asin): Likewise.
11091         (acos): Likewise.
11092         (sinh): Likewise.
11093         (cosh): Likewise.
11094         (tanh): Likewise.
11095         (floor): Likewise.
11096         (ceil): Likewise.
11097         (expm1): Likewise.
11098         (log1p): Likewise.
11099         (asinh): Likewise.
11100         (acosh): Likewise.
11101         (atanh): Likewise.
11102         (hypot): Likewise.
11103         (logb): Likewise.
11104         (fma): Likewise.
11105         (drem): Likewise.
11106         (sqrt): Likewise.
11107         (__sqrtl): Likewise.
11108         (sin): Likewise.
11109         (cos): Likewise.
11110         (atan): Likewise.
11111         (log): Likewise.
11112         (log10): Likewise.
11113         (asinh): Likewise.
11114         (log2): Likewise.
11115         (rint): Likewise.
11117 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
11119         * Makerules: If make variable md5 is defined to yes after
11120         generating dependencies generate MD5 sum for the object.
11122         * iconv/gconv_builtin.h: Fix length in transformation definition
11123         for UNICODEBIG.
11125         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11127         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11128         allow as well reading from/writing to unaligned addresses on machines
11129         which don't support this in hardware.  Use FCTNAME macro to define
11130         function name.  Include the file a second time for platforms which
11131         need special unaligned handling.
11132         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11133         to access potentially unaligned addresses.  These macros are intended
11134         to be used only outside the loops.
11135         (unaligned): New definition.  In case the machine can handle unaligned
11136         access define as zero.  Otherwise as a variable which is initialized
11137         as nonzero in case the buffer passed in at runtime is unaligned with
11138         respect to the character set encoding involved.
11139         Call aligned or unaligned looop functions according to unaligned
11140         variable.
11141         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11142         of direct casting pointer to potentially handle unaligned memory
11143         accesses.
11144         * iconvdata/8bit-generic.c: Likewise.
11145         * iconvdata/ansi_x3.110.c: Likewise.
11146         * iconvdata/big5.c: Likewise.
11147         * iconvdata/euc-cn.c: Likewise.
11148         * iconvdata/euc-jp.c: Likewise.
11149         * iconvdata/euc-kr.c: Likewise.
11150         * iconvdata/euc-tw.c: Likewise.
11151         * iconvdata/gbk.c: Likewise.
11152         * iconvdata/iso-2022-cn.c: Likewise.
11153         * iconvdata/iso-2022-jp.c: Likewise.
11154         * iconvdata/iso-2022-kr.c: Likewise.
11155         * iconvdata/iso646.c: Likewise.
11156         * iconvdata/iso_6937-2.c: Likewise.
11157         * iconvdata/iso_6937.c: Likewise.
11158         * iconvdata/johab.c: Likewise.
11159         * iconvdata/sjis.c: Likewise.
11160         * iconvdata/t.61.c: Likewise.
11161         * iconvdata/uhc.c: Likewise.
11162         * iconvdata/unicode.c: Likewise.
11163         * iconvdata/utf-16.c: Likewise.
11165         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
11166         prototypes.
11168         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11169         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11170         public.
11171         * malloc/mcheck.h (mcheck_check_all): Declare.
11173         * stdio-common/Makefile (tests): Add tst-obprintf.
11175 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
11177         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11178         Declare pthread_sigmask.
11180         * csu/version.c: Add 2000 to copyright years.
11181         Remove Emacs local variables section.
11183 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
11185         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11186         __gconv_transform_internal_ucs2little): Remove declarations.
11187         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11188         __gconv_transform_internal_ucs2): Never need to bswap_16.
11189         (__gconv_transform_ucs2reverse_internal,
11190         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11192 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
11194         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11195         obsoleting version not being defined at all, in which case the
11196         result is always true.
11198         * Makeconfig (preprocess-versions): New canned sequence for running
11199         cpp on shlib-versions and the like.
11200         (soversions.i): Use it.
11201         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
11202         Versions.def and Versions files.
11204 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
11206         * stdio-common/tst-obprintf.c (main): Add another check to see
11207         obstack_printf handling all possible beginnings of the block
11208         inside an obstack chunk.
11210         * locale/programs/localedef.c: Use __malloc_initialize_hook to
11211         install mcheck handler.
11213         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
11214         handling problem.
11216 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
11218         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
11220         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
11221         on [HAVE_ELF && DO_VERSIONING].
11223 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
11225         * stdio-common/tst-obprintf.c: New file.
11227 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
11229         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
11230         _IO_OVERFLOW directly instead through __overflow.
11232         * locale/programs/localedef.c (construct_output_path): If path
11233         contains a / compute the end of the directory name correctly.
11235         * include/features.h: Undef and document __USE_XOPEN2K.
11237         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
11238         whenever a function is called.  Initiated by calling mcheck_pedantic
11239         instead of mcheck.
11240         * malloc/mcheck.h: Declare mcheck_pedantic.
11241         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
11242         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
11243         for now.
11245 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
11247         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
11248         * dlfcn/dlopenold.c: Likewise.
11249         * nss/getXXbyYY_r.c: Likewise.
11250         * nss/getXXent_r.c: Likewise.
11251         * hurd/hurdinit.c: Likewise.
11252         * hurd/compat-20.c: Likewise.
11253         * libio/oldiofopen.c: Likewise.
11254         * libio/oldiofclose.c: Likewise.
11255         * libio/oldiofdopen.c: Likewise.
11256         * libio/oldfileops.c: Likewise.
11257         * libio/oldstdfiles.c: Likewise.
11258         * libio/oldiofsetpos.c: Likewise.
11259         * libio/oldiofgetpos.c: Likewise.
11260         * libio/oldiofgetpos64.c: Likewise.
11261         * libio/oldiofsetpos64.c: Likewise.
11262         * libio/oldiopopen.c: Likewise.
11263         * libio/oldpclose.c: Likewise.
11264         * libio/oldtmpfile.c: Likewise.
11265         * libio/freopen.c (freopen): Likewise.
11266         * libio/iofclose.c (_IO_new_fclose): Likewise.
11268         * sysdeps/mach/sys/reboot.h: Include <features.h>.
11269         (reboot): Declare it.
11271         * libio/Makefile (headers): Add bits/stdio-lock.h here.
11273         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11275         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11277         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11278         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11279         We need this for the sbrk decl, which can be included without Unix98.
11281 2000-03-20  Richard Henderson  <rth@cygnus.com>
11283         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11284         argument to yperr2nss is an int, not size_t.
11285         * posix/regex.c (print_partial_compiled_pattern): Cast all
11286         ptrdiff_t to long for printing.
11287         (print_compiled_pattern): Use Z for printing size_t.
11288         * posix/testfnm.c (tests): Avoid trigraphs.
11289         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11290         Use a C comment, not an assembly comment.
11292         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11293         of __ASSUME_32BITUIDS.
11295 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
11297         * libio/iofopncook.c: Remove K&R prototypes.
11299 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
11301         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11302         an initial value of 1024 instead of RLIM_INFINITY.
11304         * Versions.def (libmachuser, libhurduser): Remove these sections,
11305         since these libraries do not presently use symbol versions.
11307         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11308         is RLIM_INFINITY, return -1 instead.
11310 2000-03-24  Andreas Jaeger  <aj@suse.de>
11312         * Makefile (postclean): Added soversions.i.
11314 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
11316         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11317         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11318         and _FPU_IEEE.  Change _FPU_RESERVED.
11320 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
11322         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11324 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
11326         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11327         (gaih_inet): Remove unused duplicate variable.
11329         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11330         Don't use __libc_sa_len, which only exists for Linux.  Just handle
11331         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11332         only flavors supported by this function anyway.
11334 2000-03-24  Geoff Clare  <gwc@unisoft.com>
11336         * stdlib/strfmon.c: Corrected problems with missing signs and
11337         missing or extra spaces; allow for sign strings longer than
11338         one character; add padding to ensure positive and negative
11339         formats are aligned when a left precision is used.
11341 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
11343         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11344         Patch by John Mizel <John.Mizel@msdw.com>.
11346 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
11348         * manual/install.texi: Remove references to crypt add-on.
11350 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
11352         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11353         section while taking the _hurd_rlimit_lock.
11354         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11356 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
11358         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11359         using $(LN_S).
11361         * sysdeps/mach/hurd/if_index.c: New file.
11363         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11364         * sysdeps/gnu/net/if.h: here.
11365         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11366         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11367         * sysdeps/generic/net/if.h: New file.  Declares just the standard
11368         functions and `struct if_nameindex' type.
11369         * socket/Makefile (headers): Add net/if.h here.
11370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11371         * sysdeps/mach/hurd/Dist: Remove it here.
11372         * sysdeps/unix/sysv/linux/Dist: And here.
11373         * sysdeps/generic/if_index.c: Include <net/if.h>.
11375 2000-03-24  Andreas Jaeger  <aj@suse.de>
11377         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11378         access relocated entries in l_info.
11379         (elf_machine_got_rel): Likewise.
11380         (elf_machine_runtime_setup): Likewise.
11381         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11382         (elf_machine_runtime_setup): Likewise.
11383         (__dl_runtime_resolve): Likewise.
11385 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
11387         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11388         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11389         according to RFC 2553.
11390         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11391         * inet/getnameinfo.c: Likewise.
11392         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11394 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
11396         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11397         Remove no-op pointer increment.
11399 2000-03-23  Andreas Jaeger  <aj@suse.de>
11401         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11402         follow change for libio.h from 2000-03-10.
11404 2000-03-23  Andreas Jaeger  <aj@suse.de>
11406         * elf/dl-addr.c: Adjust include paths for ldsodefs location
11407         change.
11408         * elf/dl-debug.c: Likewise.
11409         * elf/dl-deps.c: Likewise.
11410         * elf/dl-error.c: Likewise.
11411         * elf/dl-fini.c: Likewise.
11412         * elf/dl-init.c: Likewise.
11413         * elf/dl-load.c: Likewise.
11414         * elf/dl-lookup.c: Likewise.
11415         * elf/dl-minimal.c: Likewise.
11416         * elf/dl-object.c: Likewise.
11417         * elf/dl-open.c: Likewise.
11418         * elf/dl-preinit.c: Likewise.
11419         * elf/dl-profile.c: Likewise.
11420         * elf/dl-profstub.c: Likewise.
11421         * elf/dl-reloc.c: Likewise.
11422         * elf/dl-runtime.c: Likewise.
11423         * elf/dl-support.c: Likewise.
11424         * elf/dl-symbol.c: Likewise.
11425         * elf/dl-version.c: Likewise.
11426         * elf/rtld.c: Likewise.
11427         * elf/sprof.c: Likewise.
11428         * sysdeps/generic/dl-cache.c: Likewise.
11429         * sysdeps/generic/dl-origin.c: Likewise.
11430         * sysdeps/generic/dl-sysdep.c: Likewise.
11431         * sysdeps/generic/elf/backtracesyms.c: Likewise.
11432         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11433         * sysdeps/generic/libc-start.c: Likewise.
11434         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11435         * sysdeps/powerpc/dl-machine.c: Likewise.
11436         * sysdeps/powerpc/elf/libc-start.c: Likewise.
11437         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11438         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11439         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11441         * elf/ldsodefs.h: Move file to ...
11442         * sysdeps/generic/ldsodefs.h: ... here.
11444         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11446         * sysdeps/mips/elf/ldsodefs.h: New file.
11448         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11449         entries in l_info.
11450         (_dl_check_map_versions): Likewise.
11451         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11452         * elf/dl-load.c (_dl_init_paths): Likewise.
11453         (_dl_map_object): Likewise.
11454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11455         (elf_get_dynamic_info): Likewise.
11456         * elf/do-lookup.h (FCT): Likewise.
11457         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11458         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11459         * elf/dl-addr.c (_dl_addr): Likewise.
11460         * elf/dl-runtime.c (profile_fixup): Likewise.
11461         (fixup): Likewise.
11462         * elf/dl-init.c (_dl_init_next): Likewise.
11463         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11464         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11465         (DISTINGUISH_LIB_VERSIONS): Likewise.
11466         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11467         (elf_machine_rel): Likewise.
11469         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11470         for writable dynamic section.
11472 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
11474         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11475         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11477 2000-03-22  Andreas Jaeger  <aj@suse.de>
11479         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11480         from latest Linux kernel.
11482 2000-03-21  Andreas Jaeger  <aj@suse.de>
11484         * Versions.def: Add version 2.1.4.
11486 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
11488         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11489         * libio/oldiofopen.c: Likewise.
11490         * libio/oldiofclose.c: Likewise.
11491         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11493 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
11495         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11496         indicating the first version set to obsolete the conditionalized code.
11497         (compat_symbol): New macro.
11498         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11499         rhs be the ABI_* macro for the subsuming version.  Assign increasing
11500         integer values to the ABI_* macros for supported versions.
11501         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11502         compat_symbol macro.
11504 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
11506         * nscd/connections.c (nscd_run): Pretty print.
11507         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11509         * manual/charset.texi: Fix typos.  Rephrase.
11510         * manual/process.texi: Likewise.
11511         * manual/signal.texi: Likewise.
11512         Patches by Mike Coleman <mkc@kc.net>.
11514         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11515         versions.
11516         * libio/iofdopen.c: Likewise.
11517         * libio/iofgetpos.c: Likewise.
11518         * libio/iofgetpos64.c: Likewise.
11519         * libio/iofopen.c: Likewise.
11520         * libio/iofsetpos.c: Likewise.
11521         * libio/iofsetpos64.c: Likewise.
11522         * libio/iopopen.c: Likewise.
11523         * libio/oldiofopen.c: Likewise.
11524         * libio/pclose.c: Likewise.
11525         * sysdeps/gnu/siglist.c: Likewise.
11526         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11528         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11529         chance to expand VERSION_##lib##_##version.
11531         * libio/fileops.c: Use new macros from shlib-compat.h to define
11532         versions.
11533         * libio/iofclose.c: Likewise.
11534         * libio/oldiofclose.c: Likewise.
11535         Patch by Roland McGrath <roland@frob.com>.
11537 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
11539         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11540         Lay out struct sigcontext according to what really gets passed on
11541         the stack.
11542         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11543         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11544         (prgregset_t, prfpregset_t): Define to elf_* types.
11545         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11546         Define to correct value.
11547         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11548         sigcontext.
11549         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11551 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
11553         * scripts/firstversions.awk: Allow multiple version sets in the
11554         "earliest version" specification, meaning that version sets in the
11555         gaps between listed versions should be folded into the earliest later
11556         version that is explicitly listed.
11557         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11558         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11560 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
11562         * iconv/gconv_builtin.c: Include <endian.h>.
11563         * iconv/gconv_builtin.h: Add UCS-BE aliases.
11564         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
11565         according to current platform.
11566         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11567         __gconv_transform_internal_ucs2reverse, and
11568         __gconv_transform_internal_ucs4le.
11569         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11570         __gconv_transform_ucs2reverse_internal and
11571         __gconv_transform_internal_ucs2reverse.
11572         * iconvdata/Makefile (modules): Add UNICODE.
11573         (distribute): Add unicode.c.
11574         * iconvdata/gconv-modules: Add definitions for UNICODE module.
11575         * iconvdata/unicode.c: New file.
11577         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
11578         determine byte order of input and convert accordingly.
11580         * iconvdata/utf-16.c (gconv_init): Fix typo.
11582 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
11584         * iconvdata/gconv-modules: Fix typo.
11586         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11587         more messages.
11589         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11591 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
11593         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11595 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
11597         * misc/Makefile (routines): Add mincore.
11599 2000-03-20  Andreas Jaeger  <aj@suse.de>
11601         * sysdeps/generic/mincore.c: New stub file.
11603         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11604         from latest Linux kernel.
11606 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
11608         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11609         _SC_GETPW_R_SIZE_MAX.
11611 2000-03-20  Richard Henderson  <rth@cygnus.com>
11613         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11614         in GLIBC_2.1.4.
11616 2000-03-20  Richard Henderson  <rth@cygnus.com>
11618         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11619         of arithmetic instructions.
11621         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11622         with the fpcr.  Protect from INV exception.
11623         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11624         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11625         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11627         * sysdeps/alpha/fpu/s_copysign.c: New.
11628         * sysdeps/alpha/fpu/s_copysignf.c: New.
11629         * sysdeps/alpha/fpu/s_fabs.c: New.
11630         * sysdeps/alpha/fpu/s_fabsf.c: New.
11631         * sysdeps/alpha/fpu/s_rint.c: New.
11632         * sysdeps/alpha/fpu/s_rintf.c: New.
11634         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11636         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11637         Kill sethae.
11638         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11639         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11640         Use physical addresses not KSEG addresses.
11641         (io_system): Add PYXIS.
11642         (io): Remove hae.reg, sys, hae_shift.
11643         (stb_mb, stw_mb, stl_mb, __sethae): New.
11644         (inline_outb, inline_outw, inline_outl): Don't set hae.
11645         (inline_inb, inline_inw, inline_inl): Likewise.
11646         (dense_sethae): New null function.
11647         (struct cpuinfo_data): New.
11648         (process_cpuinfo): Use local and stack variables, not static.
11649         Move readlink check here from init_iosys.
11650         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
11651         (_iopl): Simplify.
11652         (_hae_shift): Calculate it here.
11653         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11654         add pciconfig_iobase.
11656 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
11658         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11659         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11661         * scripts/versions.awk: Fixed version renaming code to distinguish
11662         libraries properly.
11664 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
11666         * include/stdlib.h: Add prototype for __cxa_atexit.
11668         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11669         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
11671 2000-03-17  Cristian Gafton  <gafton@redhat.com>
11673         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11674         existing rtld-installed-name.
11675         ($(rtld-installed-name)): Request libc-$(version) be installed too.
11676         replace existing rtld-installed-name using $(symbolic-link-prog).
11678 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
11680         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11681         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11682         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11683         but not the former.
11685 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
11687         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11688         glob64.  Since there is no glob64 in the LFS proposal applications
11689         can assume that glob handles LFS situations.  glob64 is only needed
11690         if alternative filesystem functions are used.
11692 2000-03-19  Geoff Clare  <gwc@unisoft.com>
11694         * sysdeps/generic/glob.c: Correct gl_pathc value returned
11695         when GLOB_DOOFFS is set; correct handling of patterns
11696         containing escaped wildcards (and no unescaped ones);
11697         GLOB_ERR flag was being ignored in some situations.
11699         * posix/globtest.c, posix/globtest.sh: Updated to include
11700         tests for the problems fixed by the above changes to glob.c.
11702         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11704 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
11706         * Makeconfig (soversion.i): Use only first match for each lib.
11708         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11710         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11711         rather than $(sysd-dirs-done) to protect these rules.
11713         * Makerules (version-renames.def): Target removed.
11714         (Versions.all): Depend on soversions.i directly and parse it.
11716         * Makeconfig (soversions.i): New target, input-reading parts of
11717         soversions.mk generation moved here; result is a canonicalized
11718         list "LIB VERSION [SET]" for this configuration.
11719         (soversions.mk): Use that as input.  Don't emit map-firstversions.
11720         * Makerules (version-renames.def): New target, generated from
11721         soversions.i with contents that was in $(map-firstversions).
11722         (Versions.all): Don't depend on soversions.mk, depend on
11723         version-renames.def instead; just cat it into the input.
11725         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11726         for $(map-firstversions), which better handles it being empty.
11728         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11729         supported version for libc 0.2.90.libio to GLIBC_2.2.
11731         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11732         and use it to emit new variable `map-firstversions'.
11733         * scripts/firstversions.awk: New file.
11734         * Makerules (Versions.all): Use scripts/firstversions.awk and
11735         the $(map-firstversions) value to generate a modified versions list
11736         that includes renames in "A = B" syntax for each version set earlier
11737         than the "earliest symbol version" named in shlib-versions.
11738         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11739         rename version set A to B in the output to the intermediate file.
11740         * scripts/abi-versions.awk: New file.
11741         * Makerules (abi-versions.h): New target, generated by that script.
11742         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11743         * include/shlib-compat.h: New file, uses that generated header.
11745 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
11747         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11748         after stripping # comments, and then run it through cpp.
11749         This allows things like "%ifdef FOO" based on config.h settings.
11750         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11752         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11753         and other errors that indicate a pseudo-receive happened, grok through
11754         the message buffer for port rights that need references fixed up.
11756 2000-03-16  Andreas Jaeger  <aj@suse.de>
11758         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11760         * sysdeps/unix/sysv/linux/madvise.c: Remove.
11762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11763         from latest Linux kernel.
11764         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11766         * misc/sys/mman.h: Add prototype for mincore.
11768 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
11770         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11771         entry for GLIBC_2.0 version of setrlimit.
11772         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11774 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
11776         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11777         * nis/nss_compat/compat-initgroups.c: Likewise.
11778         * nis/nss_nis/nis-initgroups.c: Likewise.
11779         * nis/nss_nis/nis-netgrp.c: Likewise.
11780         * nis/nss_nis/nis-proto.c: Likewise.
11781         * nis/nss_nis/nis-rpc.c: Likewise.
11782         * nis/nss_nis/nis-service.c: Likewise.
11783         * nis/ypclnt.c: Likewise.
11785 2000-03-16  Andreas Jaeger  <aj@suse.de>
11787         * manual/Makefile: MAKEINFO is set to `:' from configure if it
11788         doesn't exist, correct checks.  Fixes PR libc/1649.
11790 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
11792         * nscd/hstcache.c: Restore correct UID.
11793         * nscd/pwdcache.c: Likewise.
11794         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11796 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
11798         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11799         macros for register names, in line with 2000-03-14 linux change.
11801         * sysdeps/mach/sched_yield.c: New file.
11803 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
11805         * sysdeps/generic/lockfile.c: Include <stdio.h>
11806         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11807         case <libio.h> defined them.
11808         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11809         from __internal_*.
11810         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11811         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11813         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11814         for more pleasing parse error.
11816 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
11818         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11819         memory for eras.
11820         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11822         * elf/Makefile: Add rules to compile and run constload1 test.
11823         * elf/constload1.c: New file.
11824         * elf/constload2.c: New file.
11825         * elf/constload3.c: New file.
11827 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
11829         * sysdeps/posix/open64.c: Make __open64 weak alias.
11830         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11831         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11832         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11833         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11834         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11835         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11836         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11837         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11838         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11839         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11841 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
11843         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11844         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11846 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
11848         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11849         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11851 2000-03-08  Andreas Jaeger  <aj@suse.de>
11853         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11855 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
11857         * timezone/africa: Update from tzdata2000d.
11858         * timezone/asia: Likewise.
11859         * timezone/australasia: Likewise.
11860         * timezone/europe: Likewise.
11861         * timezone/northamerica: Likewise.
11862         * timezone/southamerica: Likewise.
11864         * po/fr.po: Update from translation team.
11865         * po/de.po: Likewise.
11867         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11868         last parameter.  Move code to add map to global scope from here...
11869         * elf/dl-open.c (dl_open_worker): ...here.
11870         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11871         * elf/rtld.c: Adjust call to _dl_map_object_deps.
11873         * locale/programs/ld-collate.c (collate_read): Fix warning.
11875         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11876         values and macros for register names.
11878         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11879         returned by seek cookie function is -1.
11881 2000-03-14  Andreas Jaeger  <aj@suse.de>
11883         * locale/localeconv.c (localeconv): Fix typo.
11884         Reported by Andre Charbonneau <andrec@corel.com>.
11886 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
11888         * iconv/skeleton.c: Increment __invocation_counter in inner loop
11889         since modules depend on it counting the number of times the conversion
11890         function got called.
11892         * iconv/gconv_open.c: Optimize loop to setup step data structure.
11894         * iconv/gconv.h: Pretty print.
11896 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
11898         * posix/wordexp-test.c: Correct one of the tests added in the last
11899         change.  Really get the root passwd entry to check again ~root.
11901 2000-03-10  Andreas Jaeger  <aj@suse.de>
11903         * manual/filesys.texi (Working Directory): Fix last patch.
11904         Patch by Martin Buchholz  <martin@xemacs.org>.
11906 2000-03-10  Andreas Jaeger  <aj@suse.de>
11908         * manual/creature.texi (Feature Test Macros): Fix language.
11910 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
11912         * mach/devstream.c (devstream_write, devstream_read): New functions.
11913         (input, output): Functions removed.
11914         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11915         using only the vanilla fopencookie interface.
11917         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11918         as macro for __io_functions.
11919         (funcsio): Use cookie_io_functions_t type name.
11920         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
11922         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11923         fopencookie.
11924         (fopencookie): Use it.
11925         * libio/libio.h: Declare _IO_cookie_init.
11926         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11927         _IO_cookie_init.
11929         * libio/libio.h (__io_seek_fn): Fix second argument type
11930         to be a pointer, in line with the manual and the old stdio.
11931         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11933         * sysdeps/generic/bits/stdio-lock.h: New file.
11934         This is a stub with #error, but that's better than no file at all.
11936 2000-03-09  Martin Buchholz  <martin@xemacs.org>
11938         * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11939         * manual/message.texi (Using gettextized software): Doc Fixes.
11940         * manual/message.texi (Message Translation): Doc Fixes.
11941         * manual/filesys.texi (File Size): Doc Fixes.
11942         * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11943         * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11944         * iconv/gconv_db.c (find_derivation): Doc Fixes.
11945         * manual/install.texi: Doc Fixes.
11946         * manual/search.texi (Hash Search Function): Doc Fixes.
11947         * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11948         * FAQ.in: Doc Fixes.
11949         * config.h.in: Doc Fixes.
11950         * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11951         Doc Fixes.  `allows to' is not correct English.
11953         * elf/rtld.c: Doc fixes.
11954         * manual/creature.texi (Feature Test Macros): Doc fixes.
11955         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11957         * manual/filesys.texi (Working Directory): Check for ERANGE to
11958         avoid infloop.
11960 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
11962         * string/argz-stringify.c (__argz_stringify): Fix loop termination
11963         conditions so as not to clobber the final '\0' when there is only one
11964         element in the vector.
11966 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11968         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11969         broken by 2000-02-27 change.
11971         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11973 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
11975         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11976         argument type, for 2000-02-22 change in signal/signal.h declaration.
11978 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11980         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11981         to getdirentries64 (no __), since the Linux implementation
11982         has no __ name, and there is no declaration for the __ name.
11984         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11986         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11987         sed regexp so as not to break directory names including /../ within.
11989         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11990         The sysdeps/generic file is right for BSD.  This file was in fact the
11991         Hurd file, but the only difference was the WNOREAP flag that was never
11992         actually implemented or used anywhere.
11994         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11995         since AC_PATH_PROG already does it for us.
11996         (PERL): Rewrite check added in 2000-02-29 change for syntactic
11997         correctness and sh portability.  I replaced the broken check
11998         with a more sensible implementation of the apparently intended
11999         semantics, which might still be questionable.  Using expr causes
12000         a non-numeric value for `perl -V:apiversion` to be accepted,
12001         refusing to use only a perl that reports a number less than 5;
12002         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
12003         * configure: Regenerated.
12005 2000-03-08  Andreas Jaeger  <aj@suse.de>
12007         * manual/crypt.texi: Fix paths.
12009 2000-03-07  Andreas Jaeger  <aj@suse.de>
12011         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
12012         were swapped.
12013         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
12014         libc/1636.
12016 2000-03-06  Andreas Jaeger  <aj@suse.de>
12018         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
12019         in __sgn1l, otherwise g++ fails to parse this.
12020         Reported by Sean Chen <sean.chen@turbolinux.com>.
12022 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
12024         * configure.in: Compute sizeof-long-double.
12025         * configure: Regenerated.
12026         * config.make.in: Make sizeof-long-double available to sub-makes.
12028 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
12030         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12031         call.
12033 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
12035         * Makeconfig (rpath-dirs): Add crypt.
12036         (all-subdirs): Remove md5crypt.
12037         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
12038         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
12039         * sysdeps/generic/crypt-entry.c: Delete.
12040         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
12041         * sysdeps/generic/crypt.h: Delete.
12042         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
12043         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
12044         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
12045         * sysdeps/generic/des_impl.c: Delete.
12046         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
12047         * crypt/sysdeps: Delete.
12048         * crypt/crypt_util.c: Don't use `patchlevel.h'.
12049         * md5-crypt/Versions: Move to crypt/.
12050         * md5-crypt/md5-crypt.c: Move to crypt/.
12051         * md5-crypt/md5.c: Move to crypt/.
12052         * md5-crypt/md5c-test.c: Move to crypt/.
12053         * md5-crypt/md5test.c: Move to crypt/.
12054         * md5-crypt: Delete.
12055         * crypt/Makefile: Adjust for new structure.
12057 2000-03-03  Paul Eggert  <eggert@twinsun.com>
12059         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12060         define to 1 if not defined.
12062 2000-03-03  Andreas Jaeger  <aj@suse.de>
12064         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12066 2000-03-03  Andreas Jaeger  <aj@suse.de>
12068         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12069         cases.
12070         (xdr_int64_t): Correctly handle lower half.
12071         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12073 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
12075         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12076         call.
12078 2000-03-02  Andreas Jaeger  <aj@suse.de>
12080         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12081         2.3.43.
12083 2000-03-02  Andreas Jaeger  <aj@suse.de>
12085         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12087 2000-03-01  Andreas Jaeger  <aj@suse.de>
12089         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12090         (tests): Added tst-getdate.
12092         * time/tst-getdate.c: New file.
12094         * time/datemsk: New file, needed for tst-getdate.
12096 2000-02-29  Cristian Gafton  <gafton@redhat.com>
12098         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12100 2000-02-17  H.J. Lu  <hjl@gnu.org>
12102         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12104         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12105         available.
12106         (svcudp_recv): Set up message with the new "xp_pad" field for
12107         IP_PKTINFO.
12108         (svcudp_reply): Support IP_PKTINFO if available.
12110 2000-03-01  Andreas Jaeger  <aj@suse.de>
12112         * time/getdate.c (check_mday): Fix check for february.
12113         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12114         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12116 2000-03-02  Andreas Jaeger  <aj@suse.de>
12118         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12119         g++ fails to parse this.
12120         Reported by Sean Chen <sean.chen@turbolinux.com>.
12122 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
12124         * io/creat.c: Moved to...
12125         * sysdeps/generic/creat.c: ...here.
12126         * io/creat64.c: Moved to...
12127         * sysdeps/generic/creat64.c: ...here.
12128         * io/lockf.c: Moved to...
12129         * sysdeps/generic/lockf.c: ...here.
12131         * crypt/crypt.texi: Moved to...
12132         * manual/crypt.texi: ...here.
12133         * crypt/examples/genpass.c: Moved to...
12134         * manual/examples/genpass.c: ...here.
12135         * crypt/examples/mygenpass.c: Moved to...
12136         * manual/examples/mygenpass.c: ...here.
12137         * crypt/examples/testpass.c: Moved to...
12138         * manual/examples/testpass.c: ...here.
12140         * manual/Makefile (chapters): Add crypt.
12141         * manual/conf.texi: Add usual header for not-last chapter.
12142         * manual/crypt.texi: Add special header for last chapter.
12144 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
12146         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12147         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12148         complain if there is no crypt add-on.
12149         * crypt/configure: Removed.
12151         * crypt/crypt.texi: Update documentation of US export restrictions
12152         to match the 14 Jan 2000 regulations.
12154 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
12156         * crypt: New subdirectory, merged in from the crypt add-on.
12158 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
12160         * include/unistd.h: Add __rmdir and __mkdir prototypes.
12163 See ChangeLog.10 for earlier changes.