1 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5 2001-02-10 Andreas Jaeger <aj@suse.de>
7 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
10 2001-02-09 Ulrich Drepper <drepper@redhat.com>
12 * posix/Makefile: Add rules to build and run bug-regex2.
13 * posix/bug-regex2.c: New file.
15 2001-02-10 Jakub Jelinek <jakub@redhat.com>
17 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
18 (regex_compile): Likewise.
19 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
20 (re_match_2_internal): Use just is_binary instead of two variables.
21 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
23 2001-02-09 Ulrich Drepper <drepper@redhat.com>
25 * version.h (VERSION): Bump to 2.2.2.
27 * iconv/Makefile (distribute): Add iconv_charmap.c and
29 * elf/Makefile (distribute): Add firstobj.c.
30 * Makefile (distribute): Add include/pthread.h.
32 * configure.in: Require makeinfo version 4.
34 * libio/tst_wscanf.c (main): Add cast to avoid warning.
35 * libio/tst_swscanf.c (main): Likewise..
37 2001-02-09 Jakub Jelinek <jakub@redhat.com>
39 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
40 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
42 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
43 if not RTLD_BOOTSTRAP.
44 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47 2001-02-09 Ulrich Drepper <drepper@redhat.com>
49 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
50 lr_ungetc to push back last read character.
51 * locale/programs/linereader.h (lr_ungetc): Don't push back is
53 (lr_ignore_rest): Don't warn about garbage if it is really the end
56 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
59 2001-02-08 Ulrich Drepper <drepper@redhat.com>
61 * Makerules (build-shlib): Work around different order of
62 processing of -B option in different gcc versions.
64 * posix/regex.c: Fix alignment problem.
65 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
67 * sysdeps/alpha/strrchr.S: Little optimization.
68 Patch by Richard Henderson <rth@redhat.com>.
70 * sysdeps/alpha/alphaev67/strrchr.S: New file.
71 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
73 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
75 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
76 in the assembler end directive.
78 2001-02-08 Andreas Jaeger <aj@suse.de>
80 * manual/stdio.texi (Closing Streams): Fix typos.
82 2001-02-07 Ulrich Drepper <drepper@redhat.com>
84 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
85 Patch by Richard Henderson <rth@redhat.com>.
86 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
88 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
89 pointer in FILE structure before calling _IO_init.
90 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
91 strfmon_l if necessary.
92 Reported by Jury Gerold <gjury@grips.com>.
94 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
95 Patch by Pekka.Pietikainen@cern.ch.
97 * posix/regex.c: Correct several problems with 64-bit architectures
98 introduced in the MBS changes.
99 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
101 2001-02-07 Jakub Jelinek <jakub@redhat.com>
103 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
105 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
107 2001-02-07 Andreas Jaeger <aj@suse.de>
109 * manual/install.texi (Tools for Compilation): Fix typo.
110 Reported by Pavel Machek <pavel@bug.ucw.cz>.
112 2001-02-07 Ulrich Drepper <drepper@redhat.com>
114 * stdlib/strtod.c: Never stop prematurely reading digits before the
115 decimal point is found. Compute exponent limit for negative exponents
116 correctly. For numbers ending in all zeros eat the zeros even before
117 the decimal point if the exponent is negative [PR libc/2072].
118 * stdlib/Makefile (tests): Add bug-strtod.
119 * stdlib/bug-strtod.c: New file.
121 2001-02-07 Andreas Jaeger <aj@suse.de>
123 * posix/bug-regex1.c: Include <wchar.h> for fwide.
125 2001-02-06 Ulrich Drepper <drepper@redhat.com>
127 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
129 (compile_range): Handle index being passed, not pointer.
130 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
132 * posix/regex.c: Fix a cast in the code for bracket handling which
133 caused 8-bit uncleanliness.
134 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
136 * posix/Makefile (tests): Add bug-regex1.
137 * posix/bug-regex1.c: New file.
138 Contributed by Jim Meyering <jim@meyering.net>.
140 * posix/regex.c: Many cleanups for incorrect format strings.
142 2001-02-06 Andreas Jaeger <aj@suse.de>
144 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
146 2001-02-06 Ulrich Drepper <drepper@redhat.com>
148 * locale/programs/locale.c (write_locales): Use scandir to read
149 directory so that the entries are sorted.
151 2001-02-06 Andreas Jaeger <aj@suse.de>
153 * include/pthread.h: New file.
155 * wctype/wctype.h: Move internal interfaces from here to...
156 * include/wctype.h: ...here.
158 * wcsmbs/wchar.h: Move __wcslen from here to...
159 * include/wchar.h: ...here.
161 * posix/sys/wait.h: Move __wait from here to...
162 * include/sys/wait.h: ...here.
164 * string/string.h: Move __ffs and __strerror_r from here to...
165 * include/string.h: ...here.
167 * stdlib/stdlib.h: Move __on_exit from here to...
168 * include/stdlib.h: ...here.
170 * libio/stdio.h: Move __vsnprintf from here to...
171 * include/stdio.h: ...here.
173 2001-02-06 Andreas Schwab <schwab@suse.de>
175 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
178 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
181 2001-02-06 Ulrich Drepper <drepper@redhat.com>
183 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
185 2001-02-06 Andreas Jaeger <aj@suse.de>
187 * elf/firstobj.c: Add prototype.
189 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
190 (truncate_wchar): Likewise.
192 2001-02-06 Ulrich Drepper <drepper@redhat.com>
194 * locale/programs/locale.c: Implement --verbose option for -a
195 which prints detailed information about the locales.
197 2001-02-05 Ulrich Drepper <drepper@redhat.com>
199 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
200 variable to uint32_t.
201 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
203 2001-02-04 Bruno Haible <haible@clisp.cons.org>
205 * locale/C-translit.h.in: Add transliterations for CJK units of
208 2001-02-05 Ulrich Drepper <drepper@redhat.com>
210 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
211 string. Include <inttypes.h> instead of <stdint.h>.
213 * localedata/Makefile (tests): Add bug-iconv-trans.
214 Define bug-iconv-trans-ENV.
215 * localedata/bug-iconv-trans.c: New file.
217 2001-02-04 Bruno Haible <haible@clisp.cons.org>
219 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
220 pointer, to avoid accumulating output from incomplete (unsuccessful)
221 transliteration attempts.
223 2001-02-05 Ulrich Drepper <drepper@redhat.com>
225 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
226 string. Include <inttypes.h> instead of <stdint.h>.
228 * configure.in: Add check for bison.
229 * config.make.in: Define BISON variable.
230 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
231 Rename YFLAGS to BISONFLAGS.
233 2001-02-05 Andreas Jaeger <aj@suse.de>
235 * io/test-lfs.c (do_test): Test lseek64 return value, call
237 (test_ftello): New function to test ftello64 and fseeko64.
239 * signal/signal.h: Move __sigaction from here to...
240 * include/signal.h: ...here.
242 * io/fcntl.h: Move __fcntl and __open to...
243 * include/fcntl.h: ...here.
245 2001-02-04 Philip Blundell <philb@gnu.org>
247 * configure.in: Distinguish ARM from Thumb.
249 2001-02-04 Philip Blundell <philb@gnu.org>
251 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
252 PC24 relocs with negative value.
254 2001-02-04 Ulrich Drepper <drepper@redhat.com>
256 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
257 files in locale/programs. Add CFLAGS definition to allow compiling
259 * iconv/dummy-repertoire.c: New file.
260 * iconv/iconv_charmap.c: New file.
261 * iconv/iconv_prog.h: New file.
262 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
263 (main): If parameter for -f and -t contain slashes try first to resolve
264 the strings as filenames of charmap files. Use them for conversion
266 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
267 iconv getting charmap names as parameters.
268 * locale/programs/linereader.c (lr_token): Take extra parameters
269 verbose and pass it to get_string.
270 (get_string): Take extra parameters verbose.
271 * locale/programs/charmap.c (parse_charmap): Take extra parameters
272 verbose and be_quiet. Change all callers of lr_token and
274 * locale/programs/charmap.h: Likewise.
275 * locale/programs/ld-address.c: Likewise.
276 * locale/programs/ld-collate.c: Likewise.
277 * locale/programs/ld-ctype.c: Likewise.
278 * locale/programs/ld-identification.c: Likewise.
279 * locale/programs/ld-measurement.c: Likewise.
280 * locale/programs/ld-messages.c: Likewise.
281 * locale/programs/ld-monetary.c: Likewise.
282 * locale/programs/ld-name.c: Likewise.
283 * locale/programs/ld-numeric.c: Likewise.
284 * locale/programs/ld-paper.c: Likewise.
285 * locale/programs/ld-telephone.c: Likewise.
286 * locale/programs/ld-time.c: Likewise.
287 * locale/programs/linereader.c: Likewise.
288 * locale/programs/linereader.h: Likewise.
289 * locale/programs/localedef.c: Likewise.
290 * locale/programs/locfile.c: Likewise.
291 * locale/programs/locfile.h: Likewise.
292 * locale/programs/repertoire.c: Likewise.
294 2001-02-03 Ulrich Drepper <drepper@redhat.com>
296 * iconv/iconv_prog.c (main): If output file name is "-" write to
298 (main): If -f or -t argument is missing use charset of the current
301 2001-02-03 Andreas Jaeger <aj@suse.de>
303 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
304 boundary for SSE/SSE-2 alignment.
306 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
309 2001-02-03 Ulrich Drepper <drepper@redhat.com>
311 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
312 Remove comma at end of enum.
314 * elf/dl-init.c: Add a few __builtin_expect.
316 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
318 2001-02-02 Ulrich Drepper <drepper@redhat.com>
320 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
321 errno is ECONNREFUSED.
323 * posix/Makefile: Define MBS_SUPPORT for regex.c.
324 * posix/regex.c: Implement multibyte character handling.
325 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
327 * string/tst-svc.input: Add two more test cases.
328 * string/tst-svc.expect: Modify to reflect new test cases.
330 2001-02-01 Jakub Jelinek <jakub@redhat.com>
332 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
333 tp->name tests with tp->name[0] tests.
335 2001-01-29 Ben Collins <bcollins@debian.org>
337 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
338 Fix check for name == NULL.
340 2001-02-01 Ulrich Drepper <drepper@redhat.com>
342 * elf/Makefile: Add rules to build and run initfirst test.
343 * elf/initfirst.c: New file.
344 * elf/firstobj.c: New file.
346 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
347 * configure.in: Test for -z initfirst linker option.
348 * config.make.in: Add have-z-initfirst.
349 * elf/dl-init.c (_dl_init): Split out actual initialization code in
350 new function call_init. If _dl_initfirst is non-NULL initialize first.
351 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
352 remember object in _dl_initfirst.
353 * elf/soinit.c: Remove special support for calling
354 __pthread_initialize_minimal.
356 * conform/conformtest.pl: Add missing $prepend in type test.
358 2001-01-31 Ulrich Drepper <drepper@redhat.com>
360 * elf/elf.h (SHT_CHECKSUM): New definition.
362 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
363 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
364 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
366 2001-01-31 Mark Kettenis <kettenis@gnu.org>
368 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
369 to get definition of `struct timeval'.
371 2001-01-31 Ulrich Drepper <drepper@redhat.com>
373 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
374 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
376 2001-01-30 Ulrich Drepper <drepper@redhat.com>
378 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
381 * nis/nis_findserv.c: Include <time.h>.
383 2001-01-30 Yong Li <yong.li@asu.edu>
385 * iconv/iconv_prog.c (main): Correct error handling method name.
387 2001-01-29 Ben Collins <bcollins@debian.org>
389 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
390 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
391 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
392 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
394 2001-01-30 Ulrich Drepper <drepper@redhat.com>
396 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
397 Patch by Marko Myllynen <myllynen@lut.fi>.
399 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
400 (int instead of char).
401 (__strpbrk_c3): Likewise.
402 Reported by GOTO Masanori <gotom@debian.or.jp>.
404 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
405 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
406 * include/sys/socket.h: Add SA_LEN here for internal use.
407 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
409 2001-01-29 Ulrich Drepper <drepper@redhat.com>
411 * malloc/Makefile: Don't build memusagestat if cross-compiling.
413 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
415 * math/libm-test.inc (rint_test): Add a few more tests for round
418 2001-01-28 Ulrich Drepper <drepper@redhat.com>
420 * conform/data/pthread.h-data: Correct return type of pthread_exit.
422 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
424 * conform/data/stdlib.h-data: Add _Exit.
426 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
427 if not already happened.
428 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
429 Don't include <limits.h> and <bits/sockaddr.h>.
431 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
433 * conform/data/spawn.h-data: Allow all of <sched.h>.
435 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
438 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
439 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
441 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
443 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
444 * libio/stdio.h: Define va_list correctly.
446 * conform/data/pthread.h-data: Make priority protocol related
447 functions optional. Fix typos.
449 * posix/sched.h: Define sched_priority as __sched_priority.
450 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
452 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
454 2001-01-27 Ulrich Drepper <drepper@redhat.com>
456 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
459 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
460 * sysdeps/unix/time.c: Likewise.
462 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
463 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
464 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
465 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
466 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
467 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
468 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
469 * time/time.h: Likewise.
471 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
472 * conform/data/complex.h-data: New file.
473 * conform/data/tgmath.h-data: New file.
475 * conform/data/wchar.h-data: Add missing functions.
477 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
479 * conform/data/termios.h-data: Add missing const in tcsetattr()
482 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
483 Don't define pid_t here.
485 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
487 * conform/data/sys/time.h-data: Allow sys/select.h.
488 * conform/data/sys/un.h-data: Fix typo.
489 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
490 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
492 * sysdeps/unix/clock_nanosleep.c: Likewise.
493 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
494 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
495 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
496 * sysdeps/unix/clock_settime.c: Likewise.
498 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
499 * login/getutent.c: Likewise.
500 * login/getutid.c: Likewise.
501 * login/getutline.c: Likewise.
503 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
505 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
506 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
507 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
508 f_fsid field after change in struct statvfs.
509 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
510 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
511 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
513 * conform/data/sys/stat.h-data: Remove isfdtype. Use
516 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
517 recvfrom, send, and socketpair prototypes. Add allow lines.
518 * socket/sys/socket.h: Include <sys/uio.h>.
519 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
520 Fix type of second parameter of listen.
521 Don't declare isfdtype unless __USE_MISC.
522 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
523 * sysdeps/mach/hurd/listen.c: Likewise.
524 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
525 ss_family and __ss_family.
526 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
527 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
528 (struct msghdr): Change type of msg_iovlen to int and type of
529 msg_controllen to socklen_t.
530 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
531 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
532 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
533 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
534 (rresvport_af): Likewise.
536 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
537 * conform/conformtest.pl: Implement handling of symbol.
539 * signal/signal.h: Fix handling of __need_* symbols.
540 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
541 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
542 * include/sys/select.h: Use fd_set not __fd_set.
543 * sysdeps/generic/bits/select.h: Likewise.
544 * sysdeps/i386/bits/select.h: Likewise.
545 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
546 __FDELT, __FDMASK, and __fd_set here.
547 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
548 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
549 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
550 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
551 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
552 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
553 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
554 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
555 * time/sys/time.h: Define struct timeval before including <time.h>
558 * conform/data/sys/time.h-data: fd_set is a typedef.
559 * conform/data/sys/select.h-data: New file.
560 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
561 * conform/conformtest.pl (@headers): Add sys/select.h.
562 (type, optional-type): Unless testing a typedef instantiate object.
563 Implement optional-function.
565 * math/test-misc.c: Include <float.h>.
567 2001-01-27 Andreas Jaeger <aj@suse.de>
569 * misc/efgcvt_r.c: Include <float.h>.
571 2001-01-26 Ulrich Drepper <drepper@redhat.com>
573 * conform/data/stdlib.h-data: Account for XPG6 changes.
574 * stdlib/stdlib.h (__random): Change return value type to long.
575 (posix_memalign): Cleanup parameter names.
576 (setenv, unsetenv): Make available for __USE_XOPEN2K.
577 Change return type of unsetenv to int.
578 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
579 * include/stdlib.h: Change return type of unsetenv to int.
580 Change return type of random to long int.
581 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
582 Return -1 and set errno if parameter is invalid.
583 * stdlib/random.c (__random): Change return value type to long.
585 * conform/data/stdio.h-data: Account for changes in XPG6.
587 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
590 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
591 * conform/data/signal.h-data: Fix sigev_notify_function entry.
592 Fix typo (SIGVALRM -> SIGVTALRM).
593 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
595 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
596 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
597 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
598 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
601 * conform/conformtest.pl: Implement optional-element. Define
602 $mustprepend{"sched.h"}.
603 * conform/data/sched.h-data: Make sporadic scheduler definitions
606 * pwd/pwd.h: Don't define getpwent_r for XPG.
608 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
609 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
610 * sysdeps/mach/hurd/poll.c: Likewise.
611 * sysdeps/unix/bsd/poll.c: Likewise.
612 * sysdeps/unix/sysv/linux/poll.c: Likewise.
613 * sysdeps/unix/sysv/aix/poll.c: Likewise.
614 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
615 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
616 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
617 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
618 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
619 * conform/data/poll.h-data: Fix typo in poll prototype.
621 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
623 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
625 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
627 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
629 * conform/conformtest.pl: Implement optional-type.
631 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
632 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
633 defining uint32_t here. Define IPPORT_RESERVED.
634 (struct hostent): Type of h_length element is int.
635 (getnameinfo): Type of flags parameter is unsigned int.
636 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
637 * conform/data/netdb.h-data: Add many missing definitions.
639 * conform/conformtest.pl: Implement optional-macro.
640 * conform/data/math.h-data: Update for XPG6.
642 * math/math.h (HUGE): Define as FLT_MAX value but don't use
643 FLT_MAX. Don't include <float.h>.
644 (MAXFLOAT): Likewise.
646 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
648 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
650 * conform/data/limits.h-data: Mark constants as optional wherever
653 * posix/bits/posix2_lim.h: Set correct values for
654 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
657 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
660 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
662 * conform/data/netinet/in.h-data: Add reserved prefixes.
664 * conform/data/arpa/inet.h-data: Fix a few typos.
666 2001-01-26 Andreas Jaeger <aj@suse.de>
668 * sysdeps/generic/strtol.c: Include <locale.h>
669 * stdlib/strtod.c: Likewise
670 * stdlib/strfmon.c: Likewise.
671 * string/strcoll.c: Likewise.
672 * string/strxfrm.c: Likewise.
673 * wctype/wcfuncs_l.c: Likewise.
674 * wctype/wctype_l.c: Likewise.
675 * wctype/wctrans_l.c: Likewise.
677 * include/bits/locale.h: New file.
679 2001-01-26 Ulrich Drepper <drepper@redhat.com>
681 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
684 * locale/Makefile (headers): Add bits/locale.h.
685 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
686 and use __LC_ constants instead of LC_.
687 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
688 using __LC_ constants.
689 * locale/bits/locale.h: New file.
690 * locale/loadlocale.c: Include <locale.h>.
691 * locale/nl_langinfo.h: Likewise.
693 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
695 * io/sys/stat.h: Define S_IFSOCK for XPG6.
697 * conform/data/fcntl.h-data: posix_madvise is not expected here.
699 * conform/conformtest.pl: Fix handling of macro-str.
701 * conform/data/inttypes.h-data: Add missing definition and all of
704 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
706 2001-01-25 Ulrich Drepper <drepper@redhat.com>
708 * conform/conformtest.pl (@headers): Add stdint.h.
709 * conform/data/stdint.h-data: New file.
711 * conform/conformtest.pl: Recognize options --headers and
712 --dialect. Add dialect-specific CFLAGS.
714 * conform/conformtest.pl: Implement handling of recursive
717 * conform/data/locale.h-data: Add new struct lconv members.
719 * posix/wordexp.h: Correct definition of wordexp_t.
720 * posix/wordexp.c: Moved to ...
721 * sysdeps/generic/wordexp.c: ...here. New file.
722 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
723 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
724 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
725 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
727 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
728 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
730 * math/tgmath.h: Pretty printing.
732 * math/Makefile (tests): Add test-tgmath.
733 (CFLAGS-test-tgmath.c): New variable.
734 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
736 * conform/conformtest.pl: Handle allow-header in secondary headers
739 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
742 * conform/data/netinet/in.h-data: Use correct comment character.
743 * conform/data/sys/stat.h-data: Likewise.
745 2001-01-25 Jakub Jelinek <jakub@redhat.com>
747 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
748 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
749 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
750 __builtin_classify_type, add ##f suffixes where appropriate.
751 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
752 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
753 __builtin_classify_type.
754 (fma): Fix spelling of first argument.
756 2001-01-25 Ulrich Drepper <drepper@redhat.com>
758 * conform/data/unistd.h-data: Mark functions removed in XPG6
761 * posix/unistd.h: Don't make functions removed in XPG6 available if
764 * conform/conformtest.pl: Implement optional-constant.
765 * conform/data/unistd.h-data: Use optional-constant wherever
768 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
769 constants and add _SC_STREAMS.
770 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
772 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
773 make old name weak alias.
774 * sysdeps/generic/statvfs64.c: Likewise.
775 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
776 make old name weak alias.
777 * sysdeps/generic/fstatvfs64.c: Likewise.
778 * include/sys/statvfs.h: New file.
780 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
781 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
783 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
784 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
785 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
786 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
788 * conform/conformtest.pl: Run Unix tests for XPG6.
789 Implement handling of known namespace violations.
790 Improve printing of results.
792 * posix/unistd.h (usleep): Correct return type.
793 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
794 * sysdeps/unix/bsd/usleep.c: Correct return type.
795 * sysdeps/mach/usleep.c: Correct return type.
796 * sysdeps/generic/usleep.c: Correct return type.
798 * posix/unistd.h (sync): Correct return type.
799 * sysdeps/generic/sync.c: Likewise.
800 * sysdeps/mach/hurd/sync.c: Likewise.
802 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
804 * posix/unistd.h: Make seteuid and setegid available for XPG6.
806 * wcsmbs/wchar.h: Get FILE definition for XPG5.
808 * conform/data/ctype.h-data: Use correct comment form.
809 * conform/data/errno.h-data: Likewise.
810 * conform/data/math.h-data: Likewise.
811 * conform/data/mqueue.h-data: Likewise.
812 * conform/data/netdb.h-data: Likewise.
813 * conform/data/pthread.h-data: Likewise.
815 2001-01-24 Ulrich Drepper <drepper@redhat.com>
817 * conform/data/wordexp.h-data: Fix typo.
819 * conform/conformtest.pl: Handle allow-header correctly.
821 * conform/data/time.h-data: Use correct comment form.
823 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
825 * configure.in: Comment out binutils version test.
827 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
829 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
831 * stdlib/tst-strtod.c (locale_test): New function.
832 (main): Call locale_test.
833 * stdlib/Makefile (tst-strtod-ENV): New variable.
835 2001-01-24 Mark Kettenis <kettenis@gnu.org>
837 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
838 declaration of value such that we actually return the value of the
839 environment variable.
841 2001-01-24 Andreas Jaeger <aj@suse.de>
843 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
845 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
847 * include/sys/sysctl.h: New file.
849 2001-01-23 Andreas Jaeger <aj@suse.de>
851 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
854 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
855 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
858 * manual/install.texi (Tools for Compilation): Change required
861 2001-01-22 Andreas Jaeger <aj@suse.de>
863 * configure.in: Add test for new enough binutils version, move
864 compiler/binutils test up.
866 * Versions.def: Add version GLIBC_2.2.2.
868 2001-01-21 Ulrich Drepper <drepper@redhat.com>
870 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
872 * iconvdata/testdata/IBM932: New file.
873 * iconvdata/testdata/IBM932..UTF8: New file.
874 * iconvdata/testdata/IBM943: New file.
875 * iconvdata/testdata/IBM943..UTF8: New file.
876 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
878 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
880 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
882 2001-01-21 Ulrich Drepper <drepper@redhat.com>
884 * malloc/malloc.c: Remove a few unnecessary initializers of global
887 2000-12-09 H.J. Lu <hjl@gnu.org>
889 * nss/Makefile (routines): Add digits_dots.
890 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
891 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
893 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
895 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
896 (TYPE_VAR_P): Likewise.
897 (FLAGS_VAR): Likewise.
898 (AF_VAR_P): Likewise.
899 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
900 instead of including digits_dots.c.
901 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
902 (TYPE_VAR_P): Likewise.
903 (FLAGS_VAR): Likewise.
904 (AF_VAR_P): Likewise.
905 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
906 instead of including digits_dots.c.
908 2001-01-21 Ulrich Drepper <drepper@redhat.com>
910 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
912 2001-01-21 Andreas Jaeger <aj@suse.de>
914 * elf/constload2.c: Add prototype for init.
916 2001-01-21 Ulrich Drepper <drepper@redhat.com>
918 * stdlib/stdlib.h (drand48_data): Make available only for
919 __USE_MISC. Rename elements to protect namespace. Change type
920 and position of a and init element.
921 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
922 differently. Adjust for drand48_data change. Don't compute a here,
923 it comes from drand48_data.
924 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
925 differently. Adjust for drand48_data change. Compute a here.
926 * stdlib/srand48_r.c: Likewise.
927 * stdlib/drand48.c: Adjust for drand48_data change.
928 * stdlib/lrand48.c: Likewise.
929 * stdlib/mrand48.c: Likewise.
930 * stdlib/seek48.c: Likewise.
931 * stdlib/drand48_r.c: Likewise.
932 * stdlib/lrand48_r.c: Likewise.
933 * stdlib/mrand48_r.c: Likewise.
934 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
936 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
937 * stdlib/jrand48_r.c: Likewise.
939 * po/sv.po: Update from translation team.
941 2001-01-21 Andreas Jaeger <aj@suse.de>
943 * stdio-common/vfprintf.c (vfprintf): Add casts.
945 2001-01-20 Ulrich Drepper <drepper@redhat.com>
947 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
949 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
951 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
952 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
953 * iconvdata/ibm932.c: New file.
954 * iconvdata/ibm932.h: New file.
955 * iconvdata/ibm943.c: New file.
956 * iconvdata/ibm943.h: New file.
957 Patches by Masahide Washizawa <washi@jp.ibm.com>.
959 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
960 preventing optimization from being done. Set the correct type bit
961 in seen. Don't define and use _dl_base_addr unless
962 NEED_DL_BASE_ADDR is defined.
964 * io/ftw.c (ftw_dir): Add slash after directory name if there
965 wasn't any. Reported by loris <loris@iol.it>.
966 * io/Makefile (tests): Add bug-ftw2.
967 * io/bug-ftw2.c: New file.
969 2001-01-19 Ulrich Drepper <drepper@redhat.com>
971 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
972 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
973 * stdlib/tst-rand48.c: New file.
974 * stdlib/Makefile (tests): Add tst-rand48.
976 * locale/newlocale.c (__newlocale): Fix test for setting all
979 2001-01-19 Mark Kettenis <kettenis@gnu.org>
981 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
982 but change looking up the initial directory port in a similar way
983 as done by _hurd_change_directory_port_from_name.
984 * hurd/fchroot.c (fchroot): Likewise.
986 2001-01-18 Ulrich Drepper <drepper@redhat.com>
988 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
989 defined don't look whether the AT_*ID values were set.
990 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
991 (_dl_show_auxv): Rewrite to avoid switch statement.
992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
993 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
994 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
995 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
997 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
998 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
999 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1001 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
1003 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
1004 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
1006 * dlfcn/eval.c (__strtol_internal): Define here.
1007 (eval): Use __strtol_internal instead of strtol.
1009 * elf/elf.h: Add a few more EF_MIPS_* constants.
1011 2001-01-17 Ulrich Drepper <drepper@redhat.com>
1013 * manual/Makefile (chapters): Add debug.
1014 * manual/debug.texi: New file.
1015 * manual/examples/execinfo.c: New file.
1016 Patch by suckfish@ihug.co.nz.
1018 2001-01-17 Andreas Schwab <schwab@suse.de>
1020 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
1023 2001-01-17 Andreas Jaeger <aj@suse.de>
1025 * nscd/connections.c (nscd_run): Use proper format specifier.
1027 2001-01-16 Ulrich Drepper <drepper@redhat.com>
1029 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
1030 x86_platforms data into new file after prepending _dl_. Change
1032 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
1033 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
1034 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
1037 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
1039 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
1040 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
1041 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
1042 (_setjmp): Likewise.
1043 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
1044 * sysdeps/i386/bsd-setjmp.S: Real implementation.
1045 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
1046 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
1049 2001-01-16 Andreas Jaeger <aj@suse.de>
1051 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
1052 misapplied last patch.
1054 2001-01-15 Ulrich Drepper <drepper@redhat.com>
1056 * stdlib/random.c (__initstate): Clean up a cast.
1057 (__setstate): Likewise.
1059 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
1060 syscall handling. The generic Linux version should work.
1062 2001-01-15 Andreas Jaeger <aj@suse.de>
1064 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1066 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
1068 2001-01-14 Jakub Jelinek <jakub@redhat.com>
1070 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
1071 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
1073 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
1074 If number is 0, list all.
1075 (services_keys): Likewise. Lookup aliases as well.
1076 (databases): New table.
1077 (build_doc): Prepare argp doc text with list of supported databases.
1078 (main): Change to table driven processing.
1080 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
1082 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1085 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1087 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1088 encode value which does not fit in the 32bit type.
1090 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
1092 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1093 Change type of CTX to (struct sigcontext *).
1094 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1095 (GET_FRAME): Likewise.
1096 (GET_STACK): Likewise.
1097 (SIGCONTEXT): Likewise. Add 2nd arg _code.
1098 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1100 2001-01-13 Ulrich Drepper <drepper@redhat.com>
1102 * manual/texinfo.tex: Update from upstream version.
1104 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1106 * inet/ether_ntoh.c (lookup_function): Change arguments to match
1107 _nss_*_getntohost_r prototype.
1108 (ether_ntohost): Pass errno pointer to NSS function.
1110 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1113 (MAP_LOCKED): New definition.
1114 (MAP_NORESERVE): New definition.
1116 2001-01-12 Ulrich Drepper <drepper@redhat.com>
1118 * assert/assert.h: Use static_cast instead of C-style cast for C++.
1119 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1121 2001-01-12 Ben Collins <bcollins@debian.org>
1123 * sysdeps/generic/segfault.c (install_handler): Use access, not
1126 2001-01-12 Andreas Jaeger <aj@suse.de>
1128 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1129 * posix/wordexp.c (do_parse_glob): Likewise.
1130 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1131 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1132 * elf/dl-open.c (_dl_open): Likewise.
1133 * elf/dl-close.c (_dl_close): Likewise.
1134 * elf/dl-load.c (_dl_map_object): Likewise.
1135 * iconv/iconv_prog.c (process_fd): Likewise.
1136 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1138 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1139 of a zero-length array.
1141 2001-01-11 Jakub Jelinek <jakub@redhat.com>
1143 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1144 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1145 * stdlib/cxa_on_exit.c: Remove.
1146 * stdlib/Makefile: Revert last patch.
1147 * stdlib/Versions: Likewise.
1148 * include/stdlib.h: Likewise.
1149 * stdlib/exit.h: Revert last patch.
1150 (struct exit_function): Add second argument to cxa fn.
1151 * stdlib/exit.c: Revert last patch.
1152 (exit): Add hidden second argument.
1154 2001-01-11 H.J. Lu <hjl@gnu.org>
1156 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1157 * elf/dl-open.c (_dl_open): Here.
1158 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1160 (_dl_static_init): Initialize the variables every time when possible.
1161 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1164 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1166 * stdlib/Makefile (routines): Add cxa_on_exit.
1167 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1168 * stdlib/cxa_on_exit.c: New file.
1169 * include/stdlib.h: Add prototype for __cxa_on_exit.
1170 * stdlib/exit.c: Handle ef_cxa2.
1171 * stdlib/exit.h (enum): Add ef_cxa2.
1172 (struct exit_function): Add cxa2.
1174 * Versions.def [ld]: Add GLIBC_2.2.1.
1176 2001-01-10 H.J. Lu <hjl@gnu.org>
1178 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1179 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1181 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1182 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1183 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1184 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1185 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1187 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1189 * libio/stdio.h: Remove definition of off_t.
1191 2001-01-11 Andreas Jaeger <aj@suse.de>
1193 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1196 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1198 * sunrpc/Makefile (distribute): Add errqueue.h.
1200 2001-01-10 H.J. Lu <hjl@gnu.org>
1202 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1203 r9, r10 and r11 for language specific registers.
1205 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1207 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1209 (clntudp_call): Handle MSG_ERRQUEUE.
1210 * sysdeps/generic/errqueue.h: New file.
1211 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1213 2001-01-10 H.J. Lu <hjl@gnu.org>
1215 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1217 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1219 * CONFORMANCE: Update.
1221 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1223 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1224 Minimal cleanups. Add assert to ensure memory handling is correct.
1226 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1227 Reported by Ben Collins <bcollins@debian.org>.
1229 * time/strftime.c (my_strftime): Mark previous GNU extensions
1230 which are now in C99 as such.
1232 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1234 * elf/rtld.c (process_envvars): Place output files for profiling
1235 in SUID binaries in /var/profile.
1237 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1238 preloading in SUID binaries.
1240 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1241 O_NOFOLLOW if possible.
1243 * include/stdlib.h: Add __posix_openpt declaration.
1244 * stdlib/stdlib.h: Add posix_openpt declaration.
1245 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1246 * sysdeps/generic/getpt.c: Define posix_openpt.
1247 * sysdeps/unix/bsd/getpt.c: Likewise.
1248 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1250 * time/Makefile (tests): Add tst-mktime.
1251 * time/tst-mktime.c: New file.
1253 * posix/tst-dir.c (main): One more mkdir() test.
1255 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1256 Remove getpagesize syscall. We assume that the pagesize is always
1257 determined from the auxiliary vector.
1259 * intl/dcigettext.c: Fix a few warnings.
1260 Patch by Bruno Haible <haible@ilog.fr>.
1262 2001-01-08 Andreas Jaeger <aj@suse.de>
1264 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1265 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1267 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1269 * sysdeps/generic/segfault.c (install_handler): Check output file
1272 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1273 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1275 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1277 * malloc/memusage.c (me): Use access() to determine whether we
1278 should write the output file or not.
1280 * libio/bits/stdio.h (printf): Define macro to map printf call to
1281 fprintf which gcc can optimize.
1282 * stdio-common/printf.c: Undefine printf.
1284 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1286 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1287 patch. We must use unsigned int for l member of union.
1289 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1290 _dl_aux_init for shared libraries.
1292 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1293 * sysdeps/gnu/glob64.c: ...here. New file.
1295 2001-01-07 Ben Collins <bcollins@debian.org>
1297 * manual/examples/longopt.c: Make the "struct option" a little
1298 more like it should be, adding usage of required_argument,
1299 noargument and such, and also setting the options string right.
1301 * manual/sysinfo.texi (Load Average): New section, documents
1304 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1306 * version.h (VERSION): Bump to 2.2.1.
1308 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1309 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1310 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1311 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1312 * Makefile (distribute): Add include/libc-internal.h.
1313 * libio/Makefile (distribute): Avoid overwriting.
1315 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1316 buffer and table handling.
1318 2001-01-05 H.J. Lu <hjl@gnu.org>
1320 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1321 vector checking to ...
1322 (_dl_aux_init): Here. New function. Defined only if
1323 HAVE_AUX_VECTOR is defined.
1325 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1326 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1328 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1331 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1332 (HAVE_AUX_VECTOR): Defined.
1333 (_dl_aux_init): Declared.
1335 2001-01-05 Ben Collins <bcollins@debian.org>
1337 * manual/string.texi (Finding Tokens in a String): Document XPG
1338 basename() and dirname(), as well as GNU basename().
1340 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1342 * Makeconfig (preprocess-version): Replace -traditional with
1343 -x assembler-with-cpp.
1345 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1347 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1348 for GCC 2.97 or later.
1350 2001-01-05 Ben Collins <bcollins@debian.org>
1352 * manual/stdio.texi (getline): Clarify the return value in the
1353 case of EOF being reached before a newline.
1355 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1357 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1359 (pmap_set, pmap_unset): Check __get_myaddress return value.
1361 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1363 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1364 (struct ether_addr): Declare ether_addr_octet member as
1365 `u_int8_t'. Add __attribute__ ((__packed__)).
1367 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1369 * sysdeps/mach/hurd/readdir64.c: New file.
1370 * sysdeps/mach/hurd/readdir64_r.c: New file.
1372 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1374 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1375 `struct statfs' and `struct statvfs' being identical.
1376 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1378 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1380 * sysdeps/mach/hurd/fstatfs64.c: New file.
1381 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1382 * sysdeps/mach/hurd/statfs64.c: New file.
1383 * sysdeps/mach/hurd/statvfs64.c: New file.
1384 * sysdeps/mach/hurd/statfsconv.c: New file.
1385 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1387 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1389 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1390 Reported by Owen Taylor <otaylor@redhat.com>.
1391 * iconv/Makefile (tests): Add tst-iconv3.
1392 * iconv/tst-iconv3.c: New file.
1394 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1395 * iconvdata/ibm933.c: Likewise.
1396 * iconvdata/ibm935.c: Likewise.
1397 * iconvdata/ibm937.c: Likewise.
1398 * iconvdata/ibm939.c: Likewise.
1399 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1400 * iconvdata/ibm933.h: Likewise.
1401 * iconvdata/ibm935.h: Likewise.
1402 * iconvdata/ibm939.h: Likewise.
1404 * iconvdata/testdata/IBM930: Add misssing SI.
1405 * iconvdata/testdata/IBM933: Likewise.
1406 * iconvdata/testdata/IBM935: Likewise.
1407 * iconvdata/testdata/IBM937: Likewise.
1408 * iconvdata/testdata/IBM939: Likewise.
1410 2001-01-06 Andreas Jaeger <aj@suse.de>
1412 * configure.in: Check for old add-ons that shouldn't be used with
1413 current glibc anymore.
1415 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1417 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1418 instead of -1 on failure. Don't forget to copy file name into
1419 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1422 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1424 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1425 copy st_atime member.
1427 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1429 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1430 for searches from the root directory.
1431 Reported by loris <loris@iol.it> [PR libc/1991].
1432 * io/Makefile (tests): Add bug-ftw1.
1433 * io/bug-ftw1.c: New file.
1435 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1436 if it is not available. Instead use it only if it is available.
1437 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1439 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1440 overflowing output buffer.
1441 (internal_ucs4_loop_unaligned): Likewise.
1442 (ucs4_internal_loop): Likewise.
1443 (ucs4_internal_loop_unaligned): Likewise.
1444 (internal_ucs4le_loop): Likewise.
1445 (internal_ucs4le_loop_unaligned): Likewise.
1446 (ucs4le_internal_loop): Likewise.
1447 (ucs4le_internal_loop_unaligned): Likewise.
1448 Reported by Owen Taylor <otaylor@redhat.com>.
1449 * iconv/Makefile (tests): Add tst-iconv2.
1450 * iconv/tst-iconv2.c: New file.
1452 2001-01-04 H.J. Lu <hjl@gnu.org>
1454 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1455 (_dl_clktck): Declared.
1456 (non_dynamic_init): Take 3 arguments.
1457 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1459 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1461 Finish implementation of plural form handling.
1462 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1463 'domainname'. Remove 'plindex' field. Add 'domain' and
1464 'translation_length' fields.
1465 (transcmp): Don't compare 'plindex' fields.
1466 (plural_lookup): New function.
1467 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1468 plural_eval before the translation and its catalog file have been
1469 found. Remove plindex from cache key. Add 'translation_length' and
1470 'domain' to cache result.
1471 (_nl_find_msg): Remove index argument, return length of translation
1472 to the caller instead. Weaken comparison of string lengths, to account
1473 for plural entries. Call iconv() on the entire result string, not
1474 only on the portion needed so far.
1475 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1477 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1479 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1481 * intl/plural.y (yylex): Minimal improvement in number scanner.
1483 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1485 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1486 C compilers that don't support it.
1487 (yylex): Don't use gcc specific case range syntax.
1488 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1491 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1493 * intl/finddomain.c: Remove unneeded includes.
1495 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1497 * intl/localealias.c (memcpy): Return first argument, just like the
1498 real memcpy function does.
1499 * intl/bindtextdom.c (memcpy): Likewise.
1500 * intl/finddomain.c (memcpy): Likewise.
1501 * intl/l10nflist.c (memcpy): Likewise.
1502 * intl/textdomain.c (memcpy): Likewise.
1503 From Paul Eggert <eggert@twinsun.com>.
1505 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1507 * resolv/resolv.h (struct __res_state): Add nsinit field.
1508 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1509 * resolv/res_init.c (__res_vinit): Initialize it.
1510 (res_nclose): Clear it instead of nscount.
1512 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1514 * malloc/mtrace.pl: Fix matching of addresses.
1515 Patch by Aharon Robbins <arnold@skeeve.com>.
1517 * Versions.def (ld): Add GLIBC_2.2.
1519 * catgets/gencat.c: Copyright 2001.
1520 * csu/version.c: Likewise.
1521 * debug/catchsegv.sh: Likewise.
1522 * debug/xtrace.sh: Likewise.
1523 * elf/ldconfig.c: Likewise.
1524 * elf/sprof.c: Likewise.
1525 * iconv/iconv_prog.c: Likewise.
1526 * locale/locale.c: Likewise.
1527 * locale/localedef.c: Likewise.
1528 * malloc/memusage.sh: Likewise.
1529 * malloc/mtrace.pl: Likewise.
1530 * nscd/nscd.c: Likewise.
1531 * posix/getconf.c: Likewise.
1533 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1535 * include/stdio.h: Only provide __getwc_unlocked prototype if
1536 USE_IN_LIBIO is defined.
1538 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1540 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1543 2001-01-03 Andreas Schwab <schwab@suse.de>
1545 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1546 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1548 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1549 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1551 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1552 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1555 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1557 * sysdeps/generic/strtol_l.c: Likewise.
1558 * sysdeps/generic/strtoul_l.c: Likewise.
1559 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1561 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1562 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1563 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1564 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1566 2001-01-04 Andreas Jaeger <aj@suse.de>
1568 * nss/nsswitch.c: Include files for missing prototypes, remove
1569 buggy declaration of prototypes.
1571 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1573 * resolv/Versions: Fix bracing.
1574 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1575 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1577 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1579 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1581 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1583 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1584 Suggested by Minko Markov <mmarkov@home.com>.
1586 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1588 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1589 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1591 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1593 2001-01-02 Ben Collins <bcollins@debian.org>
1595 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1596 if TZ is not set and TZDEFAULT is not present.
1598 2001-01-01 Ben Collins <bcollins@debian.org>
1600 * string/strings.h: Make sure we declare our functions even if
1601 string.h is already included, based on whether or not __USE_BSD is
1604 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1606 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1607 other dlopen() and dlsym().
1608 Based on a patch by Ben Collins <bcollins@debian.org>.
1610 2001-01-02 Andreas Jaeger <aj@suse.de>
1612 * dlfcn/errmsg1.c (main): Call dlerror initially.
1613 Reported by Ben Collins <bcollins@debian.org>.
1615 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1617 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1618 value is ignored if the selected locale is the C locale.
1619 * intl/tst-gettext.c: Set locale for above change.
1620 * intl/tst-translit.c: Likewise.
1622 2001-01-02 Andreas Jaeger <aj@suse.de>
1624 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1625 (_IO_switch_to_wget_mode): Likewise.
1626 (_IO_sputbackwc): Likewise.
1627 (_IO_sungetwc): Use wint_t for result.
1629 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1631 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1634 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1635 to (int) to avoid warnings.
1636 * stdio-common/printf_fp.c (putc): Likewise.
1637 * stdio-common/printf_size.c (putc): Likewise.
1639 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1642 2001-01-01 Andreas Jaeger <aj@suse.de>
1644 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1646 2000-12-31 Andreas Jaeger <aj@suse.de>
1648 * include/libc-internal.h: Add prototype for __libc_freeres.
1650 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1651 for prototypes, remove redundant prototypes.
1652 * gmon/gmon.c: Likewise.
1653 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1654 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1655 * malloc/mtrace.c: Likewise.
1657 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1659 * elf/soinit.c: Likewise.
1660 * sysdeps/generic/prof-freq.c: Likewise.
1661 * sysdeps/mach/hurd/profil.c: Likewise.
1662 * debug/noophooks.c: Likewise.
1663 * debug/pcprofile.c: Likewise.
1664 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1665 * sysdeps/generic/get_clockfreq.c: Likewise.
1666 * malloc/set-freeres.c: Likewise.
1668 * locale/localeinfo.h: Add internal prototypes.
1670 * elf/rtld.c (dl_main): Fix prototype.
1672 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1675 * nis/rpcsvc/yp_prot.h: Remove __P.
1676 * nis/rpcsvc/ypupd.h: Likewise.
1677 * nis/rpcsvc/yp.h: Likewise.
1679 * sunrpc/rpc_main.c: Add noreturn attributes.
1680 * sunrpc/rpc_scan.h: Likewise.
1682 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1684 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1686 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1688 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1690 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1692 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1694 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1695 * include/rpc/auth.h: Likewise.
1696 * include/rpc/auth_des.h: Likewise.
1697 * include/rpc/clnt.h: Likewise.
1698 * include/rpc/rpc.h: Likewise.
1699 * include/rpc/svc.h: Likewise.
1700 * include/rpc/svc_auth.h: Likewise.
1702 * include/rpc/des_crypt.h: New file.
1704 * malloc/memusagestat.c (main): Use return instead of exit to
1706 * io/pwd.c (main): Likewise.
1707 * iconvdata/tst-table-from.c (main): Likewise.
1708 * ctype/test_ctype.c (main): Likewise.
1709 * setjmp/tst-setjmp.c (main): Likewise.
1710 * signal/tst-signal.c (main): Likewise.
1711 * stdlib/tst-strtol.c (main): Likewise.
1712 * stdlib/tst-strtod.c (main): Likewise.
1713 * stdlib/tst-strtoll.c (main): Likewise.
1714 * stdlib/tst-xpg-basename.c (main): Likewise.
1715 * dirent/tst-seekdir.c (main): Likewise.
1716 * grp/testgrp.c (main): Likewise.
1717 * inet/test_ifindex.c (main): Likewise.
1718 * io/test-utime.c (main): Likewise.
1719 * posix/test-vfork.c (main): Likewise.
1720 * posix/testfnm.c (main): Likewise.
1721 * stdio-common/temptest.c (main): Likewise.
1722 * stdio-common/test_rdwr.c (main): Likewise.
1723 * stdio-common/tst-fileno.c (main): Likewise.
1724 * stdio-common/tst-sscanf.c (main): Likewise.
1725 * stdio-common/tstscanf.c (main): Likewise.
1726 * string/bug-strncat1.c (main): Likewise.
1727 * string/bug-strpbrk1.c (main): Likewise.
1728 * string/bug-strspn1.c (main): Likewise.
1729 * string/test-ffs.c (main): Likewise.
1730 * string/tst-inlcall.c (main): Likewise.
1731 * string/tst-svc.c (main): Likewise.
1732 * timezone/test-tz.c (main): Likewise.
1733 * wctype/test_wcfuncs.c (main): Likewise.
1734 * wctype/test_wctype.c (main): Likewise.
1736 * stdlib/tst-random.c: Add attribute noreturn to fail.
1738 2000-12-28 Wolfram Gloger <wg@malloc.de>
1740 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1741 destination overlap. Assume dest is always below source if
1744 2000-12-30 Ulrich Drepper <drepper@redhat.com>
1746 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1747 object was not yet initialized.
1749 2000-12-28 H.J. Lu <hjl@gnu.org>
1751 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1752 is always consistent even if its dependency is failed.
1754 * elf/dl-open.c (_dl_open): Increment the open count before
1755 calling _dl_close () in case of failure.
1757 * elf/neededtest4.c: New file.
1758 * elf/neededobj5.c: New file.
1759 * elf/neededobj6.c: New file.
1761 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1762 (tests): Add neededtest4.
1763 (modules-names): Add neededobj5 and neededobj6.
1764 ($(objpfx)neededobj6.so): New target.
1765 ($(objpfx)neededtest4): New target.
1766 ($(objpfx)neededtest4.out): New target.
1768 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1770 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1771 * stdlib/monetary.h: Add strfmon format attributes.
1773 2000-12-28 Roland McGrath <roland@frob.com>
1775 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1776 __mempcpy does it for us.
1778 2000-12-28 Andreas Jaeger <aj@suse.de>
1780 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1782 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1785 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1788 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1791 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1792 __chown_is_lchown and __real_chown.
1794 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1797 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1798 up GCC's warning about "deprecated use of label at end of compound
1800 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1802 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1804 Remove struct bb and __bb_head since those are declared by
1807 2000-12-22 Ben Collins <bcollins@debian.org>
1809 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1811 * manual/argp.texi: Document argp_domain as part of struct argp.
1813 2000-12-28 Andreas Jaeger <aj@suse.de>
1815 * catgets/Makefile (generated): Add sample.SJIS.cat.
1817 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1819 * elf/dl-minimal.c: Add prototypes.
1821 * include/locale.h: Add internal prototypes.
1822 * include/sys/gmon.h: Likewise.
1824 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1826 2000-12-27 Ben Collins <bcollins@debian.org>
1828 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1829 when reallocating the error strings.
1830 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1832 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1834 * dlfcn/Makefile (tests): Add errmsg1.
1835 (modules-names): Add errmsg1mod.
1836 Add rules to run errmsg1.
1837 * dlfcn/errmsg1.c: New file.
1838 * dlfcn/errmsg1mod.c: New file.
1840 * dlfcn/dlerror.c (dlerror): Always create output string which
1841 includes object file name.
1843 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1844 if we would go through it only once.
1845 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1847 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1848 Patch by Richard Henderson <rth@redhat.com>.
1850 2000-12-27 Jakub Jelinek <jakub@redhat.com>
1852 * malloc/malloc.c (memmove): Add prototypes.
1853 (MALLOC_MEMMOVE): Define.
1854 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1855 destination might overlap.
1857 2000-12-27 Andreas Jaeger <aj@suse.de>
1859 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1861 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1862 * locale/programs/locale.c (show_locale_vars): Likewise.
1863 (show_info): Likewise.
1864 * locale/programs/ld-collate.c (collate_output): Likewise.
1865 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1866 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1867 * stdlib/rpmatch.c (rpmatch): Likewise.
1869 * setjmp/tst-setjmp.c: Make local functions static.
1870 * setjmp/jmpbug.c: Likewise.
1871 * signal/tst-signal.c: Likewise.
1872 * stdio-common/tfformat.c: Likewise.
1873 * string/tst-svc.c: Likewise.
1874 * time/clocktest.c: Likewise.
1875 * time/tst-getdate.c: Likewise.
1876 * dirent/list.c: Likewise.
1877 * dirent/opendir-tst1.c: Likewise.
1878 * posix/runtests.c: Likewise.
1879 * posix/tst-getaddrinfo.c: Likewise.
1880 * posix/tst-chmod.c: Likewise.
1881 * posix/wordexp-test.c: Likewise.
1882 * misc/tst-efgcvt.c: Likewise.
1883 * timezone/tst-timezone.c: Likewise.
1884 * rt/tst-clock.c: Likewise.
1885 * rt/tst-shm.c: Likewise.
1886 * rt/tst-aio2.c: Likewise.
1887 * rt/tst-aio3.c: Likewise.
1888 * rt/tst-aio4.c: Likewise.
1889 * rt/tst-aio5.c: Likewise.
1891 * dlfcn/failtest.c: Add prototype for foo.
1893 * dlfcn/glrefmain.c: Add prototype for do_test.
1895 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1897 * string/test-ffs.c (main): Add prototype for nested function.
1899 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1901 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1903 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1904 setetherent prototype.
1905 Add internal interfaces.
1907 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1908 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1910 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1912 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1914 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1915 prototypes, remove struct etherent since it's declared in ether.h.
1916 Fix ntohost declaration.
1918 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1920 * include/getopt.h: Add internal interfaces.
1921 * include/termios.h: Likewise.
1922 * include/resolv.h: Likewise.
1923 * include/netdb.h: Likewise.
1924 * include/grp.h: Likewise.
1925 * include/pwd.h: Likewise.
1926 * include/shadow.h: Likewise.
1927 * include/rpc/netdb.h: Likewise.
1928 * include/setjmp.h: Likewise.
1930 * include/stdio.h: Add prototypes for compatibility functions.
1931 * include/grp.h: Likewise.
1932 * include/pwd.h: Likewise.
1933 * include/shadow.h: Likewise.
1935 * include/fenv.h: Define internal interfaces.
1937 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1939 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1940 argument case separately.
1941 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1943 2000-12-27 Andreas Jaeger <aj@suse.de>
1945 * include/sys/wait.h: Add some prototypes.
1946 * Rules (dummy.c): Create also prototype to shut up GCC.
1948 2000-12-27 Andreas Jaeger <aj@suse.de>
1950 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1951 it's not needed at the moment.
1952 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1953 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1955 2000-12-26 Andreas Jaeger <aj@suse.de>
1957 * libio/getc_u.c: Include stdio.h via system path to get internal
1959 * libio/getwc_u.c: Likewise.
1961 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1963 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1964 __printf_fp prototypes to ...
1965 * include/printf.h: ...here.
1967 * include/stdio.h: Add some internal prototypes to shut up GCC.
1968 * include/stdlib.h: Likewise.
1970 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1973 * include/signal.h: Add prototypes for internal sigpause
1976 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1978 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1979 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1981 * string/Makefile (tests): Add tst-bswap.
1982 * string/tst-bswap.c: New file.
1984 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1986 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1988 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1990 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1991 Patch by Ed Connell <Ed.Connell@sas.com>.
1993 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1995 * locale/iso-639.def: Correct one entry. Add two missing entries.
1997 * locale/iso-4217.def: Change entry for Eritrea.
1998 Reported by Daniel Yacob <yacob@geez.org>.
2000 2000-12-23 Ben Collins <bcollins@debian.org>
2002 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
2005 * manual/stdio.texi (Dynamic Output): Document the return value of
2006 asprintf. Also make the asprintf/snprintf examples a little
2007 better (check for some error returns).
2009 2000-12-22 Andreas Jaeger <aj@suse.de>
2011 * include/stdio.h: Add __ftrylockfile prototype.
2013 2000-12-21 H.J. Lu <hjl@gnu.org>
2015 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
2016 Make sign_exponent element signed.
2018 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
2021 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2023 2000-12-21 Andreas Jaeger <aj@suse.de>
2025 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
2026 * inet/ether_hton.c: Likewise
2027 * inet/ether_ntoh.c: Likewise.
2029 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
2030 declaration to match prototype.
2032 * include/netinet/ether.h (struct etherent): Declare here so that
2033 all implementations use the same struct.
2035 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
2037 (struct ether): Removed.
2038 Use struct etherent instead of ether everywhere.
2040 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
2042 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
2044 * sunrpc/publickey.c: Include auth_des.h for prototypes.
2046 2000-12-20 Ulrich Drepper <drepper@redhat.com>
2048 * math/test-misc.c: Add more tests for nextafter functions.
2050 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
2051 normal correctly. Correct test for sign.
2052 Based on a patch by HJ Lu.
2054 2000-12-19 Ulrich Drepper <drepper@redhat.com>
2056 * Makeconfig (preprocess-version): Add -traditional to gcc call.
2059 2000-12-19 Andreas Jaeger <aj@suse.de>
2061 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
2063 * nis/nis_intern.h: Add prototype for __do_niscall3.
2065 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
2068 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
2070 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2072 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2074 2000-12-18 Ulrich Drepper <drepper@redhat.com>
2076 * math/test-misc.c: Add more tests for nextafter.
2077 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2078 * sysdeps/ieee754/ldbl-96/math_ldbl.h
2079 (ieee_long_double_shape_type): Make sign_exponent element signed.
2081 * manual/message.texi: Add Estonian to plural overview list.
2082 Correct rule for Slavic languages.
2083 Patch by Stanislav Brabec <utx@penguin.cz>.
2085 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2087 2000-12-18 Andreas Jaeger <aj@suse.de>
2089 * test-skeleton.c: Use temp_name_list instead of name_list to
2090 avoid collision with name_list from inet/netgroup.h.
2092 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2094 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2095 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2096 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2097 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2099 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2100 declaration to match prototype.
2101 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2102 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2103 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2105 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2106 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2107 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2108 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2109 (_nss_nis_getservbyport_r): Likewise.
2110 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2111 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2112 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2113 (_nss_nis_setnetent): Likewise
2114 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2115 (_nss_nis_endnetgrent): Likewise.
2116 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2118 (_nss_nisplus_setnetgrent): Likewise.
2119 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2120 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2121 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2122 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2124 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2126 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2128 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2130 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2131 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2132 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2133 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2134 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2135 (_nss_dns_getnetbyaddr_r): Likewise.
2137 2000-12-17 Andreas Jaeger <aj@suse.de>
2139 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2142 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2143 unused attribute to shut up gcc warnings.
2145 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2146 * sysdeps/generic/k_tanl.c: Likewise.
2147 * sysdeps/generic/k_cosl.c: Likewise.
2148 * sysdeps/generic/e_j0l.c: Likewise.
2149 * sysdeps/generic/e_j1l.c: Likewise.
2150 * sysdeps/generic/e_jnl.c: Likewise.
2151 * sysdeps/generic/e_lgammal_r.c: Likewise.
2153 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2155 * elf/vismod.h: New file.
2156 * elf/Makefile (distribute): Add vismod.h.
2157 * elf/vismod1.c: Include vismod.h.
2158 * elf/vismod2.c: Likewise.
2159 * elf/vismod3.c: Likewise.
2161 * elf/constload3.c: Add prototype declarations to shut up gcc.
2162 * elf/failobj.c: Likewise.
2163 * elf/nodelmod3.c: Likewise.
2164 * elf/filtmod1.c: Likewise.
2165 * elf/filtmod2.c: Likewise.
2166 * elf/reldepmod1.c: Likewise.
2167 * elf/reldepmod2.c: Likewise.
2168 * elf/reldepmod3.c: Likewise.
2169 * elf/reldepmod4.c: Likewise.
2170 * elf/unload2dep.c: Likewise.
2171 * elf/unload2mod.c: Likewise.
2172 * elf/ltglobmod1.c: Likewise.
2173 * elf/pathoptobj.c: Likewise.
2174 * elf/neededobj1.c: Likewise.
2175 * elf/neededobj2.c: Likewise.
2176 * elf/neededobj3.c: Likewise.
2177 * elf/neededobj4.c: Likewise.
2178 * elf/nextmod1.c: Likewise.
2179 * elf/nextmod2.c: Likewise.
2181 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2182 at end of compound statement.
2183 * locale/programs/locale.c (show_info): Likewise.
2184 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2186 2000-12-16 Jakub Jelinek <jakub@redhat.com>
2188 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2189 with a pointer not returned by obstack_ functions.
2191 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2193 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2195 (struct stat64): Likewise.
2196 Reported by Michael Keezer <mkeezer@redhat.com>.
2198 * timezone/asia: Update from tzdata2000h.
2199 * timezone/australasia: Likewise.
2200 * timezone/backward: Likewise.
2201 * timezone/europe: Likewise.
2202 * timezone/northamerica: Likewise.
2203 * timezone/southamerica: Likewise.
2204 * timezone/zone.tab: Likewise.
2206 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2208 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2209 and dir.stream is NULL, only free dir.content.
2210 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2211 * io/ftwtest-sh: Test with --early-exit.
2213 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2215 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2216 (FCVT_BUFPTR): New variable.
2217 (fcvt): If fcvt_r returns -1 on the static short buffer,
2218 try to malloc a sufficiently large one and retry.
2219 (free_mem): New function.
2220 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2221 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2223 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2225 * misc/dirname.c (dirname): Fix search for second to last slash.
2227 2000-12-13 Andreas Jaeger <aj@suse.de>
2229 * misc/tst-dirname.c (main): Fix typo in test to really use
2230 the examples from Unix98.
2231 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2233 2000-12-09 H.J. Lu <hjl@gnu.org>
2235 * sysdeps/ia64/fpu/s_fabs.S: New file.
2236 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2237 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2239 2000-12-15 Andreas Jaeger <aj@suse.de>
2241 * stdio-common/scanf9.c (main): Reformat and change to avoid
2244 * stdio-common/tstdiomisc.c: Make local functions static.
2245 * stdio-common/tst-printf.c: Likewise.
2247 * elf/constload2.c: Add prototype declarations to shut up gcc.
2248 * elf/dep1.c: Likewise.
2249 * elf/dep2.c: Likewise.
2250 * elf/dep3.c: Likewise.
2251 * elf/dep4.c: Likewise.
2252 * elf/ltglobmod2.c: Likewise.
2254 * libio/fmemopen.c: Make local functions static.
2256 * elf/Makefile (distribute): Added testobj.h.
2258 * elf/testobj.h: New file.
2260 * elf/testobj1.c: Include testobj.h and move prototype
2261 declarations to testobj.h.
2262 * elf/testobj2.c: Likewise.
2263 * elf/testobj3.c: Likewise.
2264 * elf/testobj4.c: Likewise.
2265 * elf/testobj5.c: Likewise.
2266 * elf/testobj6.c: Likewise.
2267 * elf/testobj1_1.c: Likewise.
2268 * elf/preloadtest.c: Likewise.
2270 2000-12-15 Ben Collins <bcollins@debian.org>
2272 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2273 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2275 2000-12-14 H.J. Lu <hjl@gnu.org>
2277 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2278 field in a float is 8 bits, not 11 bits.
2280 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2282 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2284 2000-12-13 Andreas Jaeger <aj@suse.de>
2286 * manual/message.texi (Using gettextized software): Fix typo.
2288 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2290 Patch by Martin Buchholz <martin@xemacs.org>.
2292 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2293 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2295 2000-12-11 Andreas Jaeger <aj@suse.de>
2297 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2298 kernel_sigset_t and use it.
2299 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2301 2000-12-10 Richard Henderson <rth@redhat.com>
2303 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2304 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2305 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2307 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2309 * sysdeps/alpha/htonl.S: Fix a typo.
2311 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2313 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2315 2000-12-10 Andreas Jaeger <aj@suse.de>
2317 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2318 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2319 Drepper <drepper@redhat.com>.
2321 2000-12-09 Andreas Jaeger <aj@suse.de>
2323 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2325 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2327 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2329 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2332 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2335 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2336 * nscd/connections.c (handle_request): Likewise.
2337 * nscd/pwdcache.c (addpwbyname): Likewise.
2338 * nscd/grpcache.c (addgrbyname): Likewise.
2340 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2342 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2344 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2346 * Makeconfig (default_cflags): Make -O2 the default for stable
2349 2000-12-08 H.J. Lu <hjl@gnu.org>
2351 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2352 * sysdeps/ia64/fpu/s_isinf.S: This.
2353 Add a .pred.rel.mutex note to avoid false report.
2355 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2356 * sysdeps/ia64/fpu/s_isnan.S: This.
2358 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2359 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2360 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2361 * sysdeps/ia64/fpu/s_isinff.S: New file.
2362 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2363 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2364 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2365 * sysdeps/ia64/fpu/s_finite.S: New file.
2366 * sysdeps/ia64/fpu/s_finitef.S: New file.
2367 * sysdeps/ia64/fpu/s_finitel.S: New file.
2368 * sysdeps/ia64/fpu/s_signbit.S: New file.
2369 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2370 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2371 * sysdeps/ia64/fpu/s_copysign.S: New file.
2372 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2373 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2375 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2377 * math/libm-test.inc (main): Fix typos in messages.
2379 * string/stratcliff.c: Add test for rawmemchr.
2381 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2383 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2384 allocate it together with errstring using alloca.
2385 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2386 to "", because it might point to local stack.
2388 2000-12-05 H.J. Lu <hjl@gnu.org>
2390 * nss/Makefile (routines): Add getnssent and getnssent_r.
2391 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2392 (__nss_endent): Likewise.
2393 (__nss_getent_r): Likewise.
2394 (__nss_getent): Likewise.
2395 * nss/getnssent_r.c: New file.
2396 * nss/getnssent.c: New file.
2397 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2398 (GETFUNC_NAME): Updated to call __nss_getent ().
2399 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2400 (STAYOPEN_TMPVAR): Updated.
2401 (STAYOPEN_VAR): Updated.
2402 (SETFUNC_NAME): Updated to call __nss_setent ().
2403 (ENDFUNC_NAME): Updated to call __nss_endent ().
2404 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2406 2000-12-08 Andreas Jaeger <aj@suse.de>
2408 * nscd/dbg_log.h (dbg_log): Correct attribute.
2410 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2412 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2413 cp + len. Compute where from dirname.
2414 Reported by <jreiser@BitWagon.com>.
2416 2000-12-08 Richard Henderson <rth@twiddle.net>
2418 * sysdeps/alpha/_mcount.S: Fix typo.
2419 * sysdeps/alpha/strncpy.S: Likewise.
2421 * sysdeps/alpha/alphaev6/Implies: New file.
2422 * sysdeps/alpha/alphaev67/Implies: New file.
2423 * sysdeps/alpha/alphaev67/ffs.S: New file.
2424 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2425 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2426 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2427 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2428 * sysdeps/alpha/rawmemchr.S: New file.
2429 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2430 * sysdeps/alpha/strcpy.S: Likewise.
2433 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2435 From rick.gorton@alpha-processor.com:
2436 * sysdeps/alpha/alphaev6/memchr.S: New file.
2437 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2438 * sysdeps/alpha/alphaev6/memset.S: New file.
2439 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2440 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2441 * sysdeps/alpha/alphaev67/strcat.S: New file.
2442 * sysdeps/alpha/alphaev67/strchr.S: New file.
2443 * sysdeps/alpha/alphaev67/strlen.S: New file.
2444 * sysdeps/alpha/alphaev67/strncat.S: New file.
2445 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2447 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2449 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2450 Reported by <pspencer@fields.utoronto.ca>.
2452 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2454 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2455 Pointed out by Hans Boehm.
2457 2000-12-07 H.J. Lu <hjl@gnu.org>
2459 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2461 2000-12-07 Andreas Jaeger <aj@suse.de>
2463 * misc/error.c: Add format attributes for __error and __error_at_line.
2465 * nscd/dbg_log.h: Add format attribute.
2467 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2469 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2470 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2472 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2474 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2476 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2478 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2479 (sysdep_routines): Add uitrunc.
2480 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2481 Patches by Michael Keezer <mkeezer@redhat.com>.
2483 2000-12-06 Roland McGrath <roland@frob.com>
2485 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2486 argument data, since it will be used to copy out too (for INOUT).
2487 Reported by Marcus Brinkmann <marcus@gnu.org>.
2489 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2490 (__ioctl): Use uintptr_t instead of unsigned long int.
2492 2000-12-06 Jim Wilson <wilson@redhat.com>
2494 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2496 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2498 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2499 x.5 rounding correctly.
2501 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2503 * stdio-common/perror.c (perror): Conditionalize code dealing with
2504 wide-oriented streams on USE_IN_LIBIO.
2506 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2508 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2509 as internal_function.
2511 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2513 * sysdeps/alpha/elf/start.S (__data_start): Define.
2515 2000-12-05 H.J. Lu <hjl@gnu.org>
2517 * nss/getXXent_r.c (setup): Change the return type to int.
2519 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2521 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2522 (sysdep_routines): Add restf and savef.
2523 * sysdeps/unix/sysv/aix/restf.c: New file.
2524 * sysdeps/unix/sysv/aix/savef.c: New file.
2525 Patches by Michael Keezer <mkeezer@redhat.com>.
2527 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2528 if O_DIRECTORY is not defined.
2529 Patch by Michael Keezer <mkeezer@redhat.com>.
2531 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2532 Patch by Michael Keezer <mkeezer@redhat.com>.
2534 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2535 than 4 bytes in escape sequence.
2536 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2538 2000-12-05 Andreas Jaeger <aj@suse.de>
2540 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2543 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2545 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2547 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2548 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2550 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2552 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2553 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2555 * sysdeps/generic/dl-cache.c: Remove declaration of
2556 _dl_sysdep_read_whole_file.
2558 * elf/dl-load.c (_dl_map_object): Remove declaration of
2559 _dl_load_cache_lookup.
2561 * sysdeps/generic/ldsodefs.h: Add declarations of
2562 _dl_load_cache_lookup, _dl_unload_cache,
2563 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2564 _dl_sysdep_start_cleanup.
2566 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2569 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2570 * sysdeps/generic/dl-environ.c: Likewise.
2572 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2574 * math/atest-exp.c: Likewise.
2575 * math/atest-exp2.c: Likewise.
2576 * math/atest-sincos.c: Likewise.
2577 * stdio-common/_itoa.c: Likewise.
2578 * stdio-common/_itowa.c: Likewise.
2580 * include/gmp.h: New file with internal prototypes.
2582 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2584 * include/setjmp.h: ...here.
2586 * locale/Makefile (routines): Remove codeset_name since it's not
2589 * locale/codeset_name.c: Removed.
2591 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2593 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2595 2000-12-05 Andreas Jaeger <aj@suse.de>
2597 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2599 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2601 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2604 2000-12-05 Andreas Jaeger <aj@suse.de>
2606 * nss/test-netdb.c: Mark local functions as static to avoid
2608 (main): Use return to silence warning.
2610 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2612 * stdio-common/test-popen.c: Mark local functions as static to
2614 (main): Use return to silence warning.
2616 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2618 * assert/test-assert.c: Mark local functions as static to avoid
2620 * assert/test-assert-perr.c: Likewise.
2622 * math/libm-test.inc (main): Use return to silence warnings.
2624 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2626 * math/fenv.h: Fix typo in comment.
2628 * math/test-misc.c (main): Add a few more over and underflow tests
2631 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2632 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2633 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2634 * math/w_scalb.c: Don't use matherr except in SVID mode.
2635 * math/w_scalbf.c: Likewise.
2636 * math/w_scalbl.c: Likewise.
2637 * math/test-misc.c: Add test for NaN and scalbl.
2638 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2640 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2642 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2643 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2644 * include/libc-symbols.h (strong_alias): Define special version
2645 for HAVE_ASM_GLOBAL_DOT_NAME.
2646 (weak_alias): Likewise.
2647 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2648 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2649 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2650 getutxline, pututxline, and utmpxname.
2651 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2652 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2653 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2654 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2655 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2656 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2657 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2658 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2659 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2660 Patches by Michael Keezer <mkeezer@redhat.com>.
2662 2000-12-04 H.J. Lu <hjl@gnu.org>
2664 * configure.in: Change --with-oldest-abi=ABI to
2665 --enable-oldest-abi=ABI.
2667 2000-12-02 Bruno Haible <haible@clisp.cons.org>
2669 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2670 fwprintf instead of fprintf.
2672 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2674 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2675 DECIMAL_DIG definitions.
2676 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2677 * sysdeps/generic/bits/mathdef.h: Likewise
2678 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2679 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2680 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2681 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2682 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2683 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2685 2000-12-03 Ulrich Drepper <drepper@redhat.com>
2687 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2689 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2690 * math/atest-exp2.c: Likewise.
2691 * math/atest-sincos.c: Likewise.
2693 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2694 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2696 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2697 the handling of denormalized numbers.
2699 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2701 * sysdeps/i386/fpu/fpclassifyl.c: New file.
2703 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2704 pseudo denormal representation of LDBL_MIN.
2706 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2707 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2709 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2710 * iconvdata/jis0208.c: Likewise.
2711 * iconvdata/jis0212.c: Likewise.
2712 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2714 * math/test-misc.c (main): More tests for frexp and some for
2715 fpclassify and isnormal.
2717 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2719 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2721 * math/test-misc.c (main): Add tests for frexp.
2722 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2723 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2725 2000-12-02 H.J. Lu <hjl@gnu.org>
2727 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2730 2000-12-02 Ulrich Drepper <drepper@redhat.com>
2732 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2734 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2736 * sysdeps/generic/glob.c: Adjust types of several variables to
2739 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2741 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2743 2000-11-30 Roland McGrath <roland@frob.com>
2745 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2746 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2747 allow multiple instances using the same function name in one file.
2749 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2751 * configure.in: Correct test for pserver CVS access.
2753 2000-11-28 H.J. Lu <hjl@gnu.org>
2755 * libio/libio.h: Remove extra "#if ... #endif".
2757 2000-11-29 H.J. Lu <hjl@gnu.org>
2759 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2761 2000-12-01 H.J. Lu <hjl@gnu.org>
2763 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2764 * nss/getXXent_r.c: Likewise.
2765 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2767 2000-11-30 H.J. Lu <hjl@gnu.org>
2769 * scripts/abi-versions.awk (oldest_abi): New variable.
2770 Handle the oldest ABI supported.
2772 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2773 for scripts/abi-versions.awk.
2775 * configure.in: Add --with-oldest-abi=ABI.
2776 * configure: Rebuild.
2778 * config.make.in (oldest-abi): New.
2780 * config.h.in (GLIBC_OLDEST_ABI): New.
2782 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2784 2000-11-30 Jakub Jelinek <jakub@redhat.com>
2786 * locale/setlocale.c (setname): Free for all categories, not just
2788 (setlocale): Store a copy of string passed by user, not the string
2791 2000-11-30 Roland McGrath <roland@frob.com>
2793 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2794 rather than _hurd_fd_subinit, so it happens after it's safe to use
2795 libc facilities like malloc.
2797 2000-11-28 Andreas Jaeger <aj@suse.de>
2799 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2800 declaration, adjust declaration of __syscall_getdents to match
2803 2000-11-29 H.J. Lu <hjl@gnu.org>
2805 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2807 2000-11-29 Andreas Jaeger <aj@suse.de>
2809 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2811 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2813 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2814 * dlfcn/defaultmod2.c: Likewise.
2815 * dlfcn/dlopen.c: Likewise.
2816 * dlfcn/dlopenold.c: Likewise.
2817 * dlfcn/failtestmod.c: Likewise.
2818 * dlfcn/glreflib1.c: Likewise.
2819 * dlfcn/glreflib2.c: Likewise.
2820 * dlfcn/eval.c: Likewise. Add attributes.
2822 * ctype/ctype-extn.c: Define isblank and not __isblank.
2824 * time/strftime.c: Add const where necessary to avoid warnings.
2825 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2827 2000-11-22 Paul Eggert <eggert@twinsun.com>
2829 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2830 size of (size_t) -1; it's not portable.
2832 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2834 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2836 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2838 2000-11-14 Jes Sorensen <jes@linuxcare.com>
2840 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2842 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2843 _mcount is required by profiled binaries.
2845 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2846 * sysdeps/ia64/machine-gmon.h: ...here.
2848 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2850 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2851 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2853 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2855 * iconvdata/ibm922.c: New file.
2856 * iconvdata/ibm922.h: New file.
2857 * iconvdata/ibm1124.c: New file.
2858 * iconvdata/ibm1124.h: New file.
2859 * iconvdata/ibm1129.c: New file.
2860 * iconvdata/ibm1129.h: New file.
2861 * iconvdata/testdata/IBM922: New file.
2862 * iconvdata/testdata/IBM922..UTF8: New file.
2863 * iconvdata/testdata/IBM1124: New file.
2864 * iconvdata/testdata/IBM1124..UTF8: New file.
2865 * iconvdata/testdata/IBM1129: New file.
2866 * iconvdata/testdata/IBM1129..UTF8: New file.
2868 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2870 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2871 character. Change callers.
2872 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2873 * catgets/Makefile: Add rules to build and run test-gencat.
2874 * catgets/sample.SJIS: New file.
2875 * catgets/test-gencat.c: New file.
2876 * catgets/test-gencat.sh: New file.
2877 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2879 2000-11-28 Andreas Jaeger <aj@suse.de>
2881 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2884 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2886 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2888 2000-11-28 Andreas Jaeger <aj@suse.de>
2890 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2892 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2895 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2897 * misc/getusershell.c: Make strings in okshells array const.
2898 * misc/regexp.c: Add const to cast to avoid warnings.
2899 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2900 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2902 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2904 * misc/error.c: Add prototypes for __error and __error_at_line.
2905 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2906 statement to avoid warning.
2907 * test-skeleton.c: Mark timeout_handler with noreturn.
2908 * iconv/skeleton.c (get16u): Add const to cast.
2910 * iconvdata/gb18030.c: Likewise.
2911 * iconvdata/iso-2022-cn-ext.c: Likewise.
2912 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2913 * iconvdata/big5.c: Likewise.
2914 * iconvdata/big5hkscs.c: Likewise.
2915 * iconvdata/iso_6937.c: Likewise.
2916 * iconvdata/iso_6937-2.c: Likewise.
2917 * iconvdata/t.61.c: Likewise.
2918 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2919 * iconvdata/unicode.c: Likewise.
2920 * iconvdata/utf-16.c: Likewise.
2921 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2922 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2923 with little code shuffling.
2925 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2926 the problems introduced when the user selects -O3.
2928 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2929 * misc/sys/cdefs.h: Define __flexarr.
2930 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2932 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2933 * iconv/skeleton.c: Likewise.
2934 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2935 * iconv/loop.c (get16): Add const to cast.
2938 2000-11-27 Andreas Jaeger <aj@suse.de>
2940 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2942 * login/programs/utmpdump.c (print_entry): Likewise.
2944 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2946 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2947 in a single asm as they may be used to access other stored
2949 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2951 2000-11-27 Andreas Jaeger <aj@suse.de>
2953 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2954 * rt/tst-aio64.c: Likewise.
2956 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2958 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2960 (libc.cat): Likewise.
2961 * catgets/gencat.c: Implement handling of message catalogs encoded
2962 with stateful character sets.
2963 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2965 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2967 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2969 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2970 * inet/rcmd.c: Likewise.
2971 * inet/ruserpass.c: Likewise.
2972 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2973 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2974 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2975 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2976 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2977 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2978 * include/aliases.h: Add prototypes for internal __getalias* functions.
2979 * include/netdb.h: Add prototypes for __old_gethostent_r,
2980 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2981 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2982 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2983 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2984 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2985 __old_getrpcbynumber_r, __old_getrpcent_r.
2987 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2988 __getrpcent_r prototypes.
2990 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2992 * string/strcoll.c: Add casts to avoid warnings.
2993 * string/strnlen.c: Likewise.
2994 * string/strxfrm.c: Likewise.
2995 * sysdeps/generic/_strerror.c: Likewise.
2996 * sysdeps/generic/memrchr.c: Likewise.
2997 * sysdeps/generic/strcasestr.c: Likewise.
2998 * sysdeps/generic/strstr.c: Likewise.
3000 * locale/weight.h (findidx): Add const to cast to avoid warning.
3002 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
3003 * elf/loadtest.c: Likewise.
3004 * elf/multiload.c: Likewise.
3005 * elf/next.c: Likewise.
3006 * elf/nodelete.c: Likewise.
3007 * elf/noload.c: Likewise.
3008 * elf/order.c: Likewise.
3009 * elf/origtest.c: Likewise.
3010 * elf/preloadtest.c: Likewise.
3011 * elf/restest1.c: Likewise.
3013 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
3014 parameter of asm must be in %ecx.
3016 * string/tester.c: Mark test functions as static to avoid warnings.
3018 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
3019 preserve value over different gconv-modules files.
3021 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3023 * locale/findlocale.c: Add casts to avoid warnings.
3024 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
3025 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
3027 * misc/tsearch.c (const_node): New type.
3028 (trecurse): Correct casts to avoid warnings.
3029 (__twalk): Likewise.
3030 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
3033 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
3035 * test-skeleton.c: Mark local functions as static to avoid warnings.
3037 2000-11-23 H.J. Lu <hjl@gnu.org>
3039 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
3040 support the background job.
3043 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3045 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
3046 has same names but lower cost.
3048 2000-11-23 Jakub Jelinek <jakub@redhat.com>
3050 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
3051 which never occur during bootstrap.
3052 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3054 2000-11-23 Andreas Jaeger <aj@suse.de>
3056 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
3058 * nss/Versions: Remove _nss_files_getipnodebyname_r.
3060 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
3062 2000-11-18 Martin Buchholz <martin@xemacs.org>
3064 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
3067 2000-11-21 Alan Modra <alan@linuxcare.com.au>
3069 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
3071 * csu/abi-note.S: Correct comment for operating system number.
3073 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3075 * Versions.def: Add GLIBC_2.2.1 for glibc.
3077 2000-11-22 Andreas Schwab <schwab@suse.de>
3079 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3080 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3082 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3084 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3085 absolute time for pthread_cond_timedwait call.
3086 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3088 * rt/Makefile (tests): Add tst-aio6.
3089 * rt/tst-aio6.c: New file.
3091 2000-11-23 Andreas Jaeger <aj@suse.de>
3093 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3095 2000-11-22 Andreas Jaeger <aj@suse.de>
3097 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3099 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3101 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3103 2000-11-21 Andreas Schwab <schwab@suse.de>
3105 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3106 * sysdeps/arm/setjmp.S: Likewise.
3107 * sysdeps/arm/fpu/setjmp.S: Likewise.
3108 * sysdeps/i386/setjmp.S: Likewise.
3109 * sysdeps/i386/elf/setjmp.S: Likewise.
3110 * sysdeps/s390/setjmp.S: Likewise.
3111 * sysdeps/s390/elf/setjmp.S: Likewise.
3112 * sysdeps/sh/sh3/setjmp.S: Likewise.
3113 * sysdeps/sh/sh4/setjmp.S: Likewise.
3114 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3115 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3117 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3119 2000-11-21 Andreas Jaeger <aj@suse.de>
3121 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3122 NORETURN, fix parameter list.
3124 * string/bug-strncat1.c (main): Fix typo.
3125 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3127 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3129 * configure.in: Add --enable-all-warnings.
3130 * config.make.in (all-warnings): New variable.
3131 * Makeconfig (+gccwarn): Define with many more warnings if
3132 all-warnings is yes.
3134 2000-11-20 Jakub Jelinek <jakub@redhat.com>
3136 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3137 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3138 * malloc/tst-valloc.c (main): Cast valloc return value to long.
3139 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3140 * math/test-fpucw.c (main): Use %lx in format string, cast
3141 control words to long.
3142 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3143 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3144 large that it is unsigned warning.
3146 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3147 it to long on sparc64.
3149 2000-11-20 Andreas Jaeger <aj@suse.de>
3151 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3152 (receiv_print_stats): Likewise.
3154 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3156 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3158 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3160 * csu/gmon-start.c: Always have prototype for __gmon_start.
3161 * csu/version.c: Add prototypes for __libc_print_version and
3163 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3164 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3166 * iconv/gconv_builtin.h: Add ASCII module definitions.
3167 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3168 (add_module): Add cast to avoid warning. Rework construction of
3169 strings for new module.
3170 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3171 (derivation_compare): Likewise.
3172 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3173 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3174 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3175 (struct gconv_alias): Remove const from fromname and toname.
3176 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3178 (internal_ucs4_loop): Use correct const-ness.
3179 (ucs4_internal_loop): Likewise.
3180 (internal_ucs4le_loop): Likewise.
3181 (ucs4le_internal_loop_single): Likewise.
3182 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3183 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3184 assignments appropriately.
3185 (struct known_trans): Remove const from fname.
3186 (trans_compare): Make s1 and s2 const.
3187 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3189 * iconv/skeleton.c: Remove cast in calls of loop functions.
3190 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3191 * iconvdata/iso646.c: Remove US_ASCII support.
3192 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3193 * include/unistd.h: Add __libc_check_standard_fds prototype.
3194 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3195 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3197 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3198 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3199 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3201 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3202 __libc_init_first and _dl_start.
3203 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3204 (DCIGETTEXT): Make domaindata variable const.
3205 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3208 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3210 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3212 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3213 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3216 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3217 value defined in /usr/include/asm-mips/fcntl.h.
3219 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3221 * stdio-common/Makefile (tests): Add test-vfprintf.
3222 (test-vfprintf-ENV): New variable.
3223 * stdio-common/test-vfprintf.c: New file.
3225 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3227 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3228 (tst-mbrtowc-ENV): New variable.
3229 (tst-wcrtomb-ENV): New variable.
3230 * wcsmbs/tst-mbrtowc.c: New file.
3231 * wcsmbs/tst-wcrtomb.c: New file.
3233 2000-11-16 Andreas Jaeger <aj@suse.de>
3235 * manual/install.texi (Tools for Compilation): Update
3236 documentation for GCC 2.95.2.
3238 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3241 if IPv4 and IPv6 requests timed out.
3243 2000-11-18 Akim Demaille <akim@epita.fr>
3245 * malloc/obstack.h: Formatting changes.
3246 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3247 prevents type checking.
3248 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3249 cast the value to (void *): assigning a `foo *' to a `void *'
3251 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3253 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3255 * scripts/config.guess: Update from upstream maintainer.
3256 * scripts/config.sub: Likewise.
3258 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3260 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3261 * libio/freopen64.c (freopen64): Likewise.
3262 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3264 * libio/Makefile: Add rules to build and run test-freopen.
3265 * libio/test-freopen.c: New file.
3266 * libio/test-freopen.sh: New file.
3268 2000-11-15 H.J. Lu <hjl@gnu.org>
3270 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3271 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3272 (DL_DT_FINI_ADDRESS): Likewise.
3274 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3275 return type to ElfW(Addr).
3276 (_dl_function_address): New prototype.
3277 (DL_FUNCTION_ADDRESS): Defined.
3278 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3279 (DL_DT_FINI_ADDRESS): Likewise.
3281 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3283 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3284 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3286 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3287 (_dl_function_address): This.
3289 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3290 function pointer for DT_FINI.
3291 * elf/dl-close.c (_dl_close): Likewise.
3293 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3294 function pointer for DT_INIT.
3296 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3298 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3299 end of wexpbuf buffer.
3301 2000-11-16 Andreas Jaeger <aj@suse.de>
3303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3304 definition of F_GETLK, F_SETLK, F_SETLKW.
3306 2000-11-16 Andreas Jaeger <aj@suse.de>
3308 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3311 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3313 * dlfcn/default.c (main): Add test for dladdr of main returning
3314 argv[0] in dli_fname field.
3316 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3318 * Makeconfig (run-program-prefix): Move test-static test into the
3321 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3322 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3323 schedule instructions.
3324 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3325 schedule instructions, fix a bug in copying auxiliary data.
3327 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3329 * manual/startup.texi (Program Arguments): Fix type of main's envp
3331 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3333 * iconvdata/gconv-modules: Add CP950 alias.
3335 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3337 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3338 syscall-list.h goal.
3339 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3341 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3343 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3345 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3348 * intl/tst-gettext2.c: Set C locale if setting other locale
3349 failed. Use gettext() not _().
3351 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3352 successfully loaded a new locale.
3354 2000-11-13 Andreas Jaeger <aj@suse.de>
3356 * configure.in: Require gcc 2.95 or newer.
3358 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3360 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3361 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3363 2000-11-11 Jim Meyering <meyering@lucent.com>
3365 * string/strndup.c (strndup): Cast return value to `char *'.
3367 2000-11-15 Jim Meyering <meyering@ascend.com>
3369 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3370 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3371 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3372 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3373 Also #undef __memchr.
3374 Use `weak_alias' only if it's defined.
3376 2000-11-10 H.J. Lu <hjl@gnu.org>
3378 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3380 2000-11-15 Andreas Jaeger <aj@suse.de>
3382 * elf/chroot_canon.c: Include <stdint.h>.
3384 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3385 (print_entry): Likewise.
3386 (add_to_cache): Likewise.
3388 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3390 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3391 (path_hwcap): Likewise.
3392 (search_dir): Likewise.
3394 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3396 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3398 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3399 (_dl_platform_string): New.
3400 (_DL_HWCAP_PLATFORM): New.
3401 (_dl_string_platform): New.
3402 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3404 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3405 (_dl_string_platform): New.
3406 (_DL_HWCAP_PLATFORM): New.
3407 (_dl_platform_string): New.
3409 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3411 (_DL_HWCAP_COUNT): New.
3412 (_dl_string_platform): New.
3413 (_DL_HWCAP_PLATFORM): New.
3414 (_dl_platform_string): New.
3416 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3418 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3420 2000-11-14 Andreas Jaeger <aj@suse.de>
3422 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3424 2000-11-13 Roland McGrath <roland@frob.com>
3426 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3428 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3430 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3431 underrun and make sure the result is null terminated even if there
3432 is no trailing newline.
3434 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3436 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3438 2000-11-10 H.J. Lu <hjl@gnu.org>
3440 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3442 2000-11-10 Andreas Jaeger <aj@suse.de>
3444 * elf/ldconfig.c (create_links): Fix alloca calculation.
3445 Patch by Ben Collins <bcollins@debian.org>.
3447 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3449 * inet/getnameinfo.c (getnameinfo): Use correct destination
3450 parameter for if_indextoname.
3451 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3453 2000-11-09 H.J. Lu <hjl@gnu.org>
3455 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3456 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3457 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3460 * time/Versions (GLIBC_2.1): Move getitimer to...
3461 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3463 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3465 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3466 "make install", to work around a binary incompatibility between
3467 glibc 2.1 and glibc 2.2 gconv modules.
3469 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3471 * intl/locale.alias: Add thai.
3472 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3474 2000-11-07 Akim Demaille <akim@epita.fr>
3476 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3477 argument `data' for consistency with the prototypes.
3479 (obstack_copy, obstack_copy0): Rename the second argument as
3480 `address' for consistency. Qualify it `const'.
3481 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3482 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3483 `const' their input argument (`data' or `address').
3484 Adjust the corresponding macros to include `const' in casts.
3486 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3488 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3491 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3493 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3496 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3498 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3499 ai_protocol by internal table if service was not given.
3501 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3503 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3504 numerical port was specified with protocol without socktype.
3506 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3508 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3510 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3512 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3514 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3516 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3517 sin6_scope_id field.
3519 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3521 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3523 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3525 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3527 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3529 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3530 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3532 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3534 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3535 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3537 2000-11-09 H.J. Lu <hjl@gnu.org>
3539 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3542 See ChangeLog.11 for earlier changes.