1 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3 * libio/stdio.h: Remove definition of off_t.
5 2001-01-11 Andreas Jaeger <aj@suse.de>
7 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
10 2001-01-10 Ulrich Drepper <drepper@redhat.com>
12 * sunrpc/Makefile (distribute): Add errqueue.h.
14 2001-01-10 H.J. Lu <hjl@gnu.org>
16 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
17 r9, r10 and r11 for language specific registers.
19 2001-01-10 Jakub Jelinek <jakub@redhat.com>
21 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
23 (clntudp_call): Handle MSG_ERRQUEUE.
24 * sysdeps/generic/errqueue.h: New file.
25 * sysdeps/unix/sysv/linux/errqueue.h: New file.
27 2001-01-10 H.J. Lu <hjl@gnu.org>
29 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
31 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
33 * CONFORMANCE: Update.
35 2001-01-09 Ulrich Drepper <drepper@redhat.com>
37 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
38 Minimal cleanups. Add assert to ensure memory handling is correct.
40 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
41 Reported by Ben Collins <bcollins@debian.org>.
43 * time/strftime.c (my_strftime): Mark previous GNU extensions
44 which are now in C99 as such.
46 2001-01-08 Ulrich Drepper <drepper@redhat.com>
48 * elf/rtld.c (process_envvars): Place output files for profiling
49 in SUID binaries in /var/profile.
51 * elf/dl-load.c (_dl_map_object): Don't look in cache for
52 preloading in SUID binaries.
54 * elf/dl-profile.c (_dl_start_profile): Open the output file with
55 O_NOFOLLOW if possible.
57 * include/stdlib.h: Add __posix_openpt declaration.
58 * stdlib/stdlib.h: Add posix_openpt declaration.
59 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
60 * sysdeps/generic/getpt.c: Define posix_openpt.
61 * sysdeps/unix/bsd/getpt.c: Likewise.
62 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
64 * time/Makefile (tests): Add tst-mktime.
65 * time/tst-mktime.c: New file.
67 * posix/tst-dir.c (main): One more mkdir() test.
69 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
70 Remove getpagesize syscall. We assume that the pagesize is always
71 determined from the auxiliary vector.
73 * intl/dcigettext.c: Fix a few warnings.
74 Patch by Bruno Haible <haible@ilog.fr>.
76 2001-01-08 Andreas Jaeger <aj@suse.de>
78 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
79 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
81 2001-01-08 Ulrich Drepper <drepper@redhat.com>
83 * sysdeps/generic/segfault.c (install_handler): Check output file
86 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
87 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
89 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
91 * malloc/memusage.c (me): Use access() to determine whether we
92 should write the output file or not.
94 * libio/bits/stdio.h (printf): Define macro to map printf call to
95 fprintf which gcc can optimize.
96 * stdio-common/printf.c: Undefine printf.
98 2001-01-07 Ulrich Drepper <drepper@redhat.com>
100 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
101 patch. We must use unsigned int for l member of union.
103 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
104 _dl_aux_init for shared libraries.
106 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
107 * sysdeps/gnu/glob64.c: ...here. New file.
109 2001-01-07 Ben Collins <bcollins@debian.org>
111 * manual/examples/longopt.c: Make the "struct option" a little
112 more like it should be, adding usage of required_argument,
113 noargument and such, and also setting the options string right.
115 * manual/sysinfo.texi (Load Average): New section, documents
118 2001-01-06 Ulrich Drepper <drepper@redhat.com>
120 * version.h (VERSION): Bump to 2.2.1.
122 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
123 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
124 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
125 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
126 * Makefile (distribute): Add include/libc-internal.h.
127 * libio/Makefile (distribute): Avoid overwriting.
129 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
130 buffer and table handling.
132 2001-01-05 H.J. Lu <hjl@gnu.org>
134 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
135 vector checking to ...
136 (_dl_aux_init): Here. New function. Defined only if
137 HAVE_AUX_VECTOR is defined.
139 * sysdeps/generic/libc-start.c (__libc_start_main): Call
140 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
142 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
145 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
146 (HAVE_AUX_VECTOR): Defined.
147 (_dl_aux_init): Declared.
149 2001-01-05 Ben Collins <bcollins@debian.org>
151 * manual/string.texi (Finding Tokens in a String): Document XPG
152 basename() and dirname(), as well as GNU basename().
154 2001-01-05 Jakub Jelinek <jakub@redhat.com>
156 * Makeconfig (preprocess-version): Replace -traditional with
157 -x assembler-with-cpp.
159 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
161 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
162 for GCC 2.97 or later.
164 2001-01-05 Ben Collins <bcollins@debian.org>
166 * manual/stdio.texi (getline): Clarify the return value in the
167 case of EOF being reached before a newline.
169 2001-01-04 Jakub Jelinek <jakub@redhat.com>
171 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
173 (pmap_set, pmap_unset): Check __get_myaddress return value.
175 2001-01-05 Mark Kettenis <kettenis@gnu.org>
177 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
178 (struct ether_addr): Declare ether_addr_octet member as
179 `u_int8_t'. Add __attribute__ ((__packed__)).
181 2001-01-06 Mark Kettenis <kettenis@gnu.org>
183 * sysdeps/mach/hurd/readdir64.c: New file.
184 * sysdeps/mach/hurd/readdir64_r.c: New file.
186 2001-01-07 Mark Kettenis <kettenis@gnu.org>
188 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
189 `struct statfs' and `struct statvfs' being identical.
190 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
192 2001-01-06 Mark Kettenis <kettenis@gnu.org>
194 * sysdeps/mach/hurd/fstatfs64.c: New file.
195 * sysdeps/mach/hurd/fstatvfs64.c: New file.
196 * sysdeps/mach/hurd/statfs64.c: New file.
197 * sysdeps/mach/hurd/statvfs64.c: New file.
198 * sysdeps/mach/hurd/statfsconv.c: New file.
199 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
201 2001-01-06 Ulrich Drepper <drepper@redhat.com>
203 * iconv/skeleton.c: Reset outbuf for next round of the loop.
204 Reported by Owen Taylor <otaylor@redhat.com>.
205 * iconv/Makefile (tests): Add tst-iconv3.
206 * iconv/tst-iconv3.c: New file.
208 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
209 * iconvdata/ibm933.c: Likewise.
210 * iconvdata/ibm935.c: Likewise.
211 * iconvdata/ibm937.c: Likewise.
212 * iconvdata/ibm939.c: Likewise.
213 * iconvdata/ibm930.h: Adjust single byte table for optimization.
214 * iconvdata/ibm933.h: Likewise.
215 * iconvdata/ibm935.h: Likewise.
216 * iconvdata/ibm939.h: Likewise.
218 * iconvdata/testdata/IBM930: Add misssing SI.
219 * iconvdata/testdata/IBM933: Likewise.
220 * iconvdata/testdata/IBM935: Likewise.
221 * iconvdata/testdata/IBM937: Likewise.
222 * iconvdata/testdata/IBM939: Likewise.
224 2001-01-06 Andreas Jaeger <aj@suse.de>
226 * configure.in: Check for old add-ons that shouldn't be used with
227 current glibc anymore.
229 2001-01-06 Mark Kettenis <kettenis@gnu.org>
231 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
232 instead of -1 on failure. Don't forget to copy file name into
233 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
236 2001-01-06 Mark Kettenis <kettenis@gnu.org>
238 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
239 copy st_atime member.
241 2001-01-05 Ulrich Drepper <drepper@redhat.com>
243 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
244 for searches from the root directory.
245 Reported by loris <loris@iol.it> [PR libc/1991].
246 * io/Makefile (tests): Add bug-ftw1.
247 * io/bug-ftw1.c: New file.
249 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
250 if it is not available. Instead use it only if it is available.
251 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
253 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
254 overflowing output buffer.
255 (internal_ucs4_loop_unaligned): Likewise.
256 (ucs4_internal_loop): Likewise.
257 (ucs4_internal_loop_unaligned): Likewise.
258 (internal_ucs4le_loop): Likewise.
259 (internal_ucs4le_loop_unaligned): Likewise.
260 (ucs4le_internal_loop): Likewise.
261 (ucs4le_internal_loop_unaligned): Likewise.
262 Reported by Owen Taylor <otaylor@redhat.com>.
263 * iconv/Makefile (tests): Add tst-iconv2.
264 * iconv/tst-iconv2.c: New file.
266 2001-01-04 H.J. Lu <hjl@gnu.org>
268 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
269 (_dl_clktck): Declared.
270 (non_dynamic_init): Take 3 arguments.
271 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
273 2001-01-01 Bruno Haible <haible@clisp.cons.org>
275 Finish implementation of plural form handling.
276 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
277 'domainname'. Remove 'plindex' field. Add 'domain' and
278 'translation_length' fields.
279 (transcmp): Don't compare 'plindex' fields.
280 (plural_lookup): New function.
281 (DCIGETTEXT): Change cache handing in the plural case. Don't call
282 plural_eval before the translation and its catalog file have been
283 found. Remove plindex from cache key. Add 'translation_length' and
284 'domain' to cache result.
285 (_nl_find_msg): Remove index argument, return length of translation
286 to the caller instead. Weaken comparison of string lengths, to account
287 for plural entries. Call iconv() on the entire result string, not
288 only on the portion needed so far.
289 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
291 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
293 2001-01-04 Ulrich Drepper <drepper@redhat.com>
295 * intl/plural.y (yylex): Minimal improvement in number scanner.
297 2000-07-31 Bruno Haible <haible@clisp.cons.org>
299 * intl/plural.y: Include config.h. Needed to define 'inline' away for
300 C compilers that don't support it.
301 (yylex): Don't use gcc specific case range syntax.
302 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
305 2000-10-12 Bruno Haible <haible@clisp.cons.org>
307 * intl/finddomain.c: Remove unneeded includes.
309 2000-10-12 Bruno Haible <haible@clisp.cons.org>
311 * intl/localealias.c (memcpy): Return first argument, just like the
312 real memcpy function does.
313 * intl/bindtextdom.c (memcpy): Likewise.
314 * intl/finddomain.c (memcpy): Likewise.
315 * intl/l10nflist.c (memcpy): Likewise.
316 * intl/textdomain.c (memcpy): Likewise.
317 From Paul Eggert <eggert@twinsun.com>.
319 2001-01-03 Jakub Jelinek <jakub@redhat.com>
321 * resolv/resolv.h (struct __res_state): Add nsinit field.
322 * resolv/res_send.c (res_nsend): Use it instead of nscount.
323 * resolv/res_init.c (__res_vinit): Initialize it.
324 (res_nclose): Clear it instead of nscount.
326 2001-01-04 Ulrich Drepper <drepper@redhat.com>
328 * malloc/mtrace.pl: Fix matching of addresses.
329 Patch by Aharon Robbins <arnold@skeeve.com>.
331 * Versions.def (ld): Add GLIBC_2.2.
333 * catgets/gencat.c: Copyright 2001.
334 * csu/version.c: Likewise.
335 * debug/catchsegv.sh: Likewise.
336 * debug/xtrace.sh: Likewise.
337 * elf/ldconfig.c: Likewise.
338 * elf/sprof.c: Likewise.
339 * iconv/iconv_prog.c: Likewise.
340 * locale/locale.c: Likewise.
341 * locale/localedef.c: Likewise.
342 * malloc/memusage.sh: Likewise.
343 * malloc/mtrace.pl: Likewise.
344 * nscd/nscd.c: Likewise.
345 * posix/getconf.c: Likewise.
347 2001-01-04 Mark Kettenis <kettenis@gnu.org>
349 * include/stdio.h: Only provide __getwc_unlocked prototype if
350 USE_IN_LIBIO is defined.
352 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
354 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
357 2001-01-03 Andreas Schwab <schwab@suse.de>
359 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
360 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
362 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
363 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
365 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
366 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
369 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
371 * sysdeps/generic/strtol_l.c: Likewise.
372 * sysdeps/generic/strtoul_l.c: Likewise.
373 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
375 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
376 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
377 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
378 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
380 2001-01-04 Andreas Jaeger <aj@suse.de>
382 * nss/nsswitch.c: Include files for missing prototypes, remove
383 buggy declaration of prototypes.
385 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
387 * resolv/Versions: Fix bracing.
388 * sysdeps/powerpc/soft-fp/Versions: Likewise.
389 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
391 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
393 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
395 2001-01-02 Ulrich Drepper <drepper@redhat.com>
397 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
398 Suggested by Minko Markov <mmarkov@home.com>.
400 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
402 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
403 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
405 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
407 2001-01-02 Ben Collins <bcollins@debian.org>
409 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
410 if TZ is not set and TZDEFAULT is not present.
412 2001-01-01 Ben Collins <bcollins@debian.org>
414 * string/strings.h: Make sure we declare our functions even if
415 string.h is already included, based on whether or not __USE_BSD is
418 2001-01-02 Ulrich Drepper <drepper@redhat.com>
420 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
421 other dlopen() and dlsym().
422 Based on a patch by Ben Collins <bcollins@debian.org>.
424 2001-01-02 Andreas Jaeger <aj@suse.de>
426 * dlfcn/errmsg1.c (main): Call dlerror initially.
427 Reported by Ben Collins <bcollins@debian.org>.
429 2001-01-02 Ulrich Drepper <drepper@redhat.com>
431 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
432 value is ignored if the selected locale is the C locale.
433 * intl/tst-gettext.c: Set locale for above change.
434 * intl/tst-translit.c: Likewise.
436 2001-01-02 Andreas Jaeger <aj@suse.de>
438 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
439 (_IO_switch_to_wget_mode): Likewise.
440 (_IO_sputbackwc): Likewise.
441 (_IO_sungetwc): Use wint_t for result.
443 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
445 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
448 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
449 to (int) to avoid warnings.
450 * stdio-common/printf_fp.c (putc): Likewise.
451 * stdio-common/printf_size.c (putc): Likewise.
453 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
456 2001-01-01 Andreas Jaeger <aj@suse.de>
458 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
460 2000-12-31 Andreas Jaeger <aj@suse.de>
462 * include/libc-internal.h: Add prototype for __libc_freeres.
464 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
465 for prototypes, remove redundant prototypes.
466 * gmon/gmon.c: Likewise.
467 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
468 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
469 * malloc/mtrace.c: Likewise.
471 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
473 * elf/soinit.c: Likewise.
474 * sysdeps/generic/prof-freq.c: Likewise.
475 * sysdeps/mach/hurd/profil.c: Likewise.
476 * debug/noophooks.c: Likewise.
477 * debug/pcprofile.c: Likewise.
478 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
479 * sysdeps/generic/get_clockfreq.c: Likewise.
480 * malloc/set-freeres.c: Likewise.
482 * locale/localeinfo.h: Add internal prototypes.
484 * elf/rtld.c (dl_main): Fix prototype.
486 * iconvdata/tst-table-to.c (main): Use return instead of exit to
489 * nis/rpcsvc/yp_prot.h: Remove __P.
490 * nis/rpcsvc/ypupd.h: Likewise.
491 * nis/rpcsvc/yp.h: Likewise.
493 * sunrpc/rpc_main.c: Add noreturn attributes.
494 * sunrpc/rpc_scan.h: Likewise.
496 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
498 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
500 * sunrpc/proto.h: Add noreturn attributes to error and crash.
502 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
504 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
506 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
508 * include/rpc/rpc_msg.h: Add prototypes for some functions.
509 * include/rpc/auth.h: Likewise.
510 * include/rpc/auth_des.h: Likewise.
511 * include/rpc/clnt.h: Likewise.
512 * include/rpc/rpc.h: Likewise.
513 * include/rpc/svc.h: Likewise.
514 * include/rpc/svc_auth.h: Likewise.
516 * include/rpc/des_crypt.h: New file.
518 * malloc/memusagestat.c (main): Use return instead of exit to
520 * io/pwd.c (main): Likewise.
521 * iconvdata/tst-table-from.c (main): Likewise.
522 * ctype/test_ctype.c (main): Likewise.
523 * setjmp/tst-setjmp.c (main): Likewise.
524 * signal/tst-signal.c (main): Likewise.
525 * stdlib/tst-strtol.c (main): Likewise.
526 * stdlib/tst-strtod.c (main): Likewise.
527 * stdlib/tst-strtoll.c (main): Likewise.
528 * stdlib/tst-xpg-basename.c (main): Likewise.
529 * dirent/tst-seekdir.c (main): Likewise.
530 * grp/testgrp.c (main): Likewise.
531 * inet/test_ifindex.c (main): Likewise.
532 * io/test-utime.c (main): Likewise.
533 * posix/test-vfork.c (main): Likewise.
534 * posix/testfnm.c (main): Likewise.
535 * stdio-common/temptest.c (main): Likewise.
536 * stdio-common/test_rdwr.c (main): Likewise.
537 * stdio-common/tst-fileno.c (main): Likewise.
538 * stdio-common/tst-sscanf.c (main): Likewise.
539 * stdio-common/tstscanf.c (main): Likewise.
540 * string/bug-strncat1.c (main): Likewise.
541 * string/bug-strpbrk1.c (main): Likewise.
542 * string/bug-strspn1.c (main): Likewise.
543 * string/test-ffs.c (main): Likewise.
544 * string/tst-inlcall.c (main): Likewise.
545 * string/tst-svc.c (main): Likewise.
546 * timezone/test-tz.c (main): Likewise.
547 * wctype/test_wcfuncs.c (main): Likewise.
548 * wctype/test_wctype.c (main): Likewise.
550 * stdlib/tst-random.c: Add attribute noreturn to fail.
552 2000-12-28 Wolfram Gloger <wg@malloc.de>
554 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
555 destination overlap. Assume dest is always below source if
558 2000-12-30 Ulrich Drepper <drepper@redhat.com>
560 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
561 object was not yet initialized.
563 2000-12-28 H.J. Lu <hjl@gnu.org>
565 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
566 is always consistent even if its dependency is failed.
568 * elf/dl-open.c (_dl_open): Increment the open count before
569 calling _dl_close () in case of failure.
571 * elf/neededtest4.c: New file.
572 * elf/neededobj5.c: New file.
573 * elf/neededobj6.c: New file.
575 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
576 (tests): Add neededtest4.
577 (modules-names): Add neededobj5 and neededobj6.
578 ($(objpfx)neededobj6.so): New target.
579 ($(objpfx)neededtest4): New target.
580 ($(objpfx)neededtest4.out): New target.
582 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
584 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
585 * stdlib/monetary.h: Add strfmon format attributes.
587 2000-12-28 Roland McGrath <roland@frob.com>
589 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
590 __mempcpy does it for us.
592 2000-12-28 Andreas Jaeger <aj@suse.de>
594 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
596 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
599 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
602 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
605 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
606 __chown_is_lchown and __real_chown.
608 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
611 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
612 up GCC's warning about "deprecated use of label at end of compound
614 * sunrpc/rpc_cout.c (emit_inline): Likewise.
616 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
618 Remove struct bb and __bb_head since those are declared by
621 2000-12-22 Ben Collins <bcollins@debian.org>
623 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
625 * manual/argp.texi: Document argp_domain as part of struct argp.
627 2000-12-28 Andreas Jaeger <aj@suse.de>
629 * catgets/Makefile (generated): Add sample.SJIS.cat.
631 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
633 * elf/dl-minimal.c: Add prototypes.
635 * include/locale.h: Add internal prototypes.
636 * include/sys/gmon.h: Likewise.
638 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
640 2000-12-27 Ben Collins <bcollins@debian.org>
642 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
643 when reallocating the error strings.
644 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
646 2000-12-27 Ulrich Drepper <drepper@redhat.com>
648 * dlfcn/Makefile (tests): Add errmsg1.
649 (modules-names): Add errmsg1mod.
650 Add rules to run errmsg1.
651 * dlfcn/errmsg1.c: New file.
652 * dlfcn/errmsg1mod.c: New file.
654 * dlfcn/dlerror.c (dlerror): Always create output string which
655 includes object file name.
657 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
658 if we would go through it only once.
659 Patch by Rick Gorton <rick.gorton@api-networks.com>.
661 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
662 Patch by Richard Henderson <rth@redhat.com>.
664 2000-12-27 Jakub Jelinek <jakub@redhat.com>
666 * malloc/malloc.c (memmove): Add prototypes.
667 (MALLOC_MEMMOVE): Define.
668 (chunk_realloc): Use it instead of MALLOC_COPY if source and
669 destination might overlap.
671 2000-12-27 Andreas Jaeger <aj@suse.de>
673 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
675 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
676 * locale/programs/locale.c (show_locale_vars): Likewise.
677 (show_info): Likewise.
678 * locale/programs/ld-collate.c (collate_output): Likewise.
679 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
680 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
681 * stdlib/rpmatch.c (rpmatch): Likewise.
683 * setjmp/tst-setjmp.c: Make local functions static.
684 * setjmp/jmpbug.c: Likewise.
685 * signal/tst-signal.c: Likewise.
686 * stdio-common/tfformat.c: Likewise.
687 * string/tst-svc.c: Likewise.
688 * time/clocktest.c: Likewise.
689 * time/tst-getdate.c: Likewise.
690 * dirent/list.c: Likewise.
691 * dirent/opendir-tst1.c: Likewise.
692 * posix/runtests.c: Likewise.
693 * posix/tst-getaddrinfo.c: Likewise.
694 * posix/tst-chmod.c: Likewise.
695 * posix/wordexp-test.c: Likewise.
696 * misc/tst-efgcvt.c: Likewise.
697 * timezone/tst-timezone.c: Likewise.
698 * rt/tst-clock.c: Likewise.
699 * rt/tst-shm.c: Likewise.
700 * rt/tst-aio2.c: Likewise.
701 * rt/tst-aio3.c: Likewise.
702 * rt/tst-aio4.c: Likewise.
703 * rt/tst-aio5.c: Likewise.
705 * dlfcn/failtest.c: Add prototype for foo.
707 * dlfcn/glrefmain.c: Add prototype for do_test.
709 * dlfcn/tst-dladdr.c: Add prototype for do_test.
711 * string/test-ffs.c (main): Add prototype for nested function.
713 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
715 * nss/XXX-lookup.c: Add prototype to shut up GCC.
717 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
718 setetherent prototype.
719 Add internal interfaces.
721 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
724 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
726 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
728 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
729 prototypes, remove struct etherent since it's declared in ether.h.
730 Fix ntohost declaration.
732 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
734 * include/getopt.h: Add internal interfaces.
735 * include/termios.h: Likewise.
736 * include/resolv.h: Likewise.
737 * include/netdb.h: Likewise.
738 * include/grp.h: Likewise.
739 * include/pwd.h: Likewise.
740 * include/shadow.h: Likewise.
741 * include/rpc/netdb.h: Likewise.
742 * include/setjmp.h: Likewise.
744 * include/stdio.h: Add prototypes for compatibility functions.
745 * include/grp.h: Likewise.
746 * include/pwd.h: Likewise.
747 * include/shadow.h: Likewise.
749 * include/fenv.h: Define internal interfaces.
751 2000-12-27 Ulrich Drepper <drepper@redhat.com>
753 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
754 argument case separately.
755 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
757 2000-12-27 Andreas Jaeger <aj@suse.de>
759 * include/sys/wait.h: Add some prototypes.
760 * Rules (dummy.c): Create also prototype to shut up GCC.
762 2000-12-27 Andreas Jaeger <aj@suse.de>
764 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
765 it's not needed at the moment.
766 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
767 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
769 2000-12-26 Andreas Jaeger <aj@suse.de>
771 * libio/getc_u.c: Include stdio.h via system path to get internal
773 * libio/getwc_u.c: Likewise.
775 * stdlib/strfmon.c: Fix prototype of __printf_fp.
777 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
778 __printf_fp prototypes to ...
779 * include/printf.h: ...here.
781 * include/stdio.h: Add some internal prototypes to shut up GCC.
782 * include/stdlib.h: Likewise.
784 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
787 * include/signal.h: Add prototypes for internal sigpause
790 2000-12-26 Ulrich Drepper <drepper@redhat.com>
792 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
793 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
795 * string/Makefile (tests): Add tst-bswap.
796 * string/tst-bswap.c: New file.
798 2000-12-11 Bruno Haible <haible@clisp.cons.org>
800 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
802 2000-12-26 Ulrich Drepper <drepper@redhat.com>
804 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
805 Patch by Ed Connell <Ed.Connell@sas.com>.
807 2000-12-24 Ulrich Drepper <drepper@redhat.com>
809 * locale/iso-639.def: Correct one entry. Add two missing entries.
811 * locale/iso-4217.def: Change entry for Eritrea.
812 Reported by Daniel Yacob <yacob@geez.org>.
814 2000-12-23 Ben Collins <bcollins@debian.org>
816 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
819 * manual/stdio.texi (Dynamic Output): Document the return value of
820 asprintf. Also make the asprintf/snprintf examples a little
821 better (check for some error returns).
823 2000-12-22 Andreas Jaeger <aj@suse.de>
825 * include/stdio.h: Add __ftrylockfile prototype.
827 2000-12-21 H.J. Lu <hjl@gnu.org>
829 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
830 Make sign_exponent element signed.
832 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
835 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
837 2000-12-21 Andreas Jaeger <aj@suse.de>
839 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
840 * inet/ether_hton.c: Likewise
841 * inet/ether_ntoh.c: Likewise.
843 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
844 declaration to match prototype.
846 * include/netinet/ether.h (struct etherent): Declare here so that
847 all implementations use the same struct.
849 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
851 (struct ether): Removed.
852 Use struct etherent instead of ether everywhere.
854 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
856 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
858 * sunrpc/publickey.c: Include auth_des.h for prototypes.
860 2000-12-20 Ulrich Drepper <drepper@redhat.com>
862 * math/test-misc.c: Add more tests for nextafter functions.
864 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
865 normal correctly. Correct test for sign.
866 Based on a patch by HJ Lu.
868 2000-12-19 Ulrich Drepper <drepper@redhat.com>
870 * Makeconfig (preprocess-version): Add -traditional to gcc call.
873 2000-12-19 Andreas Jaeger <aj@suse.de>
875 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
877 * nis/nis_intern.h: Add prototype for __do_niscall3.
879 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
882 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
884 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
886 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
888 2000-12-18 Ulrich Drepper <drepper@redhat.com>
890 * math/test-misc.c: Add more tests for nextafter.
891 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
892 * sysdeps/ieee754/ldbl-96/math_ldbl.h
893 (ieee_long_double_shape_type): Make sign_exponent element signed.
895 * manual/message.texi: Add Estonian to plural overview list.
896 Correct rule for Slavic languages.
897 Patch by Stanislav Brabec <utx@penguin.cz>.
899 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
901 2000-12-18 Andreas Jaeger <aj@suse.de>
903 * test-skeleton.c: Use temp_name_list instead of name_list to
904 avoid collision with name_list from inet/netgroup.h.
906 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
908 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
909 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
910 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
911 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
913 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
914 declaration to match prototype.
915 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
916 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
917 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
919 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
920 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
921 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
922 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
923 (_nss_nis_getservbyport_r): Likewise.
924 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
925 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
926 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
927 (_nss_nis_setnetent): Likewise
928 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
929 (_nss_nis_endnetgrent): Likewise.
930 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
932 (_nss_nisplus_setnetgrent): Likewise.
933 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
934 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
935 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
936 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
938 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
940 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
942 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
944 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
945 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
946 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
947 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
948 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
949 (_nss_dns_getnetbyaddr_r): Likewise.
951 2000-12-17 Andreas Jaeger <aj@suse.de>
953 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
956 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
957 unused attribute to shut up gcc warnings.
959 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
960 * sysdeps/generic/k_tanl.c: Likewise.
961 * sysdeps/generic/k_cosl.c: Likewise.
962 * sysdeps/generic/e_j0l.c: Likewise.
963 * sysdeps/generic/e_j1l.c: Likewise.
964 * sysdeps/generic/e_jnl.c: Likewise.
965 * sysdeps/generic/e_lgammal_r.c: Likewise.
967 * elf/vismain.c: Move prototypes for functions in vismod*.c to
969 * elf/vismod.h: New file.
970 * elf/Makefile (distribute): Add vismod.h.
971 * elf/vismod1.c: Include vismod.h.
972 * elf/vismod2.c: Likewise.
973 * elf/vismod3.c: Likewise.
975 * elf/constload3.c: Add prototype declarations to shut up gcc.
976 * elf/failobj.c: Likewise.
977 * elf/nodelmod3.c: Likewise.
978 * elf/filtmod1.c: Likewise.
979 * elf/filtmod2.c: Likewise.
980 * elf/reldepmod1.c: Likewise.
981 * elf/reldepmod2.c: Likewise.
982 * elf/reldepmod3.c: Likewise.
983 * elf/reldepmod4.c: Likewise.
984 * elf/unload2dep.c: Likewise.
985 * elf/unload2mod.c: Likewise.
986 * elf/ltglobmod1.c: Likewise.
987 * elf/pathoptobj.c: Likewise.
988 * elf/neededobj1.c: Likewise.
989 * elf/neededobj2.c: Likewise.
990 * elf/neededobj3.c: Likewise.
991 * elf/neededobj4.c: Likewise.
992 * elf/nextmod1.c: Likewise.
993 * elf/nextmod2.c: Likewise.
995 * locale/programs/ld-collate.c (collate_finish): Don't use labels
996 at end of compound statement.
997 * locale/programs/locale.c (show_info): Likewise.
998 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1000 2000-12-16 Jakub Jelinek <jakub@redhat.com>
1002 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1003 with a pointer not returned by obstack_ functions.
1005 2000-12-16 Ulrich Drepper <drepper@redhat.com>
1007 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1009 (struct stat64): Likewise.
1010 Reported by Michael Keezer <mkeezer@redhat.com>.
1012 * timezone/asia: Update from tzdata2000h.
1013 * timezone/australasia: Likewise.
1014 * timezone/backward: Likewise.
1015 * timezone/europe: Likewise.
1016 * timezone/northamerica: Likewise.
1017 * timezone/southamerica: Likewise.
1018 * timezone/zone.tab: Likewise.
1020 2000-12-14 Jakub Jelinek <jakub@redhat.com>
1022 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1023 and dir.stream is NULL, only free dir.content.
1024 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1025 * io/ftwtest-sh: Test with --early-exit.
1027 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1029 * misc/efgcvt.c (FCVT_MAXDIG): Define.
1030 (FCVT_BUFPTR): New variable.
1031 (fcvt): If fcvt_r returns -1 on the static short buffer,
1032 try to malloc a sufficiently large one and retry.
1033 (free_mem): New function.
1034 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1035 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1037 2000-12-15 Ulrich Drepper <drepper@redhat.com>
1039 * misc/dirname.c (dirname): Fix search for second to last slash.
1041 2000-12-13 Andreas Jaeger <aj@suse.de>
1043 * misc/tst-dirname.c (main): Fix typo in test to really use
1044 the examples from Unix98.
1045 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1047 2000-12-09 H.J. Lu <hjl@gnu.org>
1049 * sysdeps/ia64/fpu/s_fabs.S: New file.
1050 * sysdeps/ia64/fpu/s_fabsf.S: New file.
1051 * sysdeps/ia64/fpu/s_fabsl.S: New file.
1053 2000-12-15 Andreas Jaeger <aj@suse.de>
1055 * stdio-common/scanf9.c (main): Reformat and change to avoid
1058 * stdio-common/tstdiomisc.c: Make local functions static.
1059 * stdio-common/tst-printf.c: Likewise.
1061 * elf/constload2.c: Add prototype declarations to shut up gcc.
1062 * elf/dep1.c: Likewise.
1063 * elf/dep2.c: Likewise.
1064 * elf/dep3.c: Likewise.
1065 * elf/dep4.c: Likewise.
1066 * elf/ltglobmod2.c: Likewise.
1068 * libio/fmemopen.c: Make local functions static.
1070 * elf/Makefile (distribute): Added testobj.h.
1072 * elf/testobj.h: New file.
1074 * elf/testobj1.c: Include testobj.h and move prototype
1075 declarations to testobj.h.
1076 * elf/testobj2.c: Likewise.
1077 * elf/testobj3.c: Likewise.
1078 * elf/testobj4.c: Likewise.
1079 * elf/testobj5.c: Likewise.
1080 * elf/testobj6.c: Likewise.
1081 * elf/testobj1_1.c: Likewise.
1082 * elf/preloadtest.c: Likewise.
1084 2000-12-15 Ben Collins <bcollins@debian.org>
1086 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1087 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1089 2000-12-14 H.J. Lu <hjl@gnu.org>
1091 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1092 field in a float is 8 bits, not 11 bits.
1094 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1096 * math/test-misc.c (main): Adjust m for IEEE quad long double.
1098 2000-12-13 Andreas Jaeger <aj@suse.de>
1100 * manual/message.texi (Using gettextized software): Fix typo.
1102 * manual/charset.texi (Converting a Character): Fix mbstouwcs
1104 Patch by Martin Buchholz <martin@xemacs.org>.
1106 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1107 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1109 2000-12-11 Andreas Jaeger <aj@suse.de>
1111 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1112 kernel_sigset_t and use it.
1113 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1115 2000-12-10 Richard Henderson <rth@redhat.com>
1117 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1118 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1119 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1121 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1123 * sysdeps/alpha/htonl.S: Fix a typo.
1125 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1127 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1129 2000-12-10 Andreas Jaeger <aj@suse.de>
1131 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1132 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1133 Drepper <drepper@redhat.com>.
1135 2000-12-09 Andreas Jaeger <aj@suse.de>
1137 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1139 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1141 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1143 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1146 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1149 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1150 * nscd/connections.c (handle_request): Likewise.
1151 * nscd/pwdcache.c (addpwbyname): Likewise.
1152 * nscd/grpcache.c (addgrbyname): Likewise.
1154 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1156 2000-12-09 Ulrich Drepper <drepper@redhat.com>
1158 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1160 * Makeconfig (default_cflags): Make -O2 the default for stable
1163 2000-12-08 H.J. Lu <hjl@gnu.org>
1165 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1166 * sysdeps/ia64/fpu/s_isinf.S: This.
1167 Add a .pred.rel.mutex note to avoid false report.
1169 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1170 * sysdeps/ia64/fpu/s_isnan.S: This.
1172 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1173 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1174 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1175 * sysdeps/ia64/fpu/s_isinff.S: New file.
1176 * sysdeps/ia64/fpu/s_isinfl.S: New file.
1177 * sysdeps/ia64/fpu/s_isnanf.S: New file.
1178 * sysdeps/ia64/fpu/s_isnanl.S: New file.
1179 * sysdeps/ia64/fpu/s_finite.S: New file.
1180 * sysdeps/ia64/fpu/s_finitef.S: New file.
1181 * sysdeps/ia64/fpu/s_finitel.S: New file.
1182 * sysdeps/ia64/fpu/s_signbit.S: New file.
1183 * sysdeps/ia64/fpu/s_signbitf.S: New file.
1184 * sysdeps/ia64/fpu/s_signbitl.S: New file.
1185 * sysdeps/ia64/fpu/s_copysign.S: New file.
1186 * sysdeps/ia64/fpu/s_copysignf.S: New file.
1187 * sysdeps/ia64/fpu/s_copysignl.S: New file.
1189 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1191 * math/libm-test.inc (main): Fix typos in messages.
1193 * string/stratcliff.c: Add test for rawmemchr.
1195 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1197 * elf/dl-open.c (_dl_open): If objname points right after errstring,
1198 allocate it together with errstring using alloca.
1199 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1200 to "", because it might point to local stack.
1202 2000-12-05 H.J. Lu <hjl@gnu.org>
1204 * nss/Makefile (routines): Add getnssent and getnssent_r.
1205 * nss/nsswitch.h (__nss_setent): New internal NSS function.
1206 (__nss_endent): Likewise.
1207 (__nss_getent_r): Likewise.
1208 (__nss_getent): Likewise.
1209 * nss/getnssent_r.c: New file.
1210 * nss/getnssent.c: New file.
1211 * nss/getXXent.c (H_ERRNO_VAR): Updated.
1212 (GETFUNC_NAME): Updated to call __nss_getent ().
1213 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1214 (STAYOPEN_TMPVAR): Updated.
1215 (STAYOPEN_VAR): Updated.
1216 (SETFUNC_NAME): Updated to call __nss_setent ().
1217 (ENDFUNC_NAME): Updated to call __nss_endent ().
1218 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1220 2000-12-08 Andreas Jaeger <aj@suse.de>
1222 * nscd/dbg_log.h (dbg_log): Correct attribute.
1224 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1226 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1227 cp + len. Compute where from dirname.
1228 Reported by <jreiser@BitWagon.com>.
1230 2000-12-08 Richard Henderson <rth@twiddle.net>
1232 * sysdeps/alpha/_mcount.S: Fix typo.
1233 * sysdeps/alpha/strncpy.S: Likewise.
1235 * sysdeps/alpha/alphaev6/Implies: New file.
1236 * sysdeps/alpha/alphaev67/Implies: New file.
1237 * sysdeps/alpha/alphaev67/ffs.S: New file.
1238 * sysdeps/alpha/alphaev67/ffsll.S: New file.
1239 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1240 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1241 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1242 * sysdeps/alpha/rawmemchr.S: New file.
1243 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1244 * sysdeps/alpha/strcpy.S: Likewise.
1247 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1249 From rick.gorton@alpha-processor.com:
1250 * sysdeps/alpha/alphaev6/memchr.S: New file.
1251 * sysdeps/alpha/alphaev6/memcpy.S: New file.
1252 * sysdeps/alpha/alphaev6/memset.S: New file.
1253 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1254 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1255 * sysdeps/alpha/alphaev67/strcat.S: New file.
1256 * sysdeps/alpha/alphaev67/strchr.S: New file.
1257 * sysdeps/alpha/alphaev67/strlen.S: New file.
1258 * sysdeps/alpha/alphaev67/strncat.S: New file.
1259 * sysdeps/alpha/htonl.S: Use a shorter sequence.
1261 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1263 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1264 Reported by <pspencer@fields.utoronto.ca>.
1266 2000-12-07 Jes Sorensen <jes@linuxcare.com>
1268 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1269 Pointed out by Hans Boehm.
1271 2000-12-07 H.J. Lu <hjl@gnu.org>
1273 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1275 2000-12-07 Andreas Jaeger <aj@suse.de>
1277 * misc/error.c: Add format attributes for __error and __error_at_line.
1279 * nscd/dbg_log.h: Add format attribute.
1281 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1283 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1284 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1286 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
1288 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1290 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1292 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1293 (sysdep_routines): Add uitrunc.
1294 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1295 Patches by Michael Keezer <mkeezer@redhat.com>.
1297 2000-12-06 Roland McGrath <roland@frob.com>
1299 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1300 argument data, since it will be used to copy out too (for INOUT).
1301 Reported by Marcus Brinkmann <marcus@gnu.org>.
1303 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1304 (__ioctl): Use uintptr_t instead of unsigned long int.
1306 2000-12-06 Jim Wilson <wilson@redhat.com>
1308 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1310 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1312 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1313 x.5 rounding correctly.
1315 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1317 * stdio-common/perror.c (perror): Conditionalize code dealing with
1318 wide-oriented streams on USE_IN_LIBIO.
1320 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1323 as internal_function.
1325 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1327 * sysdeps/alpha/elf/start.S (__data_start): Define.
1329 2000-12-05 H.J. Lu <hjl@gnu.org>
1331 * nss/getXXent_r.c (setup): Change the return type to int.
1333 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1335 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1336 (sysdep_routines): Add restf and savef.
1337 * sysdeps/unix/sysv/aix/restf.c: New file.
1338 * sysdeps/unix/sysv/aix/savef.c: New file.
1339 Patches by Michael Keezer <mkeezer@redhat.com>.
1341 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1342 if O_DIRECTORY is not defined.
1343 Patch by Michael Keezer <mkeezer@redhat.com>.
1345 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1346 Patch by Michael Keezer <mkeezer@redhat.com>.
1348 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1349 than 4 bytes in escape sequence.
1350 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1352 2000-12-05 Andreas Jaeger <aj@suse.de>
1354 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1357 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1359 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1361 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1362 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1364 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1366 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1367 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1369 * sysdeps/generic/dl-cache.c: Remove declaration of
1370 _dl_sysdep_read_whole_file.
1372 * elf/dl-load.c (_dl_map_object): Remove declaration of
1373 _dl_load_cache_lookup.
1375 * sysdeps/generic/ldsodefs.h: Add declarations of
1376 _dl_load_cache_lookup, _dl_unload_cache,
1377 _dl_sysdep_read_whole_file, _dl_sysdep_start and
1378 _dl_sysdep_start_cleanup.
1380 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1383 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1384 * sysdeps/generic/dl-environ.c: Likewise.
1386 * stdio-common/printf_fp.c: Include <gmp.h> instead of
1388 * math/atest-exp.c: Likewise.
1389 * math/atest-exp2.c: Likewise.
1390 * math/atest-sincos.c: Likewise.
1391 * stdio-common/_itoa.c: Likewise.
1392 * stdio-common/_itowa.c: Likewise.
1394 * include/gmp.h: New file with internal prototypes.
1396 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1398 * include/setjmp.h: ...here.
1400 * locale/Makefile (routines): Remove codeset_name since it's not
1403 * locale/codeset_name.c: Removed.
1405 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1407 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1409 2000-12-05 Andreas Jaeger <aj@suse.de>
1411 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1413 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1415 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1418 2000-12-05 Andreas Jaeger <aj@suse.de>
1420 * nss/test-netdb.c: Mark local functions as static to avoid
1422 (main): Use return to silence warning.
1424 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1426 * stdio-common/test-popen.c: Mark local functions as static to
1428 (main): Use return to silence warning.
1430 * stdlib/testsort.c (compare): Mark as static to avoid warning.
1432 * assert/test-assert.c: Mark local functions as static to avoid
1434 * assert/test-assert-perr.c: Likewise.
1436 * math/libm-test.inc (main): Use return to silence warnings.
1438 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1440 * math/fenv.h: Fix typo in comment.
1442 * math/test-misc.c (main): Add a few more over and underflow tests
1445 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1448 * math/w_scalb.c: Don't use matherr except in SVID mode.
1449 * math/w_scalbf.c: Likewise.
1450 * math/w_scalbl.c: Likewise.
1451 * math/test-misc.c: Add test for NaN and scalbl.
1452 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1454 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1456 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1457 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1458 * include/libc-symbols.h (strong_alias): Define special version
1459 for HAVE_ASM_GLOBAL_DOT_NAME.
1460 (weak_alias): Likewise.
1461 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1462 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1463 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1464 getutxline, pututxline, and utmpxname.
1465 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1466 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1467 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1468 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1469 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1470 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1471 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1472 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
1473 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1474 Patches by Michael Keezer <mkeezer@redhat.com>.
1476 2000-12-04 H.J. Lu <hjl@gnu.org>
1478 * configure.in: Change --with-oldest-abi=ABI to
1479 --enable-oldest-abi=ABI.
1481 2000-12-02 Bruno Haible <haible@clisp.cons.org>
1483 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1484 fwprintf instead of fprintf.
1486 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1488 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1489 DECIMAL_DIG definitions.
1490 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1491 * sysdeps/generic/bits/mathdef.h: Likewise
1492 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1493 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1494 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1495 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1496 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1497 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1499 2000-12-03 Ulrich Drepper <drepper@redhat.com>
1501 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1503 * math/atest-exp.c: Mark local functions as static to avoid warnings.
1504 * math/atest-exp2.c: Likewise.
1505 * math/atest-sincos.c: Likewise.
1507 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1508 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1510 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1511 the handling of denormalized numbers.
1513 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1515 * sysdeps/i386/fpu/fpclassifyl.c: New file.
1517 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1518 pseudo denormal representation of LDBL_MIN.
1520 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1521 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1523 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1524 * iconvdata/jis0208.c: Likewise.
1525 * iconvdata/jis0212.c: Likewise.
1526 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1528 * math/test-misc.c (main): More tests for frexp and some for
1529 fpclassify and isnormal.
1531 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1533 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1535 * math/test-misc.c (main): Add tests for frexp.
1536 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1537 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1539 2000-12-02 H.J. Lu <hjl@gnu.org>
1541 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1544 2000-12-02 Ulrich Drepper <drepper@redhat.com>
1546 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1547 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1548 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1550 * sysdeps/generic/glob.c: Adjust types of several variables to
1553 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1555 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1557 2000-11-30 Roland McGrath <roland@frob.com>
1559 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1560 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1561 allow multiple instances using the same function name in one file.
1563 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1565 * configure.in: Correct test for pserver CVS access.
1567 2000-11-28 H.J. Lu <hjl@gnu.org>
1569 * libio/libio.h: Remove extra "#if ... #endif".
1571 2000-11-29 H.J. Lu <hjl@gnu.org>
1573 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1575 2000-12-01 H.J. Lu <hjl@gnu.org>
1577 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1578 * nss/getXXent_r.c: Likewise.
1579 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1581 2000-11-30 H.J. Lu <hjl@gnu.org>
1583 * scripts/abi-versions.awk (oldest_abi): New variable.
1584 Handle the oldest ABI supported.
1586 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1587 for scripts/abi-versions.awk.
1589 * configure.in: Add --with-oldest-abi=ABI.
1590 * configure: Rebuild.
1592 * config.make.in (oldest-abi): New.
1594 * config.h.in (GLIBC_OLDEST_ABI): New.
1596 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1598 2000-11-30 Jakub Jelinek <jakub@redhat.com>
1600 * locale/setlocale.c (setname): Free for all categories, not just
1602 (setlocale): Store a copy of string passed by user, not the string
1605 2000-11-30 Roland McGrath <roland@frob.com>
1607 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1608 rather than _hurd_fd_subinit, so it happens after it's safe to use
1609 libc facilities like malloc.
1611 2000-11-28 Andreas Jaeger <aj@suse.de>
1613 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1614 declaration, adjust declaration of __syscall_getdents to match
1617 2000-11-29 H.J. Lu <hjl@gnu.org>
1619 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1621 2000-11-29 Andreas Jaeger <aj@suse.de>
1623 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1625 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1627 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1628 * dlfcn/defaultmod2.c: Likewise.
1629 * dlfcn/dlopen.c: Likewise.
1630 * dlfcn/dlopenold.c: Likewise.
1631 * dlfcn/failtestmod.c: Likewise.
1632 * dlfcn/glreflib1.c: Likewise.
1633 * dlfcn/glreflib2.c: Likewise.
1634 * dlfcn/eval.c: Likewise. Add attributes.
1636 * ctype/ctype-extn.c: Define isblank and not __isblank.
1638 * time/strftime.c: Add const where necessary to avoid warnings.
1639 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1641 2000-11-22 Paul Eggert <eggert@twinsun.com>
1643 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1644 size of (size_t) -1; it's not portable.
1646 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1648 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1650 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1652 2000-11-14 Jes Sorensen <jes@linuxcare.com>
1654 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1656 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1657 _mcount is required by profiled binaries.
1659 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1660 * sysdeps/ia64/machine-gmon.h: ...here.
1662 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
1664 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1665 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1667 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1669 * iconvdata/ibm922.c: New file.
1670 * iconvdata/ibm922.h: New file.
1671 * iconvdata/ibm1124.c: New file.
1672 * iconvdata/ibm1124.h: New file.
1673 * iconvdata/ibm1129.c: New file.
1674 * iconvdata/ibm1129.h: New file.
1675 * iconvdata/testdata/IBM922: New file.
1676 * iconvdata/testdata/IBM922..UTF8: New file.
1677 * iconvdata/testdata/IBM1124: New file.
1678 * iconvdata/testdata/IBM1124..UTF8: New file.
1679 * iconvdata/testdata/IBM1129: New file.
1680 * iconvdata/testdata/IBM1129..UTF8: New file.
1682 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1684 * catgets/gencat.c (normalize_line): Take extra parameter with escape
1685 character. Change callers.
1686 (open_conversion): Determine mapping of 0x5c as wchar_t value.
1687 * catgets/Makefile: Add rules to build and run test-gencat.
1688 * catgets/sample.SJIS: New file.
1689 * catgets/test-gencat.c: New file.
1690 * catgets/test-gencat.sh: New file.
1691 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1693 2000-11-28 Andreas Jaeger <aj@suse.de>
1695 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
1698 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1700 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
1702 2000-11-28 Andreas Jaeger <aj@suse.de>
1704 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
1706 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
1709 2000-11-27 Ulrich Drepper <drepper@redhat.com>
1711 * misc/getusershell.c: Make strings in okshells array const.
1712 * misc/regexp.c: Add const to cast to avoid warnings.
1713 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
1714 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
1716 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
1718 * misc/error.c: Add prototypes for __error and __error_at_line.
1719 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
1720 statement to avoid warning.
1721 * test-skeleton.c: Mark timeout_handler with noreturn.
1722 * iconv/skeleton.c (get16u): Add const to cast.
1724 * iconvdata/gb18030.c: Likewise.
1725 * iconvdata/iso-2022-cn-ext.c: Likewise.
1726 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
1727 * iconvdata/big5.c: Likewise.
1728 * iconvdata/big5hkscs.c: Likewise.
1729 * iconvdata/iso_6937.c: Likewise.
1730 * iconvdata/iso_6937-2.c: Likewise.
1731 * iconvdata/t.61.c: Likewise.
1732 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
1733 * iconvdata/unicode.c: Likewise.
1734 * iconvdata/utf-16.c: Likewise.
1735 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
1736 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
1737 with little code shuffling.
1739 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
1740 the problems introduced when the user selects -O3.
1742 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
1743 * misc/sys/cdefs.h: Define __flexarr.
1744 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
1746 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
1747 * iconv/skeleton.c: Likewise.
1748 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
1749 * iconv/loop.c (get16): Add const to cast.
1752 2000-11-27 Andreas Jaeger <aj@suse.de>
1754 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1756 * login/programs/utmpdump.c (print_entry): Likewise.
1758 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1760 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1761 in a single asm as they may be used to access other stored
1763 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1765 2000-11-27 Andreas Jaeger <aj@suse.de>
1767 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1768 * rt/tst-aio64.c: Likewise.
1770 2000-11-27 Ulrich Drepper <drepper@redhat.com>
1772 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1774 (libc.cat): Likewise.
1775 * catgets/gencat.c: Implement handling of message catalogs encoded
1776 with stateful character sets.
1777 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1779 2000-11-26 Ulrich Drepper <drepper@redhat.com>
1781 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1783 * inet/getnameinfo.c: Adjust casts to avoid warnings.
1784 * inet/rcmd.c: Likewise.
1785 * inet/ruserpass.c: Likewise.
1786 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1787 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1788 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1789 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1790 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1791 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1792 * include/aliases.h: Add prototypes for internal __getalias* functions.
1793 * include/netdb.h: Add prototypes for __old_gethostent_r,
1794 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1795 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1796 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1797 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1798 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1799 __old_getrpcbynumber_r, __old_getrpcent_r.
1801 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1802 __getrpcent_r prototypes.
1804 2000-11-25 Ulrich Drepper <drepper@redhat.com>
1806 * string/strcoll.c: Add casts to avoid warnings.
1807 * string/strnlen.c: Likewise.
1808 * string/strxfrm.c: Likewise.
1809 * sysdeps/generic/_strerror.c: Likewise.
1810 * sysdeps/generic/memrchr.c: Likewise.
1811 * sysdeps/generic/strcasestr.c: Likewise.
1812 * sysdeps/generic/strstr.c: Likewise.
1814 * locale/weight.h (findidx): Add const to cast to avoid warning.
1816 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1817 * elf/loadtest.c: Likewise.
1818 * elf/multiload.c: Likewise.
1819 * elf/next.c: Likewise.
1820 * elf/nodelete.c: Likewise.
1821 * elf/noload.c: Likewise.
1822 * elf/order.c: Likewise.
1823 * elf/origtest.c: Likewise.
1824 * elf/preloadtest.c: Likewise.
1825 * elf/restest1.c: Likewise.
1827 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1828 parameter of asm must be in %ecx.
1830 * string/tester.c: Mark test functions as static to avoid warnings.
1832 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1833 preserve value over different gconv-modules files.
1835 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1837 * locale/findlocale.c: Add casts to avoid warnings.
1838 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1839 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1841 * misc/tsearch.c (const_node): New type.
1842 (trecurse): Correct casts to avoid warnings.
1843 (__twalk): Likewise.
1844 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1847 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1849 * test-skeleton.c: Mark local functions as static to avoid warnings.
1851 2000-11-23 H.J. Lu <hjl@gnu.org>
1853 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1854 support the background job.
1857 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1859 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1860 has same names but lower cost.
1862 2000-11-23 Jakub Jelinek <jakub@redhat.com>
1864 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1865 which never occur during bootstrap.
1866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1868 2000-11-23 Andreas Jaeger <aj@suse.de>
1870 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1872 * nss/Versions: Remove _nss_files_getipnodebyname_r.
1874 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1876 2000-11-18 Martin Buchholz <martin@xemacs.org>
1878 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1881 2000-11-21 Alan Modra <alan@linuxcare.com.au>
1883 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1885 * csu/abi-note.S: Correct comment for operating system number.
1887 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1889 * Versions.def: Add GLIBC_2.2.1 for glibc.
1891 2000-11-22 Andreas Schwab <schwab@suse.de>
1893 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1894 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1896 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1898 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1899 absolute time for pthread_cond_timedwait call.
1900 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1902 * rt/Makefile (tests): Add tst-aio6.
1903 * rt/tst-aio6.c: New file.
1905 2000-11-23 Andreas Jaeger <aj@suse.de>
1907 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1909 2000-11-22 Andreas Jaeger <aj@suse.de>
1911 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1913 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1915 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1917 2000-11-21 Andreas Schwab <schwab@suse.de>
1919 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1920 * sysdeps/arm/setjmp.S: Likewise.
1921 * sysdeps/arm/fpu/setjmp.S: Likewise.
1922 * sysdeps/i386/setjmp.S: Likewise.
1923 * sysdeps/i386/elf/setjmp.S: Likewise.
1924 * sysdeps/s390/setjmp.S: Likewise.
1925 * sysdeps/s390/elf/setjmp.S: Likewise.
1926 * sysdeps/sh/sh3/setjmp.S: Likewise.
1927 * sysdeps/sh/sh4/setjmp.S: Likewise.
1928 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1929 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1931 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1933 2000-11-21 Andreas Jaeger <aj@suse.de>
1935 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1936 NORETURN, fix parameter list.
1938 * string/bug-strncat1.c (main): Fix typo.
1939 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1941 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1943 * configure.in: Add --enable-all-warnings.
1944 * config.make.in (all-warnings): New variable.
1945 * Makeconfig (+gccwarn): Define with many more warnings if
1946 all-warnings is yes.
1948 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1950 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1951 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1952 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1953 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1954 * math/test-fpucw.c (main): Use %lx in format string, cast
1955 control words to long.
1956 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1957 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1958 large that it is unsigned warning.
1960 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1961 it to long on sparc64.
1963 2000-11-20 Andreas Jaeger <aj@suse.de>
1965 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1966 (receiv_print_stats): Likewise.
1968 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1970 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1972 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1974 * csu/gmon-start.c: Always have prototype for __gmon_start.
1975 * csu/version.c: Add prototypes for __libc_print_version and
1977 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1978 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1980 * iconv/gconv_builtin.h: Add ASCII module definitions.
1981 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1982 (add_module): Add cast to avoid warning. Rework construction of
1983 strings for new module.
1984 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1985 (derivation_compare): Likewise.
1986 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1987 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1988 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1989 (struct gconv_alias): Remove const from fromname and toname.
1990 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1992 (internal_ucs4_loop): Use correct const-ness.
1993 (ucs4_internal_loop): Likewise.
1994 (internal_ucs4le_loop): Likewise.
1995 (ucs4le_internal_loop_single): Likewise.
1996 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1997 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1998 assignments appropriately.
1999 (struct known_trans): Remove const from fname.
2000 (trans_compare): Make s1 and s2 const.
2001 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
2003 * iconv/skeleton.c: Remove cast in calls of loop functions.
2004 * iconvdata/gconv-modules: Remove US-ASCII definitions.
2005 * iconvdata/iso646.c: Remove US_ASCII support.
2006 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2007 * include/unistd.h: Add __libc_check_standard_fds prototype.
2008 * string/bits/string2.h (__mempcpy_args): Add const to casts.
2009 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2011 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2012 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2013 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2015 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2016 __libc_init_first and _dl_start.
2017 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2018 (DCIGETTEXT): Make domaindata variable const.
2019 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2022 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
2024 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2026 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2027 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
2030 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2031 value defined in /usr/include/asm-mips/fcntl.h.
2033 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2035 * stdio-common/Makefile (tests): Add test-vfprintf.
2036 (test-vfprintf-ENV): New variable.
2037 * stdio-common/test-vfprintf.c: New file.
2039 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2041 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2042 (tst-mbrtowc-ENV): New variable.
2043 (tst-wcrtomb-ENV): New variable.
2044 * wcsmbs/tst-mbrtowc.c: New file.
2045 * wcsmbs/tst-wcrtomb.c: New file.
2047 2000-11-16 Andreas Jaeger <aj@suse.de>
2049 * manual/install.texi (Tools for Compilation): Update
2050 documentation for GCC 2.95.2.
2052 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2055 if IPv4 and IPv6 requests timed out.
2057 2000-11-18 Akim Demaille <akim@epita.fr>
2059 * malloc/obstack.h: Formatting changes.
2060 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2061 prevents type checking.
2062 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2063 cast the value to (void *): assigning a `foo *' to a `void *'
2065 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2067 2000-11-17 Ulrich Drepper <drepper@redhat.com>
2069 * scripts/config.guess: Update from upstream maintainer.
2070 * scripts/config.sub: Likewise.
2072 2000-11-16 Ulrich Drepper <drepper@redhat.com>
2074 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2075 * libio/freopen64.c (freopen64): Likewise.
2076 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2078 * libio/Makefile: Add rules to build and run test-freopen.
2079 * libio/test-freopen.c: New file.
2080 * libio/test-freopen.sh: New file.
2082 2000-11-15 H.J. Lu <hjl@gnu.org>
2084 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2085 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2086 (DL_DT_FINI_ADDRESS): Likewise.
2088 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2089 return type to ElfW(Addr).
2090 (_dl_function_address): New prototype.
2091 (DL_FUNCTION_ADDRESS): Defined.
2092 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2093 (DL_DT_FINI_ADDRESS): Likewise.
2095 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2097 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2098 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2100 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2101 (_dl_function_address): This.
2103 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2104 function pointer for DT_FINI.
2105 * elf/dl-close.c (_dl_close): Likewise.
2107 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2108 function pointer for DT_INIT.
2110 2000-11-16 Jakub Jelinek <jakub@redhat.com>
2112 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2113 end of wexpbuf buffer.
2115 2000-11-16 Andreas Jaeger <aj@suse.de>
2117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2118 definition of F_GETLK, F_SETLK, F_SETLKW.
2120 2000-11-16 Andreas Jaeger <aj@suse.de>
2122 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2125 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2127 * dlfcn/default.c (main): Add test for dladdr of main returning
2128 argv[0] in dli_fname field.
2130 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2132 * Makeconfig (run-program-prefix): Move test-static test into the
2135 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2136 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2137 schedule instructions.
2138 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2139 schedule instructions, fix a bug in copying auxiliary data.
2141 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2143 * manual/startup.texi (Program Arguments): Fix type of main's envp
2145 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2147 * iconvdata/gconv-modules: Add CP950 alias.
2149 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2151 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2152 syscall-list.h goal.
2153 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2155 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2157 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2159 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
2162 * intl/tst-gettext2.c: Set C locale if setting other locale
2163 failed. Use gettext() not _().
2165 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2166 successfully loaded a new locale.
2168 2000-11-13 Andreas Jaeger <aj@suse.de>
2170 * configure.in: Require gcc 2.95 or newer.
2172 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2174 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2175 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2177 2000-11-11 Jim Meyering <meyering@lucent.com>
2179 * string/strndup.c (strndup): Cast return value to `char *'.
2181 2000-11-15 Jim Meyering <meyering@ascend.com>
2183 * sysdeps/generic/memchr.c: Remove some useless parentheses.
2184 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2185 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2186 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2187 Also #undef __memchr.
2188 Use `weak_alias' only if it's defined.
2190 2000-11-10 H.J. Lu <hjl@gnu.org>
2192 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2194 2000-11-15 Andreas Jaeger <aj@suse.de>
2196 * elf/chroot_canon.c: Include <stdint.h>.
2198 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2199 (print_entry): Likewise.
2200 (add_to_cache): Likewise.
2202 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2204 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2205 (path_hwcap): Likewise.
2206 (search_dir): Likewise.
2208 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2210 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2213 (_dl_platform_string): New.
2214 (_DL_HWCAP_PLATFORM): New.
2215 (_dl_string_platform): New.
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2218 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2219 (_dl_string_platform): New.
2220 (_DL_HWCAP_PLATFORM): New.
2221 (_dl_platform_string): New.
2223 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2225 (_DL_HWCAP_COUNT): New.
2226 (_dl_string_platform): New.
2227 (_DL_HWCAP_PLATFORM): New.
2228 (_dl_platform_string): New.
2230 2000-11-14 Ulrich Drepper <drepper@redhat.com>
2232 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2234 2000-11-14 Andreas Jaeger <aj@suse.de>
2236 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2238 2000-11-13 Roland McGrath <roland@frob.com>
2240 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2242 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
2244 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2245 underrun and make sure the result is null terminated even if there
2246 is no trailing newline.
2248 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2250 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2252 2000-11-10 H.J. Lu <hjl@gnu.org>
2254 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2256 2000-11-10 Andreas Jaeger <aj@suse.de>
2258 * elf/ldconfig.c (create_links): Fix alloca calculation.
2259 Patch by Ben Collins <bcollins@debian.org>.
2261 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2263 * inet/getnameinfo.c (getnameinfo): Use correct destination
2264 parameter for if_indextoname.
2265 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2267 2000-11-09 H.J. Lu <hjl@gnu.org>
2269 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2270 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2271 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2274 * time/Versions (GLIBC_2.1): Move getitimer to...
2275 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2277 2000-11-03 Bruno Haible <haible@clisp.cons.org>
2279 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2280 "make install", to work around a binary incompatibility between
2281 glibc 2.1 and glibc 2.2 gconv modules.
2283 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2285 * intl/locale.alias: Add thai.
2286 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2288 2000-11-07 Akim Demaille <akim@epita.fr>
2290 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2291 argument `data' for consistency with the prototypes.
2293 (obstack_copy, obstack_copy0): Rename the second argument as
2294 `address' for consistency. Qualify it `const'.
2295 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2296 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2297 `const' their input argument (`data' or `address').
2298 Adjust the corresponding macros to include `const' in casts.
2300 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2302 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2305 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2307 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2310 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2312 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2313 ai_protocol by internal table if service was not given.
2315 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2317 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2318 numerical port was specified with protocol without socktype.
2320 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2322 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2324 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2326 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2328 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2330 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2331 sin6_scope_id field.
2333 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2335 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2337 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2339 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2341 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2343 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2344 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2346 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
2348 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2349 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2351 2000-11-09 H.J. Lu <hjl@gnu.org>
2353 * io/Versions (GLIBC_2.1.1): Remove lockf64.
2356 See ChangeLog.11 for earlier changes.