1 2001-02-07 Ulrich Drepper <drepper@redhat.com>
3 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4 point in FILE structure before calling _IO_init.
5 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6 strfmon_l if necessary.
7 Reported by Jury Gerold <gjury@grips.com>.
9 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
10 Patch by Pekka.Pietikainen@cern.ch.
12 * posix/regex.c: Correct several problems with 64-bit architectures
13 introduced in the MBS changes.
14 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
16 2001-02-07 Jakub Jelinek <jakub@redhat.com>
18 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
20 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
22 2001-02-07 Andreas Jaeger <aj@suse.de>
24 * manual/install.texi (Tools for Compilation): Fix typo.
25 Reported by Pavel Machek <pavel@bug.ucw.cz>.
27 2001-02-07 Ulrich Drepper <drepper@redhat.com>
29 * stdlib/strtod.c: Never stop prematurely reading digits before the
30 decimal point is found. Compute exponent limit for negative exponents
31 correctly. For numbers ending in all zeros eat the zeroes even before
32 the decimal point if the exponent is negative [PR libc/2072].
33 * stdlib/Makefile (tests): Add bug-strtod.
34 * stdlib/bug-strtod.c: New file.
36 2001-02-07 Andreas Jaeger <aj@suse.de>
38 * posix/bug-regex1.c: Include <wchar.h> for fwide.
40 2001-02-06 Ulrich Drepper <drepper@redhat.com>
42 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
44 (compile_range): Handle index being passed, not pointer.
45 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
47 * posix/regex.c: Fix a cast in the code for bracket handling which
48 caused 8-bit uncleanliness.
49 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
51 * posix/Makefile (tests): Add bug-regex1.
52 * posix/bug-regex1.c: New file.
53 Contributed by Jim Meyering <jim@meyering.net>.
55 * posix/regex.c: Many cleanups for incorrect format strings.
57 2001-02-06 Andreas Jaeger <aj@suse.de>
59 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
61 2001-02-06 Ulrich Drepper <drepper@redhat.com>
63 * locale/programs/locale.c (write_locales): Use scandir to read
64 directory so that the entries are sorted.
66 2001-02-06 Andreas Jaeger <aj@suse.de>
68 * include/pthread.h: New file.
70 * wctype/wctype.h: Move internal interfaces from here to...
71 * include/wctype.h: ...here.
73 * wcsmbs/wchar.h: Move __wcslen from here to...
74 * include/wchar.h: ...here.
76 * posix/sys/wait.h: Move __wait from here to...
77 * include/sys/wait.h: ...here.
79 * string/string.h: Move __ffs and __strerror_r from here to...
80 * include/string.h: ...here.
82 * stdlib/stdlib.h: Move __on_exit from here to...
83 * include/stdlib.h: ...here.
85 * libio/stdio.h: Move __vsnprintf from here to...
86 * include/stdio.h: ...here.
88 2001-02-06 Andreas Schwab <schwab@suse.de>
90 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
93 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
96 2001-02-06 Ulrich Drepper <drepper@redhat.com>
98 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
100 2001-02-06 Andreas Jaeger <aj@suse.de>
102 * elf/firstobj.c: Add prototype.
104 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
105 (truncate_wchar): Likewise.
107 2001-02-06 Ulrich Drepper <drepper@redhat.com>
109 * locale/programs/locale.c: Implement --verbose option for -a
110 which prints detailed information about the locales.
112 2001-02-05 Ulrich Drepper <drepper@redhat.com>
114 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
115 variable to uint32_t.
116 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
118 2001-02-04 Bruno Haible <haible@clisp.cons.org>
120 * locale/C-translit.h.in: Add transliterations for CJK units of
123 2001-02-05 Ulrich Drepper <drepper@redhat.com>
125 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
126 string. Include <inttypes.h> instead of <stdint.h>.
128 * localedata/Makefile (tests): Add bug-iconv-trans.
129 Define bug-iconv-trans-ENV.
130 * localedata/bug-iconv-trans.c: New file.
132 2001-02-04 Bruno Haible <haible@clisp.cons.org>
134 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
135 pointer, to avoid accumulating output from incomplete (unsuccessful)
136 transliteration attempts.
138 2001-02-05 Ulrich Drepper <drepper@redhat.com>
140 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
141 string. Include <inttypes.h> instead of <stdint.h>.
143 * configure.in: Add check for bison.
144 * config.make.in: Define BISON variable.
145 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
146 Rename YFLAGS to BISONFLAGS.
148 2001-02-05 Andreas Jaeger <aj@suse.de>
150 * io/test-lfs.c (do_test): Test lseek64 return value, call
152 (test_ftello): New function to test ftello64 and fseeko64.
154 * signal/signal.h: Move __sigaction from here to...
155 * include/signal.h: ...here.
157 * io/fcntl.h: Move __fcntl and __open to...
158 * include/fcntl.h: ...here.
160 2001-02-04 Philip Blundell <philb@gnu.org>
162 * configure.in: Distinguish ARM from Thumb.
164 2001-02-04 Philip Blundell <philb@gnu.org>
166 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
167 PC24 relocs with negative value.
169 2001-02-04 Ulrich Drepper <drepper@redhat.com>
171 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
172 files in locale/programs. Add CFLAGS definition to allow compiling
174 * iconv/dummy-repertoire.c: New file.
175 * iconv/iconv_charmap.c: New file.
176 * iconv/iconv_prog.h: New file.
177 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
178 (main): If parameter for -f and -t contain slashes try first to resolve
179 the strings as filenames of charmap files. Use them for conversion
181 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
182 iconv getting charmap names as parameters.
183 * locale/programs/linereader.c (lr_token): Take extra parameters
184 verbose and pass it to get_string.
185 (get_string): Take extra parameters verbose.
186 * locale/programs/charmap.c (parse_charmap): Take extra parameters
187 verbose and be_quiet. Change all callers of lr_token and
189 * locale/programs/charmap.h: Likewise.
190 * locale/programs/ld-address.c: Likewise.
191 * locale/programs/ld-collate.c: Likewise.
192 * locale/programs/ld-ctype.c: Likewise.
193 * locale/programs/ld-identification.c: Likewise.
194 * locale/programs/ld-measurement.c: Likewise.
195 * locale/programs/ld-messages.c: Likewise.
196 * locale/programs/ld-monetary.c: Likewise.
197 * locale/programs/ld-name.c: Likewise.
198 * locale/programs/ld-numeric.c: Likewise.
199 * locale/programs/ld-paper.c: Likewise.
200 * locale/programs/ld-telephone.c: Likewise.
201 * locale/programs/ld-time.c: Likewise.
202 * locale/programs/linereader.c: Likewise.
203 * locale/programs/linereader.h: Likewise.
204 * locale/programs/localedef.c: Likewise.
205 * locale/programs/locfile.c: Likewise.
206 * locale/programs/locfile.h: Likewise.
207 * locale/programs/repertoire.c: Likewise.
209 2001-02-03 Ulrich Drepper <drepper@redhat.com>
211 * iconv/iconv_prog.c (main): If output file name is "-" write to
213 (main): If -f or -t argument is missing use charset of the current
216 2001-02-03 Andreas Jaeger <aj@suse.de>
218 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
219 boundary for SSE/SSE-2 alignment.
221 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
224 2001-02-03 Ulrich Drepper <drepper@redhat.com>
226 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
227 Remove comma at end of enum.
229 * elf/dl-init.c: Add a few __builtin_expect.
231 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
233 2001-02-02 Ulrich Drepper <drepper@redhat.com>
235 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
236 errno is ECONNREFUSED.
238 * posix/Makefile: Define MBS_SUPPORT for regex.c.
239 * posix/regex.c: Implement multibyte character handling.
240 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
242 * string/tst-svc.input: Add two more test cases.
243 * string/tst-svc.expect: Modify to reflect new test cases.
245 2001-02-01 Jakub Jelinek <jakub@redhat.com>
247 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
248 tp->name tests with tp->name[0] tests.
250 2001-01-29 Ben Collins <bcollins@debian.org>
252 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
253 Fix check for name == NULL.
255 2001-02-01 Ulrich Drepper <drepper@redhat.com>
257 * elf/Makefile: Add rules to build and run initfirst test.
258 * elf/initfirst.c: New file.
259 * elf/firstobj.c: New file.
261 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
262 * configure.in: Test for -z initfirst linker option.
263 * config.make.in: Add have-z-initfirst.
264 * elf/dl-init.c (_dl_init): Split out actual initialization code in
265 new function call_init. If _dl_initfirst is non-NULL initialize first.
266 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
267 remember object in _dl_initfirst.
268 * elf/soinit.c: Remove special support for calling
269 __pthread_initialize_minimal.
271 * conform/conformtest.pl: Add missing $prepend in type test.
273 2001-01-31 Ulrich Drepper <drepper@redhat.com>
275 * elf/elf.h (SHT_CHECKSUM): New definition.
277 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
278 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
279 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
281 2001-01-31 Mark Kettenis <kettenis@gnu.org>
283 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
284 to get definition of `struct timeval'.
286 2001-01-31 Ulrich Drepper <drepper@redhat.com>
288 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
289 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
291 2001-01-30 Ulrich Drepper <drepper@redhat.com>
293 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
296 * nis/nis_findserv.c: Include <time.h>.
298 2001-01-30 Yong Li <yong.li@asu.edu>
300 * iconv/iconv_prog.c (main): Correct error handling method name.
302 2001-01-29 Ben Collins <bcollins@debian.org>
304 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
305 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
306 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
307 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
309 2001-01-30 Ulrich Drepper <drepper@redhat.com>
311 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
312 Patch by Marko Myllynen <myllynen@lut.fi>.
314 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
315 (int instead of char).
316 (__strpbrk_c3): Likewise.
317 Reported by GOTO Masanori <gotom@debian.or.jp>.
319 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
320 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
321 * include/sys/socket.h: Add SA_LEN here for internal use.
322 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
324 2001-01-29 Ulrich Drepper <drepper@redhat.com>
326 * malloc/Makefile: Don't build memusagestat if cross-compiling.
328 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
330 * math/libm-test.inc (rint_test): Add a few more tests for round
333 2001-01-28 Ulrich Drepper <drepper@redhat.com>
335 * conform/data/pthread.h-data: Correct return type of pthread_exit.
337 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
339 * conform/data/stdlib.h-data: Add _Exit.
341 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
342 if not already happened.
343 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
344 Don't include <limits.h> and <bits/sockaddr.h>.
346 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
348 * conform/data/spawn.h-data: Allow all of <sched.h>.
350 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
353 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
354 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
356 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
358 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
359 * libio/stdio.h: Define va_list correctly.
361 * conform/data/pthread.h-data: Make priority protocol related
362 functions optional. Fix typos.
364 * posix/sched.h: Define sched_priority as __sched_priority.
365 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
367 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
369 2001-01-27 Ulrich Drepper <drepper@redhat.com>
371 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
374 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
375 * sysdeps/unix/time.c: Likewise.
377 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
378 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
379 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
380 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
381 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
382 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
383 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
384 * time/time.h: Likewise.
386 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
387 * conform/data/complex.h-data: New file.
388 * conform/data/tgmath.h-data: New file.
390 * conform/data/wchar.h-data: Add missing functions.
392 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
394 * conform/data/termios.h-data: Add missing const in tcsetattr()
397 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
398 Don't define pid_t here.
400 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
402 * conform/data/sys/time.h-data: Allow sys/select.h.
403 * conform/data/sys/un.h-data: Fix typo.
404 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
405 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
407 * sysdeps/unix/clock_nanosleep.c: Likewise.
408 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
409 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
410 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
411 * sysdeps/unix/clock_settime.c: Likewise.
413 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
414 * login/getutent.c: Likewise.
415 * login/getutid.c: Likewise.
416 * login/getutline.c: Likewise.
418 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
420 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
421 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
422 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
423 f_fsid field after change in struct statvfs.
424 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
425 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
426 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
428 * conform/data/sys/stat.h-data: Remove isfdtype. Use
431 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
432 recvfrom, send, and socketpair prototypes. Add allow lines.
433 * socket/sys/socket.h: Include <sys/uio.h>.
434 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
435 Fix type of second parameter of listen.
436 Don't declare isfdtype unless __USE_MISC.
437 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
438 * sysdeps/mach/hurd/listen.c: Likewise.
439 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
440 ss_family and __ss_family.
441 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
442 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
443 (struct msghdr): Change type of msg_iovlen to int and type of
444 msg_controllen to socklen_t.
445 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
446 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
447 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
448 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
449 (rresvport_af): Likewise.
451 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
452 * conform/conformtest.pl: Implement handling of symbol.
454 * signal/signal.h: Fix handling of __need_* symbols.
455 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
456 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
457 * include/sys/select.h: Use fd_set not __fd_set.
458 * sysdeps/generic/bits/select.h: Likewise.
459 * sysdeps/i386/bits/select.h: Likewise.
460 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
461 __FDELT, __FDMASK, and __fd_set here.
462 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
463 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
464 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
465 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
466 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
467 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
468 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
469 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
470 * time/sys/time.h: Define struct timeval before including <time.h>
473 * conform/data/sys/time.h-data: fd_set is a typedef.
474 * conform/data/sys/select.h-data: New file.
475 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
476 * conform/conformtest.pl (@headers): Add sys/select.h.
477 (type, optional-type): Unless testing a typedef instantiate object.
478 Implement optional-function.
480 * math/test-misc.c: Include <float.h>.
482 2001-01-27 Andreas Jaeger <aj@suse.de>
484 * misc/efgcvt_r.c: Include <float.h>.
486 2001-01-26 Ulrich Drepper <drepper@redhat.com>
488 * conform/data/stdlib.h-data: Account for XPG6 changes.
489 * stdlib/stdlib.h (__random): Change return value type to long.
490 (posix_memalign): Cleanup parameter names.
491 (setenv, unsetenv): Make available for __USE_XOPEN2K.
492 Change return type of unsetenv to int.
493 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
494 * include/stdlib.h: Change return type of unsetenv to int.
495 Change return type of random to long int.
496 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
497 Return -1 and set errno if parameter is invalid.
498 * stdlib/random.c (__random): Change return value type to long.
500 * conform/data/stdio.h-data: Account for changes in XPG6.
502 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
505 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
506 * conform/data/signal.h-data: Fix sigev_notify_function entry.
507 Fix typo (SIGVALRM -> SIGVTALRM).
508 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
510 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
511 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
512 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
514 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
516 * conform/conformtest.pl: Implement optional-element. Define
517 $mustprepend{"sched.h"}.
518 * conform/data/sched.h-data: Make sporadic scheduler definitions
521 * pwd/pwd.h: Don't define getpwent_r for XPG.
523 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
524 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
525 * sysdeps/mach/hurd/poll.c: Likewise.
526 * sysdeps/unix/bsd/poll.c: Likewise.
527 * sysdeps/unix/sysv/linux/poll.c: Likewise.
528 * sysdeps/unix/sysv/aix/poll.c: Likewise.
529 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
530 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
531 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
532 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
533 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
534 * conform/data/poll.h-data: Fix typo in poll prototype.
536 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
538 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
540 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
542 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
544 * conform/conformtest.pl: Implement optional-type.
546 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
547 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
548 defining uint32_t here. Define IPPORT_RESERVED.
549 (struct hostent): Type of h_length element is int.
550 (getnameinfo): Type of flags parameter is unsigned int.
551 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
552 * conform/data/netdb.h-data: Add many missing definitions.
554 * conform/conformtest.pl: Implement optional-macro.
555 * conform/data/math.h-data: Update for XPG6.
557 * math/math.h (HUGE): Define as FLT_MAX value but don't use
558 FLT_MAX. Don't include <float.h>.
559 (MAXFLOAT): Likewise.
561 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
563 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
565 * conform/data/limits.h-data: Mark constants as optional wherever
568 * posix/bits/posix2_lim.h: Set correct values for
569 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
572 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
575 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
577 * conform/data/netinet/in.h-data: Add reserved prefixes.
579 * conform/data/arpa/inet.h-data: Fix a few typos.
581 2001-01-26 Andreas Jaeger <aj@suse.de>
583 * sysdeps/generic/strtol.c: Include <locale.h>
584 * stdlib/strtod.c: Likewise
585 * stdlib/strfmon.c: Likewise.
586 * string/strcoll.c: Likewise.
587 * string/strxfrm.c: Likewise.
588 * wctype/wcfuncs_l.c: Likewise.
589 * wctype/wctype_l.c: Likewise.
590 * wctype/wctrans_l.c: Likewise.
592 * include/bits/locale.h: New file.
594 2001-01-26 Ulrich Drepper <drepper@redhat.com>
596 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
599 * locale/Makefile (headers): Add bits/locale.h.
600 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
601 and use __LC_ constants instead of LC_.
602 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
603 using __LC_ constants.
604 * locale/bits/locale.h: New file.
605 * locale/loadlocale.c: Include <locale.h>.
606 * locale/nl_langinfo.h: Likewise.
608 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
610 * io/sys/stat.h: Define S_IFSOCK for XPG6.
612 * conform/data/fcntl.h-data: posix_madvise is not expected here.
614 * conform/conformtest.pl: Fix handling of macro-str.
616 * conform/data/inttypes.h-data: Add missing definition and all of
619 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
621 2001-01-25 Ulrich Drepper <drepper@redhat.com>
623 * conform/conformtest.pl (@headers): Add stdint.h.
624 * conform/data/stdint.h-data: New file.
626 * conform/conformtest.pl: Recognize options --headers and
627 --dialect. Add dialect-specific CFLAGS.
629 * conform/conformtest.pl: Implement handling of recursive
632 * conform/data/locale.h-data: Add new struct lconv members.
634 * posix/wordexp.h: Correct definition of wordexp_t.
635 * posix/wordexp.c: Moved to ...
636 * sysdeps/generic/wordexp.c: ...here. New file.
637 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
638 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
640 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
642 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
643 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
645 * math/tgmath.h: Pretty printing.
647 * math/Makefile (tests): Add test-tgmath.
648 (CFLAGS-test-tgmath.c): New variable.
649 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
651 * conform/conformtest.pl: Handle allow-header in secondary headers
654 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
657 * conform/data/netinet/in.h-data: Use correct comment character.
658 * conform/data/sys/stat.h-data: Likewise.
660 2001-01-25 Jakub Jelinek <jakub@redhat.com>
662 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
663 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
664 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
665 __builtin_classify_type, add ##f suffixes where appropriate.
666 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
667 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
668 __builtin_classify_type.
669 (fma): Fix spelling of first argument.
671 2001-01-25 Ulrich Drepper <drepper@redhat.com>
673 * conform/data/unistd.h-data: Mark functions removed in XPG6
676 * posix/unistd.h: Don't make functions removed in XPG6 available if
679 * conform/conformtest.pl: Implement optional-constant.
680 * conform/data/unistd.h-data: Use optional-constant wherever
683 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
684 constants and add _SC_STREAMS.
685 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
687 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
688 make old name weak alias.
689 * sysdeps/generic/statvfs64.c: Likewise.
690 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
691 make old name weak alias.
692 * sysdeps/generic/fstatvfs64.c: Likewise.
693 * include/sys/statvfs.h: New file.
695 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
696 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
698 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
699 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
700 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
701 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
703 * conform/conformtest.pl: Run Unix tests for XPG6.
704 Implement handling of known namespace violations.
705 Improve printing of results.
707 * posix/unistd.h (usleep): Correct return type.
708 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
709 * sysdeps/unix/bsd/usleep.c: Correct return type.
710 * sysdeps/mach/usleep.c: Correct return type.
711 * sysdeps/generic/usleep.c: Correct return type.
713 * posix/unistd.h (sync): Correct return type.
714 * sysdeps/generic/sync.c: Likewise.
715 * sysdeps/mach/hurd/sync.c: Likewise.
717 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
719 * posix/unistd.h: Make seteuid and setegid available for XPG6.
721 * wcsmbs/wchar.h: Get FILE definition for XPG5.
723 * conform/data/ctype.h-data: Use correct comment form.
724 * conform/data/errno.h-data: Likewise.
725 * conform/data/math.h-data: Likewise.
726 * conform/data/mqueue.h-data: Likewise.
727 * conform/data/netdb.h-data: Likewise.
728 * conform/data/pthread.h-data: Likewise.
730 2001-01-24 Ulrich Drepper <drepper@redhat.com>
732 * conform/data/wordexp.h-data: Fix typo.
734 * conform/conformtest.pl: Handle allow-header correctly.
736 * conform/data/time.h-data: Use correct comment form.
738 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
740 * configure.in: Comment out binutils version test.
742 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
744 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
746 * stdlib/tst-strtod.c (locale_test): New function.
747 (main): Call locale_test.
748 * stdlib/Makefile (tst-strtod-ENV): New variable.
750 2001-01-24 Mark Kettenis <kettenis@gnu.org>
752 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
753 declaration of value such that we actually return the value of the
754 environment variable.
756 2001-01-24 Andreas Jaeger <aj@suse.de>
758 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
760 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
762 * include/sys/sysctl.h: New file.
764 2001-01-23 Andreas Jaeger <aj@suse.de>
766 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
769 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
770 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
773 * manual/install.texi (Tools for Compilation): Change required
776 2001-01-22 Andreas Jaeger <aj@suse.de>
778 * configure.in: Add test for new enough binutils version, move
779 compiler/binutils test up.
781 * Versions.def: Add version GLIBC_2.2.2.
783 2001-01-21 Ulrich Drepper <drepper@redhat.com>
785 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
787 * iconvdata/testdata/IBM932: New file.
788 * iconvdata/testdata/IBM932..UTF8: New file.
789 * iconvdata/testdata/IBM943: New file.
790 * iconvdata/testdata/IBM943..UTF8: New file.
791 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
793 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
795 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
797 2001-01-21 Ulrich Drepper <drepper@redhat.com>
799 * malloc/malloc.c: Remove a few unnecessary initializers of global
802 2000-12-09 H.J. Lu <hjl@gnu.org>
804 * nss/Makefile (routines): Add digits_dots.
805 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
806 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
808 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
810 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
811 (TYPE_VAR_P): Likewise.
812 (FLAGS_VAR): Likewise.
813 (AF_VAR_P): Likewise.
814 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
815 instead of including digits_dots.c.
816 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
817 (TYPE_VAR_P): Likewise.
818 (FLAGS_VAR): Likewise.
819 (AF_VAR_P): Likewise.
820 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
821 instead of including digits_dots.c.
823 2001-01-21 Ulrich Drepper <drepper@redhat.com>
825 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
827 2001-01-21 Andreas Jaeger <aj@suse.de>
829 * elf/constload2.c: Add prototype for init.
831 2001-01-21 Ulrich Drepper <drepper@redhat.com>
833 * stdlib/stdlib.h (drand48_data): Make available only for
834 __USE_MISC. Rename elements to protect namespace. Change type
835 and position of a and init element.
836 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
837 differently. Adjust for drand48_data change. Don't compute a here,
838 it comes from drand48_data.
839 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
840 differently. Adjust for drand48_data change. Compute a here.
841 * stdlib/srand48_r.c: Likewise.
842 * stdlib/drand48.c: Adjust for drand48_data change.
843 * stdlib/lrand48.c: Likewise.
844 * stdlib/mrand48.c: Likewise.
845 * stdlib/seek48.c: Likewise.
846 * stdlib/drand48_r.c: Likewise.
847 * stdlib/lrand48_r.c: Likewise.
848 * stdlib/mrand48_r.c: Likewise.
849 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
851 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
852 * stdlib/jrand48_r.c: Likewise.
854 * po/sv.po: Update from translation team.
856 2001-01-21 Andreas Jaeger <aj@suse.de>
858 * stdio-common/vfprintf.c (vfprintf): Add casts.
860 2001-01-20 Ulrich Drepper <drepper@redhat.com>
862 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
864 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
866 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
867 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
868 * iconvdata/ibm932.c: New file.
869 * iconvdata/ibm932.h: New file.
870 * iconvdata/ibm943.c: New file.
871 * iconvdata/ibm943.h: New file.
872 Patches by Masahide Washizawa <washi@jp.ibm.com>.
874 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
875 preventing optimization from being done. Set the correct type bit
876 in seen. Don't define and use _dl_base_addr unless
877 NEED_DL_BASE_ADDR is defined.
879 * io/ftw.c (ftw_dir): Add slash after directory name if there
880 wasn't any. Reported by loris <loris@iol.it>.
881 * io/Makefile (tests): Add bug-ftw2.
882 * io/bug-ftw2.c: New file.
884 2001-01-19 Ulrich Drepper <drepper@redhat.com>
886 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
887 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
888 * stdlib/tst-rand48.c: New file.
889 * stdlib/Makefile (tests): Add tst-rand48.
891 * locale/newlocale.c (__newlocale): Fix test for setting all
894 2001-01-19 Mark Kettenis <kettenis@gnu.org>
896 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
897 but change looking up the initial directory port in a similar way
898 as done by _hurd_change_directory_port_from_name.
899 * hurd/fchroot.c (fchroot): Likewise.
901 2001-01-18 Ulrich Drepper <drepper@redhat.com>
903 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
904 defined don't look whether the AT_*ID values were set.
905 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
906 (_dl_show_auxv): Rewrite to avoid switch statement.
907 * sysdeps/unix/sysv/linux/kernel-features.h: Define
908 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
909 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
910 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
912 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
913 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
914 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
916 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
918 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
919 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
921 * dlfcn/eval.c (__strtol_internal): Define here.
922 (eval): Use __strtol_internal instead of strtol.
924 * elf/elf.h: Add a few more EF_MIPS_* constants.
926 2001-01-17 Ulrich Drepper <drepper@redhat.com>
928 * manual/Makefile (chapters): Add debug.
929 * manual/debug.texi: New file.
930 * manual/examples/execinfo.c: New file.
931 Patch by suckfish@ihug.co.nz.
933 2001-01-17 Andreas Schwab <schwab@suse.de>
935 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
938 2001-01-17 Andreas Jaeger <aj@suse.de>
940 * nscd/connections.c (nscd_run): Use proper format specifier.
942 2001-01-16 Ulrich Drepper <drepper@redhat.com>
944 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
945 x86_platforms data into new file after prepending _dl_. Change
947 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
948 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
949 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
952 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
954 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
955 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
956 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
958 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
959 * sysdeps/i386/bsd-setjmp.S: Real implementation.
960 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
961 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
964 2001-01-16 Andreas Jaeger <aj@suse.de>
966 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
967 misapplied last patch.
969 2001-01-15 Ulrich Drepper <drepper@redhat.com>
971 * stdlib/random.c (__initstate): Clean up a cast.
972 (__setstate): Likewise.
974 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
975 syscall handling. The generic Linux version should work.
977 2001-01-15 Andreas Jaeger <aj@suse.de>
979 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
981 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
983 2001-01-14 Jakub Jelinek <jakub@redhat.com>
985 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
986 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
988 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
989 If number is 0, list all.
990 (services_keys): Likewise. Lookup aliases as well.
991 (databases): New table.
992 (build_doc): Prepare argp doc text with list of supported databases.
993 (main): Change to table driven processing.
995 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
997 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1000 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1002 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1003 encode value which does not fit in the 32bit type.
1005 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
1007 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1008 Change type of CTX to (struct sigcontext *).
1009 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1010 (GET_FRAME): Likewise.
1011 (GET_STACK): Likewise.
1012 (SIGCONTEXT): Likewise. Add 2nd arg _code.
1013 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1015 2001-01-13 Ulrich Drepper <drepper@redhat.com>
1017 * manual/texinfo.tex: Update from upstream version.
1019 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1021 * inet/ether_ntoh.c (lookup_function): Change arguments to match
1022 _nss_*_getntohost_r prototype.
1023 (ether_ntohost): Pass errno pointer to NSS function.
1025 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1028 (MAP_LOCKED): New definition.
1029 (MAP_NORESERVE): New definition.
1031 2001-01-12 Ulrich Drepper <drepper@redhat.com>
1033 * assert/assert.h: Use static_cast instead of C-style cast for C++.
1034 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1036 2001-01-12 Ben Collins <bcollins@debian.org>
1038 * sysdeps/generic/segfault.c (install_handler): Use access, not
1041 2001-01-12 Andreas Jaeger <aj@suse.de>
1043 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1044 * posix/wordexp.c (do_parse_glob): Likewise.
1045 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1046 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1047 * elf/dl-open.c (_dl_open): Likewise.
1048 * elf/dl-close.c (_dl_close): Likewise.
1049 * elf/dl-load.c (_dl_map_object): Likewise.
1050 * iconv/iconv_prog.c (process_fd): Likewise.
1051 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1053 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1054 of a zero-length array.
1056 2001-01-11 Jakub Jelinek <jakub@redhat.com>
1058 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1059 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1060 * stdlib/cxa_on_exit.c: Remove.
1061 * stdlib/Makefile: Revert last patch.
1062 * stdlib/Versions: Likewise.
1063 * include/stdlib.h: Likewise.
1064 * stdlib/exit.h: Revert last patch.
1065 (struct exit_function): Add second argument to cxa fn.
1066 * stdlib/exit.c: Revert last patch.
1067 (exit): Add hidden second argument.
1069 2001-01-11 H.J. Lu <hjl@gnu.org>
1071 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1072 * elf/dl-open.c (_dl_open): Here.
1073 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1075 (_dl_static_init): Initialize the variables every time when possible.
1076 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1079 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1081 * stdlib/Makefile (routines): Add cxa_on_exit.
1082 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1083 * stdlib/cxa_on_exit.c: New file.
1084 * include/stdlib.h: Add prototype for __cxa_on_exit.
1085 * stdlib/exit.c: Handle ef_cxa2.
1086 * stdlib/exit.h (enum): Add ef_cxa2.
1087 (struct exit_function): Add cxa2.
1089 * Versions.def [ld]: Add GLIBC_2.2.1.
1091 2001-01-10 H.J. Lu <hjl@gnu.org>
1093 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1094 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1096 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1097 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1098 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1099 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1100 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1102 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1104 * libio/stdio.h: Remove definition of off_t.
1106 2001-01-11 Andreas Jaeger <aj@suse.de>
1108 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1111 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1113 * sunrpc/Makefile (distribute): Add errqueue.h.
1115 2001-01-10 H.J. Lu <hjl@gnu.org>
1117 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1118 r9, r10 and r11 for language specific registers.
1120 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1122 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1124 (clntudp_call): Handle MSG_ERRQUEUE.
1125 * sysdeps/generic/errqueue.h: New file.
1126 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1128 2001-01-10 H.J. Lu <hjl@gnu.org>
1130 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1132 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1134 * CONFORMANCE: Update.
1136 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1138 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1139 Minimal cleanups. Add assert to ensure memory handling is correct.
1141 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1142 Reported by Ben Collins <bcollins@debian.org>.
1144 * time/strftime.c (my_strftime): Mark previous GNU extensions
1145 which are now in C99 as such.
1147 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1149 * elf/rtld.c (process_envvars): Place output files for profiling
1150 in SUID binaries in /var/profile.
1152 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1153 preloading in SUID binaries.
1155 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1156 O_NOFOLLOW if possible.
1158 * include/stdlib.h: Add __posix_openpt declaration.
1159 * stdlib/stdlib.h: Add posix_openpt declaration.
1160 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1161 * sysdeps/generic/getpt.c: Define posix_openpt.
1162 * sysdeps/unix/bsd/getpt.c: Likewise.
1163 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1165 * time/Makefile (tests): Add tst-mktime.
1166 * time/tst-mktime.c: New file.
1168 * posix/tst-dir.c (main): One more mkdir() test.
1170 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1171 Remove getpagesize syscall. We assume that the pagesize is always
1172 determined from the auxiliary vector.
1174 * intl/dcigettext.c: Fix a few warnings.
1175 Patch by Bruno Haible <haible@ilog.fr>.
1177 2001-01-08 Andreas Jaeger <aj@suse.de>
1179 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1180 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1182 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1184 * sysdeps/generic/segfault.c (install_handler): Check output file
1187 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1188 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1190 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1192 * malloc/memusage.c (me): Use access() to determine whether we
1193 should write the output file or not.
1195 * libio/bits/stdio.h (printf): Define macro to map printf call to
1196 fprintf which gcc can optimize.
1197 * stdio-common/printf.c: Undefine printf.
1199 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1201 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1202 patch. We must use unsigned int for l member of union.
1204 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1205 _dl_aux_init for shared libraries.
1207 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1208 * sysdeps/gnu/glob64.c: ...here. New file.
1210 2001-01-07 Ben Collins <bcollins@debian.org>
1212 * manual/examples/longopt.c: Make the "struct option" a little
1213 more like it should be, adding usage of required_argument,
1214 noargument and such, and also setting the options string right.
1216 * manual/sysinfo.texi (Load Average): New section, documents
1219 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1221 * version.h (VERSION): Bump to 2.2.1.
1223 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1224 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1225 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1226 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1227 * Makefile (distribute): Add include/libc-internal.h.
1228 * libio/Makefile (distribute): Avoid overwriting.
1230 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1231 buffer and table handling.
1233 2001-01-05 H.J. Lu <hjl@gnu.org>
1235 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1236 vector checking to ...
1237 (_dl_aux_init): Here. New function. Defined only if
1238 HAVE_AUX_VECTOR is defined.
1240 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1241 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1243 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1246 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1247 (HAVE_AUX_VECTOR): Defined.
1248 (_dl_aux_init): Declared.
1250 2001-01-05 Ben Collins <bcollins@debian.org>
1252 * manual/string.texi (Finding Tokens in a String): Document XPG
1253 basename() and dirname(), as well as GNU basename().
1255 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1257 * Makeconfig (preprocess-version): Replace -traditional with
1258 -x assembler-with-cpp.
1260 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1262 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1263 for GCC 2.97 or later.
1265 2001-01-05 Ben Collins <bcollins@debian.org>
1267 * manual/stdio.texi (getline): Clarify the return value in the
1268 case of EOF being reached before a newline.
1270 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1272 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1274 (pmap_set, pmap_unset): Check __get_myaddress return value.
1276 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1278 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1279 (struct ether_addr): Declare ether_addr_octet member as
1280 `u_int8_t'. Add __attribute__ ((__packed__)).
1282 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1284 * sysdeps/mach/hurd/readdir64.c: New file.
1285 * sysdeps/mach/hurd/readdir64_r.c: New file.
1287 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1289 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1290 `struct statfs' and `struct statvfs' being identical.
1291 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1293 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1295 * sysdeps/mach/hurd/fstatfs64.c: New file.
1296 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1297 * sysdeps/mach/hurd/statfs64.c: New file.
1298 * sysdeps/mach/hurd/statvfs64.c: New file.
1299 * sysdeps/mach/hurd/statfsconv.c: New file.
1300 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1302 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1304 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1305 Reported by Owen Taylor <otaylor@redhat.com>.
1306 * iconv/Makefile (tests): Add tst-iconv3.
1307 * iconv/tst-iconv3.c: New file.
1309 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1310 * iconvdata/ibm933.c: Likewise.
1311 * iconvdata/ibm935.c: Likewise.
1312 * iconvdata/ibm937.c: Likewise.
1313 * iconvdata/ibm939.c: Likewise.
1314 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1315 * iconvdata/ibm933.h: Likewise.
1316 * iconvdata/ibm935.h: Likewise.
1317 * iconvdata/ibm939.h: Likewise.
1319 * iconvdata/testdata/IBM930: Add misssing SI.
1320 * iconvdata/testdata/IBM933: Likewise.
1321 * iconvdata/testdata/IBM935: Likewise.
1322 * iconvdata/testdata/IBM937: Likewise.
1323 * iconvdata/testdata/IBM939: Likewise.
1325 2001-01-06 Andreas Jaeger <aj@suse.de>
1327 * configure.in: Check for old add-ons that shouldn't be used with
1328 current glibc anymore.
1330 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1332 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1333 instead of -1 on failure. Don't forget to copy file name into
1334 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1337 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1339 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1340 copy st_atime member.
1342 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1344 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1345 for searches from the root directory.
1346 Reported by loris <loris@iol.it> [PR libc/1991].
1347 * io/Makefile (tests): Add bug-ftw1.
1348 * io/bug-ftw1.c: New file.
1350 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1351 if it is not available. Instead use it only if it is available.
1352 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1354 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1355 overflowing output buffer.
1356 (internal_ucs4_loop_unaligned): Likewise.
1357 (ucs4_internal_loop): Likewise.
1358 (ucs4_internal_loop_unaligned): Likewise.
1359 (internal_ucs4le_loop): Likewise.
1360 (internal_ucs4le_loop_unaligned): Likewise.
1361 (ucs4le_internal_loop): Likewise.
1362 (ucs4le_internal_loop_unaligned): Likewise.
1363 Reported by Owen Taylor <otaylor@redhat.com>.
1364 * iconv/Makefile (tests): Add tst-iconv2.
1365 * iconv/tst-iconv2.c: New file.
1367 2001-01-04 H.J. Lu <hjl@gnu.org>
1369 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1370 (_dl_clktck): Declared.
1371 (non_dynamic_init): Take 3 arguments.
1372 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1374 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1376 Finish implementation of plural form handling.
1377 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1378 'domainname'. Remove 'plindex' field. Add 'domain' and
1379 'translation_length' fields.
1380 (transcmp): Don't compare 'plindex' fields.
1381 (plural_lookup): New function.
1382 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1383 plural_eval before the translation and its catalog file have been
1384 found. Remove plindex from cache key. Add 'translation_length' and
1385 'domain' to cache result.
1386 (_nl_find_msg): Remove index argument, return length of translation
1387 to the caller instead. Weaken comparison of string lengths, to account
1388 for plural entries. Call iconv() on the entire result string, not
1389 only on the portion needed so far.
1390 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1392 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1394 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1396 * intl/plural.y (yylex): Minimal improvement in number scanner.
1398 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1400 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1401 C compilers that don't support it.
1402 (yylex): Don't use gcc specific case range syntax.
1403 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1406 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1408 * intl/finddomain.c: Remove unneeded includes.
1410 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1412 * intl/localealias.c (memcpy): Return first argument, just like the
1413 real memcpy function does.
1414 * intl/bindtextdom.c (memcpy): Likewise.
1415 * intl/finddomain.c (memcpy): Likewise.
1416 * intl/l10nflist.c (memcpy): Likewise.
1417 * intl/textdomain.c (memcpy): Likewise.
1418 From Paul Eggert <eggert@twinsun.com>.
1420 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1422 * resolv/resolv.h (struct __res_state): Add nsinit field.
1423 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1424 * resolv/res_init.c (__res_vinit): Initialize it.
1425 (res_nclose): Clear it instead of nscount.
1427 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1429 * malloc/mtrace.pl: Fix matching of addresses.
1430 Patch by Aharon Robbins <arnold@skeeve.com>.
1432 * Versions.def (ld): Add GLIBC_2.2.
1434 * catgets/gencat.c: Copyright 2001.
1435 * csu/version.c: Likewise.
1436 * debug/catchsegv.sh: Likewise.
1437 * debug/xtrace.sh: Likewise.
1438 * elf/ldconfig.c: Likewise.
1439 * elf/sprof.c: Likewise.
1440 * iconv/iconv_prog.c: Likewise.
1441 * locale/locale.c: Likewise.
1442 * locale/localedef.c: Likewise.
1443 * malloc/memusage.sh: Likewise.
1444 * malloc/mtrace.pl: Likewise.
1445 * nscd/nscd.c: Likewise.
1446 * posix/getconf.c: Likewise.
1448 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1450 * include/stdio.h: Only provide __getwc_unlocked prototype if
1451 USE_IN_LIBIO is defined.
1453 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1455 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1458 2001-01-03 Andreas Schwab <schwab@suse.de>
1460 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1461 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1463 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1464 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1466 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1467 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1470 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1472 * sysdeps/generic/strtol_l.c: Likewise.
1473 * sysdeps/generic/strtoul_l.c: Likewise.
1474 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1476 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1477 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1478 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1479 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1481 2001-01-04 Andreas Jaeger <aj@suse.de>
1483 * nss/nsswitch.c: Include files for missing prototypes, remove
1484 buggy declaration of prototypes.
1486 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1488 * resolv/Versions: Fix bracing.
1489 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1490 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1492 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1494 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1496 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1498 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1499 Suggested by Minko Markov <mmarkov@home.com>.
1501 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1503 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1504 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1506 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1508 2001-01-02 Ben Collins <bcollins@debian.org>
1510 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1511 if TZ is not set and TZDEFAULT is not present.
1513 2001-01-01 Ben Collins <bcollins@debian.org>
1515 * string/strings.h: Make sure we declare our functions even if
1516 string.h is already included, based on whether or not __USE_BSD is
1519 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1521 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1522 other dlopen() and dlsym().
1523 Based on a patch by Ben Collins <bcollins@debian.org>.
1525 2001-01-02 Andreas Jaeger <aj@suse.de>
1527 * dlfcn/errmsg1.c (main): Call dlerror initially.
1528 Reported by Ben Collins <bcollins@debian.org>.
1530 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1532 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1533 value is ignored if the selected locale is the C locale.
1534 * intl/tst-gettext.c: Set locale for above change.
1535 * intl/tst-translit.c: Likewise.
1537 2001-01-02 Andreas Jaeger <aj@suse.de>
1539 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1540 (_IO_switch_to_wget_mode): Likewise.
1541 (_IO_sputbackwc): Likewise.
1542 (_IO_sungetwc): Use wint_t for result.
1544 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1546 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1549 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1550 to (int) to avoid warnings.
1551 * stdio-common/printf_fp.c (putc): Likewise.
1552 * stdio-common/printf_size.c (putc): Likewise.
1554 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1557 2001-01-01 Andreas Jaeger <aj@suse.de>
1559 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1561 2000-12-31 Andreas Jaeger <aj@suse.de>
1563 * include/libc-internal.h: Add prototype for __libc_freeres.
1565 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1566 for prototypes, remove redundant prototypes.
1567 * gmon/gmon.c: Likewise.
1568 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1569 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1570 * malloc/mtrace.c: Likewise.
1572 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1574 * elf/soinit.c: Likewise.
1575 * sysdeps/generic/prof-freq.c: Likewise.
1576 * sysdeps/mach/hurd/profil.c: Likewise.
1577 * debug/noophooks.c: Likewise.
1578 * debug/pcprofile.c: Likewise.
1579 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1580 * sysdeps/generic/get_clockfreq.c: Likewise.
1581 * malloc/set-freeres.c: Likewise.
1583 * locale/localeinfo.h: Add internal prototypes.
1585 * elf/rtld.c (dl_main): Fix prototype.
1587 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1590 * nis/rpcsvc/yp_prot.h: Remove __P.
1591 * nis/rpcsvc/ypupd.h: Likewise.
1592 * nis/rpcsvc/yp.h: Likewise.
1594 * sunrpc/rpc_main.c: Add noreturn attributes.
1595 * sunrpc/rpc_scan.h: Likewise.
1597 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1599 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1601 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1603 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1605 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1607 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1609 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1610 * include/rpc/auth.h: Likewise.
1611 * include/rpc/auth_des.h: Likewise.
1612 * include/rpc/clnt.h: Likewise.
1613 * include/rpc/rpc.h: Likewise.
1614 * include/rpc/svc.h: Likewise.
1615 * include/rpc/svc_auth.h: Likewise.
1617 * include/rpc/des_crypt.h: New file.
1619 * malloc/memusagestat.c (main): Use return instead of exit to
1621 * io/pwd.c (main): Likewise.
1622 * iconvdata/tst-table-from.c (main): Likewise.
1623 * ctype/test_ctype.c (main): Likewise.
1624 * setjmp/tst-setjmp.c (main): Likewise.
1625 * signal/tst-signal.c (main): Likewise.
1626 * stdlib/tst-strtol.c (main): Likewise.
1627 * stdlib/tst-strtod.c (main): Likewise.
1628 * stdlib/tst-strtoll.c (main): Likewise.
1629 * stdlib/tst-xpg-basename.c (main): Likewise.
1630 * dirent/tst-seekdir.c (main): Likewise.
1631 * grp/testgrp.c (main): Likewise.
1632 * inet/test_ifindex.c (main): Likewise.
1633 * io/test-utime.c (main): Likewise.
1634 * posix/test-vfork.c (main): Likewise.
1635 * posix/testfnm.c (main): Likewise.
1636 * stdio-common/temptest.c (main): Likewise.
1637 * stdio-common/test_rdwr.c (main): Likewise.
1638 * stdio-common/tst-fileno.c (main): Likewise.
1639 * stdio-common/tst-sscanf.c (main): Likewise.
1640 * stdio-common/tstscanf.c (main): Likewise.
1641 * string/bug-strncat1.c (main): Likewise.
1642 * string/bug-strpbrk1.c (main): Likewise.
1643 * string/bug-strspn1.c (main): Likewise.
1644 * string/test-ffs.c (main): Likewise.
1645 * string/tst-inlcall.c (main): Likewise.
1646 * string/tst-svc.c (main): Likewise.
1647 * timezone/test-tz.c (main): Likewise.
1648 * wctype/test_wcfuncs.c (main): Likewise.
1649 * wctype/test_wctype.c (main): Likewise.
1651 * stdlib/tst-random.c: Add attribute noreturn to fail.
1653 2000-12-28 Wolfram Gloger <wg@malloc.de>
1655 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1656 destination overlap. Assume dest is always below source if
1659 2000-12-30 Ulrich Drepper <drepper@redhat.com>
1661 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1662 object was not yet initialized.
1664 2000-12-28 H.J. Lu <hjl@gnu.org>
1666 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1667 is always consistent even if its dependency is failed.
1669 * elf/dl-open.c (_dl_open): Increment the open count before
1670 calling _dl_close () in case of failure.
1672 * elf/neededtest4.c: New file.
1673 * elf/neededobj5.c: New file.
1674 * elf/neededobj6.c: New file.
1676 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1677 (tests): Add neededtest4.
1678 (modules-names): Add neededobj5 and neededobj6.
1679 ($(objpfx)neededobj6.so): New target.
1680 ($(objpfx)neededtest4): New target.
1681 ($(objpfx)neededtest4.out): New target.
1683 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1685 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1686 * stdlib/monetary.h: Add strfmon format attributes.
1688 2000-12-28 Roland McGrath <roland@frob.com>
1690 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1691 __mempcpy does it for us.
1693 2000-12-28 Andreas Jaeger <aj@suse.de>
1695 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1697 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1700 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1703 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1706 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1707 __chown_is_lchown and __real_chown.
1709 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1712 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1713 up GCC's warning about "deprecated use of label at end of compound
1715 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1717 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1719 Remove struct bb and __bb_head since those are declared by
1722 2000-12-22 Ben Collins <bcollins@debian.org>
1724 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1726 * manual/argp.texi: Document argp_domain as part of struct argp.
1728 2000-12-28 Andreas Jaeger <aj@suse.de>
1730 * catgets/Makefile (generated): Add sample.SJIS.cat.
1732 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1734 * elf/dl-minimal.c: Add prototypes.
1736 * include/locale.h: Add internal prototypes.
1737 * include/sys/gmon.h: Likewise.
1739 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1741 2000-12-27 Ben Collins <bcollins@debian.org>
1743 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1744 when reallocating the error strings.
1745 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1747 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1749 * dlfcn/Makefile (tests): Add errmsg1.
1750 (modules-names): Add errmsg1mod.
1751 Add rules to run errmsg1.
1752 * dlfcn/errmsg1.c: New file.
1753 * dlfcn/errmsg1mod.c: New file.
1755 * dlfcn/dlerror.c (dlerror): Always create output string which
1756 includes object file name.
1758 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1759 if we would go through it only once.
1760 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1762 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1763 Patch by Richard Henderson <rth@redhat.com>.
1765 2000-12-27 Jakub Jelinek <jakub@redhat.com>
1767 * malloc/malloc.c (memmove): Add prototypes.
1768 (MALLOC_MEMMOVE): Define.
1769 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1770 destination might overlap.
1772 2000-12-27 Andreas Jaeger <aj@suse.de>
1774 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1776 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1777 * locale/programs/locale.c (show_locale_vars): Likewise.
1778 (show_info): Likewise.
1779 * locale/programs/ld-collate.c (collate_output): Likewise.
1780 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1781 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1782 * stdlib/rpmatch.c (rpmatch): Likewise.
1784 * setjmp/tst-setjmp.c: Make local functions static.
1785 * setjmp/jmpbug.c: Likewise.
1786 * signal/tst-signal.c: Likewise.
1787 * stdio-common/tfformat.c: Likewise.
1788 * string/tst-svc.c: Likewise.
1789 * time/clocktest.c: Likewise.
1790 * time/tst-getdate.c: Likewise.
1791 * dirent/list.c: Likewise.
1792 * dirent/opendir-tst1.c: Likewise.
1793 * posix/runtests.c: Likewise.
1794 * posix/tst-getaddrinfo.c: Likewise.
1795 * posix/tst-chmod.c: Likewise.
1796 * posix/wordexp-test.c: Likewise.
1797 * misc/tst-efgcvt.c: Likewise.
1798 * timezone/tst-timezone.c: Likewise.
1799 * rt/tst-clock.c: Likewise.
1800 * rt/tst-shm.c: Likewise.
1801 * rt/tst-aio2.c: Likewise.
1802 * rt/tst-aio3.c: Likewise.
1803 * rt/tst-aio4.c: Likewise.
1804 * rt/tst-aio5.c: Likewise.
1806 * dlfcn/failtest.c: Add prototype for foo.
1808 * dlfcn/glrefmain.c: Add prototype for do_test.
1810 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1812 * string/test-ffs.c (main): Add prototype for nested function.
1814 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1816 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1818 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1819 setetherent prototype.
1820 Add internal interfaces.
1822 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1825 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1827 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1829 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1830 prototypes, remove struct etherent since it's declared in ether.h.
1831 Fix ntohost declaration.
1833 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1835 * include/getopt.h: Add internal interfaces.
1836 * include/termios.h: Likewise.
1837 * include/resolv.h: Likewise.
1838 * include/netdb.h: Likewise.
1839 * include/grp.h: Likewise.
1840 * include/pwd.h: Likewise.
1841 * include/shadow.h: Likewise.
1842 * include/rpc/netdb.h: Likewise.
1843 * include/setjmp.h: Likewise.
1845 * include/stdio.h: Add prototypes for compatibility functions.
1846 * include/grp.h: Likewise.
1847 * include/pwd.h: Likewise.
1848 * include/shadow.h: Likewise.
1850 * include/fenv.h: Define internal interfaces.
1852 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1854 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1855 argument case separately.
1856 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1858 2000-12-27 Andreas Jaeger <aj@suse.de>
1860 * include/sys/wait.h: Add some prototypes.
1861 * Rules (dummy.c): Create also prototype to shut up GCC.
1863 2000-12-27 Andreas Jaeger <aj@suse.de>
1865 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1866 it's not needed at the moment.
1867 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1868 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1870 2000-12-26 Andreas Jaeger <aj@suse.de>
1872 * libio/getc_u.c: Include stdio.h via system path to get internal
1874 * libio/getwc_u.c: Likewise.
1876 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1878 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1879 __printf_fp prototypes to ...
1880 * include/printf.h: ...here.
1882 * include/stdio.h: Add some internal prototypes to shut up GCC.
1883 * include/stdlib.h: Likewise.
1885 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1888 * include/signal.h: Add prototypes for internal sigpause
1891 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1893 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1894 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1896 * string/Makefile (tests): Add tst-bswap.
1897 * string/tst-bswap.c: New file.
1899 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1901 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1903 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1905 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1906 Patch by Ed Connell <Ed.Connell@sas.com>.
1908 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1910 * locale/iso-639.def: Correct one entry. Add two missing entries.
1912 * locale/iso-4217.def: Change entry for Eritrea.
1913 Reported by Daniel Yacob <yacob@geez.org>.
1915 2000-12-23 Ben Collins <bcollins@debian.org>
1917 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1920 * manual/stdio.texi (Dynamic Output): Document the return value of
1921 asprintf. Also make the asprintf/snprintf examples a little
1922 better (check for some error returns).
1924 2000-12-22 Andreas Jaeger <aj@suse.de>
1926 * include/stdio.h: Add __ftrylockfile prototype.
1928 2000-12-21 H.J. Lu <hjl@gnu.org>
1930 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1931 Make sign_exponent element signed.
1933 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1936 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1938 2000-12-21 Andreas Jaeger <aj@suse.de>
1940 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1941 * inet/ether_hton.c: Likewise
1942 * inet/ether_ntoh.c: Likewise.
1944 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1945 declaration to match prototype.
1947 * include/netinet/ether.h (struct etherent): Declare here so that
1948 all implementations use the same struct.
1950 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1952 (struct ether): Removed.
1953 Use struct etherent instead of ether everywhere.
1955 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1957 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1959 * sunrpc/publickey.c: Include auth_des.h for prototypes.
1961 2000-12-20 Ulrich Drepper <drepper@redhat.com>
1963 * math/test-misc.c: Add more tests for nextafter functions.
1965 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1966 normal correctly. Correct test for sign.
1967 Based on a patch by HJ Lu.
1969 2000-12-19 Ulrich Drepper <drepper@redhat.com>
1971 * Makeconfig (preprocess-version): Add -traditional to gcc call.
1974 2000-12-19 Andreas Jaeger <aj@suse.de>
1976 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1978 * nis/nis_intern.h: Add prototype for __do_niscall3.
1980 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1983 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1985 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1987 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1989 2000-12-18 Ulrich Drepper <drepper@redhat.com>
1991 * math/test-misc.c: Add more tests for nextafter.
1992 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1993 * sysdeps/ieee754/ldbl-96/math_ldbl.h
1994 (ieee_long_double_shape_type): Make sign_exponent element signed.
1996 * manual/message.texi: Add Estonian to plural overview list.
1997 Correct rule for Slavic languages.
1998 Patch by Stanislav Brabec <utx@penguin.cz>.
2000 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2002 2000-12-18 Andreas Jaeger <aj@suse.de>
2004 * test-skeleton.c: Use temp_name_list instead of name_list to
2005 avoid collision with name_list from inet/netgroup.h.
2007 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2009 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2010 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2011 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2012 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2014 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2015 declaration to match prototype.
2016 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2017 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2018 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2020 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2021 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2022 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2023 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2024 (_nss_nis_getservbyport_r): Likewise.
2025 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2026 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2027 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2028 (_nss_nis_setnetent): Likewise
2029 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2030 (_nss_nis_endnetgrent): Likewise.
2031 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2033 (_nss_nisplus_setnetgrent): Likewise.
2034 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2035 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2036 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2037 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2039 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2041 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2043 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2045 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2046 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2047 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2049 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2050 (_nss_dns_getnetbyaddr_r): Likewise.
2052 2000-12-17 Andreas Jaeger <aj@suse.de>
2054 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2057 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2058 unused attribute to shut up gcc warnings.
2060 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2061 * sysdeps/generic/k_tanl.c: Likewise.
2062 * sysdeps/generic/k_cosl.c: Likewise.
2063 * sysdeps/generic/e_j0l.c: Likewise.
2064 * sysdeps/generic/e_j1l.c: Likewise.
2065 * sysdeps/generic/e_jnl.c: Likewise.
2066 * sysdeps/generic/e_lgammal_r.c: Likewise.
2068 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2070 * elf/vismod.h: New file.
2071 * elf/Makefile (distribute): Add vismod.h.
2072 * elf/vismod1.c: Include vismod.h.
2073 * elf/vismod2.c: Likewise.
2074 * elf/vismod3.c: Likewise.
2076 * elf/constload3.c: Add prototype declarations to shut up gcc.
2077 * elf/failobj.c: Likewise.
2078 * elf/nodelmod3.c: Likewise.
2079 * elf/filtmod1.c: Likewise.
2080 * elf/filtmod2.c: Likewise.
2081 * elf/reldepmod1.c: Likewise.
2082 * elf/reldepmod2.c: Likewise.
2083 * elf/reldepmod3.c: Likewise.
2084 * elf/reldepmod4.c: Likewise.
2085 * elf/unload2dep.c: Likewise.
2086 * elf/unload2mod.c: Likewise.
2087 * elf/ltglobmod1.c: Likewise.
2088 * elf/pathoptobj.c: Likewise.
2089 * elf/neededobj1.c: Likewise.
2090 * elf/neededobj2.c: Likewise.
2091 * elf/neededobj3.c: Likewise.
2092 * elf/neededobj4.c: Likewise.
2093 * elf/nextmod1.c: Likewise.
2094 * elf/nextmod2.c: Likewise.
2096 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2097 at end of compound statement.
2098 * locale/programs/locale.c (show_info): Likewise.
2099 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2101 2000-12-16 Jakub Jelinek <jakub@redhat.com>
2103 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2104 with a pointer not returned by obstack_ functions.
2106 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2108 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2110 (struct stat64): Likewise.
2111 Reported by Michael Keezer <mkeezer@redhat.com>.
2113 * timezone/asia: Update from tzdata2000h.
2114 * timezone/australasia: Likewise.
2115 * timezone/backward: Likewise.
2116 * timezone/europe: Likewise.
2117 * timezone/northamerica: Likewise.
2118 * timezone/southamerica: Likewise.
2119 * timezone/zone.tab: Likewise.
2121 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2123 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2124 and dir.stream is NULL, only free dir.content.
2125 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2126 * io/ftwtest-sh: Test with --early-exit.
2128 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2130 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2131 (FCVT_BUFPTR): New variable.
2132 (fcvt): If fcvt_r returns -1 on the static short buffer,
2133 try to malloc a sufficiently large one and retry.
2134 (free_mem): New function.
2135 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2136 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2138 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2140 * misc/dirname.c (dirname): Fix search for second to last slash.
2142 2000-12-13 Andreas Jaeger <aj@suse.de>
2144 * misc/tst-dirname.c (main): Fix typo in test to really use
2145 the examples from Unix98.
2146 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2148 2000-12-09 H.J. Lu <hjl@gnu.org>
2150 * sysdeps/ia64/fpu/s_fabs.S: New file.
2151 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2152 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2154 2000-12-15 Andreas Jaeger <aj@suse.de>
2156 * stdio-common/scanf9.c (main): Reformat and change to avoid
2159 * stdio-common/tstdiomisc.c: Make local functions static.
2160 * stdio-common/tst-printf.c: Likewise.
2162 * elf/constload2.c: Add prototype declarations to shut up gcc.
2163 * elf/dep1.c: Likewise.
2164 * elf/dep2.c: Likewise.
2165 * elf/dep3.c: Likewise.
2166 * elf/dep4.c: Likewise.
2167 * elf/ltglobmod2.c: Likewise.
2169 * libio/fmemopen.c: Make local functions static.
2171 * elf/Makefile (distribute): Added testobj.h.
2173 * elf/testobj.h: New file.
2175 * elf/testobj1.c: Include testobj.h and move prototype
2176 declarations to testobj.h.
2177 * elf/testobj2.c: Likewise.
2178 * elf/testobj3.c: Likewise.
2179 * elf/testobj4.c: Likewise.
2180 * elf/testobj5.c: Likewise.
2181 * elf/testobj6.c: Likewise.
2182 * elf/testobj1_1.c: Likewise.
2183 * elf/preloadtest.c: Likewise.
2185 2000-12-15 Ben Collins <bcollins@debian.org>
2187 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2188 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2190 2000-12-14 H.J. Lu <hjl@gnu.org>
2192 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2193 field in a float is 8 bits, not 11 bits.
2195 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2197 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2199 2000-12-13 Andreas Jaeger <aj@suse.de>
2201 * manual/message.texi (Using gettextized software): Fix typo.
2203 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2205 Patch by Martin Buchholz <martin@xemacs.org>.
2207 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2208 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2210 2000-12-11 Andreas Jaeger <aj@suse.de>
2212 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2213 kernel_sigset_t and use it.
2214 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2216 2000-12-10 Richard Henderson <rth@redhat.com>
2218 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2219 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2220 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2222 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2224 * sysdeps/alpha/htonl.S: Fix a typo.
2226 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2228 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2230 2000-12-10 Andreas Jaeger <aj@suse.de>
2232 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2233 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2234 Drepper <drepper@redhat.com>.
2236 2000-12-09 Andreas Jaeger <aj@suse.de>
2238 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2240 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2242 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2244 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2247 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2250 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2251 * nscd/connections.c (handle_request): Likewise.
2252 * nscd/pwdcache.c (addpwbyname): Likewise.
2253 * nscd/grpcache.c (addgrbyname): Likewise.
2255 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2257 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2259 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2261 * Makeconfig (default_cflags): Make -O2 the default for stable
2264 2000-12-08 H.J. Lu <hjl@gnu.org>
2266 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2267 * sysdeps/ia64/fpu/s_isinf.S: This.
2268 Add a .pred.rel.mutex note to avoid false report.
2270 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2271 * sysdeps/ia64/fpu/s_isnan.S: This.
2273 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2274 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2275 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2276 * sysdeps/ia64/fpu/s_isinff.S: New file.
2277 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2278 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2279 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2280 * sysdeps/ia64/fpu/s_finite.S: New file.
2281 * sysdeps/ia64/fpu/s_finitef.S: New file.
2282 * sysdeps/ia64/fpu/s_finitel.S: New file.
2283 * sysdeps/ia64/fpu/s_signbit.S: New file.
2284 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2285 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2286 * sysdeps/ia64/fpu/s_copysign.S: New file.
2287 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2288 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2290 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2292 * math/libm-test.inc (main): Fix typos in messages.
2294 * string/stratcliff.c: Add test for rawmemchr.
2296 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2298 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2299 allocate it together with errstring using alloca.
2300 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2301 to "", because it might point to local stack.
2303 2000-12-05 H.J. Lu <hjl@gnu.org>
2305 * nss/Makefile (routines): Add getnssent and getnssent_r.
2306 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2307 (__nss_endent): Likewise.
2308 (__nss_getent_r): Likewise.
2309 (__nss_getent): Likewise.
2310 * nss/getnssent_r.c: New file.
2311 * nss/getnssent.c: New file.
2312 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2313 (GETFUNC_NAME): Updated to call __nss_getent ().
2314 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2315 (STAYOPEN_TMPVAR): Updated.
2316 (STAYOPEN_VAR): Updated.
2317 (SETFUNC_NAME): Updated to call __nss_setent ().
2318 (ENDFUNC_NAME): Updated to call __nss_endent ().
2319 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2321 2000-12-08 Andreas Jaeger <aj@suse.de>
2323 * nscd/dbg_log.h (dbg_log): Correct attribute.
2325 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2327 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2328 cp + len. Compute where from dirname.
2329 Reported by <jreiser@BitWagon.com>.
2331 2000-12-08 Richard Henderson <rth@twiddle.net>
2333 * sysdeps/alpha/_mcount.S: Fix typo.
2334 * sysdeps/alpha/strncpy.S: Likewise.
2336 * sysdeps/alpha/alphaev6/Implies: New file.
2337 * sysdeps/alpha/alphaev67/Implies: New file.
2338 * sysdeps/alpha/alphaev67/ffs.S: New file.
2339 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2340 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2341 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2342 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2343 * sysdeps/alpha/rawmemchr.S: New file.
2344 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2345 * sysdeps/alpha/strcpy.S: Likewise.
2348 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2350 From rick.gorton@alpha-processor.com:
2351 * sysdeps/alpha/alphaev6/memchr.S: New file.
2352 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2353 * sysdeps/alpha/alphaev6/memset.S: New file.
2354 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2355 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2356 * sysdeps/alpha/alphaev67/strcat.S: New file.
2357 * sysdeps/alpha/alphaev67/strchr.S: New file.
2358 * sysdeps/alpha/alphaev67/strlen.S: New file.
2359 * sysdeps/alpha/alphaev67/strncat.S: New file.
2360 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2362 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2364 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2365 Reported by <pspencer@fields.utoronto.ca>.
2367 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2369 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2370 Pointed out by Hans Boehm.
2372 2000-12-07 H.J. Lu <hjl@gnu.org>
2374 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2376 2000-12-07 Andreas Jaeger <aj@suse.de>
2378 * misc/error.c: Add format attributes for __error and __error_at_line.
2380 * nscd/dbg_log.h: Add format attribute.
2382 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2384 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2385 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2387 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2389 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2391 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2393 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2394 (sysdep_routines): Add uitrunc.
2395 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2396 Patches by Michael Keezer <mkeezer@redhat.com>.
2398 2000-12-06 Roland McGrath <roland@frob.com>
2400 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2401 argument data, since it will be used to copy out too (for INOUT).
2402 Reported by Marcus Brinkmann <marcus@gnu.org>.
2404 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2405 (__ioctl): Use uintptr_t instead of unsigned long int.
2407 2000-12-06 Jim Wilson <wilson@redhat.com>
2409 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2411 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2413 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2414 x.5 rounding correctly.
2416 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2418 * stdio-common/perror.c (perror): Conditionalize code dealing with
2419 wide-oriented streams on USE_IN_LIBIO.
2421 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2423 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2424 as internal_function.
2426 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2428 * sysdeps/alpha/elf/start.S (__data_start): Define.
2430 2000-12-05 H.J. Lu <hjl@gnu.org>
2432 * nss/getXXent_r.c (setup): Change the return type to int.
2434 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2436 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2437 (sysdep_routines): Add restf and savef.
2438 * sysdeps/unix/sysv/aix/restf.c: New file.
2439 * sysdeps/unix/sysv/aix/savef.c: New file.
2440 Patches by Michael Keezer <mkeezer@redhat.com>.
2442 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2443 if O_DIRECTORY is not defined.
2444 Patch by Michael Keezer <mkeezer@redhat.com>.
2446 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2447 Patch by Michael Keezer <mkeezer@redhat.com>.
2449 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2450 than 4 bytes in escape sequence.
2451 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2453 2000-12-05 Andreas Jaeger <aj@suse.de>
2455 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2458 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2460 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2462 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2463 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2465 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2467 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2468 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2470 * sysdeps/generic/dl-cache.c: Remove declaration of
2471 _dl_sysdep_read_whole_file.
2473 * elf/dl-load.c (_dl_map_object): Remove declaration of
2474 _dl_load_cache_lookup.
2476 * sysdeps/generic/ldsodefs.h: Add declarations of
2477 _dl_load_cache_lookup, _dl_unload_cache,
2478 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2479 _dl_sysdep_start_cleanup.
2481 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2484 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2485 * sysdeps/generic/dl-environ.c: Likewise.
2487 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2489 * math/atest-exp.c: Likewise.
2490 * math/atest-exp2.c: Likewise.
2491 * math/atest-sincos.c: Likewise.
2492 * stdio-common/_itoa.c: Likewise.
2493 * stdio-common/_itowa.c: Likewise.
2495 * include/gmp.h: New file with internal prototypes.
2497 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2499 * include/setjmp.h: ...here.
2501 * locale/Makefile (routines): Remove codeset_name since it's not
2504 * locale/codeset_name.c: Removed.
2506 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2508 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2510 2000-12-05 Andreas Jaeger <aj@suse.de>
2512 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2514 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2516 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2519 2000-12-05 Andreas Jaeger <aj@suse.de>
2521 * nss/test-netdb.c: Mark local functions as static to avoid
2523 (main): Use return to silence warning.
2525 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2527 * stdio-common/test-popen.c: Mark local functions as static to
2529 (main): Use return to silence warning.
2531 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2533 * assert/test-assert.c: Mark local functions as static to avoid
2535 * assert/test-assert-perr.c: Likewise.
2537 * math/libm-test.inc (main): Use return to silence warnings.
2539 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2541 * math/fenv.h: Fix typo in comment.
2543 * math/test-misc.c (main): Add a few more over and underflow tests
2546 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2548 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2549 * math/w_scalb.c: Don't use matherr except in SVID mode.
2550 * math/w_scalbf.c: Likewise.
2551 * math/w_scalbl.c: Likewise.
2552 * math/test-misc.c: Add test for NaN and scalbl.
2553 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2555 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2557 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2558 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2559 * include/libc-symbols.h (strong_alias): Define special version
2560 for HAVE_ASM_GLOBAL_DOT_NAME.
2561 (weak_alias): Likewise.
2562 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2563 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2564 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2565 getutxline, pututxline, and utmpxname.
2566 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2567 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2568 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2569 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2570 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2571 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2572 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2573 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2574 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2575 Patches by Michael Keezer <mkeezer@redhat.com>.
2577 2000-12-04 H.J. Lu <hjl@gnu.org>
2579 * configure.in: Change --with-oldest-abi=ABI to
2580 --enable-oldest-abi=ABI.
2582 2000-12-02 Bruno Haible <haible@clisp.cons.org>
2584 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2585 fwprintf instead of fprintf.
2587 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2589 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2590 DECIMAL_DIG definitions.
2591 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2592 * sysdeps/generic/bits/mathdef.h: Likewise
2593 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2594 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2595 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2596 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2597 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2598 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2600 2000-12-03 Ulrich Drepper <drepper@redhat.com>
2602 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2604 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2605 * math/atest-exp2.c: Likewise.
2606 * math/atest-sincos.c: Likewise.
2608 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2609 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2611 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2612 the handling of denormalized numbers.
2614 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2616 * sysdeps/i386/fpu/fpclassifyl.c: New file.
2618 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2619 pseudo denormal representation of LDBL_MIN.
2621 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2622 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2624 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2625 * iconvdata/jis0208.c: Likewise.
2626 * iconvdata/jis0212.c: Likewise.
2627 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2629 * math/test-misc.c (main): More tests for frexp and some for
2630 fpclassify and isnormal.
2632 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2634 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2636 * math/test-misc.c (main): Add tests for frexp.
2637 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2638 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2640 2000-12-02 H.J. Lu <hjl@gnu.org>
2642 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2645 2000-12-02 Ulrich Drepper <drepper@redhat.com>
2647 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2648 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2649 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2651 * sysdeps/generic/glob.c: Adjust types of several variables to
2654 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2656 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2658 2000-11-30 Roland McGrath <roland@frob.com>
2660 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2661 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2662 allow multiple instances using the same function name in one file.
2664 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2666 * configure.in: Correct test for pserver CVS access.
2668 2000-11-28 H.J. Lu <hjl@gnu.org>
2670 * libio/libio.h: Remove extra "#if ... #endif".
2672 2000-11-29 H.J. Lu <hjl@gnu.org>
2674 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2676 2000-12-01 H.J. Lu <hjl@gnu.org>
2678 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2679 * nss/getXXent_r.c: Likewise.
2680 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2682 2000-11-30 H.J. Lu <hjl@gnu.org>
2684 * scripts/abi-versions.awk (oldest_abi): New variable.
2685 Handle the oldest ABI supported.
2687 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2688 for scripts/abi-versions.awk.
2690 * configure.in: Add --with-oldest-abi=ABI.
2691 * configure: Rebuild.
2693 * config.make.in (oldest-abi): New.
2695 * config.h.in (GLIBC_OLDEST_ABI): New.
2697 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2699 2000-11-30 Jakub Jelinek <jakub@redhat.com>
2701 * locale/setlocale.c (setname): Free for all categories, not just
2703 (setlocale): Store a copy of string passed by user, not the string
2706 2000-11-30 Roland McGrath <roland@frob.com>
2708 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2709 rather than _hurd_fd_subinit, so it happens after it's safe to use
2710 libc facilities like malloc.
2712 2000-11-28 Andreas Jaeger <aj@suse.de>
2714 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2715 declaration, adjust declaration of __syscall_getdents to match
2718 2000-11-29 H.J. Lu <hjl@gnu.org>
2720 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2722 2000-11-29 Andreas Jaeger <aj@suse.de>
2724 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2726 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2728 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2729 * dlfcn/defaultmod2.c: Likewise.
2730 * dlfcn/dlopen.c: Likewise.
2731 * dlfcn/dlopenold.c: Likewise.
2732 * dlfcn/failtestmod.c: Likewise.
2733 * dlfcn/glreflib1.c: Likewise.
2734 * dlfcn/glreflib2.c: Likewise.
2735 * dlfcn/eval.c: Likewise. Add attributes.
2737 * ctype/ctype-extn.c: Define isblank and not __isblank.
2739 * time/strftime.c: Add const where necessary to avoid warnings.
2740 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2742 2000-11-22 Paul Eggert <eggert@twinsun.com>
2744 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2745 size of (size_t) -1; it's not portable.
2747 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2749 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2751 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2753 2000-11-14 Jes Sorensen <jes@linuxcare.com>
2755 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2757 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2758 _mcount is required by profiled binaries.
2760 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2761 * sysdeps/ia64/machine-gmon.h: ...here.
2763 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2765 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2766 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2768 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2770 * iconvdata/ibm922.c: New file.
2771 * iconvdata/ibm922.h: New file.
2772 * iconvdata/ibm1124.c: New file.
2773 * iconvdata/ibm1124.h: New file.
2774 * iconvdata/ibm1129.c: New file.
2775 * iconvdata/ibm1129.h: New file.
2776 * iconvdata/testdata/IBM922: New file.
2777 * iconvdata/testdata/IBM922..UTF8: New file.
2778 * iconvdata/testdata/IBM1124: New file.
2779 * iconvdata/testdata/IBM1124..UTF8: New file.
2780 * iconvdata/testdata/IBM1129: New file.
2781 * iconvdata/testdata/IBM1129..UTF8: New file.
2783 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2785 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2786 character. Change callers.
2787 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2788 * catgets/Makefile: Add rules to build and run test-gencat.
2789 * catgets/sample.SJIS: New file.
2790 * catgets/test-gencat.c: New file.
2791 * catgets/test-gencat.sh: New file.
2792 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2794 2000-11-28 Andreas Jaeger <aj@suse.de>
2796 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2799 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2801 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2803 2000-11-28 Andreas Jaeger <aj@suse.de>
2805 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2807 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2810 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2812 * misc/getusershell.c: Make strings in okshells array const.
2813 * misc/regexp.c: Add const to cast to avoid warnings.
2814 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2815 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2817 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2819 * misc/error.c: Add prototypes for __error and __error_at_line.
2820 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2821 statement to avoid warning.
2822 * test-skeleton.c: Mark timeout_handler with noreturn.
2823 * iconv/skeleton.c (get16u): Add const to cast.
2825 * iconvdata/gb18030.c: Likewise.
2826 * iconvdata/iso-2022-cn-ext.c: Likewise.
2827 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2828 * iconvdata/big5.c: Likewise.
2829 * iconvdata/big5hkscs.c: Likewise.
2830 * iconvdata/iso_6937.c: Likewise.
2831 * iconvdata/iso_6937-2.c: Likewise.
2832 * iconvdata/t.61.c: Likewise.
2833 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2834 * iconvdata/unicode.c: Likewise.
2835 * iconvdata/utf-16.c: Likewise.
2836 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2837 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2838 with little code shuffling.
2840 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2841 the problems introduced when the user selects -O3.
2843 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2844 * misc/sys/cdefs.h: Define __flexarr.
2845 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2847 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2848 * iconv/skeleton.c: Likewise.
2849 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2850 * iconv/loop.c (get16): Add const to cast.
2853 2000-11-27 Andreas Jaeger <aj@suse.de>
2855 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2857 * login/programs/utmpdump.c (print_entry): Likewise.
2859 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2861 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2862 in a single asm as they may be used to access other stored
2864 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2866 2000-11-27 Andreas Jaeger <aj@suse.de>
2868 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2869 * rt/tst-aio64.c: Likewise.
2871 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2873 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2875 (libc.cat): Likewise.
2876 * catgets/gencat.c: Implement handling of message catalogs encoded
2877 with stateful character sets.
2878 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2880 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2882 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2884 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2885 * inet/rcmd.c: Likewise.
2886 * inet/ruserpass.c: Likewise.
2887 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2888 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2889 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2890 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2891 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2892 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2893 * include/aliases.h: Add prototypes for internal __getalias* functions.
2894 * include/netdb.h: Add prototypes for __old_gethostent_r,
2895 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2896 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2897 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2898 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2899 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2900 __old_getrpcbynumber_r, __old_getrpcent_r.
2902 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2903 __getrpcent_r prototypes.
2905 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2907 * string/strcoll.c: Add casts to avoid warnings.
2908 * string/strnlen.c: Likewise.
2909 * string/strxfrm.c: Likewise.
2910 * sysdeps/generic/_strerror.c: Likewise.
2911 * sysdeps/generic/memrchr.c: Likewise.
2912 * sysdeps/generic/strcasestr.c: Likewise.
2913 * sysdeps/generic/strstr.c: Likewise.
2915 * locale/weight.h (findidx): Add const to cast to avoid warning.
2917 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2918 * elf/loadtest.c: Likewise.
2919 * elf/multiload.c: Likewise.
2920 * elf/next.c: Likewise.
2921 * elf/nodelete.c: Likewise.
2922 * elf/noload.c: Likewise.
2923 * elf/order.c: Likewise.
2924 * elf/origtest.c: Likewise.
2925 * elf/preloadtest.c: Likewise.
2926 * elf/restest1.c: Likewise.
2928 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2929 parameter of asm must be in %ecx.
2931 * string/tester.c: Mark test functions as static to avoid warnings.
2933 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2934 preserve value over different gconv-modules files.
2936 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2938 * locale/findlocale.c: Add casts to avoid warnings.
2939 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2940 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2942 * misc/tsearch.c (const_node): New type.
2943 (trecurse): Correct casts to avoid warnings.
2944 (__twalk): Likewise.
2945 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2948 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2950 * test-skeleton.c: Mark local functions as static to avoid warnings.
2952 2000-11-23 H.J. Lu <hjl@gnu.org>
2954 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2955 support the background job.
2958 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2960 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2961 has same names but lower cost.
2963 2000-11-23 Jakub Jelinek <jakub@redhat.com>
2965 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2966 which never occur during bootstrap.
2967 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2969 2000-11-23 Andreas Jaeger <aj@suse.de>
2971 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2973 * nss/Versions: Remove _nss_files_getipnodebyname_r.
2975 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2977 2000-11-18 Martin Buchholz <martin@xemacs.org>
2979 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2982 2000-11-21 Alan Modra <alan@linuxcare.com.au>
2984 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2986 * csu/abi-note.S: Correct comment for operating system number.
2988 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2990 * Versions.def: Add GLIBC_2.2.1 for glibc.
2992 2000-11-22 Andreas Schwab <schwab@suse.de>
2994 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2995 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2997 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2999 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3000 absolute time for pthread_cond_timedwait call.
3001 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3003 * rt/Makefile (tests): Add tst-aio6.
3004 * rt/tst-aio6.c: New file.
3006 2000-11-23 Andreas Jaeger <aj@suse.de>
3008 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3010 2000-11-22 Andreas Jaeger <aj@suse.de>
3012 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3014 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3016 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3018 2000-11-21 Andreas Schwab <schwab@suse.de>
3020 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3021 * sysdeps/arm/setjmp.S: Likewise.
3022 * sysdeps/arm/fpu/setjmp.S: Likewise.
3023 * sysdeps/i386/setjmp.S: Likewise.
3024 * sysdeps/i386/elf/setjmp.S: Likewise.
3025 * sysdeps/s390/setjmp.S: Likewise.
3026 * sysdeps/s390/elf/setjmp.S: Likewise.
3027 * sysdeps/sh/sh3/setjmp.S: Likewise.
3028 * sysdeps/sh/sh4/setjmp.S: Likewise.
3029 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3030 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3032 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3034 2000-11-21 Andreas Jaeger <aj@suse.de>
3036 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3037 NORETURN, fix parameter list.
3039 * string/bug-strncat1.c (main): Fix typo.
3040 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3042 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3044 * configure.in: Add --enable-all-warnings.
3045 * config.make.in (all-warnings): New variable.
3046 * Makeconfig (+gccwarn): Define with many more warnings if
3047 all-warnings is yes.
3049 2000-11-20 Jakub Jelinek <jakub@redhat.com>
3051 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3052 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3053 * malloc/tst-valloc.c (main): Cast valloc return value to long.
3054 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3055 * math/test-fpucw.c (main): Use %lx in format string, cast
3056 control words to long.
3057 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3058 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3059 large that it is unsigned warning.
3061 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3062 it to long on sparc64.
3064 2000-11-20 Andreas Jaeger <aj@suse.de>
3066 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3067 (receiv_print_stats): Likewise.
3069 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3071 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3073 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3075 * csu/gmon-start.c: Always have prototype for __gmon_start.
3076 * csu/version.c: Add prototypes for __libc_print_version and
3078 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3079 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3081 * iconv/gconv_builtin.h: Add ASCII module definitions.
3082 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3083 (add_module): Add cast to avoid warning. Rework construction of
3084 strings for new module.
3085 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3086 (derivation_compare): Likewise.
3087 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3088 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3089 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3090 (struct gconv_alias): Remove const from fromname and toname.
3091 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3093 (internal_ucs4_loop): Use correct const-ness.
3094 (ucs4_internal_loop): Likewise.
3095 (internal_ucs4le_loop): Likewise.
3096 (ucs4le_internal_loop_single): Likewise.
3097 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3098 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3099 assignments appropriately.
3100 (struct known_trans): Remove const from fname.
3101 (trans_compare): Make s1 and s2 const.
3102 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3104 * iconv/skeleton.c: Remove cast in calls of loop functions.
3105 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3106 * iconvdata/iso646.c: Remove US_ASCII support.
3107 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3108 * include/unistd.h: Add __libc_check_standard_fds prototype.
3109 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3110 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3112 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3113 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3114 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3116 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3117 __libc_init_first and _dl_start.
3118 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3119 (DCIGETTEXT): Make domaindata variable const.
3120 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3123 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3125 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3127 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3128 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3131 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3132 value defined in /usr/include/asm-mips/fcntl.h.
3134 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3136 * stdio-common/Makefile (tests): Add test-vfprintf.
3137 (test-vfprintf-ENV): New variable.
3138 * stdio-common/test-vfprintf.c: New file.
3140 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3142 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3143 (tst-mbrtowc-ENV): New variable.
3144 (tst-wcrtomb-ENV): New variable.
3145 * wcsmbs/tst-mbrtowc.c: New file.
3146 * wcsmbs/tst-wcrtomb.c: New file.
3148 2000-11-16 Andreas Jaeger <aj@suse.de>
3150 * manual/install.texi (Tools for Compilation): Update
3151 documentation for GCC 2.95.2.
3153 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3156 if IPv4 and IPv6 requests timed out.
3158 2000-11-18 Akim Demaille <akim@epita.fr>
3160 * malloc/obstack.h: Formatting changes.
3161 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3162 prevents type checking.
3163 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3164 cast the value to (void *): assigning a `foo *' to a `void *'
3166 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3168 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3170 * scripts/config.guess: Update from upstream maintainer.
3171 * scripts/config.sub: Likewise.
3173 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3175 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3176 * libio/freopen64.c (freopen64): Likewise.
3177 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3179 * libio/Makefile: Add rules to build and run test-freopen.
3180 * libio/test-freopen.c: New file.
3181 * libio/test-freopen.sh: New file.
3183 2000-11-15 H.J. Lu <hjl@gnu.org>
3185 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3186 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3187 (DL_DT_FINI_ADDRESS): Likewise.
3189 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3190 return type to ElfW(Addr).
3191 (_dl_function_address): New prototype.
3192 (DL_FUNCTION_ADDRESS): Defined.
3193 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3194 (DL_DT_FINI_ADDRESS): Likewise.
3196 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3198 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3199 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3201 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3202 (_dl_function_address): This.
3204 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3205 function pointer for DT_FINI.
3206 * elf/dl-close.c (_dl_close): Likewise.
3208 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3209 function pointer for DT_INIT.
3211 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3213 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3214 end of wexpbuf buffer.
3216 2000-11-16 Andreas Jaeger <aj@suse.de>
3218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3219 definition of F_GETLK, F_SETLK, F_SETLKW.
3221 2000-11-16 Andreas Jaeger <aj@suse.de>
3223 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3226 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3228 * dlfcn/default.c (main): Add test for dladdr of main returning
3229 argv[0] in dli_fname field.
3231 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3233 * Makeconfig (run-program-prefix): Move test-static test into the
3236 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3237 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3238 schedule instructions.
3239 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3240 schedule instructions, fix a bug in copying auxiliary data.
3242 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3244 * manual/startup.texi (Program Arguments): Fix type of main's envp
3246 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3248 * iconvdata/gconv-modules: Add CP950 alias.
3250 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3252 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3253 syscall-list.h goal.
3254 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3256 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3258 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3260 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3263 * intl/tst-gettext2.c: Set C locale if setting other locale
3264 failed. Use gettext() not _().
3266 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3267 successfully loaded a new locale.
3269 2000-11-13 Andreas Jaeger <aj@suse.de>
3271 * configure.in: Require gcc 2.95 or newer.
3273 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3275 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3276 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3278 2000-11-11 Jim Meyering <meyering@lucent.com>
3280 * string/strndup.c (strndup): Cast return value to `char *'.
3282 2000-11-15 Jim Meyering <meyering@ascend.com>
3284 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3285 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3286 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3287 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3288 Also #undef __memchr.
3289 Use `weak_alias' only if it's defined.
3291 2000-11-10 H.J. Lu <hjl@gnu.org>
3293 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3295 2000-11-15 Andreas Jaeger <aj@suse.de>
3297 * elf/chroot_canon.c: Include <stdint.h>.
3299 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3300 (print_entry): Likewise.
3301 (add_to_cache): Likewise.
3303 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3305 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3306 (path_hwcap): Likewise.
3307 (search_dir): Likewise.
3309 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3311 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3313 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3314 (_dl_platform_string): New.
3315 (_DL_HWCAP_PLATFORM): New.
3316 (_dl_string_platform): New.
3317 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3319 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3320 (_dl_string_platform): New.
3321 (_DL_HWCAP_PLATFORM): New.
3322 (_dl_platform_string): New.
3324 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3326 (_DL_HWCAP_COUNT): New.
3327 (_dl_string_platform): New.
3328 (_DL_HWCAP_PLATFORM): New.
3329 (_dl_platform_string): New.
3331 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3333 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3335 2000-11-14 Andreas Jaeger <aj@suse.de>
3337 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3339 2000-11-13 Roland McGrath <roland@frob.com>
3341 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3343 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3345 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3346 underrun and make sure the result is null terminated even if there
3347 is no trailing newline.
3349 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3351 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3353 2000-11-10 H.J. Lu <hjl@gnu.org>
3355 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3357 2000-11-10 Andreas Jaeger <aj@suse.de>
3359 * elf/ldconfig.c (create_links): Fix alloca calculation.
3360 Patch by Ben Collins <bcollins@debian.org>.
3362 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3364 * inet/getnameinfo.c (getnameinfo): Use correct destination
3365 parameter for if_indextoname.
3366 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3368 2000-11-09 H.J. Lu <hjl@gnu.org>
3370 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3371 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3372 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3375 * time/Versions (GLIBC_2.1): Move getitimer to...
3376 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3378 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3380 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3381 "make install", to work around a binary incompatibility between
3382 glibc 2.1 and glibc 2.2 gconv modules.
3384 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3386 * intl/locale.alias: Add thai.
3387 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3389 2000-11-07 Akim Demaille <akim@epita.fr>
3391 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3392 argument `data' for consistency with the prototypes.
3394 (obstack_copy, obstack_copy0): Rename the second argument as
3395 `address' for consistency. Qualify it `const'.
3396 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3397 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3398 `const' their input argument (`data' or `address').
3399 Adjust the corresponding macros to include `const' in casts.
3401 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3403 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3406 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3408 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3411 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3413 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3414 ai_protocol by internal table if service was not given.
3416 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3418 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3419 numerical port was specified with protocol without socktype.
3421 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3423 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3425 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3427 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3429 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3431 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3432 sin6_scope_id field.
3434 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3436 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3438 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3440 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3442 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3444 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3445 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3447 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3449 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3450 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3452 2000-11-09 H.J. Lu <hjl@gnu.org>
3454 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3457 See ChangeLog.11 for earlier changes.