1 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3 * locale/programs/locale.c: Implement --verbose option for -a
4 which prints detailed information about the locales.
6 2001-02-05 Ulrich Drepper <drepper@redhat.com>
8 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
10 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
12 2001-02-04 Bruno Haible <haible@clisp.cons.org>
14 * locale/C-translit.h.in: Add transliterations for CJK units of
17 2001-02-05 Ulrich Drepper <drepper@redhat.com>
19 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
20 string. Include <inttypes.h> instead of <stdint.h>.
22 * localedata/Makefile (tests): Add bug-iconv-trans.
23 Define bug-iconv-trans-ENV.
24 * localedata/bug-iconv-trans.c: New file.
26 2001-02-04 Bruno Haible <haible@clisp.cons.org>
28 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
29 pointer, to avoid accumulating output from incomplete (unsuccessful)
30 transliteration attempts.
32 2001-02-05 Ulrich Drepper <drepper@redhat.com>
34 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
35 string. Include <inttypes.h> instead of <stdint.h>.
37 * configure.in: Add check for bison.
38 * config.make.in: Define BISON variable.
39 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
40 Rename YFLAGS to BISONFLAGS.
42 2001-02-05 Andreas Jaeger <aj@suse.de>
44 * io/test-lfs.c (do_test): Test lseek64 return value, call
46 (test_ftello): New function to test ftello64 and fseeko64.
48 * signal/signal.h: Move __sigaction from here to...
49 * include/signal.h: ...here.
51 * io/fcntl.h: Move __fcntl and __open to...
52 * include/fcntl.h: ...here.
54 2001-02-04 Philip Blundell <philb@gnu.org>
56 * configure.in: Distinguish ARM from Thumb.
58 2001-02-04 Philip Blundell <philb@gnu.org>
60 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
61 PC24 relocs with negative value.
63 2001-02-04 Ulrich Drepper <drepper@redhat.com>
65 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
66 files in locale/programs. Add CFLAGS definition to allow compiling
68 * iconv/dummy-repertoire.c: New file.
69 * iconv/iconv_charmap.c: New file.
70 * iconv/iconv_prog.h: New file.
71 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
72 (main): If parameter for -f and -t contain slashes try first to resolve
73 the strings as filenames of charmap files. Use them for conversion
75 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
76 iconv getting charmap names as parameters.
77 * locale/programs/linereader.c (lr_token): Take extra parameters
78 verbose and pass it to get_string.
79 (get_string): Take extra parameters verbose.
80 * locale/programs/charmap.c (parse_charmap): Take extra parameters
81 verbose and be_quiet. Change all callers of lr_token and
83 * locale/programs/charmap.h: Likewise.
84 * locale/programs/ld-address.c: Likewise.
85 * locale/programs/ld-collate.c: Likewise.
86 * locale/programs/ld-ctype.c: Likewise.
87 * locale/programs/ld-identification.c: Likewise.
88 * locale/programs/ld-measurement.c: Likewise.
89 * locale/programs/ld-messages.c: Likewise.
90 * locale/programs/ld-monetary.c: Likewise.
91 * locale/programs/ld-name.c: Likewise.
92 * locale/programs/ld-numeric.c: Likewise.
93 * locale/programs/ld-paper.c: Likewise.
94 * locale/programs/ld-telephone.c: Likewise.
95 * locale/programs/ld-time.c: Likewise.
96 * locale/programs/linereader.c: Likewise.
97 * locale/programs/linereader.h: Likewise.
98 * locale/programs/localedef.c: Likewise.
99 * locale/programs/locfile.c: Likewise.
100 * locale/programs/locfile.h: Likewise.
101 * locale/programs/repertoire.c: Likewise.
103 2001-02-03 Ulrich Drepper <drepper@redhat.com>
105 * iconv/iconv_prog.c (main): If output file name is "-" write to
107 (main): If -f or -t argument is missing use charset of the current
110 2001-02-03 Andreas Jaeger <aj@suse.de>
112 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
113 boundary for SSE/SSE-2 alignment.
115 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
118 2001-02-03 Ulrich Drepper <drepper@redhat.com>
120 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
121 Remove comma at end of enum.
123 * elf/dl-init.c: Add a few __builtin_expect.
125 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
127 2001-02-02 Ulrich Drepper <drepper@redhat.com>
129 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
130 errno is ECONNREFUSED.
132 * posix/Makefile: Define MBS_SUPPORT for regex.c.
133 * posix/regex.c: Implement multibyte character handling.
134 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
136 * string/tst-svc.input: Add two more test cases.
137 * string/tst-svc.expect: Modify to reflect new test cases.
139 2001-02-01 Jakub Jelinek <jakub@redhat.com>
141 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
142 tp->name tests with tp->name[0] tests.
144 2001-01-29 Ben Collins <bcollins@debian.org>
146 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
147 Fix check for name == NULL.
149 2001-02-01 Ulrich Drepper <drepper@redhat.com>
151 * elf/Makefile: Add rules to build and run initfirst test.
152 * elf/initfirst.c: New file.
153 * elf/firstobj.c: New file.
155 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
156 * configure.in: Test for -z initfirst linker option.
157 * config.make.in: Add have-z-initfirst.
158 * elf/dl-init.c (_dl_init): Split out actual initialization code in
159 new function call_init. If _dl_initfirst is non-NULL initialize first.
160 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
161 remember object in _dl_initfirst.
162 * elf/soinit.c: Remove special support for calling
163 __pthread_initialize_minimal.
165 * conform/conformtest.pl: Add missing $prepend in type test.
167 2001-01-31 Ulrich Drepper <drepper@redhat.com>
169 * elf/elf.h (SHT_CHECKSUM): New definition.
171 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
172 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
173 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
175 2001-01-31 Mark Kettenis <kettenis@gnu.org>
177 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
178 to get definition of `struct timeval'.
180 2001-01-31 Ulrich Drepper <drepper@redhat.com>
182 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
183 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
185 2001-01-30 Ulrich Drepper <drepper@redhat.com>
187 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
190 * nis/nis_findserv.c: Include <time.h>.
192 2001-01-30 Yong Li <yong.li@asu.edu>
194 * iconv/iconv_prog.c (main): Correct error handling method name.
196 2001-01-29 Ben Collins <bcollins@debian.org>
198 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
199 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
200 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
201 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
203 2001-01-30 Ulrich Drepper <drepper@redhat.com>
205 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
206 Patch by Marko Myllynen <myllynen@lut.fi>.
208 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
209 (int instead of char).
210 (__strpbrk_c3): Likewise.
211 Reported by GOTO Masanori <gotom@debian.or.jp>.
213 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
214 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
215 * include/sys/socket.h: Add SA_LEN here for internal use.
216 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
218 2001-01-29 Ulrich Drepper <drepper@redhat.com>
220 * malloc/Makefile: Don't build memusagestat if cross-compiling.
222 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
224 * math/libm-test.inc (rint_test): Add a few more tests for round
227 2001-01-28 Ulrich Drepper <drepper@redhat.com>
229 * conform/data/pthread.h-data: Correct return type of pthread_exit.
231 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
233 * conform/data/stdlib.h-data: Add _Exit.
235 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
236 if not already happened.
237 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
238 Don't include <limits.h> and <bits/sockaddr.h>.
240 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
242 * conform/data/spawn.h-data: Allow all of <sched.h>.
244 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
247 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
248 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
252 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
253 * libio/stdio.h: Define va_list correctly.
255 * conform/data/pthread.h-data: Make priority protocol related
256 functions optional. Fix typos.
258 * posix/sched.h: Define sched_priority as __sched_priority.
259 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
263 2001-01-27 Ulrich Drepper <drepper@redhat.com>
265 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
268 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
269 * sysdeps/unix/time.c: Likewise.
271 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
272 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
273 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
274 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
275 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
276 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
277 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
278 * time/time.h: Likewise.
280 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
281 * conform/data/complex.h-data: New file.
282 * conform/data/tgmath.h-data: New file.
284 * conform/data/wchar.h-data: Add missing functions.
286 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
288 * conform/data/termios.h-data: Add missing const in tcsetattr()
291 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
292 Don't define pid_t here.
294 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
296 * conform/data/sys/time.h-data: Allow sys/select.h.
297 * conform/data/sys/un.h-data: Fix typo.
298 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
299 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
301 * sysdeps/unix/clock_nanosleep.c: Likewise.
302 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
303 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
304 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
305 * sysdeps/unix/clock_settime.c: Likewise.
307 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
308 * login/getutent.c: Likewise.
309 * login/getutid.c: Likewise.
310 * login/getutline.c: Likewise.
312 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
314 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
315 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
316 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
317 f_fsid field after change in struct statvfs.
318 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
319 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
320 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
322 * conform/data/sys/stat.h-data: Remove isfdtype. Use
325 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
326 recvfrom, send, and socketpair prototypes. Add allow lines.
327 * socket/sys/socket.h: Include <sys/uio.h>.
328 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
329 Fix type of second parameter of listen.
330 Don't declare isfdtype unless __USE_MISC.
331 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
332 * sysdeps/mach/hurd/listen.c: Likewise.
333 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
334 ss_family and __ss_family.
335 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
336 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
337 (struct msghdr): Change type of msg_iovlen to int and type of
338 msg_controllen to socklen_t.
339 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
340 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
341 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
342 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
343 (rresvport_af): Likewise.
345 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
346 * conform/conformtest.pl: Implement handling of symbol.
348 * signal/signal.h: Fix handling of __need_* symbols.
349 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
350 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
351 * include/sys/select.h: Use fd_set not __fd_set.
352 * sysdeps/generic/bits/select.h: Likewise.
353 * sysdeps/i386/bits/select.h: Likewise.
354 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
355 __FDELT, __FDMASK, and __fd_set here.
356 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
357 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
358 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
359 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
360 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
361 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
362 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
363 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
364 * time/sys/time.h: Define struct timeval before including <time.h>
367 * conform/data/sys/time.h-data: fd_set is a typedef.
368 * conform/data/sys/select.h-data: New file.
369 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
370 * conform/conformtest.pl (@headers): Add sys/select.h.
371 (type, optional-type): Unless testing a typedef instantiate object.
372 Implement optional-function.
374 * math/test-misc.c: Include <float.h>.
376 2001-01-27 Andreas Jaeger <aj@suse.de>
378 * misc/efgcvt_r.c: Include <float.h>.
380 2001-01-26 Ulrich Drepper <drepper@redhat.com>
382 * conform/data/stdlib.h-data: Account for XPG6 changes.
383 * stdlib/stdlib.h (__random): Change return value type to long.
384 (posix_memalign): Cleanup parameter names.
385 (setenv, unsetenv): Make available for __USE_XOPEN2K.
386 Change return type of unsetenv to int.
387 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
388 * include/stdlib.h: Change return type of unsetenv to int.
389 Change return type of random to long int.
390 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
391 Return -1 and set errno if parameter is invalid.
392 * stdlib/random.c (__random): Change return value type to long.
394 * conform/data/stdio.h-data: Account for changes in XPG6.
396 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
399 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
400 * conform/data/signal.h-data: Fix sigev_notify_function entry.
401 Fix typo (SIGVALRM -> SIGVTALRM).
402 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
404 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
405 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
406 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
408 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
410 * conform/conformtest.pl: Implement optional-element. Define
411 $mustprepend{"sched.h"}.
412 * conform/data/sched.h-data: Make sporadic scheduler definitions
415 * pwd/pwd.h: Don't define getpwent_r for XPG.
417 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
418 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
419 * sysdeps/mach/hurd/poll.c: Likewise.
420 * sysdeps/unix/bsd/poll.c: Likewise.
421 * sysdeps/unix/sysv/linux/poll.c: Likewise.
422 * sysdeps/unix/sysv/aix/poll.c: Likewise.
423 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
424 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
425 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
426 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
427 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
428 * conform/data/poll.h-data: Fix typo in poll prototype.
430 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
432 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
434 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
436 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
438 * conform/conformtest.pl: Implement optional-type.
440 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
441 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
442 defining uint32_t here. Define IPPORT_RESERVED.
443 (struct hostent): Type of h_length element is int.
444 (getnameinfo): Type of flags parameter is unsigned int.
445 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
446 * conform/data/netdb.h-data: Add many missing definitions.
448 * conform/conformtest.pl: Implement optional-macro.
449 * conform/data/math.h-data: Update for XPG6.
451 * math/math.h (HUGE): Define as FLT_MAX value but don't use
452 FLT_MAX. Don't include <float.h>.
453 (MAXFLOAT): Likewise.
455 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
457 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
459 * conform/data/limits.h-data: Mark constants as optional wherever
462 * posix/bits/posix2_lim.h: Set correct values for
463 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
466 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
469 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
471 * conform/data/netinet/in.h-data: Add reserved prefixes.
473 * conform/data/arpa/inet.h-data: Fix a few typos.
475 2001-01-26 Andreas Jaeger <aj@suse.de>
477 * sysdeps/generic/strtol.c: Include <locale.h>
478 * stdlib/strtod.c: Likewise
479 * stdlib/strfmon.c: Likewise.
480 * string/strcoll.c: Likewise.
481 * string/strxfrm.c: Likewise.
482 * wctype/wcfuncs_l.c: Likewise.
483 * wctype/wctype_l.c: Likewise.
484 * wctype/wctrans_l.c: Likewise.
486 * include/bits/locale.h: New file.
488 2001-01-26 Ulrich Drepper <drepper@redhat.com>
490 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
493 * locale/Makefile (headers): Add bits/locale.h.
494 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
495 and use __LC_ constants instead of LC_.
496 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
497 using __LC_ constants.
498 * locale/bits/locale.h: New file.
499 * locale/loadlocale.c: Include <locale.h>.
500 * locale/nl_langinfo.h: Likewise.
502 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
504 * io/sys/stat.h: Define S_IFSOCK for XPG6.
506 * conform/data/fcntl.h-data: posix_madvise is not expected here.
508 * conform/conformtest.pl: Fix handling of macro-str.
510 * conform/data/inttypes.h-data: Add missing definition and all of
513 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
515 2001-01-25 Ulrich Drepper <drepper@redhat.com>
517 * conform/conformtest.pl (@headers): Add stdint.h.
518 * conform/data/stdint.h-data: New file.
520 * conform/conformtest.pl: Recognize options --headers and
521 --dialect. Add dialect-specific CFLAGS.
523 * conform/conformtest.pl: Implement handling of recursive
526 * conform/data/locale.h-data: Add new struct lconv members.
528 * posix/wordexp.h: Correct definition of wordexp_t.
529 * posix/wordexp.c: Moved to ...
530 * sysdeps/generic/wordexp.c: ...here. New file.
531 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
532 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
533 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
534 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
536 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
537 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
539 * math/tgmath.h: Pretty printing.
541 * math/Makefile (tests): Add test-tgmath.
542 (CFLAGS-test-tgmath.c): New variable.
543 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
545 * conform/conformtest.pl: Handle allow-header in secondary headers
548 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
551 * conform/data/netinet/in.h-data: Use correct comment character.
552 * conform/data/sys/stat.h-data: Likewise.
554 2001-01-25 Jakub Jelinek <jakub@redhat.com>
556 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
557 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
558 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
559 __builtin_classify_type, add ##f suffixes where appropriate.
560 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
561 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
562 __builtin_classify_type.
563 (fma): Fix spelling of first argument.
565 2001-01-25 Ulrich Drepper <drepper@redhat.com>
567 * conform/data/unistd.h-data: Mark functions removed in XPG6
570 * posix/unistd.h: Don't make functions removed in XPG6 available if
573 * conform/conformtest.pl: Implement optional-constant.
574 * conform/data/unistd.h-data: Use optional-constant wherever
577 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
578 constants and add _SC_STREAMS.
579 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
581 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
582 make old name weak alias.
583 * sysdeps/generic/statvfs64.c: Likewise.
584 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
585 make old name weak alias.
586 * sysdeps/generic/fstatvfs64.c: Likewise.
587 * include/sys/statvfs.h: New file.
589 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
590 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
592 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
593 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
594 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
595 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
597 * conform/conformtest.pl: Run Unix tests for XPG6.
598 Implement handling of known namespace violations.
599 Improve printing of results.
601 * posix/unistd.h (usleep): Correct return type.
602 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
603 * sysdeps/unix/bsd/usleep.c: Correct return type.
604 * sysdeps/mach/usleep.c: Correct return type.
605 * sysdeps/generic/usleep.c: Correct return type.
607 * posix/unistd.h (sync): Correct return type.
608 * sysdeps/generic/sync.c: Likewise.
609 * sysdeps/mach/hurd/sync.c: Likewise.
611 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
613 * posix/unistd.h: Make seteuid and setegid available for XPG6.
615 * wcsmbs/wchar.h: Get FILE definition for XPG5.
617 * conform/data/ctype.h-data: Use correct comment form.
618 * conform/data/errno.h-data: Likewise.
619 * conform/data/math.h-data: Likewise.
620 * conform/data/mqueue.h-data: Likewise.
621 * conform/data/netdb.h-data: Likewise.
622 * conform/data/pthread.h-data: Likewise.
624 2001-01-24 Ulrich Drepper <drepper@redhat.com>
626 * conform/data/wordexp.h-data: Fix typo.
628 * conform/conformtest.pl: Handle allow-header correctly.
630 * conform/data/time.h-data: Use correct comment form.
632 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
634 * configure.in: Comment out binutils version test.
636 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
638 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
640 * stdlib/tst-strtod.c (locale_test): New function.
641 (main): Call locale_test.
642 * stdlib/Makefile (tst-strtod-ENV): New variable.
644 2001-01-24 Mark Kettenis <kettenis@gnu.org>
646 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
647 declaration of value such that we actually return the value of the
648 environment variable.
650 2001-01-24 Andreas Jaeger <aj@suse.de>
652 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
654 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
656 * include/sys/sysctl.h: New file.
658 2001-01-23 Andreas Jaeger <aj@suse.de>
660 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
663 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
664 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
667 * manual/install.texi (Tools for Compilation): Change required
670 2001-01-22 Andreas Jaeger <aj@suse.de>
672 * configure.in: Add test for new enough binutils version, move
673 compiler/binutils test up.
675 * Versions.def: Add version GLIBC_2.2.2.
677 2001-01-21 Ulrich Drepper <drepper@redhat.com>
679 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
681 * iconvdata/testdata/IBM932: New file.
682 * iconvdata/testdata/IBM932..UTF8: New file.
683 * iconvdata/testdata/IBM943: New file.
684 * iconvdata/testdata/IBM943..UTF8: New file.
685 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
687 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
689 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
691 2001-01-21 Ulrich Drepper <drepper@redhat.com>
693 * malloc/malloc.c: Remove a few unnecessary initializers of global
696 2000-12-09 H.J. Lu <hjl@gnu.org>
698 * nss/Makefile (routines): Add digits_dots.
699 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
700 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
702 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
704 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
705 (TYPE_VAR_P): Likewise.
706 (FLAGS_VAR): Likewise.
707 (AF_VAR_P): Likewise.
708 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
709 instead of including digits_dots.c.
710 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
711 (TYPE_VAR_P): Likewise.
712 (FLAGS_VAR): Likewise.
713 (AF_VAR_P): Likewise.
714 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
715 instead of including digits_dots.c.
717 2001-01-21 Ulrich Drepper <drepper@redhat.com>
719 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
721 2001-01-21 Andreas Jaeger <aj@suse.de>
723 * elf/constload2.c: Add prototype for init.
725 2001-01-21 Ulrich Drepper <drepper@redhat.com>
727 * stdlib/stdlib.h (drand48_data): Make available only for
728 __USE_MISC. Rename elements to protect namespace. Change type
729 and position of a and init element.
730 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
731 differently. Adjust for drand48_data change. Don't compute a here,
732 it comes from drand48_data.
733 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
734 differently. Adjust for drand48_data change. Compute a here.
735 * stdlib/srand48_r.c: Likewise.
736 * stdlib/drand48.c: Adjust for drand48_data change.
737 * stdlib/lrand48.c: Likewise.
738 * stdlib/mrand48.c: Likewise.
739 * stdlib/seek48.c: Likewise.
740 * stdlib/drand48_r.c: Likewise.
741 * stdlib/lrand48_r.c: Likewise.
742 * stdlib/mrand48_r.c: Likewise.
743 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
745 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
746 * stdlib/jrand48_r.c: Likewise.
748 * po/sv.po: Update from translation team.
750 2001-01-21 Andreas Jaeger <aj@suse.de>
752 * stdio-common/vfprintf.c (vfprintf): Add casts.
754 2001-01-20 Ulrich Drepper <drepper@redhat.com>
756 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
758 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
760 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
761 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
762 * iconvdata/ibm932.c: New file.
763 * iconvdata/ibm932.h: New file.
764 * iconvdata/ibm943.c: New file.
765 * iconvdata/ibm943.h: New file.
766 Patches by Masahide Washizawa <washi@jp.ibm.com>.
768 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
769 preventing optimization from being done. Set the correct type bit
770 in seen. Don't define and use _dl_base_addr unless
771 NEED_DL_BASE_ADDR is defined.
773 * io/ftw.c (ftw_dir): Add slash after directory name if there
774 wasn't any. Reported by loris <loris@iol.it>.
775 * io/Makefile (tests): Add bug-ftw2.
776 * io/bug-ftw2.c: New file.
778 2001-01-19 Ulrich Drepper <drepper@redhat.com>
780 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
781 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
782 * stdlib/tst-rand48.c: New file.
783 * stdlib/Makefile (tests): Add tst-rand48.
785 * locale/newlocale.c (__newlocale): Fix test for setting all
788 2001-01-19 Mark Kettenis <kettenis@gnu.org>
790 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
791 but change looking up the initial directory port in a similar way
792 as done by _hurd_change_directory_port_from_name.
793 * hurd/fchroot.c (fchroot): Likewise.
795 2001-01-18 Ulrich Drepper <drepper@redhat.com>
797 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
798 defined don't look whether the AT_*ID values were set.
799 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
800 (_dl_show_auxv): Rewrite to avoid switch statement.
801 * sysdeps/unix/sysv/linux/kernel-features.h: Define
802 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
803 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
804 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
806 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
807 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
808 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
810 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
812 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
813 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
815 * dlfcn/eval.c (__strtol_internal): Define here.
816 (eval): Use __strtol_internal instead of strtol.
818 * elf/elf.h: Add a few more EF_MIPS_* constants.
820 2001-01-17 Ulrich Drepper <drepper@redhat.com>
822 * manual/Makefile (chapters): Add debug.
823 * manual/debug.texi: New file.
824 * manual/examples/execinfo.c: New file.
825 Patch by suckfish@ihug.co.nz.
827 2001-01-17 Andreas Schwab <schwab@suse.de>
829 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
832 2001-01-17 Andreas Jaeger <aj@suse.de>
834 * nscd/connections.c (nscd_run): Use proper format specifier.
836 2001-01-16 Ulrich Drepper <drepper@redhat.com>
838 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
839 x86_platforms data into new file after prepending _dl_. Change
841 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
842 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
843 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
846 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
848 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
849 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
850 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
852 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
853 * sysdeps/i386/bsd-setjmp.S: Real implementation.
854 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
855 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
858 2001-01-16 Andreas Jaeger <aj@suse.de>
860 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
861 misapplied last patch.
863 2001-01-15 Ulrich Drepper <drepper@redhat.com>
865 * stdlib/random.c (__initstate): Clean up a cast.
866 (__setstate): Likewise.
868 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
869 syscall handling. The generic Linux version should work.
871 2001-01-15 Andreas Jaeger <aj@suse.de>
873 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
875 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
877 2001-01-14 Jakub Jelinek <jakub@redhat.com>
879 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
880 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
882 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
883 If number is 0, list all.
884 (services_keys): Likewise. Lookup aliases as well.
885 (databases): New table.
886 (build_doc): Prepare argp doc text with list of supported databases.
887 (main): Change to table driven processing.
889 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
891 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
894 2001-01-03 Jakub Jelinek <jakub@redhat.com>
896 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
897 encode value which does not fit in the 32bit type.
899 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
901 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
902 Change type of CTX to (struct sigcontext *).
903 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
904 (GET_FRAME): Likewise.
905 (GET_STACK): Likewise.
906 (SIGCONTEXT): Likewise. Add 2nd arg _code.
907 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
909 2001-01-13 Ulrich Drepper <drepper@redhat.com>
911 * manual/texinfo.tex: Update from upstream version.
913 2001-01-13 Jakub Jelinek <jakub@redhat.com>
915 * inet/ether_ntoh.c (lookup_function): Change arguments to match
916 _nss_*_getntohost_r prototype.
917 (ether_ntohost): Pass errno pointer to NSS function.
919 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
921 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
922 (MAP_LOCKED): New definition.
923 (MAP_NORESERVE): New definition.
925 2001-01-12 Ulrich Drepper <drepper@redhat.com>
927 * assert/assert.h: Use static_cast instead of C-style cast for C++.
928 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
930 2001-01-12 Ben Collins <bcollins@debian.org>
932 * sysdeps/generic/segfault.c (install_handler): Use access, not
935 2001-01-12 Andreas Jaeger <aj@suse.de>
937 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
938 * posix/wordexp.c (do_parse_glob): Likewise.
939 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
940 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
941 * elf/dl-open.c (_dl_open): Likewise.
942 * elf/dl-close.c (_dl_close): Likewise.
943 * elf/dl-load.c (_dl_map_object): Likewise.
944 * iconv/iconv_prog.c (process_fd): Likewise.
945 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
947 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
948 of a zero-length array.
950 2001-01-11 Jakub Jelinek <jakub@redhat.com>
952 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
953 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
954 * stdlib/cxa_on_exit.c: Remove.
955 * stdlib/Makefile: Revert last patch.
956 * stdlib/Versions: Likewise.
957 * include/stdlib.h: Likewise.
958 * stdlib/exit.h: Revert last patch.
959 (struct exit_function): Add second argument to cxa fn.
960 * stdlib/exit.c: Revert last patch.
961 (exit): Add hidden second argument.
963 2001-01-11 H.J. Lu <hjl@gnu.org>
965 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
966 * elf/dl-open.c (_dl_open): Here.
967 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
969 (_dl_static_init): Initialize the variables every time when possible.
970 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
973 2001-01-11 Ulrich Drepper <drepper@redhat.com>
975 * stdlib/Makefile (routines): Add cxa_on_exit.
976 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
977 * stdlib/cxa_on_exit.c: New file.
978 * include/stdlib.h: Add prototype for __cxa_on_exit.
979 * stdlib/exit.c: Handle ef_cxa2.
980 * stdlib/exit.h (enum): Add ef_cxa2.
981 (struct exit_function): Add cxa2.
983 * Versions.def [ld]: Add GLIBC_2.2.1.
985 2001-01-10 H.J. Lu <hjl@gnu.org>
987 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
988 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
990 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
991 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
992 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
993 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
994 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
996 2001-01-11 Ulrich Drepper <drepper@redhat.com>
998 * libio/stdio.h: Remove definition of off_t.
1000 2001-01-11 Andreas Jaeger <aj@suse.de>
1002 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1005 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1007 * sunrpc/Makefile (distribute): Add errqueue.h.
1009 2001-01-10 H.J. Lu <hjl@gnu.org>
1011 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1012 r9, r10 and r11 for language specific registers.
1014 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1016 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1018 (clntudp_call): Handle MSG_ERRQUEUE.
1019 * sysdeps/generic/errqueue.h: New file.
1020 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1022 2001-01-10 H.J. Lu <hjl@gnu.org>
1024 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1026 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1028 * CONFORMANCE: Update.
1030 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1032 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1033 Minimal cleanups. Add assert to ensure memory handling is correct.
1035 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1036 Reported by Ben Collins <bcollins@debian.org>.
1038 * time/strftime.c (my_strftime): Mark previous GNU extensions
1039 which are now in C99 as such.
1041 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1043 * elf/rtld.c (process_envvars): Place output files for profiling
1044 in SUID binaries in /var/profile.
1046 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1047 preloading in SUID binaries.
1049 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1050 O_NOFOLLOW if possible.
1052 * include/stdlib.h: Add __posix_openpt declaration.
1053 * stdlib/stdlib.h: Add posix_openpt declaration.
1054 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1055 * sysdeps/generic/getpt.c: Define posix_openpt.
1056 * sysdeps/unix/bsd/getpt.c: Likewise.
1057 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1059 * time/Makefile (tests): Add tst-mktime.
1060 * time/tst-mktime.c: New file.
1062 * posix/tst-dir.c (main): One more mkdir() test.
1064 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1065 Remove getpagesize syscall. We assume that the pagesize is always
1066 determined from the auxiliary vector.
1068 * intl/dcigettext.c: Fix a few warnings.
1069 Patch by Bruno Haible <haible@ilog.fr>.
1071 2001-01-08 Andreas Jaeger <aj@suse.de>
1073 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1074 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1076 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1078 * sysdeps/generic/segfault.c (install_handler): Check output file
1081 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1082 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1084 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1086 * malloc/memusage.c (me): Use access() to determine whether we
1087 should write the output file or not.
1089 * libio/bits/stdio.h (printf): Define macro to map printf call to
1090 fprintf which gcc can optimize.
1091 * stdio-common/printf.c: Undefine printf.
1093 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1095 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1096 patch. We must use unsigned int for l member of union.
1098 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1099 _dl_aux_init for shared libraries.
1101 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1102 * sysdeps/gnu/glob64.c: ...here. New file.
1104 2001-01-07 Ben Collins <bcollins@debian.org>
1106 * manual/examples/longopt.c: Make the "struct option" a little
1107 more like it should be, adding usage of required_argument,
1108 noargument and such, and also setting the options string right.
1110 * manual/sysinfo.texi (Load Average): New section, documents
1113 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1115 * version.h (VERSION): Bump to 2.2.1.
1117 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1118 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1119 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1120 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1121 * Makefile (distribute): Add include/libc-internal.h.
1122 * libio/Makefile (distribute): Avoid overwriting.
1124 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1125 buffer and table handling.
1127 2001-01-05 H.J. Lu <hjl@gnu.org>
1129 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1130 vector checking to ...
1131 (_dl_aux_init): Here. New function. Defined only if
1132 HAVE_AUX_VECTOR is defined.
1134 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1135 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1137 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1140 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1141 (HAVE_AUX_VECTOR): Defined.
1142 (_dl_aux_init): Declared.
1144 2001-01-05 Ben Collins <bcollins@debian.org>
1146 * manual/string.texi (Finding Tokens in a String): Document XPG
1147 basename() and dirname(), as well as GNU basename().
1149 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1151 * Makeconfig (preprocess-version): Replace -traditional with
1152 -x assembler-with-cpp.
1154 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1156 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1157 for GCC 2.97 or later.
1159 2001-01-05 Ben Collins <bcollins@debian.org>
1161 * manual/stdio.texi (getline): Clarify the return value in the
1162 case of EOF being reached before a newline.
1164 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1166 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1168 (pmap_set, pmap_unset): Check __get_myaddress return value.
1170 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1172 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1173 (struct ether_addr): Declare ether_addr_octet member as
1174 `u_int8_t'. Add __attribute__ ((__packed__)).
1176 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1178 * sysdeps/mach/hurd/readdir64.c: New file.
1179 * sysdeps/mach/hurd/readdir64_r.c: New file.
1181 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1183 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1184 `struct statfs' and `struct statvfs' being identical.
1185 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1187 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1189 * sysdeps/mach/hurd/fstatfs64.c: New file.
1190 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1191 * sysdeps/mach/hurd/statfs64.c: New file.
1192 * sysdeps/mach/hurd/statvfs64.c: New file.
1193 * sysdeps/mach/hurd/statfsconv.c: New file.
1194 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1196 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1198 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1199 Reported by Owen Taylor <otaylor@redhat.com>.
1200 * iconv/Makefile (tests): Add tst-iconv3.
1201 * iconv/tst-iconv3.c: New file.
1203 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1204 * iconvdata/ibm933.c: Likewise.
1205 * iconvdata/ibm935.c: Likewise.
1206 * iconvdata/ibm937.c: Likewise.
1207 * iconvdata/ibm939.c: Likewise.
1208 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1209 * iconvdata/ibm933.h: Likewise.
1210 * iconvdata/ibm935.h: Likewise.
1211 * iconvdata/ibm939.h: Likewise.
1213 * iconvdata/testdata/IBM930: Add misssing SI.
1214 * iconvdata/testdata/IBM933: Likewise.
1215 * iconvdata/testdata/IBM935: Likewise.
1216 * iconvdata/testdata/IBM937: Likewise.
1217 * iconvdata/testdata/IBM939: Likewise.
1219 2001-01-06 Andreas Jaeger <aj@suse.de>
1221 * configure.in: Check for old add-ons that shouldn't be used with
1222 current glibc anymore.
1224 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1226 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1227 instead of -1 on failure. Don't forget to copy file name into
1228 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1231 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1233 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1234 copy st_atime member.
1236 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1238 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1239 for searches from the root directory.
1240 Reported by loris <loris@iol.it> [PR libc/1991].
1241 * io/Makefile (tests): Add bug-ftw1.
1242 * io/bug-ftw1.c: New file.
1244 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1245 if it is not available. Instead use it only if it is available.
1246 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1248 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1249 overflowing output buffer.
1250 (internal_ucs4_loop_unaligned): Likewise.
1251 (ucs4_internal_loop): Likewise.
1252 (ucs4_internal_loop_unaligned): Likewise.
1253 (internal_ucs4le_loop): Likewise.
1254 (internal_ucs4le_loop_unaligned): Likewise.
1255 (ucs4le_internal_loop): Likewise.
1256 (ucs4le_internal_loop_unaligned): Likewise.
1257 Reported by Owen Taylor <otaylor@redhat.com>.
1258 * iconv/Makefile (tests): Add tst-iconv2.
1259 * iconv/tst-iconv2.c: New file.
1261 2001-01-04 H.J. Lu <hjl@gnu.org>
1263 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1264 (_dl_clktck): Declared.
1265 (non_dynamic_init): Take 3 arguments.
1266 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1268 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1270 Finish implementation of plural form handling.
1271 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1272 'domainname'. Remove 'plindex' field. Add 'domain' and
1273 'translation_length' fields.
1274 (transcmp): Don't compare 'plindex' fields.
1275 (plural_lookup): New function.
1276 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1277 plural_eval before the translation and its catalog file have been
1278 found. Remove plindex from cache key. Add 'translation_length' and
1279 'domain' to cache result.
1280 (_nl_find_msg): Remove index argument, return length of translation
1281 to the caller instead. Weaken comparison of string lengths, to account
1282 for plural entries. Call iconv() on the entire result string, not
1283 only on the portion needed so far.
1284 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1286 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1288 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1290 * intl/plural.y (yylex): Minimal improvement in number scanner.
1292 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1294 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1295 C compilers that don't support it.
1296 (yylex): Don't use gcc specific case range syntax.
1297 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1300 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1302 * intl/finddomain.c: Remove unneeded includes.
1304 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1306 * intl/localealias.c (memcpy): Return first argument, just like the
1307 real memcpy function does.
1308 * intl/bindtextdom.c (memcpy): Likewise.
1309 * intl/finddomain.c (memcpy): Likewise.
1310 * intl/l10nflist.c (memcpy): Likewise.
1311 * intl/textdomain.c (memcpy): Likewise.
1312 From Paul Eggert <eggert@twinsun.com>.
1314 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1316 * resolv/resolv.h (struct __res_state): Add nsinit field.
1317 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1318 * resolv/res_init.c (__res_vinit): Initialize it.
1319 (res_nclose): Clear it instead of nscount.
1321 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1323 * malloc/mtrace.pl: Fix matching of addresses.
1324 Patch by Aharon Robbins <arnold@skeeve.com>.
1326 * Versions.def (ld): Add GLIBC_2.2.
1328 * catgets/gencat.c: Copyright 2001.
1329 * csu/version.c: Likewise.
1330 * debug/catchsegv.sh: Likewise.
1331 * debug/xtrace.sh: Likewise.
1332 * elf/ldconfig.c: Likewise.
1333 * elf/sprof.c: Likewise.
1334 * iconv/iconv_prog.c: Likewise.
1335 * locale/locale.c: Likewise.
1336 * locale/localedef.c: Likewise.
1337 * malloc/memusage.sh: Likewise.
1338 * malloc/mtrace.pl: Likewise.
1339 * nscd/nscd.c: Likewise.
1340 * posix/getconf.c: Likewise.
1342 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1344 * include/stdio.h: Only provide __getwc_unlocked prototype if
1345 USE_IN_LIBIO is defined.
1347 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1349 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1352 2001-01-03 Andreas Schwab <schwab@suse.de>
1354 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1355 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1357 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1358 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1360 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1361 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1364 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1366 * sysdeps/generic/strtol_l.c: Likewise.
1367 * sysdeps/generic/strtoul_l.c: Likewise.
1368 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1370 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1371 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1372 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1373 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1375 2001-01-04 Andreas Jaeger <aj@suse.de>
1377 * nss/nsswitch.c: Include files for missing prototypes, remove
1378 buggy declaration of prototypes.
1380 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1382 * resolv/Versions: Fix bracing.
1383 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1384 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1386 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1388 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1390 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1392 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1393 Suggested by Minko Markov <mmarkov@home.com>.
1395 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1397 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1398 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1400 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1402 2001-01-02 Ben Collins <bcollins@debian.org>
1404 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1405 if TZ is not set and TZDEFAULT is not present.
1407 2001-01-01 Ben Collins <bcollins@debian.org>
1409 * string/strings.h: Make sure we declare our functions even if
1410 string.h is already included, based on whether or not __USE_BSD is
1413 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1415 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1416 other dlopen() and dlsym().
1417 Based on a patch by Ben Collins <bcollins@debian.org>.
1419 2001-01-02 Andreas Jaeger <aj@suse.de>
1421 * dlfcn/errmsg1.c (main): Call dlerror initially.
1422 Reported by Ben Collins <bcollins@debian.org>.
1424 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1426 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1427 value is ignored if the selected locale is the C locale.
1428 * intl/tst-gettext.c: Set locale for above change.
1429 * intl/tst-translit.c: Likewise.
1431 2001-01-02 Andreas Jaeger <aj@suse.de>
1433 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1434 (_IO_switch_to_wget_mode): Likewise.
1435 (_IO_sputbackwc): Likewise.
1436 (_IO_sungetwc): Use wint_t for result.
1438 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1440 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1443 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1444 to (int) to avoid warnings.
1445 * stdio-common/printf_fp.c (putc): Likewise.
1446 * stdio-common/printf_size.c (putc): Likewise.
1448 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1451 2001-01-01 Andreas Jaeger <aj@suse.de>
1453 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1455 2000-12-31 Andreas Jaeger <aj@suse.de>
1457 * include/libc-internal.h: Add prototype for __libc_freeres.
1459 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1460 for prototypes, remove redundant prototypes.
1461 * gmon/gmon.c: Likewise.
1462 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1463 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1464 * malloc/mtrace.c: Likewise.
1466 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1468 * elf/soinit.c: Likewise.
1469 * sysdeps/generic/prof-freq.c: Likewise.
1470 * sysdeps/mach/hurd/profil.c: Likewise.
1471 * debug/noophooks.c: Likewise.
1472 * debug/pcprofile.c: Likewise.
1473 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1474 * sysdeps/generic/get_clockfreq.c: Likewise.
1475 * malloc/set-freeres.c: Likewise.
1477 * locale/localeinfo.h: Add internal prototypes.
1479 * elf/rtld.c (dl_main): Fix prototype.
1481 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1484 * nis/rpcsvc/yp_prot.h: Remove __P.
1485 * nis/rpcsvc/ypupd.h: Likewise.
1486 * nis/rpcsvc/yp.h: Likewise.
1488 * sunrpc/rpc_main.c: Add noreturn attributes.
1489 * sunrpc/rpc_scan.h: Likewise.
1491 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1493 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1495 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1497 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1499 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1501 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1503 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1504 * include/rpc/auth.h: Likewise.
1505 * include/rpc/auth_des.h: Likewise.
1506 * include/rpc/clnt.h: Likewise.
1507 * include/rpc/rpc.h: Likewise.
1508 * include/rpc/svc.h: Likewise.
1509 * include/rpc/svc_auth.h: Likewise.
1511 * include/rpc/des_crypt.h: New file.
1513 * malloc/memusagestat.c (main): Use return instead of exit to
1515 * io/pwd.c (main): Likewise.
1516 * iconvdata/tst-table-from.c (main): Likewise.
1517 * ctype/test_ctype.c (main): Likewise.
1518 * setjmp/tst-setjmp.c (main): Likewise.
1519 * signal/tst-signal.c (main): Likewise.
1520 * stdlib/tst-strtol.c (main): Likewise.
1521 * stdlib/tst-strtod.c (main): Likewise.
1522 * stdlib/tst-strtoll.c (main): Likewise.
1523 * stdlib/tst-xpg-basename.c (main): Likewise.
1524 * dirent/tst-seekdir.c (main): Likewise.
1525 * grp/testgrp.c (main): Likewise.
1526 * inet/test_ifindex.c (main): Likewise.
1527 * io/test-utime.c (main): Likewise.
1528 * posix/test-vfork.c (main): Likewise.
1529 * posix/testfnm.c (main): Likewise.
1530 * stdio-common/temptest.c (main): Likewise.
1531 * stdio-common/test_rdwr.c (main): Likewise.
1532 * stdio-common/tst-fileno.c (main): Likewise.
1533 * stdio-common/tst-sscanf.c (main): Likewise.
1534 * stdio-common/tstscanf.c (main): Likewise.
1535 * string/bug-strncat1.c (main): Likewise.
1536 * string/bug-strpbrk1.c (main): Likewise.
1537 * string/bug-strspn1.c (main): Likewise.
1538 * string/test-ffs.c (main): Likewise.
1539 * string/tst-inlcall.c (main): Likewise.
1540 * string/tst-svc.c (main): Likewise.
1541 * timezone/test-tz.c (main): Likewise.
1542 * wctype/test_wcfuncs.c (main): Likewise.
1543 * wctype/test_wctype.c (main): Likewise.
1545 * stdlib/tst-random.c: Add attribute noreturn to fail.
1547 2000-12-28 Wolfram Gloger <wg@malloc.de>
1549 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1550 destination overlap. Assume dest is always below source if
1553 2000-12-30 Ulrich Drepper <drepper@redhat.com>
1555 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1556 object was not yet initialized.
1558 2000-12-28 H.J. Lu <hjl@gnu.org>
1560 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1561 is always consistent even if its dependency is failed.
1563 * elf/dl-open.c (_dl_open): Increment the open count before
1564 calling _dl_close () in case of failure.
1566 * elf/neededtest4.c: New file.
1567 * elf/neededobj5.c: New file.
1568 * elf/neededobj6.c: New file.
1570 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1571 (tests): Add neededtest4.
1572 (modules-names): Add neededobj5 and neededobj6.
1573 ($(objpfx)neededobj6.so): New target.
1574 ($(objpfx)neededtest4): New target.
1575 ($(objpfx)neededtest4.out): New target.
1577 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1579 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1580 * stdlib/monetary.h: Add strfmon format attributes.
1582 2000-12-28 Roland McGrath <roland@frob.com>
1584 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1585 __mempcpy does it for us.
1587 2000-12-28 Andreas Jaeger <aj@suse.de>
1589 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1591 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1594 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1597 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1600 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1601 __chown_is_lchown and __real_chown.
1603 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1606 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1607 up GCC's warning about "deprecated use of label at end of compound
1609 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1611 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1613 Remove struct bb and __bb_head since those are declared by
1616 2000-12-22 Ben Collins <bcollins@debian.org>
1618 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1620 * manual/argp.texi: Document argp_domain as part of struct argp.
1622 2000-12-28 Andreas Jaeger <aj@suse.de>
1624 * catgets/Makefile (generated): Add sample.SJIS.cat.
1626 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1628 * elf/dl-minimal.c: Add prototypes.
1630 * include/locale.h: Add internal prototypes.
1631 * include/sys/gmon.h: Likewise.
1633 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1635 2000-12-27 Ben Collins <bcollins@debian.org>
1637 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1638 when reallocating the error strings.
1639 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1641 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1643 * dlfcn/Makefile (tests): Add errmsg1.
1644 (modules-names): Add errmsg1mod.
1645 Add rules to run errmsg1.
1646 * dlfcn/errmsg1.c: New file.
1647 * dlfcn/errmsg1mod.c: New file.
1649 * dlfcn/dlerror.c (dlerror): Always create output string which
1650 includes object file name.
1652 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1653 if we would go through it only once.
1654 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1656 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1657 Patch by Richard Henderson <rth@redhat.com>.
1659 2000-12-27 Jakub Jelinek <jakub@redhat.com>
1661 * malloc/malloc.c (memmove): Add prototypes.
1662 (MALLOC_MEMMOVE): Define.
1663 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1664 destination might overlap.
1666 2000-12-27 Andreas Jaeger <aj@suse.de>
1668 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1670 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1671 * locale/programs/locale.c (show_locale_vars): Likewise.
1672 (show_info): Likewise.
1673 * locale/programs/ld-collate.c (collate_output): Likewise.
1674 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1675 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1676 * stdlib/rpmatch.c (rpmatch): Likewise.
1678 * setjmp/tst-setjmp.c: Make local functions static.
1679 * setjmp/jmpbug.c: Likewise.
1680 * signal/tst-signal.c: Likewise.
1681 * stdio-common/tfformat.c: Likewise.
1682 * string/tst-svc.c: Likewise.
1683 * time/clocktest.c: Likewise.
1684 * time/tst-getdate.c: Likewise.
1685 * dirent/list.c: Likewise.
1686 * dirent/opendir-tst1.c: Likewise.
1687 * posix/runtests.c: Likewise.
1688 * posix/tst-getaddrinfo.c: Likewise.
1689 * posix/tst-chmod.c: Likewise.
1690 * posix/wordexp-test.c: Likewise.
1691 * misc/tst-efgcvt.c: Likewise.
1692 * timezone/tst-timezone.c: Likewise.
1693 * rt/tst-clock.c: Likewise.
1694 * rt/tst-shm.c: Likewise.
1695 * rt/tst-aio2.c: Likewise.
1696 * rt/tst-aio3.c: Likewise.
1697 * rt/tst-aio4.c: Likewise.
1698 * rt/tst-aio5.c: Likewise.
1700 * dlfcn/failtest.c: Add prototype for foo.
1702 * dlfcn/glrefmain.c: Add prototype for do_test.
1704 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1706 * string/test-ffs.c (main): Add prototype for nested function.
1708 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1710 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1712 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1713 setetherent prototype.
1714 Add internal interfaces.
1716 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1717 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1719 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1721 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1723 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1724 prototypes, remove struct etherent since it's declared in ether.h.
1725 Fix ntohost declaration.
1727 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1729 * include/getopt.h: Add internal interfaces.
1730 * include/termios.h: Likewise.
1731 * include/resolv.h: Likewise.
1732 * include/netdb.h: Likewise.
1733 * include/grp.h: Likewise.
1734 * include/pwd.h: Likewise.
1735 * include/shadow.h: Likewise.
1736 * include/rpc/netdb.h: Likewise.
1737 * include/setjmp.h: Likewise.
1739 * include/stdio.h: Add prototypes for compatibility functions.
1740 * include/grp.h: Likewise.
1741 * include/pwd.h: Likewise.
1742 * include/shadow.h: Likewise.
1744 * include/fenv.h: Define internal interfaces.
1746 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1748 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1749 argument case separately.
1750 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1752 2000-12-27 Andreas Jaeger <aj@suse.de>
1754 * include/sys/wait.h: Add some prototypes.
1755 * Rules (dummy.c): Create also prototype to shut up GCC.
1757 2000-12-27 Andreas Jaeger <aj@suse.de>
1759 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1760 it's not needed at the moment.
1761 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1762 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1764 2000-12-26 Andreas Jaeger <aj@suse.de>
1766 * libio/getc_u.c: Include stdio.h via system path to get internal
1768 * libio/getwc_u.c: Likewise.
1770 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1772 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1773 __printf_fp prototypes to ...
1774 * include/printf.h: ...here.
1776 * include/stdio.h: Add some internal prototypes to shut up GCC.
1777 * include/stdlib.h: Likewise.
1779 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1782 * include/signal.h: Add prototypes for internal sigpause
1785 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1787 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1788 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1790 * string/Makefile (tests): Add tst-bswap.
1791 * string/tst-bswap.c: New file.
1793 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1795 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1797 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1799 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1800 Patch by Ed Connell <Ed.Connell@sas.com>.
1802 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1804 * locale/iso-639.def: Correct one entry. Add two missing entries.
1806 * locale/iso-4217.def: Change entry for Eritrea.
1807 Reported by Daniel Yacob <yacob@geez.org>.
1809 2000-12-23 Ben Collins <bcollins@debian.org>
1811 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1814 * manual/stdio.texi (Dynamic Output): Document the return value of
1815 asprintf. Also make the asprintf/snprintf examples a little
1816 better (check for some error returns).
1818 2000-12-22 Andreas Jaeger <aj@suse.de>
1820 * include/stdio.h: Add __ftrylockfile prototype.
1822 2000-12-21 H.J. Lu <hjl@gnu.org>
1824 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1825 Make sign_exponent element signed.
1827 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1830 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1832 2000-12-21 Andreas Jaeger <aj@suse.de>
1834 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1835 * inet/ether_hton.c: Likewise
1836 * inet/ether_ntoh.c: Likewise.
1838 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1839 declaration to match prototype.
1841 * include/netinet/ether.h (struct etherent): Declare here so that
1842 all implementations use the same struct.
1844 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1846 (struct ether): Removed.
1847 Use struct etherent instead of ether everywhere.
1849 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1851 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1853 * sunrpc/publickey.c: Include auth_des.h for prototypes.
1855 2000-12-20 Ulrich Drepper <drepper@redhat.com>
1857 * math/test-misc.c: Add more tests for nextafter functions.
1859 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1860 normal correctly. Correct test for sign.
1861 Based on a patch by HJ Lu.
1863 2000-12-19 Ulrich Drepper <drepper@redhat.com>
1865 * Makeconfig (preprocess-version): Add -traditional to gcc call.
1868 2000-12-19 Andreas Jaeger <aj@suse.de>
1870 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1872 * nis/nis_intern.h: Add prototype for __do_niscall3.
1874 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1877 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1879 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1881 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1883 2000-12-18 Ulrich Drepper <drepper@redhat.com>
1885 * math/test-misc.c: Add more tests for nextafter.
1886 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1887 * sysdeps/ieee754/ldbl-96/math_ldbl.h
1888 (ieee_long_double_shape_type): Make sign_exponent element signed.
1890 * manual/message.texi: Add Estonian to plural overview list.
1891 Correct rule for Slavic languages.
1892 Patch by Stanislav Brabec <utx@penguin.cz>.
1894 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
1896 2000-12-18 Andreas Jaeger <aj@suse.de>
1898 * test-skeleton.c: Use temp_name_list instead of name_list to
1899 avoid collision with name_list from inet/netgroup.h.
1901 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1903 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1904 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1905 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1906 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1908 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1909 declaration to match prototype.
1910 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1911 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1912 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1914 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1915 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1916 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1917 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1918 (_nss_nis_getservbyport_r): Likewise.
1919 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1920 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1921 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1922 (_nss_nis_setnetent): Likewise
1923 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1924 (_nss_nis_endnetgrent): Likewise.
1925 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1927 (_nss_nisplus_setnetgrent): Likewise.
1928 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1929 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1930 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1931 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1933 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1935 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1937 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1939 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1940 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1941 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1942 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1943 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1944 (_nss_dns_getnetbyaddr_r): Likewise.
1946 2000-12-17 Andreas Jaeger <aj@suse.de>
1948 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1951 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1952 unused attribute to shut up gcc warnings.
1954 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1955 * sysdeps/generic/k_tanl.c: Likewise.
1956 * sysdeps/generic/k_cosl.c: Likewise.
1957 * sysdeps/generic/e_j0l.c: Likewise.
1958 * sysdeps/generic/e_j1l.c: Likewise.
1959 * sysdeps/generic/e_jnl.c: Likewise.
1960 * sysdeps/generic/e_lgammal_r.c: Likewise.
1962 * elf/vismain.c: Move prototypes for functions in vismod*.c to
1964 * elf/vismod.h: New file.
1965 * elf/Makefile (distribute): Add vismod.h.
1966 * elf/vismod1.c: Include vismod.h.
1967 * elf/vismod2.c: Likewise.
1968 * elf/vismod3.c: Likewise.
1970 * elf/constload3.c: Add prototype declarations to shut up gcc.
1971 * elf/failobj.c: Likewise.
1972 * elf/nodelmod3.c: Likewise.
1973 * elf/filtmod1.c: Likewise.
1974 * elf/filtmod2.c: Likewise.
1975 * elf/reldepmod1.c: Likewise.
1976 * elf/reldepmod2.c: Likewise.
1977 * elf/reldepmod3.c: Likewise.
1978 * elf/reldepmod4.c: Likewise.
1979 * elf/unload2dep.c: Likewise.
1980 * elf/unload2mod.c: Likewise.
1981 * elf/ltglobmod1.c: Likewise.
1982 * elf/pathoptobj.c: Likewise.
1983 * elf/neededobj1.c: Likewise.
1984 * elf/neededobj2.c: Likewise.
1985 * elf/neededobj3.c: Likewise.
1986 * elf/neededobj4.c: Likewise.
1987 * elf/nextmod1.c: Likewise.
1988 * elf/nextmod2.c: Likewise.
1990 * locale/programs/ld-collate.c (collate_finish): Don't use labels
1991 at end of compound statement.
1992 * locale/programs/locale.c (show_info): Likewise.
1993 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1995 2000-12-16 Jakub Jelinek <jakub@redhat.com>
1997 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1998 with a pointer not returned by obstack_ functions.
2000 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2002 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2004 (struct stat64): Likewise.
2005 Reported by Michael Keezer <mkeezer@redhat.com>.
2007 * timezone/asia: Update from tzdata2000h.
2008 * timezone/australasia: Likewise.
2009 * timezone/backward: Likewise.
2010 * timezone/europe: Likewise.
2011 * timezone/northamerica: Likewise.
2012 * timezone/southamerica: Likewise.
2013 * timezone/zone.tab: Likewise.
2015 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2017 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2018 and dir.stream is NULL, only free dir.content.
2019 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2020 * io/ftwtest-sh: Test with --early-exit.
2022 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2024 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2025 (FCVT_BUFPTR): New variable.
2026 (fcvt): If fcvt_r returns -1 on the static short buffer,
2027 try to malloc a sufficiently large one and retry.
2028 (free_mem): New function.
2029 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2030 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2032 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2034 * misc/dirname.c (dirname): Fix search for second to last slash.
2036 2000-12-13 Andreas Jaeger <aj@suse.de>
2038 * misc/tst-dirname.c (main): Fix typo in test to really use
2039 the examples from Unix98.
2040 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2042 2000-12-09 H.J. Lu <hjl@gnu.org>
2044 * sysdeps/ia64/fpu/s_fabs.S: New file.
2045 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2046 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2048 2000-12-15 Andreas Jaeger <aj@suse.de>
2050 * stdio-common/scanf9.c (main): Reformat and change to avoid
2053 * stdio-common/tstdiomisc.c: Make local functions static.
2054 * stdio-common/tst-printf.c: Likewise.
2056 * elf/constload2.c: Add prototype declarations to shut up gcc.
2057 * elf/dep1.c: Likewise.
2058 * elf/dep2.c: Likewise.
2059 * elf/dep3.c: Likewise.
2060 * elf/dep4.c: Likewise.
2061 * elf/ltglobmod2.c: Likewise.
2063 * libio/fmemopen.c: Make local functions static.
2065 * elf/Makefile (distribute): Added testobj.h.
2067 * elf/testobj.h: New file.
2069 * elf/testobj1.c: Include testobj.h and move prototype
2070 declarations to testobj.h.
2071 * elf/testobj2.c: Likewise.
2072 * elf/testobj3.c: Likewise.
2073 * elf/testobj4.c: Likewise.
2074 * elf/testobj5.c: Likewise.
2075 * elf/testobj6.c: Likewise.
2076 * elf/testobj1_1.c: Likewise.
2077 * elf/preloadtest.c: Likewise.
2079 2000-12-15 Ben Collins <bcollins@debian.org>
2081 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2082 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2084 2000-12-14 H.J. Lu <hjl@gnu.org>
2086 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2087 field in a float is 8 bits, not 11 bits.
2089 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2091 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2093 2000-12-13 Andreas Jaeger <aj@suse.de>
2095 * manual/message.texi (Using gettextized software): Fix typo.
2097 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2099 Patch by Martin Buchholz <martin@xemacs.org>.
2101 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2102 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2104 2000-12-11 Andreas Jaeger <aj@suse.de>
2106 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2107 kernel_sigset_t and use it.
2108 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2110 2000-12-10 Richard Henderson <rth@redhat.com>
2112 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2113 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2114 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2116 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2118 * sysdeps/alpha/htonl.S: Fix a typo.
2120 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2122 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2124 2000-12-10 Andreas Jaeger <aj@suse.de>
2126 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2127 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2128 Drepper <drepper@redhat.com>.
2130 2000-12-09 Andreas Jaeger <aj@suse.de>
2132 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2134 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2136 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2138 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2141 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2144 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2145 * nscd/connections.c (handle_request): Likewise.
2146 * nscd/pwdcache.c (addpwbyname): Likewise.
2147 * nscd/grpcache.c (addgrbyname): Likewise.
2149 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2151 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2153 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2155 * Makeconfig (default_cflags): Make -O2 the default for stable
2158 2000-12-08 H.J. Lu <hjl@gnu.org>
2160 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2161 * sysdeps/ia64/fpu/s_isinf.S: This.
2162 Add a .pred.rel.mutex note to avoid false report.
2164 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2165 * sysdeps/ia64/fpu/s_isnan.S: This.
2167 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2168 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2169 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2170 * sysdeps/ia64/fpu/s_isinff.S: New file.
2171 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2172 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2173 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2174 * sysdeps/ia64/fpu/s_finite.S: New file.
2175 * sysdeps/ia64/fpu/s_finitef.S: New file.
2176 * sysdeps/ia64/fpu/s_finitel.S: New file.
2177 * sysdeps/ia64/fpu/s_signbit.S: New file.
2178 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2179 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2180 * sysdeps/ia64/fpu/s_copysign.S: New file.
2181 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2182 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2184 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2186 * math/libm-test.inc (main): Fix typos in messages.
2188 * string/stratcliff.c: Add test for rawmemchr.
2190 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2192 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2193 allocate it together with errstring using alloca.
2194 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2195 to "", because it might point to local stack.
2197 2000-12-05 H.J. Lu <hjl@gnu.org>
2199 * nss/Makefile (routines): Add getnssent and getnssent_r.
2200 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2201 (__nss_endent): Likewise.
2202 (__nss_getent_r): Likewise.
2203 (__nss_getent): Likewise.
2204 * nss/getnssent_r.c: New file.
2205 * nss/getnssent.c: New file.
2206 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2207 (GETFUNC_NAME): Updated to call __nss_getent ().
2208 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2209 (STAYOPEN_TMPVAR): Updated.
2210 (STAYOPEN_VAR): Updated.
2211 (SETFUNC_NAME): Updated to call __nss_setent ().
2212 (ENDFUNC_NAME): Updated to call __nss_endent ().
2213 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2215 2000-12-08 Andreas Jaeger <aj@suse.de>
2217 * nscd/dbg_log.h (dbg_log): Correct attribute.
2219 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2221 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2222 cp + len. Compute where from dirname.
2223 Reported by <jreiser@BitWagon.com>.
2225 2000-12-08 Richard Henderson <rth@twiddle.net>
2227 * sysdeps/alpha/_mcount.S: Fix typo.
2228 * sysdeps/alpha/strncpy.S: Likewise.
2230 * sysdeps/alpha/alphaev6/Implies: New file.
2231 * sysdeps/alpha/alphaev67/Implies: New file.
2232 * sysdeps/alpha/alphaev67/ffs.S: New file.
2233 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2234 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2235 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2236 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2237 * sysdeps/alpha/rawmemchr.S: New file.
2238 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2239 * sysdeps/alpha/strcpy.S: Likewise.
2242 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2244 From rick.gorton@alpha-processor.com:
2245 * sysdeps/alpha/alphaev6/memchr.S: New file.
2246 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2247 * sysdeps/alpha/alphaev6/memset.S: New file.
2248 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2249 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2250 * sysdeps/alpha/alphaev67/strcat.S: New file.
2251 * sysdeps/alpha/alphaev67/strchr.S: New file.
2252 * sysdeps/alpha/alphaev67/strlen.S: New file.
2253 * sysdeps/alpha/alphaev67/strncat.S: New file.
2254 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2256 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2258 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2259 Reported by <pspencer@fields.utoronto.ca>.
2261 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2263 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2264 Pointed out by Hans Boehm.
2266 2000-12-07 H.J. Lu <hjl@gnu.org>
2268 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2270 2000-12-07 Andreas Jaeger <aj@suse.de>
2272 * misc/error.c: Add format attributes for __error and __error_at_line.
2274 * nscd/dbg_log.h: Add format attribute.
2276 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2278 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2279 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2281 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2283 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2285 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2287 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2288 (sysdep_routines): Add uitrunc.
2289 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2290 Patches by Michael Keezer <mkeezer@redhat.com>.
2292 2000-12-06 Roland McGrath <roland@frob.com>
2294 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2295 argument data, since it will be used to copy out too (for INOUT).
2296 Reported by Marcus Brinkmann <marcus@gnu.org>.
2298 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2299 (__ioctl): Use uintptr_t instead of unsigned long int.
2301 2000-12-06 Jim Wilson <wilson@redhat.com>
2303 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2305 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2307 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2308 x.5 rounding correctly.
2310 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2312 * stdio-common/perror.c (perror): Conditionalize code dealing with
2313 wide-oriented streams on USE_IN_LIBIO.
2315 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2317 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2318 as internal_function.
2320 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2322 * sysdeps/alpha/elf/start.S (__data_start): Define.
2324 2000-12-05 H.J. Lu <hjl@gnu.org>
2326 * nss/getXXent_r.c (setup): Change the return type to int.
2328 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2330 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2331 (sysdep_routines): Add restf and savef.
2332 * sysdeps/unix/sysv/aix/restf.c: New file.
2333 * sysdeps/unix/sysv/aix/savef.c: New file.
2334 Patches by Michael Keezer <mkeezer@redhat.com>.
2336 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2337 if O_DIRECTORY is not defined.
2338 Patch by Michael Keezer <mkeezer@redhat.com>.
2340 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2341 Patch by Michael Keezer <mkeezer@redhat.com>.
2343 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2344 than 4 bytes in escape sequence.
2345 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2347 2000-12-05 Andreas Jaeger <aj@suse.de>
2349 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2352 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2354 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2356 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2357 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2359 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2361 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2362 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2364 * sysdeps/generic/dl-cache.c: Remove declaration of
2365 _dl_sysdep_read_whole_file.
2367 * elf/dl-load.c (_dl_map_object): Remove declaration of
2368 _dl_load_cache_lookup.
2370 * sysdeps/generic/ldsodefs.h: Add declarations of
2371 _dl_load_cache_lookup, _dl_unload_cache,
2372 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2373 _dl_sysdep_start_cleanup.
2375 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2378 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2379 * sysdeps/generic/dl-environ.c: Likewise.
2381 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2383 * math/atest-exp.c: Likewise.
2384 * math/atest-exp2.c: Likewise.
2385 * math/atest-sincos.c: Likewise.
2386 * stdio-common/_itoa.c: Likewise.
2387 * stdio-common/_itowa.c: Likewise.
2389 * include/gmp.h: New file with internal prototypes.
2391 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2393 * include/setjmp.h: ...here.
2395 * locale/Makefile (routines): Remove codeset_name since it's not
2398 * locale/codeset_name.c: Removed.
2400 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2402 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2404 2000-12-05 Andreas Jaeger <aj@suse.de>
2406 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2408 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2410 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2413 2000-12-05 Andreas Jaeger <aj@suse.de>
2415 * nss/test-netdb.c: Mark local functions as static to avoid
2417 (main): Use return to silence warning.
2419 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2421 * stdio-common/test-popen.c: Mark local functions as static to
2423 (main): Use return to silence warning.
2425 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2427 * assert/test-assert.c: Mark local functions as static to avoid
2429 * assert/test-assert-perr.c: Likewise.
2431 * math/libm-test.inc (main): Use return to silence warnings.
2433 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2435 * math/fenv.h: Fix typo in comment.
2437 * math/test-misc.c (main): Add a few more over and underflow tests
2440 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2441 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2443 * math/w_scalb.c: Don't use matherr except in SVID mode.
2444 * math/w_scalbf.c: Likewise.
2445 * math/w_scalbl.c: Likewise.
2446 * math/test-misc.c: Add test for NaN and scalbl.
2447 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2449 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2451 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2452 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2453 * include/libc-symbols.h (strong_alias): Define special version
2454 for HAVE_ASM_GLOBAL_DOT_NAME.
2455 (weak_alias): Likewise.
2456 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2457 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2458 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2459 getutxline, pututxline, and utmpxname.
2460 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2461 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2462 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2463 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2464 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2465 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2466 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2467 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2468 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2469 Patches by Michael Keezer <mkeezer@redhat.com>.
2471 2000-12-04 H.J. Lu <hjl@gnu.org>
2473 * configure.in: Change --with-oldest-abi=ABI to
2474 --enable-oldest-abi=ABI.
2476 2000-12-02 Bruno Haible <haible@clisp.cons.org>
2478 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2479 fwprintf instead of fprintf.
2481 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2483 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2484 DECIMAL_DIG definitions.
2485 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2486 * sysdeps/generic/bits/mathdef.h: Likewise
2487 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2488 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2489 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2490 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2491 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2492 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2494 2000-12-03 Ulrich Drepper <drepper@redhat.com>
2496 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2498 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2499 * math/atest-exp2.c: Likewise.
2500 * math/atest-sincos.c: Likewise.
2502 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2503 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2505 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2506 the handling of denormalized numbers.
2508 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2510 * sysdeps/i386/fpu/fpclassifyl.c: New file.
2512 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2513 pseudo denormal representation of LDBL_MIN.
2515 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2516 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2518 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2519 * iconvdata/jis0208.c: Likewise.
2520 * iconvdata/jis0212.c: Likewise.
2521 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2523 * math/test-misc.c (main): More tests for frexp and some for
2524 fpclassify and isnormal.
2526 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2528 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2530 * math/test-misc.c (main): Add tests for frexp.
2531 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2532 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2534 2000-12-02 H.J. Lu <hjl@gnu.org>
2536 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2539 2000-12-02 Ulrich Drepper <drepper@redhat.com>
2541 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2542 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2543 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2545 * sysdeps/generic/glob.c: Adjust types of several variables to
2548 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2550 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2552 2000-11-30 Roland McGrath <roland@frob.com>
2554 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2555 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2556 allow multiple instances using the same function name in one file.
2558 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2560 * configure.in: Correct test for pserver CVS access.
2562 2000-11-28 H.J. Lu <hjl@gnu.org>
2564 * libio/libio.h: Remove extra "#if ... #endif".
2566 2000-11-29 H.J. Lu <hjl@gnu.org>
2568 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2570 2000-12-01 H.J. Lu <hjl@gnu.org>
2572 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2573 * nss/getXXent_r.c: Likewise.
2574 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2576 2000-11-30 H.J. Lu <hjl@gnu.org>
2578 * scripts/abi-versions.awk (oldest_abi): New variable.
2579 Handle the oldest ABI supported.
2581 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2582 for scripts/abi-versions.awk.
2584 * configure.in: Add --with-oldest-abi=ABI.
2585 * configure: Rebuild.
2587 * config.make.in (oldest-abi): New.
2589 * config.h.in (GLIBC_OLDEST_ABI): New.
2591 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2593 2000-11-30 Jakub Jelinek <jakub@redhat.com>
2595 * locale/setlocale.c (setname): Free for all categories, not just
2597 (setlocale): Store a copy of string passed by user, not the string
2600 2000-11-30 Roland McGrath <roland@frob.com>
2602 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2603 rather than _hurd_fd_subinit, so it happens after it's safe to use
2604 libc facilities like malloc.
2606 2000-11-28 Andreas Jaeger <aj@suse.de>
2608 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2609 declaration, adjust declaration of __syscall_getdents to match
2612 2000-11-29 H.J. Lu <hjl@gnu.org>
2614 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2616 2000-11-29 Andreas Jaeger <aj@suse.de>
2618 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2620 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2622 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2623 * dlfcn/defaultmod2.c: Likewise.
2624 * dlfcn/dlopen.c: Likewise.
2625 * dlfcn/dlopenold.c: Likewise.
2626 * dlfcn/failtestmod.c: Likewise.
2627 * dlfcn/glreflib1.c: Likewise.
2628 * dlfcn/glreflib2.c: Likewise.
2629 * dlfcn/eval.c: Likewise. Add attributes.
2631 * ctype/ctype-extn.c: Define isblank and not __isblank.
2633 * time/strftime.c: Add const where necessary to avoid warnings.
2634 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2636 2000-11-22 Paul Eggert <eggert@twinsun.com>
2638 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2639 size of (size_t) -1; it's not portable.
2641 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2643 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2645 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2647 2000-11-14 Jes Sorensen <jes@linuxcare.com>
2649 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2651 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2652 _mcount is required by profiled binaries.
2654 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2655 * sysdeps/ia64/machine-gmon.h: ...here.
2657 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2659 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2660 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2662 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2664 * iconvdata/ibm922.c: New file.
2665 * iconvdata/ibm922.h: New file.
2666 * iconvdata/ibm1124.c: New file.
2667 * iconvdata/ibm1124.h: New file.
2668 * iconvdata/ibm1129.c: New file.
2669 * iconvdata/ibm1129.h: New file.
2670 * iconvdata/testdata/IBM922: New file.
2671 * iconvdata/testdata/IBM922..UTF8: New file.
2672 * iconvdata/testdata/IBM1124: New file.
2673 * iconvdata/testdata/IBM1124..UTF8: New file.
2674 * iconvdata/testdata/IBM1129: New file.
2675 * iconvdata/testdata/IBM1129..UTF8: New file.
2677 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2679 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2680 character. Change callers.
2681 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2682 * catgets/Makefile: Add rules to build and run test-gencat.
2683 * catgets/sample.SJIS: New file.
2684 * catgets/test-gencat.c: New file.
2685 * catgets/test-gencat.sh: New file.
2686 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2688 2000-11-28 Andreas Jaeger <aj@suse.de>
2690 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2693 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2695 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2697 2000-11-28 Andreas Jaeger <aj@suse.de>
2699 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2701 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2704 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2706 * misc/getusershell.c: Make strings in okshells array const.
2707 * misc/regexp.c: Add const to cast to avoid warnings.
2708 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2709 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2711 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2713 * misc/error.c: Add prototypes for __error and __error_at_line.
2714 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2715 statement to avoid warning.
2716 * test-skeleton.c: Mark timeout_handler with noreturn.
2717 * iconv/skeleton.c (get16u): Add const to cast.
2719 * iconvdata/gb18030.c: Likewise.
2720 * iconvdata/iso-2022-cn-ext.c: Likewise.
2721 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2722 * iconvdata/big5.c: Likewise.
2723 * iconvdata/big5hkscs.c: Likewise.
2724 * iconvdata/iso_6937.c: Likewise.
2725 * iconvdata/iso_6937-2.c: Likewise.
2726 * iconvdata/t.61.c: Likewise.
2727 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2728 * iconvdata/unicode.c: Likewise.
2729 * iconvdata/utf-16.c: Likewise.
2730 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2731 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2732 with little code shuffling.
2734 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2735 the problems introduced when the user selects -O3.
2737 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2738 * misc/sys/cdefs.h: Define __flexarr.
2739 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2741 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2742 * iconv/skeleton.c: Likewise.
2743 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2744 * iconv/loop.c (get16): Add const to cast.
2747 2000-11-27 Andreas Jaeger <aj@suse.de>
2749 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2751 * login/programs/utmpdump.c (print_entry): Likewise.
2753 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2755 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2756 in a single asm as they may be used to access other stored
2758 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2760 2000-11-27 Andreas Jaeger <aj@suse.de>
2762 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2763 * rt/tst-aio64.c: Likewise.
2765 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2767 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2769 (libc.cat): Likewise.
2770 * catgets/gencat.c: Implement handling of message catalogs encoded
2771 with stateful character sets.
2772 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2774 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2776 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2778 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2779 * inet/rcmd.c: Likewise.
2780 * inet/ruserpass.c: Likewise.
2781 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2782 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2783 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2784 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2785 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2786 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2787 * include/aliases.h: Add prototypes for internal __getalias* functions.
2788 * include/netdb.h: Add prototypes for __old_gethostent_r,
2789 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2790 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2791 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2792 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2793 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2794 __old_getrpcbynumber_r, __old_getrpcent_r.
2796 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2797 __getrpcent_r prototypes.
2799 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2801 * string/strcoll.c: Add casts to avoid warnings.
2802 * string/strnlen.c: Likewise.
2803 * string/strxfrm.c: Likewise.
2804 * sysdeps/generic/_strerror.c: Likewise.
2805 * sysdeps/generic/memrchr.c: Likewise.
2806 * sysdeps/generic/strcasestr.c: Likewise.
2807 * sysdeps/generic/strstr.c: Likewise.
2809 * locale/weight.h (findidx): Add const to cast to avoid warning.
2811 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2812 * elf/loadtest.c: Likewise.
2813 * elf/multiload.c: Likewise.
2814 * elf/next.c: Likewise.
2815 * elf/nodelete.c: Likewise.
2816 * elf/noload.c: Likewise.
2817 * elf/order.c: Likewise.
2818 * elf/origtest.c: Likewise.
2819 * elf/preloadtest.c: Likewise.
2820 * elf/restest1.c: Likewise.
2822 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2823 parameter of asm must be in %ecx.
2825 * string/tester.c: Mark test functions as static to avoid warnings.
2827 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2828 preserve value over different gconv-modules files.
2830 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2832 * locale/findlocale.c: Add casts to avoid warnings.
2833 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2834 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2836 * misc/tsearch.c (const_node): New type.
2837 (trecurse): Correct casts to avoid warnings.
2838 (__twalk): Likewise.
2839 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2842 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2844 * test-skeleton.c: Mark local functions as static to avoid warnings.
2846 2000-11-23 H.J. Lu <hjl@gnu.org>
2848 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2849 support the background job.
2852 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2854 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2855 has same names but lower cost.
2857 2000-11-23 Jakub Jelinek <jakub@redhat.com>
2859 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2860 which never occur during bootstrap.
2861 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2863 2000-11-23 Andreas Jaeger <aj@suse.de>
2865 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2867 * nss/Versions: Remove _nss_files_getipnodebyname_r.
2869 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2871 2000-11-18 Martin Buchholz <martin@xemacs.org>
2873 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2876 2000-11-21 Alan Modra <alan@linuxcare.com.au>
2878 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2880 * csu/abi-note.S: Correct comment for operating system number.
2882 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2884 * Versions.def: Add GLIBC_2.2.1 for glibc.
2886 2000-11-22 Andreas Schwab <schwab@suse.de>
2888 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2889 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2891 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2893 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
2894 absolute time for pthread_cond_timedwait call.
2895 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
2897 * rt/Makefile (tests): Add tst-aio6.
2898 * rt/tst-aio6.c: New file.
2900 2000-11-23 Andreas Jaeger <aj@suse.de>
2902 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2904 2000-11-22 Andreas Jaeger <aj@suse.de>
2906 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2908 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2910 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2912 2000-11-21 Andreas Schwab <schwab@suse.de>
2914 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2915 * sysdeps/arm/setjmp.S: Likewise.
2916 * sysdeps/arm/fpu/setjmp.S: Likewise.
2917 * sysdeps/i386/setjmp.S: Likewise.
2918 * sysdeps/i386/elf/setjmp.S: Likewise.
2919 * sysdeps/s390/setjmp.S: Likewise.
2920 * sysdeps/s390/elf/setjmp.S: Likewise.
2921 * sysdeps/sh/sh3/setjmp.S: Likewise.
2922 * sysdeps/sh/sh4/setjmp.S: Likewise.
2923 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2924 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2925 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2926 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2928 2000-11-21 Andreas Jaeger <aj@suse.de>
2930 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
2931 NORETURN, fix parameter list.
2933 * string/bug-strncat1.c (main): Fix typo.
2934 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2936 2000-11-20 Ulrich Drepper <drepper@redhat.com>
2938 * configure.in: Add --enable-all-warnings.
2939 * config.make.in (all-warnings): New variable.
2940 * Makeconfig (+gccwarn): Define with many more warnings if
2941 all-warnings is yes.
2943 2000-11-20 Jakub Jelinek <jakub@redhat.com>
2945 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2946 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2947 * malloc/tst-valloc.c (main): Cast valloc return value to long.
2948 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2949 * math/test-fpucw.c (main): Use %lx in format string, cast
2950 control words to long.
2951 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2952 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2953 large that it is unsigned warning.
2955 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2956 it to long on sparc64.
2958 2000-11-20 Andreas Jaeger <aj@suse.de>
2960 * nscd/nscd.h (termination_handler): Add noreturn attribute.
2961 (receiv_print_stats): Likewise.
2963 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2965 2000-11-20 Ulrich Drepper <drepper@redhat.com>
2967 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
2969 * csu/gmon-start.c: Always have prototype for __gmon_start.
2970 * csu/version.c: Add prototypes for __libc_print_version and
2972 * iconv/gconv.c: Include gconv_int.h and gconv.h.
2973 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
2975 * iconv/gconv_builtin.h: Add ASCII module definitions.
2976 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
2977 (add_module): Add cast to avoid warning. Rework construction of
2978 strings for new module.
2979 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
2980 (derivation_compare): Likewise.
2981 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
2982 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
2983 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2984 (struct gconv_alias): Remove const from fromname and toname.
2985 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2987 (internal_ucs4_loop): Use correct const-ness.
2988 (ucs4_internal_loop): Likewise.
2989 (internal_ucs4le_loop): Likewise.
2990 (ucs4le_internal_loop_single): Likewise.
2991 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2992 to_idx, to_tbl, winbuf, winbufend const. Change casts in
2993 assignments appropriately.
2994 (struct known_trans): Remove const from fname.
2995 (trans_compare): Make s1 and s2 const.
2996 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
2998 * iconv/skeleton.c: Remove cast in calls of loop functions.
2999 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3000 * iconvdata/iso646.c: Remove US_ASCII support.
3001 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3002 * include/unistd.h: Add __libc_check_standard_fds prototype.
3003 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3004 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3006 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3007 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3008 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3010 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3011 __libc_init_first and _dl_start.
3012 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3013 (DCIGETTEXT): Make domaindata variable const.
3014 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3017 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3019 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3021 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3022 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3025 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3026 value defined in /usr/include/asm-mips/fcntl.h.
3028 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3030 * stdio-common/Makefile (tests): Add test-vfprintf.
3031 (test-vfprintf-ENV): New variable.
3032 * stdio-common/test-vfprintf.c: New file.
3034 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3036 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3037 (tst-mbrtowc-ENV): New variable.
3038 (tst-wcrtomb-ENV): New variable.
3039 * wcsmbs/tst-mbrtowc.c: New file.
3040 * wcsmbs/tst-wcrtomb.c: New file.
3042 2000-11-16 Andreas Jaeger <aj@suse.de>
3044 * manual/install.texi (Tools for Compilation): Update
3045 documentation for GCC 2.95.2.
3047 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3050 if IPv4 and IPv6 requests timed out.
3052 2000-11-18 Akim Demaille <akim@epita.fr>
3054 * malloc/obstack.h: Formatting changes.
3055 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3056 prevents type checking.
3057 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3058 cast the value to (void *): assigning a `foo *' to a `void *'
3060 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3062 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3064 * scripts/config.guess: Update from upstream maintainer.
3065 * scripts/config.sub: Likewise.
3067 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3069 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3070 * libio/freopen64.c (freopen64): Likewise.
3071 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3073 * libio/Makefile: Add rules to build and run test-freopen.
3074 * libio/test-freopen.c: New file.
3075 * libio/test-freopen.sh: New file.
3077 2000-11-15 H.J. Lu <hjl@gnu.org>
3079 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3080 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3081 (DL_DT_FINI_ADDRESS): Likewise.
3083 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3084 return type to ElfW(Addr).
3085 (_dl_function_address): New prototype.
3086 (DL_FUNCTION_ADDRESS): Defined.
3087 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3088 (DL_DT_FINI_ADDRESS): Likewise.
3090 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3092 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3093 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3095 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3096 (_dl_function_address): This.
3098 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3099 function pointer for DT_FINI.
3100 * elf/dl-close.c (_dl_close): Likewise.
3102 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3103 function pointer for DT_INIT.
3105 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3107 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3108 end of wexpbuf buffer.
3110 2000-11-16 Andreas Jaeger <aj@suse.de>
3112 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3113 definition of F_GETLK, F_SETLK, F_SETLKW.
3115 2000-11-16 Andreas Jaeger <aj@suse.de>
3117 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3120 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3122 * dlfcn/default.c (main): Add test for dladdr of main returning
3123 argv[0] in dli_fname field.
3125 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3127 * Makeconfig (run-program-prefix): Move test-static test into the
3130 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3131 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3132 schedule instructions.
3133 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3134 schedule instructions, fix a bug in copying auxiliary data.
3136 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3138 * manual/startup.texi (Program Arguments): Fix type of main's envp
3140 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3142 * iconvdata/gconv-modules: Add CP950 alias.
3144 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3146 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3147 syscall-list.h goal.
3148 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3150 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3152 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3154 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3157 * intl/tst-gettext2.c: Set C locale if setting other locale
3158 failed. Use gettext() not _().
3160 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3161 successfully loaded a new locale.
3163 2000-11-13 Andreas Jaeger <aj@suse.de>
3165 * configure.in: Require gcc 2.95 or newer.
3167 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3169 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3170 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3172 2000-11-11 Jim Meyering <meyering@lucent.com>
3174 * string/strndup.c (strndup): Cast return value to `char *'.
3176 2000-11-15 Jim Meyering <meyering@ascend.com>
3178 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3179 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3180 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3181 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3182 Also #undef __memchr.
3183 Use `weak_alias' only if it's defined.
3185 2000-11-10 H.J. Lu <hjl@gnu.org>
3187 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3189 2000-11-15 Andreas Jaeger <aj@suse.de>
3191 * elf/chroot_canon.c: Include <stdint.h>.
3193 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3194 (print_entry): Likewise.
3195 (add_to_cache): Likewise.
3197 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3199 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3200 (path_hwcap): Likewise.
3201 (search_dir): Likewise.
3203 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3205 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3207 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3208 (_dl_platform_string): New.
3209 (_DL_HWCAP_PLATFORM): New.
3210 (_dl_string_platform): New.
3211 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3213 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3214 (_dl_string_platform): New.
3215 (_DL_HWCAP_PLATFORM): New.
3216 (_dl_platform_string): New.
3218 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3220 (_DL_HWCAP_COUNT): New.
3221 (_dl_string_platform): New.
3222 (_DL_HWCAP_PLATFORM): New.
3223 (_dl_platform_string): New.
3225 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3227 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3229 2000-11-14 Andreas Jaeger <aj@suse.de>
3231 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3233 2000-11-13 Roland McGrath <roland@frob.com>
3235 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3237 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3239 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3240 underrun and make sure the result is null terminated even if there
3241 is no trailing newline.
3243 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3245 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3247 2000-11-10 H.J. Lu <hjl@gnu.org>
3249 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3251 2000-11-10 Andreas Jaeger <aj@suse.de>
3253 * elf/ldconfig.c (create_links): Fix alloca calculation.
3254 Patch by Ben Collins <bcollins@debian.org>.
3256 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3258 * inet/getnameinfo.c (getnameinfo): Use correct destination
3259 parameter for if_indextoname.
3260 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3262 2000-11-09 H.J. Lu <hjl@gnu.org>
3264 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3265 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3266 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3269 * time/Versions (GLIBC_2.1): Move getitimer to...
3270 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3272 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3274 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3275 "make install", to work around a binary incompatibility between
3276 glibc 2.1 and glibc 2.2 gconv modules.
3278 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3280 * intl/locale.alias: Add thai.
3281 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3283 2000-11-07 Akim Demaille <akim@epita.fr>
3285 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3286 argument `data' for consistency with the prototypes.
3288 (obstack_copy, obstack_copy0): Rename the second argument as
3289 `address' for consistency. Qualify it `const'.
3290 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3291 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3292 `const' their input argument (`data' or `address').
3293 Adjust the corresponding macros to include `const' in casts.
3295 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3297 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3300 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3302 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3305 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3307 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3308 ai_protocol by internal table if service was not given.
3310 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3312 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3313 numerical port was specified with protocol without socktype.
3315 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3317 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3319 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3321 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3323 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3325 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3326 sin6_scope_id field.
3328 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3330 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3332 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3334 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3336 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3338 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3339 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3341 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3343 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3344 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3346 2000-11-09 H.J. Lu <hjl@gnu.org>
3348 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3351 See ChangeLog.11 for earlier changes.