1 2001-01-10 H.J. Lu <hjl@gnu.org>
3 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
8 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
9 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
10 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
12 2001-01-11 Ulrich Drepper <drepper@redhat.com>
14 * libio/stdio.h: Remove definition of off_t.
16 2001-01-11 Andreas Jaeger <aj@suse.de>
18 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
21 2001-01-10 Ulrich Drepper <drepper@redhat.com>
23 * sunrpc/Makefile (distribute): Add errqueue.h.
25 2001-01-10 H.J. Lu <hjl@gnu.org>
27 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
28 r9, r10 and r11 for language specific registers.
30 2001-01-10 Jakub Jelinek <jakub@redhat.com>
32 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
34 (clntudp_call): Handle MSG_ERRQUEUE.
35 * sysdeps/generic/errqueue.h: New file.
36 * sysdeps/unix/sysv/linux/errqueue.h: New file.
38 2001-01-10 H.J. Lu <hjl@gnu.org>
40 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
42 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
44 * CONFORMANCE: Update.
46 2001-01-09 Ulrich Drepper <drepper@redhat.com>
48 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
49 Minimal cleanups. Add assert to ensure memory handling is correct.
51 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
52 Reported by Ben Collins <bcollins@debian.org>.
54 * time/strftime.c (my_strftime): Mark previous GNU extensions
55 which are now in C99 as such.
57 2001-01-08 Ulrich Drepper <drepper@redhat.com>
59 * elf/rtld.c (process_envvars): Place output files for profiling
60 in SUID binaries in /var/profile.
62 * elf/dl-load.c (_dl_map_object): Don't look in cache for
63 preloading in SUID binaries.
65 * elf/dl-profile.c (_dl_start_profile): Open the output file with
66 O_NOFOLLOW if possible.
68 * include/stdlib.h: Add __posix_openpt declaration.
69 * stdlib/stdlib.h: Add posix_openpt declaration.
70 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
71 * sysdeps/generic/getpt.c: Define posix_openpt.
72 * sysdeps/unix/bsd/getpt.c: Likewise.
73 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
75 * time/Makefile (tests): Add tst-mktime.
76 * time/tst-mktime.c: New file.
78 * posix/tst-dir.c (main): One more mkdir() test.
80 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
81 Remove getpagesize syscall. We assume that the pagesize is always
82 determined from the auxiliary vector.
84 * intl/dcigettext.c: Fix a few warnings.
85 Patch by Bruno Haible <haible@ilog.fr>.
87 2001-01-08 Andreas Jaeger <aj@suse.de>
89 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
90 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
92 2001-01-08 Ulrich Drepper <drepper@redhat.com>
94 * sysdeps/generic/segfault.c (install_handler): Check output file
97 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
98 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
100 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
102 * malloc/memusage.c (me): Use access() to determine whether we
103 should write the output file or not.
105 * libio/bits/stdio.h (printf): Define macro to map printf call to
106 fprintf which gcc can optimize.
107 * stdio-common/printf.c: Undefine printf.
109 2001-01-07 Ulrich Drepper <drepper@redhat.com>
111 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
112 patch. We must use unsigned int for l member of union.
114 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
115 _dl_aux_init for shared libraries.
117 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
118 * sysdeps/gnu/glob64.c: ...here. New file.
120 2001-01-07 Ben Collins <bcollins@debian.org>
122 * manual/examples/longopt.c: Make the "struct option" a little
123 more like it should be, adding usage of required_argument,
124 noargument and such, and also setting the options string right.
126 * manual/sysinfo.texi (Load Average): New section, documents
129 2001-01-06 Ulrich Drepper <drepper@redhat.com>
131 * version.h (VERSION): Bump to 2.2.1.
133 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
134 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
135 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
136 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
137 * Makefile (distribute): Add include/libc-internal.h.
138 * libio/Makefile (distribute): Avoid overwriting.
140 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
141 buffer and table handling.
143 2001-01-05 H.J. Lu <hjl@gnu.org>
145 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
146 vector checking to ...
147 (_dl_aux_init): Here. New function. Defined only if
148 HAVE_AUX_VECTOR is defined.
150 * sysdeps/generic/libc-start.c (__libc_start_main): Call
151 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
153 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
156 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
157 (HAVE_AUX_VECTOR): Defined.
158 (_dl_aux_init): Declared.
160 2001-01-05 Ben Collins <bcollins@debian.org>
162 * manual/string.texi (Finding Tokens in a String): Document XPG
163 basename() and dirname(), as well as GNU basename().
165 2001-01-05 Jakub Jelinek <jakub@redhat.com>
167 * Makeconfig (preprocess-version): Replace -traditional with
168 -x assembler-with-cpp.
170 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
172 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
173 for GCC 2.97 or later.
175 2001-01-05 Ben Collins <bcollins@debian.org>
177 * manual/stdio.texi (getline): Clarify the return value in the
178 case of EOF being reached before a newline.
180 2001-01-04 Jakub Jelinek <jakub@redhat.com>
182 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
184 (pmap_set, pmap_unset): Check __get_myaddress return value.
186 2001-01-05 Mark Kettenis <kettenis@gnu.org>
188 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
189 (struct ether_addr): Declare ether_addr_octet member as
190 `u_int8_t'. Add __attribute__ ((__packed__)).
192 2001-01-06 Mark Kettenis <kettenis@gnu.org>
194 * sysdeps/mach/hurd/readdir64.c: New file.
195 * sysdeps/mach/hurd/readdir64_r.c: New file.
197 2001-01-07 Mark Kettenis <kettenis@gnu.org>
199 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
200 `struct statfs' and `struct statvfs' being identical.
201 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
203 2001-01-06 Mark Kettenis <kettenis@gnu.org>
205 * sysdeps/mach/hurd/fstatfs64.c: New file.
206 * sysdeps/mach/hurd/fstatvfs64.c: New file.
207 * sysdeps/mach/hurd/statfs64.c: New file.
208 * sysdeps/mach/hurd/statvfs64.c: New file.
209 * sysdeps/mach/hurd/statfsconv.c: New file.
210 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
212 2001-01-06 Ulrich Drepper <drepper@redhat.com>
214 * iconv/skeleton.c: Reset outbuf for next round of the loop.
215 Reported by Owen Taylor <otaylor@redhat.com>.
216 * iconv/Makefile (tests): Add tst-iconv3.
217 * iconv/tst-iconv3.c: New file.
219 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
220 * iconvdata/ibm933.c: Likewise.
221 * iconvdata/ibm935.c: Likewise.
222 * iconvdata/ibm937.c: Likewise.
223 * iconvdata/ibm939.c: Likewise.
224 * iconvdata/ibm930.h: Adjust single byte table for optimization.
225 * iconvdata/ibm933.h: Likewise.
226 * iconvdata/ibm935.h: Likewise.
227 * iconvdata/ibm939.h: Likewise.
229 * iconvdata/testdata/IBM930: Add misssing SI.
230 * iconvdata/testdata/IBM933: Likewise.
231 * iconvdata/testdata/IBM935: Likewise.
232 * iconvdata/testdata/IBM937: Likewise.
233 * iconvdata/testdata/IBM939: Likewise.
235 2001-01-06 Andreas Jaeger <aj@suse.de>
237 * configure.in: Check for old add-ons that shouldn't be used with
238 current glibc anymore.
240 2001-01-06 Mark Kettenis <kettenis@gnu.org>
242 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
243 instead of -1 on failure. Don't forget to copy file name into
244 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
247 2001-01-06 Mark Kettenis <kettenis@gnu.org>
249 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
250 copy st_atime member.
252 2001-01-05 Ulrich Drepper <drepper@redhat.com>
254 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
255 for searches from the root directory.
256 Reported by loris <loris@iol.it> [PR libc/1991].
257 * io/Makefile (tests): Add bug-ftw1.
258 * io/bug-ftw1.c: New file.
260 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
261 if it is not available. Instead use it only if it is available.
262 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
264 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
265 overflowing output buffer.
266 (internal_ucs4_loop_unaligned): Likewise.
267 (ucs4_internal_loop): Likewise.
268 (ucs4_internal_loop_unaligned): Likewise.
269 (internal_ucs4le_loop): Likewise.
270 (internal_ucs4le_loop_unaligned): Likewise.
271 (ucs4le_internal_loop): Likewise.
272 (ucs4le_internal_loop_unaligned): Likewise.
273 Reported by Owen Taylor <otaylor@redhat.com>.
274 * iconv/Makefile (tests): Add tst-iconv2.
275 * iconv/tst-iconv2.c: New file.
277 2001-01-04 H.J. Lu <hjl@gnu.org>
279 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
280 (_dl_clktck): Declared.
281 (non_dynamic_init): Take 3 arguments.
282 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
284 2001-01-01 Bruno Haible <haible@clisp.cons.org>
286 Finish implementation of plural form handling.
287 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
288 'domainname'. Remove 'plindex' field. Add 'domain' and
289 'translation_length' fields.
290 (transcmp): Don't compare 'plindex' fields.
291 (plural_lookup): New function.
292 (DCIGETTEXT): Change cache handing in the plural case. Don't call
293 plural_eval before the translation and its catalog file have been
294 found. Remove plindex from cache key. Add 'translation_length' and
295 'domain' to cache result.
296 (_nl_find_msg): Remove index argument, return length of translation
297 to the caller instead. Weaken comparison of string lengths, to account
298 for plural entries. Call iconv() on the entire result string, not
299 only on the portion needed so far.
300 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
302 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
304 2001-01-04 Ulrich Drepper <drepper@redhat.com>
306 * intl/plural.y (yylex): Minimal improvement in number scanner.
308 2000-07-31 Bruno Haible <haible@clisp.cons.org>
310 * intl/plural.y: Include config.h. Needed to define 'inline' away for
311 C compilers that don't support it.
312 (yylex): Don't use gcc specific case range syntax.
313 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
316 2000-10-12 Bruno Haible <haible@clisp.cons.org>
318 * intl/finddomain.c: Remove unneeded includes.
320 2000-10-12 Bruno Haible <haible@clisp.cons.org>
322 * intl/localealias.c (memcpy): Return first argument, just like the
323 real memcpy function does.
324 * intl/bindtextdom.c (memcpy): Likewise.
325 * intl/finddomain.c (memcpy): Likewise.
326 * intl/l10nflist.c (memcpy): Likewise.
327 * intl/textdomain.c (memcpy): Likewise.
328 From Paul Eggert <eggert@twinsun.com>.
330 2001-01-03 Jakub Jelinek <jakub@redhat.com>
332 * resolv/resolv.h (struct __res_state): Add nsinit field.
333 * resolv/res_send.c (res_nsend): Use it instead of nscount.
334 * resolv/res_init.c (__res_vinit): Initialize it.
335 (res_nclose): Clear it instead of nscount.
337 2001-01-04 Ulrich Drepper <drepper@redhat.com>
339 * malloc/mtrace.pl: Fix matching of addresses.
340 Patch by Aharon Robbins <arnold@skeeve.com>.
342 * Versions.def (ld): Add GLIBC_2.2.
344 * catgets/gencat.c: Copyright 2001.
345 * csu/version.c: Likewise.
346 * debug/catchsegv.sh: Likewise.
347 * debug/xtrace.sh: Likewise.
348 * elf/ldconfig.c: Likewise.
349 * elf/sprof.c: Likewise.
350 * iconv/iconv_prog.c: Likewise.
351 * locale/locale.c: Likewise.
352 * locale/localedef.c: Likewise.
353 * malloc/memusage.sh: Likewise.
354 * malloc/mtrace.pl: Likewise.
355 * nscd/nscd.c: Likewise.
356 * posix/getconf.c: Likewise.
358 2001-01-04 Mark Kettenis <kettenis@gnu.org>
360 * include/stdio.h: Only provide __getwc_unlocked prototype if
361 USE_IN_LIBIO is defined.
363 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
365 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
368 2001-01-03 Andreas Schwab <schwab@suse.de>
370 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
371 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
373 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
374 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
376 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
377 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
380 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
382 * sysdeps/generic/strtol_l.c: Likewise.
383 * sysdeps/generic/strtoul_l.c: Likewise.
384 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
386 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
387 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
388 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
389 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
391 2001-01-04 Andreas Jaeger <aj@suse.de>
393 * nss/nsswitch.c: Include files for missing prototypes, remove
394 buggy declaration of prototypes.
396 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
398 * resolv/Versions: Fix bracing.
399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
400 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
402 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
404 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
406 2001-01-02 Ulrich Drepper <drepper@redhat.com>
408 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
409 Suggested by Minko Markov <mmarkov@home.com>.
411 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
413 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
414 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
416 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
418 2001-01-02 Ben Collins <bcollins@debian.org>
420 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
421 if TZ is not set and TZDEFAULT is not present.
423 2001-01-01 Ben Collins <bcollins@debian.org>
425 * string/strings.h: Make sure we declare our functions even if
426 string.h is already included, based on whether or not __USE_BSD is
429 2001-01-02 Ulrich Drepper <drepper@redhat.com>
431 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
432 other dlopen() and dlsym().
433 Based on a patch by Ben Collins <bcollins@debian.org>.
435 2001-01-02 Andreas Jaeger <aj@suse.de>
437 * dlfcn/errmsg1.c (main): Call dlerror initially.
438 Reported by Ben Collins <bcollins@debian.org>.
440 2001-01-02 Ulrich Drepper <drepper@redhat.com>
442 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
443 value is ignored if the selected locale is the C locale.
444 * intl/tst-gettext.c: Set locale for above change.
445 * intl/tst-translit.c: Likewise.
447 2001-01-02 Andreas Jaeger <aj@suse.de>
449 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
450 (_IO_switch_to_wget_mode): Likewise.
451 (_IO_sputbackwc): Likewise.
452 (_IO_sungetwc): Use wint_t for result.
454 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
456 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
459 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
460 to (int) to avoid warnings.
461 * stdio-common/printf_fp.c (putc): Likewise.
462 * stdio-common/printf_size.c (putc): Likewise.
464 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
467 2001-01-01 Andreas Jaeger <aj@suse.de>
469 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
471 2000-12-31 Andreas Jaeger <aj@suse.de>
473 * include/libc-internal.h: Add prototype for __libc_freeres.
475 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
476 for prototypes, remove redundant prototypes.
477 * gmon/gmon.c: Likewise.
478 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
479 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
480 * malloc/mtrace.c: Likewise.
482 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
484 * elf/soinit.c: Likewise.
485 * sysdeps/generic/prof-freq.c: Likewise.
486 * sysdeps/mach/hurd/profil.c: Likewise.
487 * debug/noophooks.c: Likewise.
488 * debug/pcprofile.c: Likewise.
489 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
490 * sysdeps/generic/get_clockfreq.c: Likewise.
491 * malloc/set-freeres.c: Likewise.
493 * locale/localeinfo.h: Add internal prototypes.
495 * elf/rtld.c (dl_main): Fix prototype.
497 * iconvdata/tst-table-to.c (main): Use return instead of exit to
500 * nis/rpcsvc/yp_prot.h: Remove __P.
501 * nis/rpcsvc/ypupd.h: Likewise.
502 * nis/rpcsvc/yp.h: Likewise.
504 * sunrpc/rpc_main.c: Add noreturn attributes.
505 * sunrpc/rpc_scan.h: Likewise.
507 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
509 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
511 * sunrpc/proto.h: Add noreturn attributes to error and crash.
513 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
515 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
517 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
519 * include/rpc/rpc_msg.h: Add prototypes for some functions.
520 * include/rpc/auth.h: Likewise.
521 * include/rpc/auth_des.h: Likewise.
522 * include/rpc/clnt.h: Likewise.
523 * include/rpc/rpc.h: Likewise.
524 * include/rpc/svc.h: Likewise.
525 * include/rpc/svc_auth.h: Likewise.
527 * include/rpc/des_crypt.h: New file.
529 * malloc/memusagestat.c (main): Use return instead of exit to
531 * io/pwd.c (main): Likewise.
532 * iconvdata/tst-table-from.c (main): Likewise.
533 * ctype/test_ctype.c (main): Likewise.
534 * setjmp/tst-setjmp.c (main): Likewise.
535 * signal/tst-signal.c (main): Likewise.
536 * stdlib/tst-strtol.c (main): Likewise.
537 * stdlib/tst-strtod.c (main): Likewise.
538 * stdlib/tst-strtoll.c (main): Likewise.
539 * stdlib/tst-xpg-basename.c (main): Likewise.
540 * dirent/tst-seekdir.c (main): Likewise.
541 * grp/testgrp.c (main): Likewise.
542 * inet/test_ifindex.c (main): Likewise.
543 * io/test-utime.c (main): Likewise.
544 * posix/test-vfork.c (main): Likewise.
545 * posix/testfnm.c (main): Likewise.
546 * stdio-common/temptest.c (main): Likewise.
547 * stdio-common/test_rdwr.c (main): Likewise.
548 * stdio-common/tst-fileno.c (main): Likewise.
549 * stdio-common/tst-sscanf.c (main): Likewise.
550 * stdio-common/tstscanf.c (main): Likewise.
551 * string/bug-strncat1.c (main): Likewise.
552 * string/bug-strpbrk1.c (main): Likewise.
553 * string/bug-strspn1.c (main): Likewise.
554 * string/test-ffs.c (main): Likewise.
555 * string/tst-inlcall.c (main): Likewise.
556 * string/tst-svc.c (main): Likewise.
557 * timezone/test-tz.c (main): Likewise.
558 * wctype/test_wcfuncs.c (main): Likewise.
559 * wctype/test_wctype.c (main): Likewise.
561 * stdlib/tst-random.c: Add attribute noreturn to fail.
563 2000-12-28 Wolfram Gloger <wg@malloc.de>
565 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
566 destination overlap. Assume dest is always below source if
569 2000-12-30 Ulrich Drepper <drepper@redhat.com>
571 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
572 object was not yet initialized.
574 2000-12-28 H.J. Lu <hjl@gnu.org>
576 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
577 is always consistent even if its dependency is failed.
579 * elf/dl-open.c (_dl_open): Increment the open count before
580 calling _dl_close () in case of failure.
582 * elf/neededtest4.c: New file.
583 * elf/neededobj5.c: New file.
584 * elf/neededobj6.c: New file.
586 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
587 (tests): Add neededtest4.
588 (modules-names): Add neededobj5 and neededobj6.
589 ($(objpfx)neededobj6.so): New target.
590 ($(objpfx)neededtest4): New target.
591 ($(objpfx)neededtest4.out): New target.
593 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
595 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
596 * stdlib/monetary.h: Add strfmon format attributes.
598 2000-12-28 Roland McGrath <roland@frob.com>
600 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
601 __mempcpy does it for us.
603 2000-12-28 Andreas Jaeger <aj@suse.de>
605 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
607 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
610 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
613 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
616 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
617 __chown_is_lchown and __real_chown.
619 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
622 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
623 up GCC's warning about "deprecated use of label at end of compound
625 * sunrpc/rpc_cout.c (emit_inline): Likewise.
627 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
629 Remove struct bb and __bb_head since those are declared by
632 2000-12-22 Ben Collins <bcollins@debian.org>
634 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
636 * manual/argp.texi: Document argp_domain as part of struct argp.
638 2000-12-28 Andreas Jaeger <aj@suse.de>
640 * catgets/Makefile (generated): Add sample.SJIS.cat.
642 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
644 * elf/dl-minimal.c: Add prototypes.
646 * include/locale.h: Add internal prototypes.
647 * include/sys/gmon.h: Likewise.
649 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
651 2000-12-27 Ben Collins <bcollins@debian.org>
653 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
654 when reallocating the error strings.
655 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
657 2000-12-27 Ulrich Drepper <drepper@redhat.com>
659 * dlfcn/Makefile (tests): Add errmsg1.
660 (modules-names): Add errmsg1mod.
661 Add rules to run errmsg1.
662 * dlfcn/errmsg1.c: New file.
663 * dlfcn/errmsg1mod.c: New file.
665 * dlfcn/dlerror.c (dlerror): Always create output string which
666 includes object file name.
668 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
669 if we would go through it only once.
670 Patch by Rick Gorton <rick.gorton@api-networks.com>.
672 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
673 Patch by Richard Henderson <rth@redhat.com>.
675 2000-12-27 Jakub Jelinek <jakub@redhat.com>
677 * malloc/malloc.c (memmove): Add prototypes.
678 (MALLOC_MEMMOVE): Define.
679 (chunk_realloc): Use it instead of MALLOC_COPY if source and
680 destination might overlap.
682 2000-12-27 Andreas Jaeger <aj@suse.de>
684 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
686 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
687 * locale/programs/locale.c (show_locale_vars): Likewise.
688 (show_info): Likewise.
689 * locale/programs/ld-collate.c (collate_output): Likewise.
690 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
691 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
692 * stdlib/rpmatch.c (rpmatch): Likewise.
694 * setjmp/tst-setjmp.c: Make local functions static.
695 * setjmp/jmpbug.c: Likewise.
696 * signal/tst-signal.c: Likewise.
697 * stdio-common/tfformat.c: Likewise.
698 * string/tst-svc.c: Likewise.
699 * time/clocktest.c: Likewise.
700 * time/tst-getdate.c: Likewise.
701 * dirent/list.c: Likewise.
702 * dirent/opendir-tst1.c: Likewise.
703 * posix/runtests.c: Likewise.
704 * posix/tst-getaddrinfo.c: Likewise.
705 * posix/tst-chmod.c: Likewise.
706 * posix/wordexp-test.c: Likewise.
707 * misc/tst-efgcvt.c: Likewise.
708 * timezone/tst-timezone.c: Likewise.
709 * rt/tst-clock.c: Likewise.
710 * rt/tst-shm.c: Likewise.
711 * rt/tst-aio2.c: Likewise.
712 * rt/tst-aio3.c: Likewise.
713 * rt/tst-aio4.c: Likewise.
714 * rt/tst-aio5.c: Likewise.
716 * dlfcn/failtest.c: Add prototype for foo.
718 * dlfcn/glrefmain.c: Add prototype for do_test.
720 * dlfcn/tst-dladdr.c: Add prototype for do_test.
722 * string/test-ffs.c (main): Add prototype for nested function.
724 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
726 * nss/XXX-lookup.c: Add prototype to shut up GCC.
728 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
729 setetherent prototype.
730 Add internal interfaces.
732 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
733 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
735 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
737 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
739 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
740 prototypes, remove struct etherent since it's declared in ether.h.
741 Fix ntohost declaration.
743 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
745 * include/getopt.h: Add internal interfaces.
746 * include/termios.h: Likewise.
747 * include/resolv.h: Likewise.
748 * include/netdb.h: Likewise.
749 * include/grp.h: Likewise.
750 * include/pwd.h: Likewise.
751 * include/shadow.h: Likewise.
752 * include/rpc/netdb.h: Likewise.
753 * include/setjmp.h: Likewise.
755 * include/stdio.h: Add prototypes for compatibility functions.
756 * include/grp.h: Likewise.
757 * include/pwd.h: Likewise.
758 * include/shadow.h: Likewise.
760 * include/fenv.h: Define internal interfaces.
762 2000-12-27 Ulrich Drepper <drepper@redhat.com>
764 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
765 argument case separately.
766 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
768 2000-12-27 Andreas Jaeger <aj@suse.de>
770 * include/sys/wait.h: Add some prototypes.
771 * Rules (dummy.c): Create also prototype to shut up GCC.
773 2000-12-27 Andreas Jaeger <aj@suse.de>
775 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
776 it's not needed at the moment.
777 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
778 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
780 2000-12-26 Andreas Jaeger <aj@suse.de>
782 * libio/getc_u.c: Include stdio.h via system path to get internal
784 * libio/getwc_u.c: Likewise.
786 * stdlib/strfmon.c: Fix prototype of __printf_fp.
788 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
789 __printf_fp prototypes to ...
790 * include/printf.h: ...here.
792 * include/stdio.h: Add some internal prototypes to shut up GCC.
793 * include/stdlib.h: Likewise.
795 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
798 * include/signal.h: Add prototypes for internal sigpause
801 2000-12-26 Ulrich Drepper <drepper@redhat.com>
803 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
804 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
806 * string/Makefile (tests): Add tst-bswap.
807 * string/tst-bswap.c: New file.
809 2000-12-11 Bruno Haible <haible@clisp.cons.org>
811 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
813 2000-12-26 Ulrich Drepper <drepper@redhat.com>
815 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
816 Patch by Ed Connell <Ed.Connell@sas.com>.
818 2000-12-24 Ulrich Drepper <drepper@redhat.com>
820 * locale/iso-639.def: Correct one entry. Add two missing entries.
822 * locale/iso-4217.def: Change entry for Eritrea.
823 Reported by Daniel Yacob <yacob@geez.org>.
825 2000-12-23 Ben Collins <bcollins@debian.org>
827 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
830 * manual/stdio.texi (Dynamic Output): Document the return value of
831 asprintf. Also make the asprintf/snprintf examples a little
832 better (check for some error returns).
834 2000-12-22 Andreas Jaeger <aj@suse.de>
836 * include/stdio.h: Add __ftrylockfile prototype.
838 2000-12-21 H.J. Lu <hjl@gnu.org>
840 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
841 Make sign_exponent element signed.
843 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
846 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
848 2000-12-21 Andreas Jaeger <aj@suse.de>
850 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
851 * inet/ether_hton.c: Likewise
852 * inet/ether_ntoh.c: Likewise.
854 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
855 declaration to match prototype.
857 * include/netinet/ether.h (struct etherent): Declare here so that
858 all implementations use the same struct.
860 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
862 (struct ether): Removed.
863 Use struct etherent instead of ether everywhere.
865 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
867 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
869 * sunrpc/publickey.c: Include auth_des.h for prototypes.
871 2000-12-20 Ulrich Drepper <drepper@redhat.com>
873 * math/test-misc.c: Add more tests for nextafter functions.
875 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
876 normal correctly. Correct test for sign.
877 Based on a patch by HJ Lu.
879 2000-12-19 Ulrich Drepper <drepper@redhat.com>
881 * Makeconfig (preprocess-version): Add -traditional to gcc call.
884 2000-12-19 Andreas Jaeger <aj@suse.de>
886 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
888 * nis/nis_intern.h: Add prototype for __do_niscall3.
890 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
893 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
895 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
897 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
899 2000-12-18 Ulrich Drepper <drepper@redhat.com>
901 * math/test-misc.c: Add more tests for nextafter.
902 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
903 * sysdeps/ieee754/ldbl-96/math_ldbl.h
904 (ieee_long_double_shape_type): Make sign_exponent element signed.
906 * manual/message.texi: Add Estonian to plural overview list.
907 Correct rule for Slavic languages.
908 Patch by Stanislav Brabec <utx@penguin.cz>.
910 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
912 2000-12-18 Andreas Jaeger <aj@suse.de>
914 * test-skeleton.c: Use temp_name_list instead of name_list to
915 avoid collision with name_list from inet/netgroup.h.
917 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
919 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
920 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
921 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
922 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
924 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
925 declaration to match prototype.
926 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
927 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
928 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
930 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
931 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
932 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
933 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
934 (_nss_nis_getservbyport_r): Likewise.
935 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
936 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
937 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
938 (_nss_nis_setnetent): Likewise
939 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
940 (_nss_nis_endnetgrent): Likewise.
941 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
943 (_nss_nisplus_setnetgrent): Likewise.
944 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
945 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
946 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
947 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
949 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
951 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
953 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
955 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
956 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
957 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
958 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
959 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
960 (_nss_dns_getnetbyaddr_r): Likewise.
962 2000-12-17 Andreas Jaeger <aj@suse.de>
964 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
967 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
968 unused attribute to shut up gcc warnings.
970 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
971 * sysdeps/generic/k_tanl.c: Likewise.
972 * sysdeps/generic/k_cosl.c: Likewise.
973 * sysdeps/generic/e_j0l.c: Likewise.
974 * sysdeps/generic/e_j1l.c: Likewise.
975 * sysdeps/generic/e_jnl.c: Likewise.
976 * sysdeps/generic/e_lgammal_r.c: Likewise.
978 * elf/vismain.c: Move prototypes for functions in vismod*.c to
980 * elf/vismod.h: New file.
981 * elf/Makefile (distribute): Add vismod.h.
982 * elf/vismod1.c: Include vismod.h.
983 * elf/vismod2.c: Likewise.
984 * elf/vismod3.c: Likewise.
986 * elf/constload3.c: Add prototype declarations to shut up gcc.
987 * elf/failobj.c: Likewise.
988 * elf/nodelmod3.c: Likewise.
989 * elf/filtmod1.c: Likewise.
990 * elf/filtmod2.c: Likewise.
991 * elf/reldepmod1.c: Likewise.
992 * elf/reldepmod2.c: Likewise.
993 * elf/reldepmod3.c: Likewise.
994 * elf/reldepmod4.c: Likewise.
995 * elf/unload2dep.c: Likewise.
996 * elf/unload2mod.c: Likewise.
997 * elf/ltglobmod1.c: Likewise.
998 * elf/pathoptobj.c: Likewise.
999 * elf/neededobj1.c: Likewise.
1000 * elf/neededobj2.c: Likewise.
1001 * elf/neededobj3.c: Likewise.
1002 * elf/neededobj4.c: Likewise.
1003 * elf/nextmod1.c: Likewise.
1004 * elf/nextmod2.c: Likewise.
1006 * locale/programs/ld-collate.c (collate_finish): Don't use labels
1007 at end of compound statement.
1008 * locale/programs/locale.c (show_info): Likewise.
1009 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1011 2000-12-16 Jakub Jelinek <jakub@redhat.com>
1013 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1014 with a pointer not returned by obstack_ functions.
1016 2000-12-16 Ulrich Drepper <drepper@redhat.com>
1018 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1020 (struct stat64): Likewise.
1021 Reported by Michael Keezer <mkeezer@redhat.com>.
1023 * timezone/asia: Update from tzdata2000h.
1024 * timezone/australasia: Likewise.
1025 * timezone/backward: Likewise.
1026 * timezone/europe: Likewise.
1027 * timezone/northamerica: Likewise.
1028 * timezone/southamerica: Likewise.
1029 * timezone/zone.tab: Likewise.
1031 2000-12-14 Jakub Jelinek <jakub@redhat.com>
1033 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1034 and dir.stream is NULL, only free dir.content.
1035 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1036 * io/ftwtest-sh: Test with --early-exit.
1038 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1040 * misc/efgcvt.c (FCVT_MAXDIG): Define.
1041 (FCVT_BUFPTR): New variable.
1042 (fcvt): If fcvt_r returns -1 on the static short buffer,
1043 try to malloc a sufficiently large one and retry.
1044 (free_mem): New function.
1045 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1046 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1048 2000-12-15 Ulrich Drepper <drepper@redhat.com>
1050 * misc/dirname.c (dirname): Fix search for second to last slash.
1052 2000-12-13 Andreas Jaeger <aj@suse.de>
1054 * misc/tst-dirname.c (main): Fix typo in test to really use
1055 the examples from Unix98.
1056 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1058 2000-12-09 H.J. Lu <hjl@gnu.org>
1060 * sysdeps/ia64/fpu/s_fabs.S: New file.
1061 * sysdeps/ia64/fpu/s_fabsf.S: New file.
1062 * sysdeps/ia64/fpu/s_fabsl.S: New file.
1064 2000-12-15 Andreas Jaeger <aj@suse.de>
1066 * stdio-common/scanf9.c (main): Reformat and change to avoid
1069 * stdio-common/tstdiomisc.c: Make local functions static.
1070 * stdio-common/tst-printf.c: Likewise.
1072 * elf/constload2.c: Add prototype declarations to shut up gcc.
1073 * elf/dep1.c: Likewise.
1074 * elf/dep2.c: Likewise.
1075 * elf/dep3.c: Likewise.
1076 * elf/dep4.c: Likewise.
1077 * elf/ltglobmod2.c: Likewise.
1079 * libio/fmemopen.c: Make local functions static.
1081 * elf/Makefile (distribute): Added testobj.h.
1083 * elf/testobj.h: New file.
1085 * elf/testobj1.c: Include testobj.h and move prototype
1086 declarations to testobj.h.
1087 * elf/testobj2.c: Likewise.
1088 * elf/testobj3.c: Likewise.
1089 * elf/testobj4.c: Likewise.
1090 * elf/testobj5.c: Likewise.
1091 * elf/testobj6.c: Likewise.
1092 * elf/testobj1_1.c: Likewise.
1093 * elf/preloadtest.c: Likewise.
1095 2000-12-15 Ben Collins <bcollins@debian.org>
1097 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1098 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1100 2000-12-14 H.J. Lu <hjl@gnu.org>
1102 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1103 field in a float is 8 bits, not 11 bits.
1105 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1107 * math/test-misc.c (main): Adjust m for IEEE quad long double.
1109 2000-12-13 Andreas Jaeger <aj@suse.de>
1111 * manual/message.texi (Using gettextized software): Fix typo.
1113 * manual/charset.texi (Converting a Character): Fix mbstouwcs
1115 Patch by Martin Buchholz <martin@xemacs.org>.
1117 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1118 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1120 2000-12-11 Andreas Jaeger <aj@suse.de>
1122 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1123 kernel_sigset_t and use it.
1124 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1126 2000-12-10 Richard Henderson <rth@redhat.com>
1128 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1129 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1130 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1132 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1134 * sysdeps/alpha/htonl.S: Fix a typo.
1136 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1138 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1140 2000-12-10 Andreas Jaeger <aj@suse.de>
1142 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1143 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1144 Drepper <drepper@redhat.com>.
1146 2000-12-09 Andreas Jaeger <aj@suse.de>
1148 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1150 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1152 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1154 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1157 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1160 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1161 * nscd/connections.c (handle_request): Likewise.
1162 * nscd/pwdcache.c (addpwbyname): Likewise.
1163 * nscd/grpcache.c (addgrbyname): Likewise.
1165 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1167 2000-12-09 Ulrich Drepper <drepper@redhat.com>
1169 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1171 * Makeconfig (default_cflags): Make -O2 the default for stable
1174 2000-12-08 H.J. Lu <hjl@gnu.org>
1176 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1177 * sysdeps/ia64/fpu/s_isinf.S: This.
1178 Add a .pred.rel.mutex note to avoid false report.
1180 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1181 * sysdeps/ia64/fpu/s_isnan.S: This.
1183 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1184 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1185 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1186 * sysdeps/ia64/fpu/s_isinff.S: New file.
1187 * sysdeps/ia64/fpu/s_isinfl.S: New file.
1188 * sysdeps/ia64/fpu/s_isnanf.S: New file.
1189 * sysdeps/ia64/fpu/s_isnanl.S: New file.
1190 * sysdeps/ia64/fpu/s_finite.S: New file.
1191 * sysdeps/ia64/fpu/s_finitef.S: New file.
1192 * sysdeps/ia64/fpu/s_finitel.S: New file.
1193 * sysdeps/ia64/fpu/s_signbit.S: New file.
1194 * sysdeps/ia64/fpu/s_signbitf.S: New file.
1195 * sysdeps/ia64/fpu/s_signbitl.S: New file.
1196 * sysdeps/ia64/fpu/s_copysign.S: New file.
1197 * sysdeps/ia64/fpu/s_copysignf.S: New file.
1198 * sysdeps/ia64/fpu/s_copysignl.S: New file.
1200 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1202 * math/libm-test.inc (main): Fix typos in messages.
1204 * string/stratcliff.c: Add test for rawmemchr.
1206 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1208 * elf/dl-open.c (_dl_open): If objname points right after errstring,
1209 allocate it together with errstring using alloca.
1210 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1211 to "", because it might point to local stack.
1213 2000-12-05 H.J. Lu <hjl@gnu.org>
1215 * nss/Makefile (routines): Add getnssent and getnssent_r.
1216 * nss/nsswitch.h (__nss_setent): New internal NSS function.
1217 (__nss_endent): Likewise.
1218 (__nss_getent_r): Likewise.
1219 (__nss_getent): Likewise.
1220 * nss/getnssent_r.c: New file.
1221 * nss/getnssent.c: New file.
1222 * nss/getXXent.c (H_ERRNO_VAR): Updated.
1223 (GETFUNC_NAME): Updated to call __nss_getent ().
1224 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1225 (STAYOPEN_TMPVAR): Updated.
1226 (STAYOPEN_VAR): Updated.
1227 (SETFUNC_NAME): Updated to call __nss_setent ().
1228 (ENDFUNC_NAME): Updated to call __nss_endent ().
1229 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1231 2000-12-08 Andreas Jaeger <aj@suse.de>
1233 * nscd/dbg_log.h (dbg_log): Correct attribute.
1235 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1237 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1238 cp + len. Compute where from dirname.
1239 Reported by <jreiser@BitWagon.com>.
1241 2000-12-08 Richard Henderson <rth@twiddle.net>
1243 * sysdeps/alpha/_mcount.S: Fix typo.
1244 * sysdeps/alpha/strncpy.S: Likewise.
1246 * sysdeps/alpha/alphaev6/Implies: New file.
1247 * sysdeps/alpha/alphaev67/Implies: New file.
1248 * sysdeps/alpha/alphaev67/ffs.S: New file.
1249 * sysdeps/alpha/alphaev67/ffsll.S: New file.
1250 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1251 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1252 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1253 * sysdeps/alpha/rawmemchr.S: New file.
1254 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1255 * sysdeps/alpha/strcpy.S: Likewise.
1258 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1260 From rick.gorton@alpha-processor.com:
1261 * sysdeps/alpha/alphaev6/memchr.S: New file.
1262 * sysdeps/alpha/alphaev6/memcpy.S: New file.
1263 * sysdeps/alpha/alphaev6/memset.S: New file.
1264 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1265 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1266 * sysdeps/alpha/alphaev67/strcat.S: New file.
1267 * sysdeps/alpha/alphaev67/strchr.S: New file.
1268 * sysdeps/alpha/alphaev67/strlen.S: New file.
1269 * sysdeps/alpha/alphaev67/strncat.S: New file.
1270 * sysdeps/alpha/htonl.S: Use a shorter sequence.
1272 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1274 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1275 Reported by <pspencer@fields.utoronto.ca>.
1277 2000-12-07 Jes Sorensen <jes@linuxcare.com>
1279 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1280 Pointed out by Hans Boehm.
1282 2000-12-07 H.J. Lu <hjl@gnu.org>
1284 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1286 2000-12-07 Andreas Jaeger <aj@suse.de>
1288 * misc/error.c: Add format attributes for __error and __error_at_line.
1290 * nscd/dbg_log.h: Add format attribute.
1292 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1294 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1295 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1297 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
1299 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1301 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1303 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1304 (sysdep_routines): Add uitrunc.
1305 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1306 Patches by Michael Keezer <mkeezer@redhat.com>.
1308 2000-12-06 Roland McGrath <roland@frob.com>
1310 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1311 argument data, since it will be used to copy out too (for INOUT).
1312 Reported by Marcus Brinkmann <marcus@gnu.org>.
1314 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1315 (__ioctl): Use uintptr_t instead of unsigned long int.
1317 2000-12-06 Jim Wilson <wilson@redhat.com>
1319 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1321 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1323 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1324 x.5 rounding correctly.
1326 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1328 * stdio-common/perror.c (perror): Conditionalize code dealing with
1329 wide-oriented streams on USE_IN_LIBIO.
1331 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1333 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1334 as internal_function.
1336 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1338 * sysdeps/alpha/elf/start.S (__data_start): Define.
1340 2000-12-05 H.J. Lu <hjl@gnu.org>
1342 * nss/getXXent_r.c (setup): Change the return type to int.
1344 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1346 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1347 (sysdep_routines): Add restf and savef.
1348 * sysdeps/unix/sysv/aix/restf.c: New file.
1349 * sysdeps/unix/sysv/aix/savef.c: New file.
1350 Patches by Michael Keezer <mkeezer@redhat.com>.
1352 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1353 if O_DIRECTORY is not defined.
1354 Patch by Michael Keezer <mkeezer@redhat.com>.
1356 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1357 Patch by Michael Keezer <mkeezer@redhat.com>.
1359 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1360 than 4 bytes in escape sequence.
1361 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1363 2000-12-05 Andreas Jaeger <aj@suse.de>
1365 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1368 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1370 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1372 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1373 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1375 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1377 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1378 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1380 * sysdeps/generic/dl-cache.c: Remove declaration of
1381 _dl_sysdep_read_whole_file.
1383 * elf/dl-load.c (_dl_map_object): Remove declaration of
1384 _dl_load_cache_lookup.
1386 * sysdeps/generic/ldsodefs.h: Add declarations of
1387 _dl_load_cache_lookup, _dl_unload_cache,
1388 _dl_sysdep_read_whole_file, _dl_sysdep_start and
1389 _dl_sysdep_start_cleanup.
1391 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1394 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1395 * sysdeps/generic/dl-environ.c: Likewise.
1397 * stdio-common/printf_fp.c: Include <gmp.h> instead of
1399 * math/atest-exp.c: Likewise.
1400 * math/atest-exp2.c: Likewise.
1401 * math/atest-sincos.c: Likewise.
1402 * stdio-common/_itoa.c: Likewise.
1403 * stdio-common/_itowa.c: Likewise.
1405 * include/gmp.h: New file with internal prototypes.
1407 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1409 * include/setjmp.h: ...here.
1411 * locale/Makefile (routines): Remove codeset_name since it's not
1414 * locale/codeset_name.c: Removed.
1416 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1418 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1420 2000-12-05 Andreas Jaeger <aj@suse.de>
1422 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1424 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1426 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1429 2000-12-05 Andreas Jaeger <aj@suse.de>
1431 * nss/test-netdb.c: Mark local functions as static to avoid
1433 (main): Use return to silence warning.
1435 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1437 * stdio-common/test-popen.c: Mark local functions as static to
1439 (main): Use return to silence warning.
1441 * stdlib/testsort.c (compare): Mark as static to avoid warning.
1443 * assert/test-assert.c: Mark local functions as static to avoid
1445 * assert/test-assert-perr.c: Likewise.
1447 * math/libm-test.inc (main): Use return to silence warnings.
1449 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1451 * math/fenv.h: Fix typo in comment.
1453 * math/test-misc.c (main): Add a few more over and underflow tests
1456 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1458 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1459 * math/w_scalb.c: Don't use matherr except in SVID mode.
1460 * math/w_scalbf.c: Likewise.
1461 * math/w_scalbl.c: Likewise.
1462 * math/test-misc.c: Add test for NaN and scalbl.
1463 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1465 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1467 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1468 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1469 * include/libc-symbols.h (strong_alias): Define special version
1470 for HAVE_ASM_GLOBAL_DOT_NAME.
1471 (weak_alias): Likewise.
1472 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1473 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1474 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1475 getutxline, pututxline, and utmpxname.
1476 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1477 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1478 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1479 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1480 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1481 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1482 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1483 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
1484 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1485 Patches by Michael Keezer <mkeezer@redhat.com>.
1487 2000-12-04 H.J. Lu <hjl@gnu.org>
1489 * configure.in: Change --with-oldest-abi=ABI to
1490 --enable-oldest-abi=ABI.
1492 2000-12-02 Bruno Haible <haible@clisp.cons.org>
1494 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1495 fwprintf instead of fprintf.
1497 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1499 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1500 DECIMAL_DIG definitions.
1501 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1502 * sysdeps/generic/bits/mathdef.h: Likewise
1503 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1504 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1505 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1506 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1507 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1508 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1510 2000-12-03 Ulrich Drepper <drepper@redhat.com>
1512 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1514 * math/atest-exp.c: Mark local functions as static to avoid warnings.
1515 * math/atest-exp2.c: Likewise.
1516 * math/atest-sincos.c: Likewise.
1518 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1519 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1521 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1522 the handling of denormalized numbers.
1524 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1526 * sysdeps/i386/fpu/fpclassifyl.c: New file.
1528 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1529 pseudo denormal representation of LDBL_MIN.
1531 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1532 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1534 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1535 * iconvdata/jis0208.c: Likewise.
1536 * iconvdata/jis0212.c: Likewise.
1537 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1539 * math/test-misc.c (main): More tests for frexp and some for
1540 fpclassify and isnormal.
1542 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1544 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1546 * math/test-misc.c (main): Add tests for frexp.
1547 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1548 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1550 2000-12-02 H.J. Lu <hjl@gnu.org>
1552 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1555 2000-12-02 Ulrich Drepper <drepper@redhat.com>
1557 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1558 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1559 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1561 * sysdeps/generic/glob.c: Adjust types of several variables to
1564 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1566 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1568 2000-11-30 Roland McGrath <roland@frob.com>
1570 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1571 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1572 allow multiple instances using the same function name in one file.
1574 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1576 * configure.in: Correct test for pserver CVS access.
1578 2000-11-28 H.J. Lu <hjl@gnu.org>
1580 * libio/libio.h: Remove extra "#if ... #endif".
1582 2000-11-29 H.J. Lu <hjl@gnu.org>
1584 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1586 2000-12-01 H.J. Lu <hjl@gnu.org>
1588 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1589 * nss/getXXent_r.c: Likewise.
1590 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1592 2000-11-30 H.J. Lu <hjl@gnu.org>
1594 * scripts/abi-versions.awk (oldest_abi): New variable.
1595 Handle the oldest ABI supported.
1597 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1598 for scripts/abi-versions.awk.
1600 * configure.in: Add --with-oldest-abi=ABI.
1601 * configure: Rebuild.
1603 * config.make.in (oldest-abi): New.
1605 * config.h.in (GLIBC_OLDEST_ABI): New.
1607 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1609 2000-11-30 Jakub Jelinek <jakub@redhat.com>
1611 * locale/setlocale.c (setname): Free for all categories, not just
1613 (setlocale): Store a copy of string passed by user, not the string
1616 2000-11-30 Roland McGrath <roland@frob.com>
1618 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1619 rather than _hurd_fd_subinit, so it happens after it's safe to use
1620 libc facilities like malloc.
1622 2000-11-28 Andreas Jaeger <aj@suse.de>
1624 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1625 declaration, adjust declaration of __syscall_getdents to match
1628 2000-11-29 H.J. Lu <hjl@gnu.org>
1630 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1632 2000-11-29 Andreas Jaeger <aj@suse.de>
1634 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1636 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1638 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1639 * dlfcn/defaultmod2.c: Likewise.
1640 * dlfcn/dlopen.c: Likewise.
1641 * dlfcn/dlopenold.c: Likewise.
1642 * dlfcn/failtestmod.c: Likewise.
1643 * dlfcn/glreflib1.c: Likewise.
1644 * dlfcn/glreflib2.c: Likewise.
1645 * dlfcn/eval.c: Likewise. Add attributes.
1647 * ctype/ctype-extn.c: Define isblank and not __isblank.
1649 * time/strftime.c: Add const where necessary to avoid warnings.
1650 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1652 2000-11-22 Paul Eggert <eggert@twinsun.com>
1654 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1655 size of (size_t) -1; it's not portable.
1657 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1659 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1661 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1663 2000-11-14 Jes Sorensen <jes@linuxcare.com>
1665 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1667 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1668 _mcount is required by profiled binaries.
1670 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1671 * sysdeps/ia64/machine-gmon.h: ...here.
1673 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
1675 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1676 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1678 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1680 * iconvdata/ibm922.c: New file.
1681 * iconvdata/ibm922.h: New file.
1682 * iconvdata/ibm1124.c: New file.
1683 * iconvdata/ibm1124.h: New file.
1684 * iconvdata/ibm1129.c: New file.
1685 * iconvdata/ibm1129.h: New file.
1686 * iconvdata/testdata/IBM922: New file.
1687 * iconvdata/testdata/IBM922..UTF8: New file.
1688 * iconvdata/testdata/IBM1124: New file.
1689 * iconvdata/testdata/IBM1124..UTF8: New file.
1690 * iconvdata/testdata/IBM1129: New file.
1691 * iconvdata/testdata/IBM1129..UTF8: New file.
1693 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1695 * catgets/gencat.c (normalize_line): Take extra parameter with escape
1696 character. Change callers.
1697 (open_conversion): Determine mapping of 0x5c as wchar_t value.
1698 * catgets/Makefile: Add rules to build and run test-gencat.
1699 * catgets/sample.SJIS: New file.
1700 * catgets/test-gencat.c: New file.
1701 * catgets/test-gencat.sh: New file.
1702 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1704 2000-11-28 Andreas Jaeger <aj@suse.de>
1706 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
1709 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1711 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
1713 2000-11-28 Andreas Jaeger <aj@suse.de>
1715 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
1717 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
1720 2000-11-27 Ulrich Drepper <drepper@redhat.com>
1722 * misc/getusershell.c: Make strings in okshells array const.
1723 * misc/regexp.c: Add const to cast to avoid warnings.
1724 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
1725 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
1727 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
1729 * misc/error.c: Add prototypes for __error and __error_at_line.
1730 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
1731 statement to avoid warning.
1732 * test-skeleton.c: Mark timeout_handler with noreturn.
1733 * iconv/skeleton.c (get16u): Add const to cast.
1735 * iconvdata/gb18030.c: Likewise.
1736 * iconvdata/iso-2022-cn-ext.c: Likewise.
1737 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
1738 * iconvdata/big5.c: Likewise.
1739 * iconvdata/big5hkscs.c: Likewise.
1740 * iconvdata/iso_6937.c: Likewise.
1741 * iconvdata/iso_6937-2.c: Likewise.
1742 * iconvdata/t.61.c: Likewise.
1743 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
1744 * iconvdata/unicode.c: Likewise.
1745 * iconvdata/utf-16.c: Likewise.
1746 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
1747 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
1748 with little code shuffling.
1750 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
1751 the problems introduced when the user selects -O3.
1753 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
1754 * misc/sys/cdefs.h: Define __flexarr.
1755 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
1757 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
1758 * iconv/skeleton.c: Likewise.
1759 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
1760 * iconv/loop.c (get16): Add const to cast.
1763 2000-11-27 Andreas Jaeger <aj@suse.de>
1765 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1767 * login/programs/utmpdump.c (print_entry): Likewise.
1769 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1771 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1772 in a single asm as they may be used to access other stored
1774 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1776 2000-11-27 Andreas Jaeger <aj@suse.de>
1778 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1779 * rt/tst-aio64.c: Likewise.
1781 2000-11-27 Ulrich Drepper <drepper@redhat.com>
1783 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1785 (libc.cat): Likewise.
1786 * catgets/gencat.c: Implement handling of message catalogs encoded
1787 with stateful character sets.
1788 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1790 2000-11-26 Ulrich Drepper <drepper@redhat.com>
1792 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1794 * inet/getnameinfo.c: Adjust casts to avoid warnings.
1795 * inet/rcmd.c: Likewise.
1796 * inet/ruserpass.c: Likewise.
1797 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1798 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1799 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1800 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1801 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1802 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1803 * include/aliases.h: Add prototypes for internal __getalias* functions.
1804 * include/netdb.h: Add prototypes for __old_gethostent_r,
1805 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1806 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1807 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1808 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1809 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1810 __old_getrpcbynumber_r, __old_getrpcent_r.
1812 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1813 __getrpcent_r prototypes.
1815 2000-11-25 Ulrich Drepper <drepper@redhat.com>
1817 * string/strcoll.c: Add casts to avoid warnings.
1818 * string/strnlen.c: Likewise.
1819 * string/strxfrm.c: Likewise.
1820 * sysdeps/generic/_strerror.c: Likewise.
1821 * sysdeps/generic/memrchr.c: Likewise.
1822 * sysdeps/generic/strcasestr.c: Likewise.
1823 * sysdeps/generic/strstr.c: Likewise.
1825 * locale/weight.h (findidx): Add const to cast to avoid warning.
1827 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1828 * elf/loadtest.c: Likewise.
1829 * elf/multiload.c: Likewise.
1830 * elf/next.c: Likewise.
1831 * elf/nodelete.c: Likewise.
1832 * elf/noload.c: Likewise.
1833 * elf/order.c: Likewise.
1834 * elf/origtest.c: Likewise.
1835 * elf/preloadtest.c: Likewise.
1836 * elf/restest1.c: Likewise.
1838 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1839 parameter of asm must be in %ecx.
1841 * string/tester.c: Mark test functions as static to avoid warnings.
1843 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1844 preserve value over different gconv-modules files.
1846 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1848 * locale/findlocale.c: Add casts to avoid warnings.
1849 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1850 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1852 * misc/tsearch.c (const_node): New type.
1853 (trecurse): Correct casts to avoid warnings.
1854 (__twalk): Likewise.
1855 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1858 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1860 * test-skeleton.c: Mark local functions as static to avoid warnings.
1862 2000-11-23 H.J. Lu <hjl@gnu.org>
1864 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1865 support the background job.
1868 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1870 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1871 has same names but lower cost.
1873 2000-11-23 Jakub Jelinek <jakub@redhat.com>
1875 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1876 which never occur during bootstrap.
1877 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1879 2000-11-23 Andreas Jaeger <aj@suse.de>
1881 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1883 * nss/Versions: Remove _nss_files_getipnodebyname_r.
1885 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1887 2000-11-18 Martin Buchholz <martin@xemacs.org>
1889 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1892 2000-11-21 Alan Modra <alan@linuxcare.com.au>
1894 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1896 * csu/abi-note.S: Correct comment for operating system number.
1898 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1900 * Versions.def: Add GLIBC_2.2.1 for glibc.
1902 2000-11-22 Andreas Schwab <schwab@suse.de>
1904 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1905 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1907 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1909 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1910 absolute time for pthread_cond_timedwait call.
1911 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1913 * rt/Makefile (tests): Add tst-aio6.
1914 * rt/tst-aio6.c: New file.
1916 2000-11-23 Andreas Jaeger <aj@suse.de>
1918 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1920 2000-11-22 Andreas Jaeger <aj@suse.de>
1922 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1924 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1926 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1928 2000-11-21 Andreas Schwab <schwab@suse.de>
1930 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1931 * sysdeps/arm/setjmp.S: Likewise.
1932 * sysdeps/arm/fpu/setjmp.S: Likewise.
1933 * sysdeps/i386/setjmp.S: Likewise.
1934 * sysdeps/i386/elf/setjmp.S: Likewise.
1935 * sysdeps/s390/setjmp.S: Likewise.
1936 * sysdeps/s390/elf/setjmp.S: Likewise.
1937 * sysdeps/sh/sh3/setjmp.S: Likewise.
1938 * sysdeps/sh/sh4/setjmp.S: Likewise.
1939 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1940 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1942 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1944 2000-11-21 Andreas Jaeger <aj@suse.de>
1946 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1947 NORETURN, fix parameter list.
1949 * string/bug-strncat1.c (main): Fix typo.
1950 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1952 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1954 * configure.in: Add --enable-all-warnings.
1955 * config.make.in (all-warnings): New variable.
1956 * Makeconfig (+gccwarn): Define with many more warnings if
1957 all-warnings is yes.
1959 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1961 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1962 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1963 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1964 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1965 * math/test-fpucw.c (main): Use %lx in format string, cast
1966 control words to long.
1967 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1968 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1969 large that it is unsigned warning.
1971 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1972 it to long on sparc64.
1974 2000-11-20 Andreas Jaeger <aj@suse.de>
1976 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1977 (receiv_print_stats): Likewise.
1979 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1981 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1983 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1985 * csu/gmon-start.c: Always have prototype for __gmon_start.
1986 * csu/version.c: Add prototypes for __libc_print_version and
1988 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1989 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1991 * iconv/gconv_builtin.h: Add ASCII module definitions.
1992 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1993 (add_module): Add cast to avoid warning. Rework construction of
1994 strings for new module.
1995 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1996 (derivation_compare): Likewise.
1997 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1998 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1999 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2000 (struct gconv_alias): Remove const from fromname and toname.
2001 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2003 (internal_ucs4_loop): Use correct const-ness.
2004 (ucs4_internal_loop): Likewise.
2005 (internal_ucs4le_loop): Likewise.
2006 (ucs4le_internal_loop_single): Likewise.
2007 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2008 to_idx, to_tbl, winbuf, winbufend const. Change casts in
2009 assignments appropriately.
2010 (struct known_trans): Remove const from fname.
2011 (trans_compare): Make s1 and s2 const.
2012 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
2014 * iconv/skeleton.c: Remove cast in calls of loop functions.
2015 * iconvdata/gconv-modules: Remove US-ASCII definitions.
2016 * iconvdata/iso646.c: Remove US_ASCII support.
2017 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2018 * include/unistd.h: Add __libc_check_standard_fds prototype.
2019 * string/bits/string2.h (__mempcpy_args): Add const to casts.
2020 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2022 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2023 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2024 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2026 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2027 __libc_init_first and _dl_start.
2028 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2029 (DCIGETTEXT): Make domaindata variable const.
2030 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2033 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
2035 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2037 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2038 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
2041 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2042 value defined in /usr/include/asm-mips/fcntl.h.
2044 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2046 * stdio-common/Makefile (tests): Add test-vfprintf.
2047 (test-vfprintf-ENV): New variable.
2048 * stdio-common/test-vfprintf.c: New file.
2050 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2052 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2053 (tst-mbrtowc-ENV): New variable.
2054 (tst-wcrtomb-ENV): New variable.
2055 * wcsmbs/tst-mbrtowc.c: New file.
2056 * wcsmbs/tst-wcrtomb.c: New file.
2058 2000-11-16 Andreas Jaeger <aj@suse.de>
2060 * manual/install.texi (Tools for Compilation): Update
2061 documentation for GCC 2.95.2.
2063 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2066 if IPv4 and IPv6 requests timed out.
2068 2000-11-18 Akim Demaille <akim@epita.fr>
2070 * malloc/obstack.h: Formatting changes.
2071 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2072 prevents type checking.
2073 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2074 cast the value to (void *): assigning a `foo *' to a `void *'
2076 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2078 2000-11-17 Ulrich Drepper <drepper@redhat.com>
2080 * scripts/config.guess: Update from upstream maintainer.
2081 * scripts/config.sub: Likewise.
2083 2000-11-16 Ulrich Drepper <drepper@redhat.com>
2085 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2086 * libio/freopen64.c (freopen64): Likewise.
2087 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2089 * libio/Makefile: Add rules to build and run test-freopen.
2090 * libio/test-freopen.c: New file.
2091 * libio/test-freopen.sh: New file.
2093 2000-11-15 H.J. Lu <hjl@gnu.org>
2095 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2096 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2097 (DL_DT_FINI_ADDRESS): Likewise.
2099 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2100 return type to ElfW(Addr).
2101 (_dl_function_address): New prototype.
2102 (DL_FUNCTION_ADDRESS): Defined.
2103 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2104 (DL_DT_FINI_ADDRESS): Likewise.
2106 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2108 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2109 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2111 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2112 (_dl_function_address): This.
2114 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2115 function pointer for DT_FINI.
2116 * elf/dl-close.c (_dl_close): Likewise.
2118 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2119 function pointer for DT_INIT.
2121 2000-11-16 Jakub Jelinek <jakub@redhat.com>
2123 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2124 end of wexpbuf buffer.
2126 2000-11-16 Andreas Jaeger <aj@suse.de>
2128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2129 definition of F_GETLK, F_SETLK, F_SETLKW.
2131 2000-11-16 Andreas Jaeger <aj@suse.de>
2133 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2136 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2138 * dlfcn/default.c (main): Add test for dladdr of main returning
2139 argv[0] in dli_fname field.
2141 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2143 * Makeconfig (run-program-prefix): Move test-static test into the
2146 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2147 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2148 schedule instructions.
2149 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2150 schedule instructions, fix a bug in copying auxiliary data.
2152 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2154 * manual/startup.texi (Program Arguments): Fix type of main's envp
2156 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2158 * iconvdata/gconv-modules: Add CP950 alias.
2160 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2162 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2163 syscall-list.h goal.
2164 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2166 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2168 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2170 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
2173 * intl/tst-gettext2.c: Set C locale if setting other locale
2174 failed. Use gettext() not _().
2176 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2177 successfully loaded a new locale.
2179 2000-11-13 Andreas Jaeger <aj@suse.de>
2181 * configure.in: Require gcc 2.95 or newer.
2183 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2185 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2186 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2188 2000-11-11 Jim Meyering <meyering@lucent.com>
2190 * string/strndup.c (strndup): Cast return value to `char *'.
2192 2000-11-15 Jim Meyering <meyering@ascend.com>
2194 * sysdeps/generic/memchr.c: Remove some useless parentheses.
2195 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2196 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2197 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2198 Also #undef __memchr.
2199 Use `weak_alias' only if it's defined.
2201 2000-11-10 H.J. Lu <hjl@gnu.org>
2203 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2205 2000-11-15 Andreas Jaeger <aj@suse.de>
2207 * elf/chroot_canon.c: Include <stdint.h>.
2209 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2210 (print_entry): Likewise.
2211 (add_to_cache): Likewise.
2213 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2215 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2216 (path_hwcap): Likewise.
2217 (search_dir): Likewise.
2219 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2221 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2223 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2224 (_dl_platform_string): New.
2225 (_DL_HWCAP_PLATFORM): New.
2226 (_dl_string_platform): New.
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2229 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2230 (_dl_string_platform): New.
2231 (_DL_HWCAP_PLATFORM): New.
2232 (_dl_platform_string): New.
2234 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2236 (_DL_HWCAP_COUNT): New.
2237 (_dl_string_platform): New.
2238 (_DL_HWCAP_PLATFORM): New.
2239 (_dl_platform_string): New.
2241 2000-11-14 Ulrich Drepper <drepper@redhat.com>
2243 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2245 2000-11-14 Andreas Jaeger <aj@suse.de>
2247 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2249 2000-11-13 Roland McGrath <roland@frob.com>
2251 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2253 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
2255 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2256 underrun and make sure the result is null terminated even if there
2257 is no trailing newline.
2259 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2261 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2263 2000-11-10 H.J. Lu <hjl@gnu.org>
2265 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2267 2000-11-10 Andreas Jaeger <aj@suse.de>
2269 * elf/ldconfig.c (create_links): Fix alloca calculation.
2270 Patch by Ben Collins <bcollins@debian.org>.
2272 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2274 * inet/getnameinfo.c (getnameinfo): Use correct destination
2275 parameter for if_indextoname.
2276 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2278 2000-11-09 H.J. Lu <hjl@gnu.org>
2280 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2281 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2282 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2285 * time/Versions (GLIBC_2.1): Move getitimer to...
2286 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2288 2000-11-03 Bruno Haible <haible@clisp.cons.org>
2290 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2291 "make install", to work around a binary incompatibility between
2292 glibc 2.1 and glibc 2.2 gconv modules.
2294 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2296 * intl/locale.alias: Add thai.
2297 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2299 2000-11-07 Akim Demaille <akim@epita.fr>
2301 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2302 argument `data' for consistency with the prototypes.
2304 (obstack_copy, obstack_copy0): Rename the second argument as
2305 `address' for consistency. Qualify it `const'.
2306 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2307 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2308 `const' their input argument (`data' or `address').
2309 Adjust the corresponding macros to include `const' in casts.
2311 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2313 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2316 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2318 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2321 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2323 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2324 ai_protocol by internal table if service was not given.
2326 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2328 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2329 numerical port was specified with protocol without socktype.
2331 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2333 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2335 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2337 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2339 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2341 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2342 sin6_scope_id field.
2344 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2346 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2348 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2350 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2352 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2354 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2355 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2357 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
2359 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2360 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2362 2000-11-09 H.J. Lu <hjl@gnu.org>
2364 * io/Versions (GLIBC_2.1.1): Remove lockf64.
2367 See ChangeLog.11 for earlier changes.