1 2001-02-08 Andreas Jaeger <aj@suse.de>
3 * manual/stdio.texi (Closing Streams): Fix typos.
5 2001-02-07 Ulrich Drepper <drepper@redhat.com>
7 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
8 Patch by Richard Henderson <rth@redhat.com>.
9 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
11 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
12 point in FILE structure before calling _IO_init.
13 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
14 strfmon_l if necessary.
15 Reported by Jury Gerold <gjury@grips.com>.
17 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
18 Patch by Pekka.Pietikainen@cern.ch.
20 * posix/regex.c: Correct several problems with 64-bit architectures
21 introduced in the MBS changes.
22 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
24 2001-02-07 Jakub Jelinek <jakub@redhat.com>
26 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
28 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
30 2001-02-07 Andreas Jaeger <aj@suse.de>
32 * manual/install.texi (Tools for Compilation): Fix typo.
33 Reported by Pavel Machek <pavel@bug.ucw.cz>.
35 2001-02-07 Ulrich Drepper <drepper@redhat.com>
37 * stdlib/strtod.c: Never stop prematurely reading digits before the
38 decimal point is found. Compute exponent limit for negative exponents
39 correctly. For numbers ending in all zeros eat the zeroes even before
40 the decimal point if the exponent is negative [PR libc/2072].
41 * stdlib/Makefile (tests): Add bug-strtod.
42 * stdlib/bug-strtod.c: New file.
44 2001-02-07 Andreas Jaeger <aj@suse.de>
46 * posix/bug-regex1.c: Include <wchar.h> for fwide.
48 2001-02-06 Ulrich Drepper <drepper@redhat.com>
50 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
52 (compile_range): Handle index being passed, not pointer.
53 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
55 * posix/regex.c: Fix a cast in the code for bracket handling which
56 caused 8-bit uncleanliness.
57 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
59 * posix/Makefile (tests): Add bug-regex1.
60 * posix/bug-regex1.c: New file.
61 Contributed by Jim Meyering <jim@meyering.net>.
63 * posix/regex.c: Many cleanups for incorrect format strings.
65 2001-02-06 Andreas Jaeger <aj@suse.de>
67 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
69 2001-02-06 Ulrich Drepper <drepper@redhat.com>
71 * locale/programs/locale.c (write_locales): Use scandir to read
72 directory so that the entries are sorted.
74 2001-02-06 Andreas Jaeger <aj@suse.de>
76 * include/pthread.h: New file.
78 * wctype/wctype.h: Move internal interfaces from here to...
79 * include/wctype.h: ...here.
81 * wcsmbs/wchar.h: Move __wcslen from here to...
82 * include/wchar.h: ...here.
84 * posix/sys/wait.h: Move __wait from here to...
85 * include/sys/wait.h: ...here.
87 * string/string.h: Move __ffs and __strerror_r from here to...
88 * include/string.h: ...here.
90 * stdlib/stdlib.h: Move __on_exit from here to...
91 * include/stdlib.h: ...here.
93 * libio/stdio.h: Move __vsnprintf from here to...
94 * include/stdio.h: ...here.
96 2001-02-06 Andreas Schwab <schwab@suse.de>
98 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
101 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
104 2001-02-06 Ulrich Drepper <drepper@redhat.com>
106 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
108 2001-02-06 Andreas Jaeger <aj@suse.de>
110 * elf/firstobj.c: Add prototype.
112 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
113 (truncate_wchar): Likewise.
115 2001-02-06 Ulrich Drepper <drepper@redhat.com>
117 * locale/programs/locale.c: Implement --verbose option for -a
118 which prints detailed information about the locales.
120 2001-02-05 Ulrich Drepper <drepper@redhat.com>
122 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
123 variable to uint32_t.
124 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
126 2001-02-04 Bruno Haible <haible@clisp.cons.org>
128 * locale/C-translit.h.in: Add transliterations for CJK units of
131 2001-02-05 Ulrich Drepper <drepper@redhat.com>
133 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
134 string. Include <inttypes.h> instead of <stdint.h>.
136 * localedata/Makefile (tests): Add bug-iconv-trans.
137 Define bug-iconv-trans-ENV.
138 * localedata/bug-iconv-trans.c: New file.
140 2001-02-04 Bruno Haible <haible@clisp.cons.org>
142 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
143 pointer, to avoid accumulating output from incomplete (unsuccessful)
144 transliteration attempts.
146 2001-02-05 Ulrich Drepper <drepper@redhat.com>
148 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
149 string. Include <inttypes.h> instead of <stdint.h>.
151 * configure.in: Add check for bison.
152 * config.make.in: Define BISON variable.
153 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
154 Rename YFLAGS to BISONFLAGS.
156 2001-02-05 Andreas Jaeger <aj@suse.de>
158 * io/test-lfs.c (do_test): Test lseek64 return value, call
160 (test_ftello): New function to test ftello64 and fseeko64.
162 * signal/signal.h: Move __sigaction from here to...
163 * include/signal.h: ...here.
165 * io/fcntl.h: Move __fcntl and __open to...
166 * include/fcntl.h: ...here.
168 2001-02-04 Philip Blundell <philb@gnu.org>
170 * configure.in: Distinguish ARM from Thumb.
172 2001-02-04 Philip Blundell <philb@gnu.org>
174 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
175 PC24 relocs with negative value.
177 2001-02-04 Ulrich Drepper <drepper@redhat.com>
179 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
180 files in locale/programs. Add CFLAGS definition to allow compiling
182 * iconv/dummy-repertoire.c: New file.
183 * iconv/iconv_charmap.c: New file.
184 * iconv/iconv_prog.h: New file.
185 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
186 (main): If parameter for -f and -t contain slashes try first to resolve
187 the strings as filenames of charmap files. Use them for conversion
189 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
190 iconv getting charmap names as parameters.
191 * locale/programs/linereader.c (lr_token): Take extra parameters
192 verbose and pass it to get_string.
193 (get_string): Take extra parameters verbose.
194 * locale/programs/charmap.c (parse_charmap): Take extra parameters
195 verbose and be_quiet. Change all callers of lr_token and
197 * locale/programs/charmap.h: Likewise.
198 * locale/programs/ld-address.c: Likewise.
199 * locale/programs/ld-collate.c: Likewise.
200 * locale/programs/ld-ctype.c: Likewise.
201 * locale/programs/ld-identification.c: Likewise.
202 * locale/programs/ld-measurement.c: Likewise.
203 * locale/programs/ld-messages.c: Likewise.
204 * locale/programs/ld-monetary.c: Likewise.
205 * locale/programs/ld-name.c: Likewise.
206 * locale/programs/ld-numeric.c: Likewise.
207 * locale/programs/ld-paper.c: Likewise.
208 * locale/programs/ld-telephone.c: Likewise.
209 * locale/programs/ld-time.c: Likewise.
210 * locale/programs/linereader.c: Likewise.
211 * locale/programs/linereader.h: Likewise.
212 * locale/programs/localedef.c: Likewise.
213 * locale/programs/locfile.c: Likewise.
214 * locale/programs/locfile.h: Likewise.
215 * locale/programs/repertoire.c: Likewise.
217 2001-02-03 Ulrich Drepper <drepper@redhat.com>
219 * iconv/iconv_prog.c (main): If output file name is "-" write to
221 (main): If -f or -t argument is missing use charset of the current
224 2001-02-03 Andreas Jaeger <aj@suse.de>
226 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
227 boundary for SSE/SSE-2 alignment.
229 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
232 2001-02-03 Ulrich Drepper <drepper@redhat.com>
234 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
235 Remove comma at end of enum.
237 * elf/dl-init.c: Add a few __builtin_expect.
239 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
241 2001-02-02 Ulrich Drepper <drepper@redhat.com>
243 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
244 errno is ECONNREFUSED.
246 * posix/Makefile: Define MBS_SUPPORT for regex.c.
247 * posix/regex.c: Implement multibyte character handling.
248 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
250 * string/tst-svc.input: Add two more test cases.
251 * string/tst-svc.expect: Modify to reflect new test cases.
253 2001-02-01 Jakub Jelinek <jakub@redhat.com>
255 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
256 tp->name tests with tp->name[0] tests.
258 2001-01-29 Ben Collins <bcollins@debian.org>
260 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
261 Fix check for name == NULL.
263 2001-02-01 Ulrich Drepper <drepper@redhat.com>
265 * elf/Makefile: Add rules to build and run initfirst test.
266 * elf/initfirst.c: New file.
267 * elf/firstobj.c: New file.
269 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
270 * configure.in: Test for -z initfirst linker option.
271 * config.make.in: Add have-z-initfirst.
272 * elf/dl-init.c (_dl_init): Split out actual initialization code in
273 new function call_init. If _dl_initfirst is non-NULL initialize first.
274 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
275 remember object in _dl_initfirst.
276 * elf/soinit.c: Remove special support for calling
277 __pthread_initialize_minimal.
279 * conform/conformtest.pl: Add missing $prepend in type test.
281 2001-01-31 Ulrich Drepper <drepper@redhat.com>
283 * elf/elf.h (SHT_CHECKSUM): New definition.
285 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
286 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
287 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
289 2001-01-31 Mark Kettenis <kettenis@gnu.org>
291 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
292 to get definition of `struct timeval'.
294 2001-01-31 Ulrich Drepper <drepper@redhat.com>
296 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
297 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
299 2001-01-30 Ulrich Drepper <drepper@redhat.com>
301 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
304 * nis/nis_findserv.c: Include <time.h>.
306 2001-01-30 Yong Li <yong.li@asu.edu>
308 * iconv/iconv_prog.c (main): Correct error handling method name.
310 2001-01-29 Ben Collins <bcollins@debian.org>
312 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
313 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
314 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
315 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
317 2001-01-30 Ulrich Drepper <drepper@redhat.com>
319 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
320 Patch by Marko Myllynen <myllynen@lut.fi>.
322 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
323 (int instead of char).
324 (__strpbrk_c3): Likewise.
325 Reported by GOTO Masanori <gotom@debian.or.jp>.
327 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
328 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
329 * include/sys/socket.h: Add SA_LEN here for internal use.
330 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
332 2001-01-29 Ulrich Drepper <drepper@redhat.com>
334 * malloc/Makefile: Don't build memusagestat if cross-compiling.
336 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
338 * math/libm-test.inc (rint_test): Add a few more tests for round
341 2001-01-28 Ulrich Drepper <drepper@redhat.com>
343 * conform/data/pthread.h-data: Correct return type of pthread_exit.
345 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
347 * conform/data/stdlib.h-data: Add _Exit.
349 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
350 if not already happened.
351 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
352 Don't include <limits.h> and <bits/sockaddr.h>.
354 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
356 * conform/data/spawn.h-data: Allow all of <sched.h>.
358 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
361 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
362 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
364 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
366 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
367 * libio/stdio.h: Define va_list correctly.
369 * conform/data/pthread.h-data: Make priority protocol related
370 functions optional. Fix typos.
372 * posix/sched.h: Define sched_priority as __sched_priority.
373 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
375 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
377 2001-01-27 Ulrich Drepper <drepper@redhat.com>
379 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
382 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
383 * sysdeps/unix/time.c: Likewise.
385 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
386 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
387 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
388 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
389 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
390 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
391 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
392 * time/time.h: Likewise.
394 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
395 * conform/data/complex.h-data: New file.
396 * conform/data/tgmath.h-data: New file.
398 * conform/data/wchar.h-data: Add missing functions.
400 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
402 * conform/data/termios.h-data: Add missing const in tcsetattr()
405 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
406 Don't define pid_t here.
408 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
410 * conform/data/sys/time.h-data: Allow sys/select.h.
411 * conform/data/sys/un.h-data: Fix typo.
412 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
413 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
415 * sysdeps/unix/clock_nanosleep.c: Likewise.
416 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
417 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
418 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
419 * sysdeps/unix/clock_settime.c: Likewise.
421 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
422 * login/getutent.c: Likewise.
423 * login/getutid.c: Likewise.
424 * login/getutline.c: Likewise.
426 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
428 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
429 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
430 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
431 f_fsid field after change in struct statvfs.
432 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
433 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
434 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
436 * conform/data/sys/stat.h-data: Remove isfdtype. Use
439 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
440 recvfrom, send, and socketpair prototypes. Add allow lines.
441 * socket/sys/socket.h: Include <sys/uio.h>.
442 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
443 Fix type of second parameter of listen.
444 Don't declare isfdtype unless __USE_MISC.
445 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
446 * sysdeps/mach/hurd/listen.c: Likewise.
447 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
448 ss_family and __ss_family.
449 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
450 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
451 (struct msghdr): Change type of msg_iovlen to int and type of
452 msg_controllen to socklen_t.
453 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
454 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
455 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
456 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
457 (rresvport_af): Likewise.
459 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
460 * conform/conformtest.pl: Implement handling of symbol.
462 * signal/signal.h: Fix handling of __need_* symbols.
463 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
464 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
465 * include/sys/select.h: Use fd_set not __fd_set.
466 * sysdeps/generic/bits/select.h: Likewise.
467 * sysdeps/i386/bits/select.h: Likewise.
468 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
469 __FDELT, __FDMASK, and __fd_set here.
470 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
471 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
472 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
473 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
474 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
475 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
476 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
477 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
478 * time/sys/time.h: Define struct timeval before including <time.h>
481 * conform/data/sys/time.h-data: fd_set is a typedef.
482 * conform/data/sys/select.h-data: New file.
483 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
484 * conform/conformtest.pl (@headers): Add sys/select.h.
485 (type, optional-type): Unless testing a typedef instantiate object.
486 Implement optional-function.
488 * math/test-misc.c: Include <float.h>.
490 2001-01-27 Andreas Jaeger <aj@suse.de>
492 * misc/efgcvt_r.c: Include <float.h>.
494 2001-01-26 Ulrich Drepper <drepper@redhat.com>
496 * conform/data/stdlib.h-data: Account for XPG6 changes.
497 * stdlib/stdlib.h (__random): Change return value type to long.
498 (posix_memalign): Cleanup parameter names.
499 (setenv, unsetenv): Make available for __USE_XOPEN2K.
500 Change return type of unsetenv to int.
501 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
502 * include/stdlib.h: Change return type of unsetenv to int.
503 Change return type of random to long int.
504 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
505 Return -1 and set errno if parameter is invalid.
506 * stdlib/random.c (__random): Change return value type to long.
508 * conform/data/stdio.h-data: Account for changes in XPG6.
510 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
513 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
514 * conform/data/signal.h-data: Fix sigev_notify_function entry.
515 Fix typo (SIGVALRM -> SIGVTALRM).
516 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
518 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
519 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
520 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
524 * conform/conformtest.pl: Implement optional-element. Define
525 $mustprepend{"sched.h"}.
526 * conform/data/sched.h-data: Make sporadic scheduler definitions
529 * pwd/pwd.h: Don't define getpwent_r for XPG.
531 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
532 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
533 * sysdeps/mach/hurd/poll.c: Likewise.
534 * sysdeps/unix/bsd/poll.c: Likewise.
535 * sysdeps/unix/sysv/linux/poll.c: Likewise.
536 * sysdeps/unix/sysv/aix/poll.c: Likewise.
537 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
538 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
539 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
540 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
541 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
542 * conform/data/poll.h-data: Fix typo in poll prototype.
544 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
546 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
548 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
550 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
552 * conform/conformtest.pl: Implement optional-type.
554 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
555 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
556 defining uint32_t here. Define IPPORT_RESERVED.
557 (struct hostent): Type of h_length element is int.
558 (getnameinfo): Type of flags parameter is unsigned int.
559 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
560 * conform/data/netdb.h-data: Add many missing definitions.
562 * conform/conformtest.pl: Implement optional-macro.
563 * conform/data/math.h-data: Update for XPG6.
565 * math/math.h (HUGE): Define as FLT_MAX value but don't use
566 FLT_MAX. Don't include <float.h>.
567 (MAXFLOAT): Likewise.
569 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
571 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
573 * conform/data/limits.h-data: Mark constants as optional wherever
576 * posix/bits/posix2_lim.h: Set correct values for
577 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
580 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
583 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
585 * conform/data/netinet/in.h-data: Add reserved prefixes.
587 * conform/data/arpa/inet.h-data: Fix a few typos.
589 2001-01-26 Andreas Jaeger <aj@suse.de>
591 * sysdeps/generic/strtol.c: Include <locale.h>
592 * stdlib/strtod.c: Likewise
593 * stdlib/strfmon.c: Likewise.
594 * string/strcoll.c: Likewise.
595 * string/strxfrm.c: Likewise.
596 * wctype/wcfuncs_l.c: Likewise.
597 * wctype/wctype_l.c: Likewise.
598 * wctype/wctrans_l.c: Likewise.
600 * include/bits/locale.h: New file.
602 2001-01-26 Ulrich Drepper <drepper@redhat.com>
604 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
607 * locale/Makefile (headers): Add bits/locale.h.
608 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
609 and use __LC_ constants instead of LC_.
610 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
611 using __LC_ constants.
612 * locale/bits/locale.h: New file.
613 * locale/loadlocale.c: Include <locale.h>.
614 * locale/nl_langinfo.h: Likewise.
616 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
618 * io/sys/stat.h: Define S_IFSOCK for XPG6.
620 * conform/data/fcntl.h-data: posix_madvise is not expected here.
622 * conform/conformtest.pl: Fix handling of macro-str.
624 * conform/data/inttypes.h-data: Add missing definition and all of
627 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
629 2001-01-25 Ulrich Drepper <drepper@redhat.com>
631 * conform/conformtest.pl (@headers): Add stdint.h.
632 * conform/data/stdint.h-data: New file.
634 * conform/conformtest.pl: Recognize options --headers and
635 --dialect. Add dialect-specific CFLAGS.
637 * conform/conformtest.pl: Implement handling of recursive
640 * conform/data/locale.h-data: Add new struct lconv members.
642 * posix/wordexp.h: Correct definition of wordexp_t.
643 * posix/wordexp.c: Moved to ...
644 * sysdeps/generic/wordexp.c: ...here. New file.
645 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
646 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
647 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
648 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
650 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
651 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
653 * math/tgmath.h: Pretty printing.
655 * math/Makefile (tests): Add test-tgmath.
656 (CFLAGS-test-tgmath.c): New variable.
657 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
659 * conform/conformtest.pl: Handle allow-header in secondary headers
662 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
665 * conform/data/netinet/in.h-data: Use correct comment character.
666 * conform/data/sys/stat.h-data: Likewise.
668 2001-01-25 Jakub Jelinek <jakub@redhat.com>
670 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
671 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
672 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
673 __builtin_classify_type, add ##f suffixes where appropriate.
674 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
675 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
676 __builtin_classify_type.
677 (fma): Fix spelling of first argument.
679 2001-01-25 Ulrich Drepper <drepper@redhat.com>
681 * conform/data/unistd.h-data: Mark functions removed in XPG6
684 * posix/unistd.h: Don't make functions removed in XPG6 available if
687 * conform/conformtest.pl: Implement optional-constant.
688 * conform/data/unistd.h-data: Use optional-constant wherever
691 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
692 constants and add _SC_STREAMS.
693 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
695 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
696 make old name weak alias.
697 * sysdeps/generic/statvfs64.c: Likewise.
698 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
699 make old name weak alias.
700 * sysdeps/generic/fstatvfs64.c: Likewise.
701 * include/sys/statvfs.h: New file.
703 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
704 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
706 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
707 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
708 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
709 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
711 * conform/conformtest.pl: Run Unix tests for XPG6.
712 Implement handling of known namespace violations.
713 Improve printing of results.
715 * posix/unistd.h (usleep): Correct return type.
716 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
717 * sysdeps/unix/bsd/usleep.c: Correct return type.
718 * sysdeps/mach/usleep.c: Correct return type.
719 * sysdeps/generic/usleep.c: Correct return type.
721 * posix/unistd.h (sync): Correct return type.
722 * sysdeps/generic/sync.c: Likewise.
723 * sysdeps/mach/hurd/sync.c: Likewise.
725 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
727 * posix/unistd.h: Make seteuid and setegid available for XPG6.
729 * wcsmbs/wchar.h: Get FILE definition for XPG5.
731 * conform/data/ctype.h-data: Use correct comment form.
732 * conform/data/errno.h-data: Likewise.
733 * conform/data/math.h-data: Likewise.
734 * conform/data/mqueue.h-data: Likewise.
735 * conform/data/netdb.h-data: Likewise.
736 * conform/data/pthread.h-data: Likewise.
738 2001-01-24 Ulrich Drepper <drepper@redhat.com>
740 * conform/data/wordexp.h-data: Fix typo.
742 * conform/conformtest.pl: Handle allow-header correctly.
744 * conform/data/time.h-data: Use correct comment form.
746 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
748 * configure.in: Comment out binutils version test.
750 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
752 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
754 * stdlib/tst-strtod.c (locale_test): New function.
755 (main): Call locale_test.
756 * stdlib/Makefile (tst-strtod-ENV): New variable.
758 2001-01-24 Mark Kettenis <kettenis@gnu.org>
760 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
761 declaration of value such that we actually return the value of the
762 environment variable.
764 2001-01-24 Andreas Jaeger <aj@suse.de>
766 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
768 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
770 * include/sys/sysctl.h: New file.
772 2001-01-23 Andreas Jaeger <aj@suse.de>
774 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
777 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
778 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
781 * manual/install.texi (Tools for Compilation): Change required
784 2001-01-22 Andreas Jaeger <aj@suse.de>
786 * configure.in: Add test for new enough binutils version, move
787 compiler/binutils test up.
789 * Versions.def: Add version GLIBC_2.2.2.
791 2001-01-21 Ulrich Drepper <drepper@redhat.com>
793 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
795 * iconvdata/testdata/IBM932: New file.
796 * iconvdata/testdata/IBM932..UTF8: New file.
797 * iconvdata/testdata/IBM943: New file.
798 * iconvdata/testdata/IBM943..UTF8: New file.
799 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
801 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
803 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
805 2001-01-21 Ulrich Drepper <drepper@redhat.com>
807 * malloc/malloc.c: Remove a few unnecessary initializers of global
810 2000-12-09 H.J. Lu <hjl@gnu.org>
812 * nss/Makefile (routines): Add digits_dots.
813 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
814 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
816 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
818 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
819 (TYPE_VAR_P): Likewise.
820 (FLAGS_VAR): Likewise.
821 (AF_VAR_P): Likewise.
822 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
823 instead of including digits_dots.c.
824 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
825 (TYPE_VAR_P): Likewise.
826 (FLAGS_VAR): Likewise.
827 (AF_VAR_P): Likewise.
828 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
829 instead of including digits_dots.c.
831 2001-01-21 Ulrich Drepper <drepper@redhat.com>
833 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
835 2001-01-21 Andreas Jaeger <aj@suse.de>
837 * elf/constload2.c: Add prototype for init.
839 2001-01-21 Ulrich Drepper <drepper@redhat.com>
841 * stdlib/stdlib.h (drand48_data): Make available only for
842 __USE_MISC. Rename elements to protect namespace. Change type
843 and position of a and init element.
844 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
845 differently. Adjust for drand48_data change. Don't compute a here,
846 it comes from drand48_data.
847 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
848 differently. Adjust for drand48_data change. Compute a here.
849 * stdlib/srand48_r.c: Likewise.
850 * stdlib/drand48.c: Adjust for drand48_data change.
851 * stdlib/lrand48.c: Likewise.
852 * stdlib/mrand48.c: Likewise.
853 * stdlib/seek48.c: Likewise.
854 * stdlib/drand48_r.c: Likewise.
855 * stdlib/lrand48_r.c: Likewise.
856 * stdlib/mrand48_r.c: Likewise.
857 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
859 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
860 * stdlib/jrand48_r.c: Likewise.
862 * po/sv.po: Update from translation team.
864 2001-01-21 Andreas Jaeger <aj@suse.de>
866 * stdio-common/vfprintf.c (vfprintf): Add casts.
868 2001-01-20 Ulrich Drepper <drepper@redhat.com>
870 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
872 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
874 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
875 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
876 * iconvdata/ibm932.c: New file.
877 * iconvdata/ibm932.h: New file.
878 * iconvdata/ibm943.c: New file.
879 * iconvdata/ibm943.h: New file.
880 Patches by Masahide Washizawa <washi@jp.ibm.com>.
882 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
883 preventing optimization from being done. Set the correct type bit
884 in seen. Don't define and use _dl_base_addr unless
885 NEED_DL_BASE_ADDR is defined.
887 * io/ftw.c (ftw_dir): Add slash after directory name if there
888 wasn't any. Reported by loris <loris@iol.it>.
889 * io/Makefile (tests): Add bug-ftw2.
890 * io/bug-ftw2.c: New file.
892 2001-01-19 Ulrich Drepper <drepper@redhat.com>
894 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
895 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
896 * stdlib/tst-rand48.c: New file.
897 * stdlib/Makefile (tests): Add tst-rand48.
899 * locale/newlocale.c (__newlocale): Fix test for setting all
902 2001-01-19 Mark Kettenis <kettenis@gnu.org>
904 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
905 but change looking up the initial directory port in a similar way
906 as done by _hurd_change_directory_port_from_name.
907 * hurd/fchroot.c (fchroot): Likewise.
909 2001-01-18 Ulrich Drepper <drepper@redhat.com>
911 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
912 defined don't look whether the AT_*ID values were set.
913 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
914 (_dl_show_auxv): Rewrite to avoid switch statement.
915 * sysdeps/unix/sysv/linux/kernel-features.h: Define
916 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
917 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
918 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
920 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
921 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
922 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
924 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
926 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
927 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
929 * dlfcn/eval.c (__strtol_internal): Define here.
930 (eval): Use __strtol_internal instead of strtol.
932 * elf/elf.h: Add a few more EF_MIPS_* constants.
934 2001-01-17 Ulrich Drepper <drepper@redhat.com>
936 * manual/Makefile (chapters): Add debug.
937 * manual/debug.texi: New file.
938 * manual/examples/execinfo.c: New file.
939 Patch by suckfish@ihug.co.nz.
941 2001-01-17 Andreas Schwab <schwab@suse.de>
943 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
946 2001-01-17 Andreas Jaeger <aj@suse.de>
948 * nscd/connections.c (nscd_run): Use proper format specifier.
950 2001-01-16 Ulrich Drepper <drepper@redhat.com>
952 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
953 x86_platforms data into new file after prepending _dl_. Change
955 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
956 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
957 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
960 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
962 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
963 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
964 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
966 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
967 * sysdeps/i386/bsd-setjmp.S: Real implementation.
968 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
969 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
972 2001-01-16 Andreas Jaeger <aj@suse.de>
974 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
975 misapplied last patch.
977 2001-01-15 Ulrich Drepper <drepper@redhat.com>
979 * stdlib/random.c (__initstate): Clean up a cast.
980 (__setstate): Likewise.
982 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
983 syscall handling. The generic Linux version should work.
985 2001-01-15 Andreas Jaeger <aj@suse.de>
987 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
989 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
991 2001-01-14 Jakub Jelinek <jakub@redhat.com>
993 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
994 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
996 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
997 If number is 0, list all.
998 (services_keys): Likewise. Lookup aliases as well.
999 (databases): New table.
1000 (build_doc): Prepare argp doc text with list of supported databases.
1001 (main): Change to table driven processing.
1003 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
1005 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1008 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1010 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1011 encode value which does not fit in the 32bit type.
1013 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
1015 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1016 Change type of CTX to (struct sigcontext *).
1017 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1018 (GET_FRAME): Likewise.
1019 (GET_STACK): Likewise.
1020 (SIGCONTEXT): Likewise. Add 2nd arg _code.
1021 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1023 2001-01-13 Ulrich Drepper <drepper@redhat.com>
1025 * manual/texinfo.tex: Update from upstream version.
1027 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1029 * inet/ether_ntoh.c (lookup_function): Change arguments to match
1030 _nss_*_getntohost_r prototype.
1031 (ether_ntohost): Pass errno pointer to NSS function.
1033 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1036 (MAP_LOCKED): New definition.
1037 (MAP_NORESERVE): New definition.
1039 2001-01-12 Ulrich Drepper <drepper@redhat.com>
1041 * assert/assert.h: Use static_cast instead of C-style cast for C++.
1042 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1044 2001-01-12 Ben Collins <bcollins@debian.org>
1046 * sysdeps/generic/segfault.c (install_handler): Use access, not
1049 2001-01-12 Andreas Jaeger <aj@suse.de>
1051 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1052 * posix/wordexp.c (do_parse_glob): Likewise.
1053 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1054 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1055 * elf/dl-open.c (_dl_open): Likewise.
1056 * elf/dl-close.c (_dl_close): Likewise.
1057 * elf/dl-load.c (_dl_map_object): Likewise.
1058 * iconv/iconv_prog.c (process_fd): Likewise.
1059 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1061 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1062 of a zero-length array.
1064 2001-01-11 Jakub Jelinek <jakub@redhat.com>
1066 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1067 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1068 * stdlib/cxa_on_exit.c: Remove.
1069 * stdlib/Makefile: Revert last patch.
1070 * stdlib/Versions: Likewise.
1071 * include/stdlib.h: Likewise.
1072 * stdlib/exit.h: Revert last patch.
1073 (struct exit_function): Add second argument to cxa fn.
1074 * stdlib/exit.c: Revert last patch.
1075 (exit): Add hidden second argument.
1077 2001-01-11 H.J. Lu <hjl@gnu.org>
1079 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1080 * elf/dl-open.c (_dl_open): Here.
1081 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1083 (_dl_static_init): Initialize the variables every time when possible.
1084 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1087 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1089 * stdlib/Makefile (routines): Add cxa_on_exit.
1090 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1091 * stdlib/cxa_on_exit.c: New file.
1092 * include/stdlib.h: Add prototype for __cxa_on_exit.
1093 * stdlib/exit.c: Handle ef_cxa2.
1094 * stdlib/exit.h (enum): Add ef_cxa2.
1095 (struct exit_function): Add cxa2.
1097 * Versions.def [ld]: Add GLIBC_2.2.1.
1099 2001-01-10 H.J. Lu <hjl@gnu.org>
1101 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1102 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1104 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1105 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1106 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1107 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1108 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1110 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1112 * libio/stdio.h: Remove definition of off_t.
1114 2001-01-11 Andreas Jaeger <aj@suse.de>
1116 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1119 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1121 * sunrpc/Makefile (distribute): Add errqueue.h.
1123 2001-01-10 H.J. Lu <hjl@gnu.org>
1125 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1126 r9, r10 and r11 for language specific registers.
1128 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1130 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1132 (clntudp_call): Handle MSG_ERRQUEUE.
1133 * sysdeps/generic/errqueue.h: New file.
1134 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1136 2001-01-10 H.J. Lu <hjl@gnu.org>
1138 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1140 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1142 * CONFORMANCE: Update.
1144 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1146 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1147 Minimal cleanups. Add assert to ensure memory handling is correct.
1149 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1150 Reported by Ben Collins <bcollins@debian.org>.
1152 * time/strftime.c (my_strftime): Mark previous GNU extensions
1153 which are now in C99 as such.
1155 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1157 * elf/rtld.c (process_envvars): Place output files for profiling
1158 in SUID binaries in /var/profile.
1160 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1161 preloading in SUID binaries.
1163 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1164 O_NOFOLLOW if possible.
1166 * include/stdlib.h: Add __posix_openpt declaration.
1167 * stdlib/stdlib.h: Add posix_openpt declaration.
1168 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1169 * sysdeps/generic/getpt.c: Define posix_openpt.
1170 * sysdeps/unix/bsd/getpt.c: Likewise.
1171 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1173 * time/Makefile (tests): Add tst-mktime.
1174 * time/tst-mktime.c: New file.
1176 * posix/tst-dir.c (main): One more mkdir() test.
1178 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1179 Remove getpagesize syscall. We assume that the pagesize is always
1180 determined from the auxiliary vector.
1182 * intl/dcigettext.c: Fix a few warnings.
1183 Patch by Bruno Haible <haible@ilog.fr>.
1185 2001-01-08 Andreas Jaeger <aj@suse.de>
1187 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1188 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1190 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1192 * sysdeps/generic/segfault.c (install_handler): Check output file
1195 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1196 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1198 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1200 * malloc/memusage.c (me): Use access() to determine whether we
1201 should write the output file or not.
1203 * libio/bits/stdio.h (printf): Define macro to map printf call to
1204 fprintf which gcc can optimize.
1205 * stdio-common/printf.c: Undefine printf.
1207 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1209 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1210 patch. We must use unsigned int for l member of union.
1212 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1213 _dl_aux_init for shared libraries.
1215 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1216 * sysdeps/gnu/glob64.c: ...here. New file.
1218 2001-01-07 Ben Collins <bcollins@debian.org>
1220 * manual/examples/longopt.c: Make the "struct option" a little
1221 more like it should be, adding usage of required_argument,
1222 noargument and such, and also setting the options string right.
1224 * manual/sysinfo.texi (Load Average): New section, documents
1227 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1229 * version.h (VERSION): Bump to 2.2.1.
1231 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1232 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1233 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1234 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1235 * Makefile (distribute): Add include/libc-internal.h.
1236 * libio/Makefile (distribute): Avoid overwriting.
1238 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1239 buffer and table handling.
1241 2001-01-05 H.J. Lu <hjl@gnu.org>
1243 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1244 vector checking to ...
1245 (_dl_aux_init): Here. New function. Defined only if
1246 HAVE_AUX_VECTOR is defined.
1248 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1249 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1251 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1254 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1255 (HAVE_AUX_VECTOR): Defined.
1256 (_dl_aux_init): Declared.
1258 2001-01-05 Ben Collins <bcollins@debian.org>
1260 * manual/string.texi (Finding Tokens in a String): Document XPG
1261 basename() and dirname(), as well as GNU basename().
1263 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1265 * Makeconfig (preprocess-version): Replace -traditional with
1266 -x assembler-with-cpp.
1268 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1270 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1271 for GCC 2.97 or later.
1273 2001-01-05 Ben Collins <bcollins@debian.org>
1275 * manual/stdio.texi (getline): Clarify the return value in the
1276 case of EOF being reached before a newline.
1278 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1280 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1282 (pmap_set, pmap_unset): Check __get_myaddress return value.
1284 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1286 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1287 (struct ether_addr): Declare ether_addr_octet member as
1288 `u_int8_t'. Add __attribute__ ((__packed__)).
1290 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1292 * sysdeps/mach/hurd/readdir64.c: New file.
1293 * sysdeps/mach/hurd/readdir64_r.c: New file.
1295 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1297 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1298 `struct statfs' and `struct statvfs' being identical.
1299 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1301 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1303 * sysdeps/mach/hurd/fstatfs64.c: New file.
1304 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1305 * sysdeps/mach/hurd/statfs64.c: New file.
1306 * sysdeps/mach/hurd/statvfs64.c: New file.
1307 * sysdeps/mach/hurd/statfsconv.c: New file.
1308 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1310 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1312 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1313 Reported by Owen Taylor <otaylor@redhat.com>.
1314 * iconv/Makefile (tests): Add tst-iconv3.
1315 * iconv/tst-iconv3.c: New file.
1317 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1318 * iconvdata/ibm933.c: Likewise.
1319 * iconvdata/ibm935.c: Likewise.
1320 * iconvdata/ibm937.c: Likewise.
1321 * iconvdata/ibm939.c: Likewise.
1322 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1323 * iconvdata/ibm933.h: Likewise.
1324 * iconvdata/ibm935.h: Likewise.
1325 * iconvdata/ibm939.h: Likewise.
1327 * iconvdata/testdata/IBM930: Add misssing SI.
1328 * iconvdata/testdata/IBM933: Likewise.
1329 * iconvdata/testdata/IBM935: Likewise.
1330 * iconvdata/testdata/IBM937: Likewise.
1331 * iconvdata/testdata/IBM939: Likewise.
1333 2001-01-06 Andreas Jaeger <aj@suse.de>
1335 * configure.in: Check for old add-ons that shouldn't be used with
1336 current glibc anymore.
1338 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1340 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1341 instead of -1 on failure. Don't forget to copy file name into
1342 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1345 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1347 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1348 copy st_atime member.
1350 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1352 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1353 for searches from the root directory.
1354 Reported by loris <loris@iol.it> [PR libc/1991].
1355 * io/Makefile (tests): Add bug-ftw1.
1356 * io/bug-ftw1.c: New file.
1358 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1359 if it is not available. Instead use it only if it is available.
1360 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1362 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1363 overflowing output buffer.
1364 (internal_ucs4_loop_unaligned): Likewise.
1365 (ucs4_internal_loop): Likewise.
1366 (ucs4_internal_loop_unaligned): Likewise.
1367 (internal_ucs4le_loop): Likewise.
1368 (internal_ucs4le_loop_unaligned): Likewise.
1369 (ucs4le_internal_loop): Likewise.
1370 (ucs4le_internal_loop_unaligned): Likewise.
1371 Reported by Owen Taylor <otaylor@redhat.com>.
1372 * iconv/Makefile (tests): Add tst-iconv2.
1373 * iconv/tst-iconv2.c: New file.
1375 2001-01-04 H.J. Lu <hjl@gnu.org>
1377 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1378 (_dl_clktck): Declared.
1379 (non_dynamic_init): Take 3 arguments.
1380 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1382 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1384 Finish implementation of plural form handling.
1385 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1386 'domainname'. Remove 'plindex' field. Add 'domain' and
1387 'translation_length' fields.
1388 (transcmp): Don't compare 'plindex' fields.
1389 (plural_lookup): New function.
1390 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1391 plural_eval before the translation and its catalog file have been
1392 found. Remove plindex from cache key. Add 'translation_length' and
1393 'domain' to cache result.
1394 (_nl_find_msg): Remove index argument, return length of translation
1395 to the caller instead. Weaken comparison of string lengths, to account
1396 for plural entries. Call iconv() on the entire result string, not
1397 only on the portion needed so far.
1398 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1400 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1402 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1404 * intl/plural.y (yylex): Minimal improvement in number scanner.
1406 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1408 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1409 C compilers that don't support it.
1410 (yylex): Don't use gcc specific case range syntax.
1411 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1414 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1416 * intl/finddomain.c: Remove unneeded includes.
1418 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1420 * intl/localealias.c (memcpy): Return first argument, just like the
1421 real memcpy function does.
1422 * intl/bindtextdom.c (memcpy): Likewise.
1423 * intl/finddomain.c (memcpy): Likewise.
1424 * intl/l10nflist.c (memcpy): Likewise.
1425 * intl/textdomain.c (memcpy): Likewise.
1426 From Paul Eggert <eggert@twinsun.com>.
1428 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1430 * resolv/resolv.h (struct __res_state): Add nsinit field.
1431 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1432 * resolv/res_init.c (__res_vinit): Initialize it.
1433 (res_nclose): Clear it instead of nscount.
1435 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1437 * malloc/mtrace.pl: Fix matching of addresses.
1438 Patch by Aharon Robbins <arnold@skeeve.com>.
1440 * Versions.def (ld): Add GLIBC_2.2.
1442 * catgets/gencat.c: Copyright 2001.
1443 * csu/version.c: Likewise.
1444 * debug/catchsegv.sh: Likewise.
1445 * debug/xtrace.sh: Likewise.
1446 * elf/ldconfig.c: Likewise.
1447 * elf/sprof.c: Likewise.
1448 * iconv/iconv_prog.c: Likewise.
1449 * locale/locale.c: Likewise.
1450 * locale/localedef.c: Likewise.
1451 * malloc/memusage.sh: Likewise.
1452 * malloc/mtrace.pl: Likewise.
1453 * nscd/nscd.c: Likewise.
1454 * posix/getconf.c: Likewise.
1456 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1458 * include/stdio.h: Only provide __getwc_unlocked prototype if
1459 USE_IN_LIBIO is defined.
1461 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1463 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1466 2001-01-03 Andreas Schwab <schwab@suse.de>
1468 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1469 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1471 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1472 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1474 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1475 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1478 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1480 * sysdeps/generic/strtol_l.c: Likewise.
1481 * sysdeps/generic/strtoul_l.c: Likewise.
1482 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1484 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1485 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1486 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1487 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1489 2001-01-04 Andreas Jaeger <aj@suse.de>
1491 * nss/nsswitch.c: Include files for missing prototypes, remove
1492 buggy declaration of prototypes.
1494 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1496 * resolv/Versions: Fix bracing.
1497 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1498 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1500 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1502 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1504 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1506 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1507 Suggested by Minko Markov <mmarkov@home.com>.
1509 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1511 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1512 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1514 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1516 2001-01-02 Ben Collins <bcollins@debian.org>
1518 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1519 if TZ is not set and TZDEFAULT is not present.
1521 2001-01-01 Ben Collins <bcollins@debian.org>
1523 * string/strings.h: Make sure we declare our functions even if
1524 string.h is already included, based on whether or not __USE_BSD is
1527 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1529 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1530 other dlopen() and dlsym().
1531 Based on a patch by Ben Collins <bcollins@debian.org>.
1533 2001-01-02 Andreas Jaeger <aj@suse.de>
1535 * dlfcn/errmsg1.c (main): Call dlerror initially.
1536 Reported by Ben Collins <bcollins@debian.org>.
1538 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1540 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1541 value is ignored if the selected locale is the C locale.
1542 * intl/tst-gettext.c: Set locale for above change.
1543 * intl/tst-translit.c: Likewise.
1545 2001-01-02 Andreas Jaeger <aj@suse.de>
1547 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1548 (_IO_switch_to_wget_mode): Likewise.
1549 (_IO_sputbackwc): Likewise.
1550 (_IO_sungetwc): Use wint_t for result.
1552 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1554 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1557 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1558 to (int) to avoid warnings.
1559 * stdio-common/printf_fp.c (putc): Likewise.
1560 * stdio-common/printf_size.c (putc): Likewise.
1562 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1565 2001-01-01 Andreas Jaeger <aj@suse.de>
1567 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1569 2000-12-31 Andreas Jaeger <aj@suse.de>
1571 * include/libc-internal.h: Add prototype for __libc_freeres.
1573 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1574 for prototypes, remove redundant prototypes.
1575 * gmon/gmon.c: Likewise.
1576 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1577 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1578 * malloc/mtrace.c: Likewise.
1580 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1582 * elf/soinit.c: Likewise.
1583 * sysdeps/generic/prof-freq.c: Likewise.
1584 * sysdeps/mach/hurd/profil.c: Likewise.
1585 * debug/noophooks.c: Likewise.
1586 * debug/pcprofile.c: Likewise.
1587 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1588 * sysdeps/generic/get_clockfreq.c: Likewise.
1589 * malloc/set-freeres.c: Likewise.
1591 * locale/localeinfo.h: Add internal prototypes.
1593 * elf/rtld.c (dl_main): Fix prototype.
1595 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1598 * nis/rpcsvc/yp_prot.h: Remove __P.
1599 * nis/rpcsvc/ypupd.h: Likewise.
1600 * nis/rpcsvc/yp.h: Likewise.
1602 * sunrpc/rpc_main.c: Add noreturn attributes.
1603 * sunrpc/rpc_scan.h: Likewise.
1605 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1607 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1609 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1611 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1613 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1615 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1617 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1618 * include/rpc/auth.h: Likewise.
1619 * include/rpc/auth_des.h: Likewise.
1620 * include/rpc/clnt.h: Likewise.
1621 * include/rpc/rpc.h: Likewise.
1622 * include/rpc/svc.h: Likewise.
1623 * include/rpc/svc_auth.h: Likewise.
1625 * include/rpc/des_crypt.h: New file.
1627 * malloc/memusagestat.c (main): Use return instead of exit to
1629 * io/pwd.c (main): Likewise.
1630 * iconvdata/tst-table-from.c (main): Likewise.
1631 * ctype/test_ctype.c (main): Likewise.
1632 * setjmp/tst-setjmp.c (main): Likewise.
1633 * signal/tst-signal.c (main): Likewise.
1634 * stdlib/tst-strtol.c (main): Likewise.
1635 * stdlib/tst-strtod.c (main): Likewise.
1636 * stdlib/tst-strtoll.c (main): Likewise.
1637 * stdlib/tst-xpg-basename.c (main): Likewise.
1638 * dirent/tst-seekdir.c (main): Likewise.
1639 * grp/testgrp.c (main): Likewise.
1640 * inet/test_ifindex.c (main): Likewise.
1641 * io/test-utime.c (main): Likewise.
1642 * posix/test-vfork.c (main): Likewise.
1643 * posix/testfnm.c (main): Likewise.
1644 * stdio-common/temptest.c (main): Likewise.
1645 * stdio-common/test_rdwr.c (main): Likewise.
1646 * stdio-common/tst-fileno.c (main): Likewise.
1647 * stdio-common/tst-sscanf.c (main): Likewise.
1648 * stdio-common/tstscanf.c (main): Likewise.
1649 * string/bug-strncat1.c (main): Likewise.
1650 * string/bug-strpbrk1.c (main): Likewise.
1651 * string/bug-strspn1.c (main): Likewise.
1652 * string/test-ffs.c (main): Likewise.
1653 * string/tst-inlcall.c (main): Likewise.
1654 * string/tst-svc.c (main): Likewise.
1655 * timezone/test-tz.c (main): Likewise.
1656 * wctype/test_wcfuncs.c (main): Likewise.
1657 * wctype/test_wctype.c (main): Likewise.
1659 * stdlib/tst-random.c: Add attribute noreturn to fail.
1661 2000-12-28 Wolfram Gloger <wg@malloc.de>
1663 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1664 destination overlap. Assume dest is always below source if
1667 2000-12-30 Ulrich Drepper <drepper@redhat.com>
1669 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1670 object was not yet initialized.
1672 2000-12-28 H.J. Lu <hjl@gnu.org>
1674 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1675 is always consistent even if its dependency is failed.
1677 * elf/dl-open.c (_dl_open): Increment the open count before
1678 calling _dl_close () in case of failure.
1680 * elf/neededtest4.c: New file.
1681 * elf/neededobj5.c: New file.
1682 * elf/neededobj6.c: New file.
1684 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1685 (tests): Add neededtest4.
1686 (modules-names): Add neededobj5 and neededobj6.
1687 ($(objpfx)neededobj6.so): New target.
1688 ($(objpfx)neededtest4): New target.
1689 ($(objpfx)neededtest4.out): New target.
1691 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1693 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1694 * stdlib/monetary.h: Add strfmon format attributes.
1696 2000-12-28 Roland McGrath <roland@frob.com>
1698 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1699 __mempcpy does it for us.
1701 2000-12-28 Andreas Jaeger <aj@suse.de>
1703 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1705 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1708 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1711 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1714 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1715 __chown_is_lchown and __real_chown.
1717 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1720 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1721 up GCC's warning about "deprecated use of label at end of compound
1723 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1725 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1727 Remove struct bb and __bb_head since those are declared by
1730 2000-12-22 Ben Collins <bcollins@debian.org>
1732 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1734 * manual/argp.texi: Document argp_domain as part of struct argp.
1736 2000-12-28 Andreas Jaeger <aj@suse.de>
1738 * catgets/Makefile (generated): Add sample.SJIS.cat.
1740 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1742 * elf/dl-minimal.c: Add prototypes.
1744 * include/locale.h: Add internal prototypes.
1745 * include/sys/gmon.h: Likewise.
1747 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1749 2000-12-27 Ben Collins <bcollins@debian.org>
1751 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1752 when reallocating the error strings.
1753 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1755 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1757 * dlfcn/Makefile (tests): Add errmsg1.
1758 (modules-names): Add errmsg1mod.
1759 Add rules to run errmsg1.
1760 * dlfcn/errmsg1.c: New file.
1761 * dlfcn/errmsg1mod.c: New file.
1763 * dlfcn/dlerror.c (dlerror): Always create output string which
1764 includes object file name.
1766 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1767 if we would go through it only once.
1768 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1770 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1771 Patch by Richard Henderson <rth@redhat.com>.
1773 2000-12-27 Jakub Jelinek <jakub@redhat.com>
1775 * malloc/malloc.c (memmove): Add prototypes.
1776 (MALLOC_MEMMOVE): Define.
1777 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1778 destination might overlap.
1780 2000-12-27 Andreas Jaeger <aj@suse.de>
1782 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1784 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1785 * locale/programs/locale.c (show_locale_vars): Likewise.
1786 (show_info): Likewise.
1787 * locale/programs/ld-collate.c (collate_output): Likewise.
1788 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1789 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1790 * stdlib/rpmatch.c (rpmatch): Likewise.
1792 * setjmp/tst-setjmp.c: Make local functions static.
1793 * setjmp/jmpbug.c: Likewise.
1794 * signal/tst-signal.c: Likewise.
1795 * stdio-common/tfformat.c: Likewise.
1796 * string/tst-svc.c: Likewise.
1797 * time/clocktest.c: Likewise.
1798 * time/tst-getdate.c: Likewise.
1799 * dirent/list.c: Likewise.
1800 * dirent/opendir-tst1.c: Likewise.
1801 * posix/runtests.c: Likewise.
1802 * posix/tst-getaddrinfo.c: Likewise.
1803 * posix/tst-chmod.c: Likewise.
1804 * posix/wordexp-test.c: Likewise.
1805 * misc/tst-efgcvt.c: Likewise.
1806 * timezone/tst-timezone.c: Likewise.
1807 * rt/tst-clock.c: Likewise.
1808 * rt/tst-shm.c: Likewise.
1809 * rt/tst-aio2.c: Likewise.
1810 * rt/tst-aio3.c: Likewise.
1811 * rt/tst-aio4.c: Likewise.
1812 * rt/tst-aio5.c: Likewise.
1814 * dlfcn/failtest.c: Add prototype for foo.
1816 * dlfcn/glrefmain.c: Add prototype for do_test.
1818 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1820 * string/test-ffs.c (main): Add prototype for nested function.
1822 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1824 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1826 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1827 setetherent prototype.
1828 Add internal interfaces.
1830 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1831 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1833 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1835 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1837 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1838 prototypes, remove struct etherent since it's declared in ether.h.
1839 Fix ntohost declaration.
1841 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1843 * include/getopt.h: Add internal interfaces.
1844 * include/termios.h: Likewise.
1845 * include/resolv.h: Likewise.
1846 * include/netdb.h: Likewise.
1847 * include/grp.h: Likewise.
1848 * include/pwd.h: Likewise.
1849 * include/shadow.h: Likewise.
1850 * include/rpc/netdb.h: Likewise.
1851 * include/setjmp.h: Likewise.
1853 * include/stdio.h: Add prototypes for compatibility functions.
1854 * include/grp.h: Likewise.
1855 * include/pwd.h: Likewise.
1856 * include/shadow.h: Likewise.
1858 * include/fenv.h: Define internal interfaces.
1860 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1862 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1863 argument case separately.
1864 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1866 2000-12-27 Andreas Jaeger <aj@suse.de>
1868 * include/sys/wait.h: Add some prototypes.
1869 * Rules (dummy.c): Create also prototype to shut up GCC.
1871 2000-12-27 Andreas Jaeger <aj@suse.de>
1873 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1874 it's not needed at the moment.
1875 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1876 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1878 2000-12-26 Andreas Jaeger <aj@suse.de>
1880 * libio/getc_u.c: Include stdio.h via system path to get internal
1882 * libio/getwc_u.c: Likewise.
1884 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1886 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1887 __printf_fp prototypes to ...
1888 * include/printf.h: ...here.
1890 * include/stdio.h: Add some internal prototypes to shut up GCC.
1891 * include/stdlib.h: Likewise.
1893 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1896 * include/signal.h: Add prototypes for internal sigpause
1899 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1901 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1902 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1904 * string/Makefile (tests): Add tst-bswap.
1905 * string/tst-bswap.c: New file.
1907 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1909 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1911 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1913 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1914 Patch by Ed Connell <Ed.Connell@sas.com>.
1916 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1918 * locale/iso-639.def: Correct one entry. Add two missing entries.
1920 * locale/iso-4217.def: Change entry for Eritrea.
1921 Reported by Daniel Yacob <yacob@geez.org>.
1923 2000-12-23 Ben Collins <bcollins@debian.org>
1925 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1928 * manual/stdio.texi (Dynamic Output): Document the return value of
1929 asprintf. Also make the asprintf/snprintf examples a little
1930 better (check for some error returns).
1932 2000-12-22 Andreas Jaeger <aj@suse.de>
1934 * include/stdio.h: Add __ftrylockfile prototype.
1936 2000-12-21 H.J. Lu <hjl@gnu.org>
1938 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1939 Make sign_exponent element signed.
1941 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1944 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1946 2000-12-21 Andreas Jaeger <aj@suse.de>
1948 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1949 * inet/ether_hton.c: Likewise
1950 * inet/ether_ntoh.c: Likewise.
1952 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1953 declaration to match prototype.
1955 * include/netinet/ether.h (struct etherent): Declare here so that
1956 all implementations use the same struct.
1958 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1960 (struct ether): Removed.
1961 Use struct etherent instead of ether everywhere.
1963 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1965 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1967 * sunrpc/publickey.c: Include auth_des.h for prototypes.
1969 2000-12-20 Ulrich Drepper <drepper@redhat.com>
1971 * math/test-misc.c: Add more tests for nextafter functions.
1973 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1974 normal correctly. Correct test for sign.
1975 Based on a patch by HJ Lu.
1977 2000-12-19 Ulrich Drepper <drepper@redhat.com>
1979 * Makeconfig (preprocess-version): Add -traditional to gcc call.
1982 2000-12-19 Andreas Jaeger <aj@suse.de>
1984 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1986 * nis/nis_intern.h: Add prototype for __do_niscall3.
1988 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1991 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1993 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1995 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1997 2000-12-18 Ulrich Drepper <drepper@redhat.com>
1999 * math/test-misc.c: Add more tests for nextafter.
2000 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2001 * sysdeps/ieee754/ldbl-96/math_ldbl.h
2002 (ieee_long_double_shape_type): Make sign_exponent element signed.
2004 * manual/message.texi: Add Estonian to plural overview list.
2005 Correct rule for Slavic languages.
2006 Patch by Stanislav Brabec <utx@penguin.cz>.
2008 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2010 2000-12-18 Andreas Jaeger <aj@suse.de>
2012 * test-skeleton.c: Use temp_name_list instead of name_list to
2013 avoid collision with name_list from inet/netgroup.h.
2015 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2017 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2018 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2019 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2020 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2022 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2023 declaration to match prototype.
2024 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2025 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2026 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2028 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2029 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2030 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2031 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2032 (_nss_nis_getservbyport_r): Likewise.
2033 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2034 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2035 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2036 (_nss_nis_setnetent): Likewise
2037 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2038 (_nss_nis_endnetgrent): Likewise.
2039 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2041 (_nss_nisplus_setnetgrent): Likewise.
2042 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2043 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2044 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2045 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2047 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2049 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2051 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2053 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2054 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2055 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2057 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2058 (_nss_dns_getnetbyaddr_r): Likewise.
2060 2000-12-17 Andreas Jaeger <aj@suse.de>
2062 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2065 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2066 unused attribute to shut up gcc warnings.
2068 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2069 * sysdeps/generic/k_tanl.c: Likewise.
2070 * sysdeps/generic/k_cosl.c: Likewise.
2071 * sysdeps/generic/e_j0l.c: Likewise.
2072 * sysdeps/generic/e_j1l.c: Likewise.
2073 * sysdeps/generic/e_jnl.c: Likewise.
2074 * sysdeps/generic/e_lgammal_r.c: Likewise.
2076 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2078 * elf/vismod.h: New file.
2079 * elf/Makefile (distribute): Add vismod.h.
2080 * elf/vismod1.c: Include vismod.h.
2081 * elf/vismod2.c: Likewise.
2082 * elf/vismod3.c: Likewise.
2084 * elf/constload3.c: Add prototype declarations to shut up gcc.
2085 * elf/failobj.c: Likewise.
2086 * elf/nodelmod3.c: Likewise.
2087 * elf/filtmod1.c: Likewise.
2088 * elf/filtmod2.c: Likewise.
2089 * elf/reldepmod1.c: Likewise.
2090 * elf/reldepmod2.c: Likewise.
2091 * elf/reldepmod3.c: Likewise.
2092 * elf/reldepmod4.c: Likewise.
2093 * elf/unload2dep.c: Likewise.
2094 * elf/unload2mod.c: Likewise.
2095 * elf/ltglobmod1.c: Likewise.
2096 * elf/pathoptobj.c: Likewise.
2097 * elf/neededobj1.c: Likewise.
2098 * elf/neededobj2.c: Likewise.
2099 * elf/neededobj3.c: Likewise.
2100 * elf/neededobj4.c: Likewise.
2101 * elf/nextmod1.c: Likewise.
2102 * elf/nextmod2.c: Likewise.
2104 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2105 at end of compound statement.
2106 * locale/programs/locale.c (show_info): Likewise.
2107 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2109 2000-12-16 Jakub Jelinek <jakub@redhat.com>
2111 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2112 with a pointer not returned by obstack_ functions.
2114 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2116 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2118 (struct stat64): Likewise.
2119 Reported by Michael Keezer <mkeezer@redhat.com>.
2121 * timezone/asia: Update from tzdata2000h.
2122 * timezone/australasia: Likewise.
2123 * timezone/backward: Likewise.
2124 * timezone/europe: Likewise.
2125 * timezone/northamerica: Likewise.
2126 * timezone/southamerica: Likewise.
2127 * timezone/zone.tab: Likewise.
2129 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2131 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2132 and dir.stream is NULL, only free dir.content.
2133 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2134 * io/ftwtest-sh: Test with --early-exit.
2136 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2138 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2139 (FCVT_BUFPTR): New variable.
2140 (fcvt): If fcvt_r returns -1 on the static short buffer,
2141 try to malloc a sufficiently large one and retry.
2142 (free_mem): New function.
2143 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2144 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2146 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2148 * misc/dirname.c (dirname): Fix search for second to last slash.
2150 2000-12-13 Andreas Jaeger <aj@suse.de>
2152 * misc/tst-dirname.c (main): Fix typo in test to really use
2153 the examples from Unix98.
2154 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2156 2000-12-09 H.J. Lu <hjl@gnu.org>
2158 * sysdeps/ia64/fpu/s_fabs.S: New file.
2159 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2160 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2162 2000-12-15 Andreas Jaeger <aj@suse.de>
2164 * stdio-common/scanf9.c (main): Reformat and change to avoid
2167 * stdio-common/tstdiomisc.c: Make local functions static.
2168 * stdio-common/tst-printf.c: Likewise.
2170 * elf/constload2.c: Add prototype declarations to shut up gcc.
2171 * elf/dep1.c: Likewise.
2172 * elf/dep2.c: Likewise.
2173 * elf/dep3.c: Likewise.
2174 * elf/dep4.c: Likewise.
2175 * elf/ltglobmod2.c: Likewise.
2177 * libio/fmemopen.c: Make local functions static.
2179 * elf/Makefile (distribute): Added testobj.h.
2181 * elf/testobj.h: New file.
2183 * elf/testobj1.c: Include testobj.h and move prototype
2184 declarations to testobj.h.
2185 * elf/testobj2.c: Likewise.
2186 * elf/testobj3.c: Likewise.
2187 * elf/testobj4.c: Likewise.
2188 * elf/testobj5.c: Likewise.
2189 * elf/testobj6.c: Likewise.
2190 * elf/testobj1_1.c: Likewise.
2191 * elf/preloadtest.c: Likewise.
2193 2000-12-15 Ben Collins <bcollins@debian.org>
2195 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2196 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2198 2000-12-14 H.J. Lu <hjl@gnu.org>
2200 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2201 field in a float is 8 bits, not 11 bits.
2203 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2205 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2207 2000-12-13 Andreas Jaeger <aj@suse.de>
2209 * manual/message.texi (Using gettextized software): Fix typo.
2211 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2213 Patch by Martin Buchholz <martin@xemacs.org>.
2215 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2216 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2218 2000-12-11 Andreas Jaeger <aj@suse.de>
2220 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2221 kernel_sigset_t and use it.
2222 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2224 2000-12-10 Richard Henderson <rth@redhat.com>
2226 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2227 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2228 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2230 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2232 * sysdeps/alpha/htonl.S: Fix a typo.
2234 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2236 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2238 2000-12-10 Andreas Jaeger <aj@suse.de>
2240 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2241 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2242 Drepper <drepper@redhat.com>.
2244 2000-12-09 Andreas Jaeger <aj@suse.de>
2246 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2248 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2250 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2252 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2255 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2258 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2259 * nscd/connections.c (handle_request): Likewise.
2260 * nscd/pwdcache.c (addpwbyname): Likewise.
2261 * nscd/grpcache.c (addgrbyname): Likewise.
2263 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2265 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2267 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2269 * Makeconfig (default_cflags): Make -O2 the default for stable
2272 2000-12-08 H.J. Lu <hjl@gnu.org>
2274 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2275 * sysdeps/ia64/fpu/s_isinf.S: This.
2276 Add a .pred.rel.mutex note to avoid false report.
2278 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2279 * sysdeps/ia64/fpu/s_isnan.S: This.
2281 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2282 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2283 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2284 * sysdeps/ia64/fpu/s_isinff.S: New file.
2285 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2286 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2287 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2288 * sysdeps/ia64/fpu/s_finite.S: New file.
2289 * sysdeps/ia64/fpu/s_finitef.S: New file.
2290 * sysdeps/ia64/fpu/s_finitel.S: New file.
2291 * sysdeps/ia64/fpu/s_signbit.S: New file.
2292 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2293 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2294 * sysdeps/ia64/fpu/s_copysign.S: New file.
2295 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2296 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2298 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2300 * math/libm-test.inc (main): Fix typos in messages.
2302 * string/stratcliff.c: Add test for rawmemchr.
2304 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2306 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2307 allocate it together with errstring using alloca.
2308 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2309 to "", because it might point to local stack.
2311 2000-12-05 H.J. Lu <hjl@gnu.org>
2313 * nss/Makefile (routines): Add getnssent and getnssent_r.
2314 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2315 (__nss_endent): Likewise.
2316 (__nss_getent_r): Likewise.
2317 (__nss_getent): Likewise.
2318 * nss/getnssent_r.c: New file.
2319 * nss/getnssent.c: New file.
2320 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2321 (GETFUNC_NAME): Updated to call __nss_getent ().
2322 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2323 (STAYOPEN_TMPVAR): Updated.
2324 (STAYOPEN_VAR): Updated.
2325 (SETFUNC_NAME): Updated to call __nss_setent ().
2326 (ENDFUNC_NAME): Updated to call __nss_endent ().
2327 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2329 2000-12-08 Andreas Jaeger <aj@suse.de>
2331 * nscd/dbg_log.h (dbg_log): Correct attribute.
2333 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2335 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2336 cp + len. Compute where from dirname.
2337 Reported by <jreiser@BitWagon.com>.
2339 2000-12-08 Richard Henderson <rth@twiddle.net>
2341 * sysdeps/alpha/_mcount.S: Fix typo.
2342 * sysdeps/alpha/strncpy.S: Likewise.
2344 * sysdeps/alpha/alphaev6/Implies: New file.
2345 * sysdeps/alpha/alphaev67/Implies: New file.
2346 * sysdeps/alpha/alphaev67/ffs.S: New file.
2347 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2348 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2349 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2350 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2351 * sysdeps/alpha/rawmemchr.S: New file.
2352 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2353 * sysdeps/alpha/strcpy.S: Likewise.
2356 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2358 From rick.gorton@alpha-processor.com:
2359 * sysdeps/alpha/alphaev6/memchr.S: New file.
2360 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2361 * sysdeps/alpha/alphaev6/memset.S: New file.
2362 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2363 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2364 * sysdeps/alpha/alphaev67/strcat.S: New file.
2365 * sysdeps/alpha/alphaev67/strchr.S: New file.
2366 * sysdeps/alpha/alphaev67/strlen.S: New file.
2367 * sysdeps/alpha/alphaev67/strncat.S: New file.
2368 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2370 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2372 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2373 Reported by <pspencer@fields.utoronto.ca>.
2375 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2377 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2378 Pointed out by Hans Boehm.
2380 2000-12-07 H.J. Lu <hjl@gnu.org>
2382 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2384 2000-12-07 Andreas Jaeger <aj@suse.de>
2386 * misc/error.c: Add format attributes for __error and __error_at_line.
2388 * nscd/dbg_log.h: Add format attribute.
2390 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2392 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2393 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2395 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2397 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2399 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2401 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2402 (sysdep_routines): Add uitrunc.
2403 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2404 Patches by Michael Keezer <mkeezer@redhat.com>.
2406 2000-12-06 Roland McGrath <roland@frob.com>
2408 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2409 argument data, since it will be used to copy out too (for INOUT).
2410 Reported by Marcus Brinkmann <marcus@gnu.org>.
2412 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2413 (__ioctl): Use uintptr_t instead of unsigned long int.
2415 2000-12-06 Jim Wilson <wilson@redhat.com>
2417 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2419 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2421 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2422 x.5 rounding correctly.
2424 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2426 * stdio-common/perror.c (perror): Conditionalize code dealing with
2427 wide-oriented streams on USE_IN_LIBIO.
2429 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2431 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2432 as internal_function.
2434 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2436 * sysdeps/alpha/elf/start.S (__data_start): Define.
2438 2000-12-05 H.J. Lu <hjl@gnu.org>
2440 * nss/getXXent_r.c (setup): Change the return type to int.
2442 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2444 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2445 (sysdep_routines): Add restf and savef.
2446 * sysdeps/unix/sysv/aix/restf.c: New file.
2447 * sysdeps/unix/sysv/aix/savef.c: New file.
2448 Patches by Michael Keezer <mkeezer@redhat.com>.
2450 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2451 if O_DIRECTORY is not defined.
2452 Patch by Michael Keezer <mkeezer@redhat.com>.
2454 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2455 Patch by Michael Keezer <mkeezer@redhat.com>.
2457 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2458 than 4 bytes in escape sequence.
2459 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2461 2000-12-05 Andreas Jaeger <aj@suse.de>
2463 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2466 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2468 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2470 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2471 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2473 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2475 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2476 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2478 * sysdeps/generic/dl-cache.c: Remove declaration of
2479 _dl_sysdep_read_whole_file.
2481 * elf/dl-load.c (_dl_map_object): Remove declaration of
2482 _dl_load_cache_lookup.
2484 * sysdeps/generic/ldsodefs.h: Add declarations of
2485 _dl_load_cache_lookup, _dl_unload_cache,
2486 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2487 _dl_sysdep_start_cleanup.
2489 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2492 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2493 * sysdeps/generic/dl-environ.c: Likewise.
2495 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2497 * math/atest-exp.c: Likewise.
2498 * math/atest-exp2.c: Likewise.
2499 * math/atest-sincos.c: Likewise.
2500 * stdio-common/_itoa.c: Likewise.
2501 * stdio-common/_itowa.c: Likewise.
2503 * include/gmp.h: New file with internal prototypes.
2505 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2507 * include/setjmp.h: ...here.
2509 * locale/Makefile (routines): Remove codeset_name since it's not
2512 * locale/codeset_name.c: Removed.
2514 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2516 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2518 2000-12-05 Andreas Jaeger <aj@suse.de>
2520 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2522 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2524 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2527 2000-12-05 Andreas Jaeger <aj@suse.de>
2529 * nss/test-netdb.c: Mark local functions as static to avoid
2531 (main): Use return to silence warning.
2533 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2535 * stdio-common/test-popen.c: Mark local functions as static to
2537 (main): Use return to silence warning.
2539 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2541 * assert/test-assert.c: Mark local functions as static to avoid
2543 * assert/test-assert-perr.c: Likewise.
2545 * math/libm-test.inc (main): Use return to silence warnings.
2547 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2549 * math/fenv.h: Fix typo in comment.
2551 * math/test-misc.c (main): Add a few more over and underflow tests
2554 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2557 * math/w_scalb.c: Don't use matherr except in SVID mode.
2558 * math/w_scalbf.c: Likewise.
2559 * math/w_scalbl.c: Likewise.
2560 * math/test-misc.c: Add test for NaN and scalbl.
2561 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2563 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2565 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2566 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2567 * include/libc-symbols.h (strong_alias): Define special version
2568 for HAVE_ASM_GLOBAL_DOT_NAME.
2569 (weak_alias): Likewise.
2570 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2571 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2572 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2573 getutxline, pututxline, and utmpxname.
2574 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2575 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2576 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2577 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2578 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2579 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2580 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2581 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2582 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2583 Patches by Michael Keezer <mkeezer@redhat.com>.
2585 2000-12-04 H.J. Lu <hjl@gnu.org>
2587 * configure.in: Change --with-oldest-abi=ABI to
2588 --enable-oldest-abi=ABI.
2590 2000-12-02 Bruno Haible <haible@clisp.cons.org>
2592 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2593 fwprintf instead of fprintf.
2595 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2597 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2598 DECIMAL_DIG definitions.
2599 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2600 * sysdeps/generic/bits/mathdef.h: Likewise
2601 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2602 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2603 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2604 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2605 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2606 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2608 2000-12-03 Ulrich Drepper <drepper@redhat.com>
2610 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2612 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2613 * math/atest-exp2.c: Likewise.
2614 * math/atest-sincos.c: Likewise.
2616 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2617 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2619 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2620 the handling of denormalized numbers.
2622 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2624 * sysdeps/i386/fpu/fpclassifyl.c: New file.
2626 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2627 pseudo denormal representation of LDBL_MIN.
2629 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2630 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2632 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2633 * iconvdata/jis0208.c: Likewise.
2634 * iconvdata/jis0212.c: Likewise.
2635 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2637 * math/test-misc.c (main): More tests for frexp and some for
2638 fpclassify and isnormal.
2640 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2642 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2644 * math/test-misc.c (main): Add tests for frexp.
2645 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2646 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2648 2000-12-02 H.J. Lu <hjl@gnu.org>
2650 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2653 2000-12-02 Ulrich Drepper <drepper@redhat.com>
2655 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2656 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2659 * sysdeps/generic/glob.c: Adjust types of several variables to
2662 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2664 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2666 2000-11-30 Roland McGrath <roland@frob.com>
2668 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2669 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2670 allow multiple instances using the same function name in one file.
2672 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2674 * configure.in: Correct test for pserver CVS access.
2676 2000-11-28 H.J. Lu <hjl@gnu.org>
2678 * libio/libio.h: Remove extra "#if ... #endif".
2680 2000-11-29 H.J. Lu <hjl@gnu.org>
2682 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2684 2000-12-01 H.J. Lu <hjl@gnu.org>
2686 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2687 * nss/getXXent_r.c: Likewise.
2688 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2690 2000-11-30 H.J. Lu <hjl@gnu.org>
2692 * scripts/abi-versions.awk (oldest_abi): New variable.
2693 Handle the oldest ABI supported.
2695 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2696 for scripts/abi-versions.awk.
2698 * configure.in: Add --with-oldest-abi=ABI.
2699 * configure: Rebuild.
2701 * config.make.in (oldest-abi): New.
2703 * config.h.in (GLIBC_OLDEST_ABI): New.
2705 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2707 2000-11-30 Jakub Jelinek <jakub@redhat.com>
2709 * locale/setlocale.c (setname): Free for all categories, not just
2711 (setlocale): Store a copy of string passed by user, not the string
2714 2000-11-30 Roland McGrath <roland@frob.com>
2716 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2717 rather than _hurd_fd_subinit, so it happens after it's safe to use
2718 libc facilities like malloc.
2720 2000-11-28 Andreas Jaeger <aj@suse.de>
2722 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2723 declaration, adjust declaration of __syscall_getdents to match
2726 2000-11-29 H.J. Lu <hjl@gnu.org>
2728 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2730 2000-11-29 Andreas Jaeger <aj@suse.de>
2732 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2734 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2736 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2737 * dlfcn/defaultmod2.c: Likewise.
2738 * dlfcn/dlopen.c: Likewise.
2739 * dlfcn/dlopenold.c: Likewise.
2740 * dlfcn/failtestmod.c: Likewise.
2741 * dlfcn/glreflib1.c: Likewise.
2742 * dlfcn/glreflib2.c: Likewise.
2743 * dlfcn/eval.c: Likewise. Add attributes.
2745 * ctype/ctype-extn.c: Define isblank and not __isblank.
2747 * time/strftime.c: Add const where necessary to avoid warnings.
2748 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2750 2000-11-22 Paul Eggert <eggert@twinsun.com>
2752 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2753 size of (size_t) -1; it's not portable.
2755 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2757 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2759 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2761 2000-11-14 Jes Sorensen <jes@linuxcare.com>
2763 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2765 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2766 _mcount is required by profiled binaries.
2768 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2769 * sysdeps/ia64/machine-gmon.h: ...here.
2771 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2773 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2774 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2776 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2778 * iconvdata/ibm922.c: New file.
2779 * iconvdata/ibm922.h: New file.
2780 * iconvdata/ibm1124.c: New file.
2781 * iconvdata/ibm1124.h: New file.
2782 * iconvdata/ibm1129.c: New file.
2783 * iconvdata/ibm1129.h: New file.
2784 * iconvdata/testdata/IBM922: New file.
2785 * iconvdata/testdata/IBM922..UTF8: New file.
2786 * iconvdata/testdata/IBM1124: New file.
2787 * iconvdata/testdata/IBM1124..UTF8: New file.
2788 * iconvdata/testdata/IBM1129: New file.
2789 * iconvdata/testdata/IBM1129..UTF8: New file.
2791 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2793 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2794 character. Change callers.
2795 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2796 * catgets/Makefile: Add rules to build and run test-gencat.
2797 * catgets/sample.SJIS: New file.
2798 * catgets/test-gencat.c: New file.
2799 * catgets/test-gencat.sh: New file.
2800 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2802 2000-11-28 Andreas Jaeger <aj@suse.de>
2804 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2807 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2809 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2811 2000-11-28 Andreas Jaeger <aj@suse.de>
2813 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2815 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2818 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2820 * misc/getusershell.c: Make strings in okshells array const.
2821 * misc/regexp.c: Add const to cast to avoid warnings.
2822 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2823 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2825 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2827 * misc/error.c: Add prototypes for __error and __error_at_line.
2828 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2829 statement to avoid warning.
2830 * test-skeleton.c: Mark timeout_handler with noreturn.
2831 * iconv/skeleton.c (get16u): Add const to cast.
2833 * iconvdata/gb18030.c: Likewise.
2834 * iconvdata/iso-2022-cn-ext.c: Likewise.
2835 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2836 * iconvdata/big5.c: Likewise.
2837 * iconvdata/big5hkscs.c: Likewise.
2838 * iconvdata/iso_6937.c: Likewise.
2839 * iconvdata/iso_6937-2.c: Likewise.
2840 * iconvdata/t.61.c: Likewise.
2841 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2842 * iconvdata/unicode.c: Likewise.
2843 * iconvdata/utf-16.c: Likewise.
2844 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2845 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2846 with little code shuffling.
2848 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2849 the problems introduced when the user selects -O3.
2851 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2852 * misc/sys/cdefs.h: Define __flexarr.
2853 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2855 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2856 * iconv/skeleton.c: Likewise.
2857 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2858 * iconv/loop.c (get16): Add const to cast.
2861 2000-11-27 Andreas Jaeger <aj@suse.de>
2863 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2865 * login/programs/utmpdump.c (print_entry): Likewise.
2867 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2869 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2870 in a single asm as they may be used to access other stored
2872 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2874 2000-11-27 Andreas Jaeger <aj@suse.de>
2876 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2877 * rt/tst-aio64.c: Likewise.
2879 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2881 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2883 (libc.cat): Likewise.
2884 * catgets/gencat.c: Implement handling of message catalogs encoded
2885 with stateful character sets.
2886 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2888 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2890 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2892 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2893 * inet/rcmd.c: Likewise.
2894 * inet/ruserpass.c: Likewise.
2895 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2896 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2897 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2898 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2899 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2900 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2901 * include/aliases.h: Add prototypes for internal __getalias* functions.
2902 * include/netdb.h: Add prototypes for __old_gethostent_r,
2903 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2904 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2905 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2906 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2907 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2908 __old_getrpcbynumber_r, __old_getrpcent_r.
2910 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2911 __getrpcent_r prototypes.
2913 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2915 * string/strcoll.c: Add casts to avoid warnings.
2916 * string/strnlen.c: Likewise.
2917 * string/strxfrm.c: Likewise.
2918 * sysdeps/generic/_strerror.c: Likewise.
2919 * sysdeps/generic/memrchr.c: Likewise.
2920 * sysdeps/generic/strcasestr.c: Likewise.
2921 * sysdeps/generic/strstr.c: Likewise.
2923 * locale/weight.h (findidx): Add const to cast to avoid warning.
2925 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2926 * elf/loadtest.c: Likewise.
2927 * elf/multiload.c: Likewise.
2928 * elf/next.c: Likewise.
2929 * elf/nodelete.c: Likewise.
2930 * elf/noload.c: Likewise.
2931 * elf/order.c: Likewise.
2932 * elf/origtest.c: Likewise.
2933 * elf/preloadtest.c: Likewise.
2934 * elf/restest1.c: Likewise.
2936 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2937 parameter of asm must be in %ecx.
2939 * string/tester.c: Mark test functions as static to avoid warnings.
2941 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2942 preserve value over different gconv-modules files.
2944 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2946 * locale/findlocale.c: Add casts to avoid warnings.
2947 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2948 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2950 * misc/tsearch.c (const_node): New type.
2951 (trecurse): Correct casts to avoid warnings.
2952 (__twalk): Likewise.
2953 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2956 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2958 * test-skeleton.c: Mark local functions as static to avoid warnings.
2960 2000-11-23 H.J. Lu <hjl@gnu.org>
2962 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2963 support the background job.
2966 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2968 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2969 has same names but lower cost.
2971 2000-11-23 Jakub Jelinek <jakub@redhat.com>
2973 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2974 which never occur during bootstrap.
2975 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2977 2000-11-23 Andreas Jaeger <aj@suse.de>
2979 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2981 * nss/Versions: Remove _nss_files_getipnodebyname_r.
2983 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2985 2000-11-18 Martin Buchholz <martin@xemacs.org>
2987 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2990 2000-11-21 Alan Modra <alan@linuxcare.com.au>
2992 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2994 * csu/abi-note.S: Correct comment for operating system number.
2996 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2998 * Versions.def: Add GLIBC_2.2.1 for glibc.
3000 2000-11-22 Andreas Schwab <schwab@suse.de>
3002 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3003 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3005 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3007 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3008 absolute time for pthread_cond_timedwait call.
3009 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3011 * rt/Makefile (tests): Add tst-aio6.
3012 * rt/tst-aio6.c: New file.
3014 2000-11-23 Andreas Jaeger <aj@suse.de>
3016 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3018 2000-11-22 Andreas Jaeger <aj@suse.de>
3020 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3022 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3024 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3026 2000-11-21 Andreas Schwab <schwab@suse.de>
3028 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3029 * sysdeps/arm/setjmp.S: Likewise.
3030 * sysdeps/arm/fpu/setjmp.S: Likewise.
3031 * sysdeps/i386/setjmp.S: Likewise.
3032 * sysdeps/i386/elf/setjmp.S: Likewise.
3033 * sysdeps/s390/setjmp.S: Likewise.
3034 * sysdeps/s390/elf/setjmp.S: Likewise.
3035 * sysdeps/sh/sh3/setjmp.S: Likewise.
3036 * sysdeps/sh/sh4/setjmp.S: Likewise.
3037 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3038 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3040 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3042 2000-11-21 Andreas Jaeger <aj@suse.de>
3044 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3045 NORETURN, fix parameter list.
3047 * string/bug-strncat1.c (main): Fix typo.
3048 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3050 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3052 * configure.in: Add --enable-all-warnings.
3053 * config.make.in (all-warnings): New variable.
3054 * Makeconfig (+gccwarn): Define with many more warnings if
3055 all-warnings is yes.
3057 2000-11-20 Jakub Jelinek <jakub@redhat.com>
3059 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3060 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3061 * malloc/tst-valloc.c (main): Cast valloc return value to long.
3062 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3063 * math/test-fpucw.c (main): Use %lx in format string, cast
3064 control words to long.
3065 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3066 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3067 large that it is unsigned warning.
3069 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3070 it to long on sparc64.
3072 2000-11-20 Andreas Jaeger <aj@suse.de>
3074 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3075 (receiv_print_stats): Likewise.
3077 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3079 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3081 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3083 * csu/gmon-start.c: Always have prototype for __gmon_start.
3084 * csu/version.c: Add prototypes for __libc_print_version and
3086 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3087 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3089 * iconv/gconv_builtin.h: Add ASCII module definitions.
3090 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3091 (add_module): Add cast to avoid warning. Rework construction of
3092 strings for new module.
3093 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3094 (derivation_compare): Likewise.
3095 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3096 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3097 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3098 (struct gconv_alias): Remove const from fromname and toname.
3099 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3101 (internal_ucs4_loop): Use correct const-ness.
3102 (ucs4_internal_loop): Likewise.
3103 (internal_ucs4le_loop): Likewise.
3104 (ucs4le_internal_loop_single): Likewise.
3105 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3106 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3107 assignments appropriately.
3108 (struct known_trans): Remove const from fname.
3109 (trans_compare): Make s1 and s2 const.
3110 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3112 * iconv/skeleton.c: Remove cast in calls of loop functions.
3113 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3114 * iconvdata/iso646.c: Remove US_ASCII support.
3115 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3116 * include/unistd.h: Add __libc_check_standard_fds prototype.
3117 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3118 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3120 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3121 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3122 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3124 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3125 __libc_init_first and _dl_start.
3126 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3127 (DCIGETTEXT): Make domaindata variable const.
3128 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3131 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3133 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3135 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3136 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3139 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3140 value defined in /usr/include/asm-mips/fcntl.h.
3142 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3144 * stdio-common/Makefile (tests): Add test-vfprintf.
3145 (test-vfprintf-ENV): New variable.
3146 * stdio-common/test-vfprintf.c: New file.
3148 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3150 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3151 (tst-mbrtowc-ENV): New variable.
3152 (tst-wcrtomb-ENV): New variable.
3153 * wcsmbs/tst-mbrtowc.c: New file.
3154 * wcsmbs/tst-wcrtomb.c: New file.
3156 2000-11-16 Andreas Jaeger <aj@suse.de>
3158 * manual/install.texi (Tools for Compilation): Update
3159 documentation for GCC 2.95.2.
3161 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3164 if IPv4 and IPv6 requests timed out.
3166 2000-11-18 Akim Demaille <akim@epita.fr>
3168 * malloc/obstack.h: Formatting changes.
3169 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3170 prevents type checking.
3171 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3172 cast the value to (void *): assigning a `foo *' to a `void *'
3174 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3176 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3178 * scripts/config.guess: Update from upstream maintainer.
3179 * scripts/config.sub: Likewise.
3181 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3183 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3184 * libio/freopen64.c (freopen64): Likewise.
3185 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3187 * libio/Makefile: Add rules to build and run test-freopen.
3188 * libio/test-freopen.c: New file.
3189 * libio/test-freopen.sh: New file.
3191 2000-11-15 H.J. Lu <hjl@gnu.org>
3193 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3194 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3195 (DL_DT_FINI_ADDRESS): Likewise.
3197 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3198 return type to ElfW(Addr).
3199 (_dl_function_address): New prototype.
3200 (DL_FUNCTION_ADDRESS): Defined.
3201 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3202 (DL_DT_FINI_ADDRESS): Likewise.
3204 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3206 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3207 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3209 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3210 (_dl_function_address): This.
3212 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3213 function pointer for DT_FINI.
3214 * elf/dl-close.c (_dl_close): Likewise.
3216 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3217 function pointer for DT_INIT.
3219 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3221 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3222 end of wexpbuf buffer.
3224 2000-11-16 Andreas Jaeger <aj@suse.de>
3226 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3227 definition of F_GETLK, F_SETLK, F_SETLKW.
3229 2000-11-16 Andreas Jaeger <aj@suse.de>
3231 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3234 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3236 * dlfcn/default.c (main): Add test for dladdr of main returning
3237 argv[0] in dli_fname field.
3239 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3241 * Makeconfig (run-program-prefix): Move test-static test into the
3244 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3245 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3246 schedule instructions.
3247 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3248 schedule instructions, fix a bug in copying auxiliary data.
3250 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3252 * manual/startup.texi (Program Arguments): Fix type of main's envp
3254 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3256 * iconvdata/gconv-modules: Add CP950 alias.
3258 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3260 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3261 syscall-list.h goal.
3262 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3264 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3266 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3268 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3271 * intl/tst-gettext2.c: Set C locale if setting other locale
3272 failed. Use gettext() not _().
3274 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3275 successfully loaded a new locale.
3277 2000-11-13 Andreas Jaeger <aj@suse.de>
3279 * configure.in: Require gcc 2.95 or newer.
3281 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3283 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3284 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3286 2000-11-11 Jim Meyering <meyering@lucent.com>
3288 * string/strndup.c (strndup): Cast return value to `char *'.
3290 2000-11-15 Jim Meyering <meyering@ascend.com>
3292 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3293 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3294 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3295 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3296 Also #undef __memchr.
3297 Use `weak_alias' only if it's defined.
3299 2000-11-10 H.J. Lu <hjl@gnu.org>
3301 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3303 2000-11-15 Andreas Jaeger <aj@suse.de>
3305 * elf/chroot_canon.c: Include <stdint.h>.
3307 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3308 (print_entry): Likewise.
3309 (add_to_cache): Likewise.
3311 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3313 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3314 (path_hwcap): Likewise.
3315 (search_dir): Likewise.
3317 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3319 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3321 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3322 (_dl_platform_string): New.
3323 (_DL_HWCAP_PLATFORM): New.
3324 (_dl_string_platform): New.
3325 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3327 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3328 (_dl_string_platform): New.
3329 (_DL_HWCAP_PLATFORM): New.
3330 (_dl_platform_string): New.
3332 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3334 (_DL_HWCAP_COUNT): New.
3335 (_dl_string_platform): New.
3336 (_DL_HWCAP_PLATFORM): New.
3337 (_dl_platform_string): New.
3339 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3341 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3343 2000-11-14 Andreas Jaeger <aj@suse.de>
3345 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3347 2000-11-13 Roland McGrath <roland@frob.com>
3349 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3351 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3353 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3354 underrun and make sure the result is null terminated even if there
3355 is no trailing newline.
3357 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3359 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3361 2000-11-10 H.J. Lu <hjl@gnu.org>
3363 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3365 2000-11-10 Andreas Jaeger <aj@suse.de>
3367 * elf/ldconfig.c (create_links): Fix alloca calculation.
3368 Patch by Ben Collins <bcollins@debian.org>.
3370 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3372 * inet/getnameinfo.c (getnameinfo): Use correct destination
3373 parameter for if_indextoname.
3374 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3376 2000-11-09 H.J. Lu <hjl@gnu.org>
3378 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3379 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3380 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3383 * time/Versions (GLIBC_2.1): Move getitimer to...
3384 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3386 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3388 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3389 "make install", to work around a binary incompatibility between
3390 glibc 2.1 and glibc 2.2 gconv modules.
3392 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3394 * intl/locale.alias: Add thai.
3395 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3397 2000-11-07 Akim Demaille <akim@epita.fr>
3399 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3400 argument `data' for consistency with the prototypes.
3402 (obstack_copy, obstack_copy0): Rename the second argument as
3403 `address' for consistency. Qualify it `const'.
3404 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3405 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3406 `const' their input argument (`data' or `address').
3407 Adjust the corresponding macros to include `const' in casts.
3409 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3411 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3414 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3416 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3419 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3421 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3422 ai_protocol by internal table if service was not given.
3424 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3426 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3427 numerical port was specified with protocol without socktype.
3429 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3431 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3433 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3435 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3437 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3439 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3440 sin6_scope_id field.
3442 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3444 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3446 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3448 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3450 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3452 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3453 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3455 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3457 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3458 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3460 2000-11-09 H.J. Lu <hjl@gnu.org>
3462 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3465 See ChangeLog.11 for earlier changes.