1 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5 2001-02-10 Mark Kettenis <kettenis@gnu.org>
7 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
9 2001-02-10 Andreas Jaeger <aj@suse.de>
11 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
14 2001-02-09 Ulrich Drepper <drepper@redhat.com>
16 * posix/Makefile: Add rules to build and run bug-regex2.
17 * posix/bug-regex2.c: New file.
19 2001-02-10 Jakub Jelinek <jakub@redhat.com>
21 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
22 (regex_compile): Likewise.
23 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
24 (re_match_2_internal): Use just is_binary instead of two variables.
25 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
27 2001-02-09 Ulrich Drepper <drepper@redhat.com>
29 * version.h (VERSION): Bump to 2.2.2.
31 * iconv/Makefile (distribute): Add iconv_charmap.c and
33 * elf/Makefile (distribute): Add firstobj.c.
34 * Makefile (distribute): Add include/pthread.h.
36 * configure.in: Require makeinfo version 4.
38 * libio/tst_wscanf.c (main): Add cast to avoid warning.
39 * libio/tst_swscanf.c (main): Likewise..
41 2001-02-09 Jakub Jelinek <jakub@redhat.com>
43 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
44 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
46 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
47 if not RTLD_BOOTSTRAP.
48 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51 2001-02-09 Ulrich Drepper <drepper@redhat.com>
53 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
54 lr_ungetc to push back last read character.
55 * locale/programs/linereader.h (lr_ungetc): Don't push back is
57 (lr_ignore_rest): Don't warn about garbage if it is really the end
60 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
63 2001-02-08 Ulrich Drepper <drepper@redhat.com>
65 * Makerules (build-shlib): Work around different order of
66 processing of -B option in different gcc versions.
68 * posix/regex.c: Fix alignment problem.
69 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
71 * sysdeps/alpha/strrchr.S: Little optimization.
72 Patch by Richard Henderson <rth@redhat.com>.
74 * sysdeps/alpha/alphaev67/strrchr.S: New file.
75 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
77 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
79 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
80 in the assembler end directive.
82 2001-02-08 Andreas Jaeger <aj@suse.de>
84 * manual/stdio.texi (Closing Streams): Fix typos.
86 2001-02-07 Ulrich Drepper <drepper@redhat.com>
88 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
89 Patch by Richard Henderson <rth@redhat.com>.
90 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
92 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
93 pointer in FILE structure before calling _IO_init.
94 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
95 strfmon_l if necessary.
96 Reported by Jury Gerold <gjury@grips.com>.
98 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
99 Patch by Pekka.Pietikainen@cern.ch.
101 * posix/regex.c: Correct several problems with 64-bit architectures
102 introduced in the MBS changes.
103 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
105 2001-02-07 Jakub Jelinek <jakub@redhat.com>
107 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
109 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
111 2001-02-07 Andreas Jaeger <aj@suse.de>
113 * manual/install.texi (Tools for Compilation): Fix typo.
114 Reported by Pavel Machek <pavel@bug.ucw.cz>.
116 2001-02-07 Ulrich Drepper <drepper@redhat.com>
118 * stdlib/strtod.c: Never stop prematurely reading digits before the
119 decimal point is found. Compute exponent limit for negative exponents
120 correctly. For numbers ending in all zeros eat the zeros even before
121 the decimal point if the exponent is negative [PR libc/2072].
122 * stdlib/Makefile (tests): Add bug-strtod.
123 * stdlib/bug-strtod.c: New file.
125 2001-02-07 Andreas Jaeger <aj@suse.de>
127 * posix/bug-regex1.c: Include <wchar.h> for fwide.
129 2001-02-06 Ulrich Drepper <drepper@redhat.com>
131 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
133 (compile_range): Handle index being passed, not pointer.
134 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
136 * posix/regex.c: Fix a cast in the code for bracket handling which
137 caused 8-bit uncleanliness.
138 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
140 * posix/Makefile (tests): Add bug-regex1.
141 * posix/bug-regex1.c: New file.
142 Contributed by Jim Meyering <jim@meyering.net>.
144 * posix/regex.c: Many cleanups for incorrect format strings.
146 2001-02-06 Andreas Jaeger <aj@suse.de>
148 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
150 2001-02-06 Ulrich Drepper <drepper@redhat.com>
152 * locale/programs/locale.c (write_locales): Use scandir to read
153 directory so that the entries are sorted.
155 2001-02-06 Andreas Jaeger <aj@suse.de>
157 * include/pthread.h: New file.
159 * wctype/wctype.h: Move internal interfaces from here to...
160 * include/wctype.h: ...here.
162 * wcsmbs/wchar.h: Move __wcslen from here to...
163 * include/wchar.h: ...here.
165 * posix/sys/wait.h: Move __wait from here to...
166 * include/sys/wait.h: ...here.
168 * string/string.h: Move __ffs and __strerror_r from here to...
169 * include/string.h: ...here.
171 * stdlib/stdlib.h: Move __on_exit from here to...
172 * include/stdlib.h: ...here.
174 * libio/stdio.h: Move __vsnprintf from here to...
175 * include/stdio.h: ...here.
177 2001-02-06 Andreas Schwab <schwab@suse.de>
179 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
182 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
185 2001-02-06 Ulrich Drepper <drepper@redhat.com>
187 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
189 2001-02-06 Andreas Jaeger <aj@suse.de>
191 * elf/firstobj.c: Add prototype.
193 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
194 (truncate_wchar): Likewise.
196 2001-02-06 Ulrich Drepper <drepper@redhat.com>
198 * locale/programs/locale.c: Implement --verbose option for -a
199 which prints detailed information about the locales.
201 2001-02-05 Ulrich Drepper <drepper@redhat.com>
203 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
204 variable to uint32_t.
205 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
207 2001-02-04 Bruno Haible <haible@clisp.cons.org>
209 * locale/C-translit.h.in: Add transliterations for CJK units of
212 2001-02-05 Ulrich Drepper <drepper@redhat.com>
214 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
215 string. Include <inttypes.h> instead of <stdint.h>.
217 * localedata/Makefile (tests): Add bug-iconv-trans.
218 Define bug-iconv-trans-ENV.
219 * localedata/bug-iconv-trans.c: New file.
221 2001-02-04 Bruno Haible <haible@clisp.cons.org>
223 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
224 pointer, to avoid accumulating output from incomplete (unsuccessful)
225 transliteration attempts.
227 2001-02-05 Ulrich Drepper <drepper@redhat.com>
229 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
230 string. Include <inttypes.h> instead of <stdint.h>.
232 * configure.in: Add check for bison.
233 * config.make.in: Define BISON variable.
234 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
235 Rename YFLAGS to BISONFLAGS.
237 2001-02-05 Andreas Jaeger <aj@suse.de>
239 * io/test-lfs.c (do_test): Test lseek64 return value, call
241 (test_ftello): New function to test ftello64 and fseeko64.
243 * signal/signal.h: Move __sigaction from here to...
244 * include/signal.h: ...here.
246 * io/fcntl.h: Move __fcntl and __open to...
247 * include/fcntl.h: ...here.
249 2001-02-04 Philip Blundell <philb@gnu.org>
251 * configure.in: Distinguish ARM from Thumb.
253 2001-02-04 Philip Blundell <philb@gnu.org>
255 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
256 PC24 relocs with negative value.
258 2001-02-04 Ulrich Drepper <drepper@redhat.com>
260 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
261 files in locale/programs. Add CFLAGS definition to allow compiling
263 * iconv/dummy-repertoire.c: New file.
264 * iconv/iconv_charmap.c: New file.
265 * iconv/iconv_prog.h: New file.
266 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
267 (main): If parameter for -f and -t contain slashes try first to resolve
268 the strings as filenames of charmap files. Use them for conversion
270 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
271 iconv getting charmap names as parameters.
272 * locale/programs/linereader.c (lr_token): Take extra parameters
273 verbose and pass it to get_string.
274 (get_string): Take extra parameters verbose.
275 * locale/programs/charmap.c (parse_charmap): Take extra parameters
276 verbose and be_quiet. Change all callers of lr_token and
278 * locale/programs/charmap.h: Likewise.
279 * locale/programs/ld-address.c: Likewise.
280 * locale/programs/ld-collate.c: Likewise.
281 * locale/programs/ld-ctype.c: Likewise.
282 * locale/programs/ld-identification.c: Likewise.
283 * locale/programs/ld-measurement.c: Likewise.
284 * locale/programs/ld-messages.c: Likewise.
285 * locale/programs/ld-monetary.c: Likewise.
286 * locale/programs/ld-name.c: Likewise.
287 * locale/programs/ld-numeric.c: Likewise.
288 * locale/programs/ld-paper.c: Likewise.
289 * locale/programs/ld-telephone.c: Likewise.
290 * locale/programs/ld-time.c: Likewise.
291 * locale/programs/linereader.c: Likewise.
292 * locale/programs/linereader.h: Likewise.
293 * locale/programs/localedef.c: Likewise.
294 * locale/programs/locfile.c: Likewise.
295 * locale/programs/locfile.h: Likewise.
296 * locale/programs/repertoire.c: Likewise.
298 2001-02-03 Ulrich Drepper <drepper@redhat.com>
300 * iconv/iconv_prog.c (main): If output file name is "-" write to
302 (main): If -f or -t argument is missing use charset of the current
305 2001-02-03 Andreas Jaeger <aj@suse.de>
307 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
308 boundary for SSE/SSE-2 alignment.
310 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
313 2001-02-03 Ulrich Drepper <drepper@redhat.com>
315 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
316 Remove comma at end of enum.
318 * elf/dl-init.c: Add a few __builtin_expect.
320 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
322 2001-02-02 Ulrich Drepper <drepper@redhat.com>
324 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
325 errno is ECONNREFUSED.
327 * posix/Makefile: Define MBS_SUPPORT for regex.c.
328 * posix/regex.c: Implement multibyte character handling.
329 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
331 * string/tst-svc.input: Add two more test cases.
332 * string/tst-svc.expect: Modify to reflect new test cases.
334 2001-02-01 Jakub Jelinek <jakub@redhat.com>
336 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
337 tp->name tests with tp->name[0] tests.
339 2001-01-29 Ben Collins <bcollins@debian.org>
341 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
342 Fix check for name == NULL.
344 2001-02-01 Ulrich Drepper <drepper@redhat.com>
346 * elf/Makefile: Add rules to build and run initfirst test.
347 * elf/initfirst.c: New file.
348 * elf/firstobj.c: New file.
350 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
351 * configure.in: Test for -z initfirst linker option.
352 * config.make.in: Add have-z-initfirst.
353 * elf/dl-init.c (_dl_init): Split out actual initialization code in
354 new function call_init. If _dl_initfirst is non-NULL initialize first.
355 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
356 remember object in _dl_initfirst.
357 * elf/soinit.c: Remove special support for calling
358 __pthread_initialize_minimal.
360 * conform/conformtest.pl: Add missing $prepend in type test.
362 2001-01-31 Ulrich Drepper <drepper@redhat.com>
364 * elf/elf.h (SHT_CHECKSUM): New definition.
366 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
367 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
368 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
370 2001-01-31 Mark Kettenis <kettenis@gnu.org>
372 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
373 to get definition of `struct timeval'.
375 2001-01-31 Ulrich Drepper <drepper@redhat.com>
377 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
378 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
380 2001-01-30 Ulrich Drepper <drepper@redhat.com>
382 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
385 * nis/nis_findserv.c: Include <time.h>.
387 2001-01-30 Yong Li <yong.li@asu.edu>
389 * iconv/iconv_prog.c (main): Correct error handling method name.
391 2001-01-29 Ben Collins <bcollins@debian.org>
393 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
394 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
395 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
396 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
398 2001-01-30 Ulrich Drepper <drepper@redhat.com>
400 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
401 Patch by Marko Myllynen <myllynen@lut.fi>.
403 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
404 (int instead of char).
405 (__strpbrk_c3): Likewise.
406 Reported by GOTO Masanori <gotom@debian.or.jp>.
408 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
409 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
410 * include/sys/socket.h: Add SA_LEN here for internal use.
411 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
413 2001-01-29 Ulrich Drepper <drepper@redhat.com>
415 * malloc/Makefile: Don't build memusagestat if cross-compiling.
417 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
419 * math/libm-test.inc (rint_test): Add a few more tests for round
422 2001-01-28 Ulrich Drepper <drepper@redhat.com>
424 * conform/data/pthread.h-data: Correct return type of pthread_exit.
426 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
428 * conform/data/stdlib.h-data: Add _Exit.
430 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
431 if not already happened.
432 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
433 Don't include <limits.h> and <bits/sockaddr.h>.
435 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
437 * conform/data/spawn.h-data: Allow all of <sched.h>.
439 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
442 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
443 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
445 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
447 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
448 * libio/stdio.h: Define va_list correctly.
450 * conform/data/pthread.h-data: Make priority protocol related
451 functions optional. Fix typos.
453 * posix/sched.h: Define sched_priority as __sched_priority.
454 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
456 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
458 2001-01-27 Ulrich Drepper <drepper@redhat.com>
460 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
463 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
464 * sysdeps/unix/time.c: Likewise.
466 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
467 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
468 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
469 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
470 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
471 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
472 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
473 * time/time.h: Likewise.
475 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
476 * conform/data/complex.h-data: New file.
477 * conform/data/tgmath.h-data: New file.
479 * conform/data/wchar.h-data: Add missing functions.
481 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
483 * conform/data/termios.h-data: Add missing const in tcsetattr()
486 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
487 Don't define pid_t here.
489 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
491 * conform/data/sys/time.h-data: Allow sys/select.h.
492 * conform/data/sys/un.h-data: Fix typo.
493 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
494 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
496 * sysdeps/unix/clock_nanosleep.c: Likewise.
497 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
498 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
499 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
500 * sysdeps/unix/clock_settime.c: Likewise.
502 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
503 * login/getutent.c: Likewise.
504 * login/getutid.c: Likewise.
505 * login/getutline.c: Likewise.
507 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
509 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
510 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
511 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
512 f_fsid field after change in struct statvfs.
513 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
514 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
515 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
517 * conform/data/sys/stat.h-data: Remove isfdtype. Use
520 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
521 recvfrom, send, and socketpair prototypes. Add allow lines.
522 * socket/sys/socket.h: Include <sys/uio.h>.
523 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
524 Fix type of second parameter of listen.
525 Don't declare isfdtype unless __USE_MISC.
526 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
527 * sysdeps/mach/hurd/listen.c: Likewise.
528 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
529 ss_family and __ss_family.
530 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
531 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
532 (struct msghdr): Change type of msg_iovlen to int and type of
533 msg_controllen to socklen_t.
534 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
535 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
536 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
537 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
538 (rresvport_af): Likewise.
540 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
541 * conform/conformtest.pl: Implement handling of symbol.
543 * signal/signal.h: Fix handling of __need_* symbols.
544 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
545 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
546 * include/sys/select.h: Use fd_set not __fd_set.
547 * sysdeps/generic/bits/select.h: Likewise.
548 * sysdeps/i386/bits/select.h: Likewise.
549 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
550 __FDELT, __FDMASK, and __fd_set here.
551 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
552 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
553 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
554 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
555 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
556 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
557 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
558 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
559 * time/sys/time.h: Define struct timeval before including <time.h>
562 * conform/data/sys/time.h-data: fd_set is a typedef.
563 * conform/data/sys/select.h-data: New file.
564 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
565 * conform/conformtest.pl (@headers): Add sys/select.h.
566 (type, optional-type): Unless testing a typedef instantiate object.
567 Implement optional-function.
569 * math/test-misc.c: Include <float.h>.
571 2001-01-27 Andreas Jaeger <aj@suse.de>
573 * misc/efgcvt_r.c: Include <float.h>.
575 2001-01-26 Ulrich Drepper <drepper@redhat.com>
577 * conform/data/stdlib.h-data: Account for XPG6 changes.
578 * stdlib/stdlib.h (__random): Change return value type to long.
579 (posix_memalign): Cleanup parameter names.
580 (setenv, unsetenv): Make available for __USE_XOPEN2K.
581 Change return type of unsetenv to int.
582 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
583 * include/stdlib.h: Change return type of unsetenv to int.
584 Change return type of random to long int.
585 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
586 Return -1 and set errno if parameter is invalid.
587 * stdlib/random.c (__random): Change return value type to long.
589 * conform/data/stdio.h-data: Account for changes in XPG6.
591 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
594 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
595 * conform/data/signal.h-data: Fix sigev_notify_function entry.
596 Fix typo (SIGVALRM -> SIGVTALRM).
597 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
599 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
600 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
601 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
605 * conform/conformtest.pl: Implement optional-element. Define
606 $mustprepend{"sched.h"}.
607 * conform/data/sched.h-data: Make sporadic scheduler definitions
610 * pwd/pwd.h: Don't define getpwent_r for XPG.
612 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
613 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
614 * sysdeps/mach/hurd/poll.c: Likewise.
615 * sysdeps/unix/bsd/poll.c: Likewise.
616 * sysdeps/unix/sysv/linux/poll.c: Likewise.
617 * sysdeps/unix/sysv/aix/poll.c: Likewise.
618 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
619 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
620 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
621 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
622 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
623 * conform/data/poll.h-data: Fix typo in poll prototype.
625 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
627 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
629 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
631 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
633 * conform/conformtest.pl: Implement optional-type.
635 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
636 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
637 defining uint32_t here. Define IPPORT_RESERVED.
638 (struct hostent): Type of h_length element is int.
639 (getnameinfo): Type of flags parameter is unsigned int.
640 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
641 * conform/data/netdb.h-data: Add many missing definitions.
643 * conform/conformtest.pl: Implement optional-macro.
644 * conform/data/math.h-data: Update for XPG6.
646 * math/math.h (HUGE): Define as FLT_MAX value but don't use
647 FLT_MAX. Don't include <float.h>.
648 (MAXFLOAT): Likewise.
650 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
652 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
654 * conform/data/limits.h-data: Mark constants as optional wherever
657 * posix/bits/posix2_lim.h: Set correct values for
658 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
661 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
664 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
666 * conform/data/netinet/in.h-data: Add reserved prefixes.
668 * conform/data/arpa/inet.h-data: Fix a few typos.
670 2001-01-26 Andreas Jaeger <aj@suse.de>
672 * sysdeps/generic/strtol.c: Include <locale.h>
673 * stdlib/strtod.c: Likewise
674 * stdlib/strfmon.c: Likewise.
675 * string/strcoll.c: Likewise.
676 * string/strxfrm.c: Likewise.
677 * wctype/wcfuncs_l.c: Likewise.
678 * wctype/wctype_l.c: Likewise.
679 * wctype/wctrans_l.c: Likewise.
681 * include/bits/locale.h: New file.
683 2001-01-26 Ulrich Drepper <drepper@redhat.com>
685 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
688 * locale/Makefile (headers): Add bits/locale.h.
689 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
690 and use __LC_ constants instead of LC_.
691 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
692 using __LC_ constants.
693 * locale/bits/locale.h: New file.
694 * locale/loadlocale.c: Include <locale.h>.
695 * locale/nl_langinfo.h: Likewise.
697 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
699 * io/sys/stat.h: Define S_IFSOCK for XPG6.
701 * conform/data/fcntl.h-data: posix_madvise is not expected here.
703 * conform/conformtest.pl: Fix handling of macro-str.
705 * conform/data/inttypes.h-data: Add missing definition and all of
708 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
710 2001-01-25 Ulrich Drepper <drepper@redhat.com>
712 * conform/conformtest.pl (@headers): Add stdint.h.
713 * conform/data/stdint.h-data: New file.
715 * conform/conformtest.pl: Recognize options --headers and
716 --dialect. Add dialect-specific CFLAGS.
718 * conform/conformtest.pl: Implement handling of recursive
721 * conform/data/locale.h-data: Add new struct lconv members.
723 * posix/wordexp.h: Correct definition of wordexp_t.
724 * posix/wordexp.c: Moved to ...
725 * sysdeps/generic/wordexp.c: ...here. New file.
726 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
727 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
728 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
729 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
731 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
732 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
734 * math/tgmath.h: Pretty printing.
736 * math/Makefile (tests): Add test-tgmath.
737 (CFLAGS-test-tgmath.c): New variable.
738 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
740 * conform/conformtest.pl: Handle allow-header in secondary headers
743 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
746 * conform/data/netinet/in.h-data: Use correct comment character.
747 * conform/data/sys/stat.h-data: Likewise.
749 2001-01-25 Jakub Jelinek <jakub@redhat.com>
751 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
752 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
753 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
754 __builtin_classify_type, add ##f suffixes where appropriate.
755 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
756 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
757 __builtin_classify_type.
758 (fma): Fix spelling of first argument.
760 2001-01-25 Ulrich Drepper <drepper@redhat.com>
762 * conform/data/unistd.h-data: Mark functions removed in XPG6
765 * posix/unistd.h: Don't make functions removed in XPG6 available if
768 * conform/conformtest.pl: Implement optional-constant.
769 * conform/data/unistd.h-data: Use optional-constant wherever
772 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
773 constants and add _SC_STREAMS.
774 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
776 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
777 make old name weak alias.
778 * sysdeps/generic/statvfs64.c: Likewise.
779 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
780 make old name weak alias.
781 * sysdeps/generic/fstatvfs64.c: Likewise.
782 * include/sys/statvfs.h: New file.
784 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
785 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
787 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
788 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
789 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
790 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
792 * conform/conformtest.pl: Run Unix tests for XPG6.
793 Implement handling of known namespace violations.
794 Improve printing of results.
796 * posix/unistd.h (usleep): Correct return type.
797 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
798 * sysdeps/unix/bsd/usleep.c: Correct return type.
799 * sysdeps/mach/usleep.c: Correct return type.
800 * sysdeps/generic/usleep.c: Correct return type.
802 * posix/unistd.h (sync): Correct return type.
803 * sysdeps/generic/sync.c: Likewise.
804 * sysdeps/mach/hurd/sync.c: Likewise.
806 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
808 * posix/unistd.h: Make seteuid and setegid available for XPG6.
810 * wcsmbs/wchar.h: Get FILE definition for XPG5.
812 * conform/data/ctype.h-data: Use correct comment form.
813 * conform/data/errno.h-data: Likewise.
814 * conform/data/math.h-data: Likewise.
815 * conform/data/mqueue.h-data: Likewise.
816 * conform/data/netdb.h-data: Likewise.
817 * conform/data/pthread.h-data: Likewise.
819 2001-01-24 Ulrich Drepper <drepper@redhat.com>
821 * conform/data/wordexp.h-data: Fix typo.
823 * conform/conformtest.pl: Handle allow-header correctly.
825 * conform/data/time.h-data: Use correct comment form.
827 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
829 * configure.in: Comment out binutils version test.
831 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
833 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
835 * stdlib/tst-strtod.c (locale_test): New function.
836 (main): Call locale_test.
837 * stdlib/Makefile (tst-strtod-ENV): New variable.
839 2001-01-24 Mark Kettenis <kettenis@gnu.org>
841 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
842 declaration of value such that we actually return the value of the
843 environment variable.
845 2001-01-24 Andreas Jaeger <aj@suse.de>
847 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
849 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
851 * include/sys/sysctl.h: New file.
853 2001-01-23 Andreas Jaeger <aj@suse.de>
855 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
858 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
859 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
862 * manual/install.texi (Tools for Compilation): Change required
865 2001-01-22 Andreas Jaeger <aj@suse.de>
867 * configure.in: Add test for new enough binutils version, move
868 compiler/binutils test up.
870 * Versions.def: Add version GLIBC_2.2.2.
872 2001-01-21 Ulrich Drepper <drepper@redhat.com>
874 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
876 * iconvdata/testdata/IBM932: New file.
877 * iconvdata/testdata/IBM932..UTF8: New file.
878 * iconvdata/testdata/IBM943: New file.
879 * iconvdata/testdata/IBM943..UTF8: New file.
880 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
882 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
884 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
886 2001-01-21 Ulrich Drepper <drepper@redhat.com>
888 * malloc/malloc.c: Remove a few unnecessary initializers of global
891 2000-12-09 H.J. Lu <hjl@gnu.org>
893 * nss/Makefile (routines): Add digits_dots.
894 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
895 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
897 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
899 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
900 (TYPE_VAR_P): Likewise.
901 (FLAGS_VAR): Likewise.
902 (AF_VAR_P): Likewise.
903 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
904 instead of including digits_dots.c.
905 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
906 (TYPE_VAR_P): Likewise.
907 (FLAGS_VAR): Likewise.
908 (AF_VAR_P): Likewise.
909 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
910 instead of including digits_dots.c.
912 2001-01-21 Ulrich Drepper <drepper@redhat.com>
914 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
916 2001-01-21 Andreas Jaeger <aj@suse.de>
918 * elf/constload2.c: Add prototype for init.
920 2001-01-21 Ulrich Drepper <drepper@redhat.com>
922 * stdlib/stdlib.h (drand48_data): Make available only for
923 __USE_MISC. Rename elements to protect namespace. Change type
924 and position of a and init element.
925 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
926 differently. Adjust for drand48_data change. Don't compute a here,
927 it comes from drand48_data.
928 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
929 differently. Adjust for drand48_data change. Compute a here.
930 * stdlib/srand48_r.c: Likewise.
931 * stdlib/drand48.c: Adjust for drand48_data change.
932 * stdlib/lrand48.c: Likewise.
933 * stdlib/mrand48.c: Likewise.
934 * stdlib/seek48.c: Likewise.
935 * stdlib/drand48_r.c: Likewise.
936 * stdlib/lrand48_r.c: Likewise.
937 * stdlib/mrand48_r.c: Likewise.
938 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
940 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
941 * stdlib/jrand48_r.c: Likewise.
943 * po/sv.po: Update from translation team.
945 2001-01-21 Andreas Jaeger <aj@suse.de>
947 * stdio-common/vfprintf.c (vfprintf): Add casts.
949 2001-01-20 Ulrich Drepper <drepper@redhat.com>
951 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
953 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
955 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
956 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
957 * iconvdata/ibm932.c: New file.
958 * iconvdata/ibm932.h: New file.
959 * iconvdata/ibm943.c: New file.
960 * iconvdata/ibm943.h: New file.
961 Patches by Masahide Washizawa <washi@jp.ibm.com>.
963 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
964 preventing optimization from being done. Set the correct type bit
965 in seen. Don't define and use _dl_base_addr unless
966 NEED_DL_BASE_ADDR is defined.
968 * io/ftw.c (ftw_dir): Add slash after directory name if there
969 wasn't any. Reported by loris <loris@iol.it>.
970 * io/Makefile (tests): Add bug-ftw2.
971 * io/bug-ftw2.c: New file.
973 2001-01-19 Ulrich Drepper <drepper@redhat.com>
975 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
976 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
977 * stdlib/tst-rand48.c: New file.
978 * stdlib/Makefile (tests): Add tst-rand48.
980 * locale/newlocale.c (__newlocale): Fix test for setting all
983 2001-01-19 Mark Kettenis <kettenis@gnu.org>
985 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
986 but change looking up the initial directory port in a similar way
987 as done by _hurd_change_directory_port_from_name.
988 * hurd/fchroot.c (fchroot): Likewise.
990 2001-01-18 Ulrich Drepper <drepper@redhat.com>
992 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
993 defined don't look whether the AT_*ID values were set.
994 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
995 (_dl_show_auxv): Rewrite to avoid switch statement.
996 * sysdeps/unix/sysv/linux/kernel-features.h: Define
997 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
998 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
999 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
1001 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
1002 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1003 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1005 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
1007 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
1008 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
1010 * dlfcn/eval.c (__strtol_internal): Define here.
1011 (eval): Use __strtol_internal instead of strtol.
1013 * elf/elf.h: Add a few more EF_MIPS_* constants.
1015 2001-01-17 Ulrich Drepper <drepper@redhat.com>
1017 * manual/Makefile (chapters): Add debug.
1018 * manual/debug.texi: New file.
1019 * manual/examples/execinfo.c: New file.
1020 Patch by suckfish@ihug.co.nz.
1022 2001-01-17 Andreas Schwab <schwab@suse.de>
1024 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
1027 2001-01-17 Andreas Jaeger <aj@suse.de>
1029 * nscd/connections.c (nscd_run): Use proper format specifier.
1031 2001-01-16 Ulrich Drepper <drepper@redhat.com>
1033 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
1034 x86_platforms data into new file after prepending _dl_. Change
1036 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
1037 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
1038 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
1041 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
1043 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
1044 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
1045 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
1046 (_setjmp): Likewise.
1047 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
1048 * sysdeps/i386/bsd-setjmp.S: Real implementation.
1049 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
1050 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
1053 2001-01-16 Andreas Jaeger <aj@suse.de>
1055 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
1056 misapplied last patch.
1058 2001-01-15 Ulrich Drepper <drepper@redhat.com>
1060 * stdlib/random.c (__initstate): Clean up a cast.
1061 (__setstate): Likewise.
1063 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
1064 syscall handling. The generic Linux version should work.
1066 2001-01-15 Andreas Jaeger <aj@suse.de>
1068 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1070 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
1072 2001-01-14 Jakub Jelinek <jakub@redhat.com>
1074 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
1075 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
1077 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
1078 If number is 0, list all.
1079 (services_keys): Likewise. Lookup aliases as well.
1080 (databases): New table.
1081 (build_doc): Prepare argp doc text with list of supported databases.
1082 (main): Change to table driven processing.
1084 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
1086 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1089 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1091 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1092 encode value which does not fit in the 32bit type.
1094 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
1096 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1097 Change type of CTX to (struct sigcontext *).
1098 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1099 (GET_FRAME): Likewise.
1100 (GET_STACK): Likewise.
1101 (SIGCONTEXT): Likewise. Add 2nd arg _code.
1102 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1104 2001-01-13 Ulrich Drepper <drepper@redhat.com>
1106 * manual/texinfo.tex: Update from upstream version.
1108 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1110 * inet/ether_ntoh.c (lookup_function): Change arguments to match
1111 _nss_*_getntohost_r prototype.
1112 (ether_ntohost): Pass errno pointer to NSS function.
1114 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1117 (MAP_LOCKED): New definition.
1118 (MAP_NORESERVE): New definition.
1120 2001-01-12 Ulrich Drepper <drepper@redhat.com>
1122 * assert/assert.h: Use static_cast instead of C-style cast for C++.
1123 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1125 2001-01-12 Ben Collins <bcollins@debian.org>
1127 * sysdeps/generic/segfault.c (install_handler): Use access, not
1130 2001-01-12 Andreas Jaeger <aj@suse.de>
1132 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1133 * posix/wordexp.c (do_parse_glob): Likewise.
1134 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1135 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1136 * elf/dl-open.c (_dl_open): Likewise.
1137 * elf/dl-close.c (_dl_close): Likewise.
1138 * elf/dl-load.c (_dl_map_object): Likewise.
1139 * iconv/iconv_prog.c (process_fd): Likewise.
1140 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1142 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1143 of a zero-length array.
1145 2001-01-11 Jakub Jelinek <jakub@redhat.com>
1147 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1148 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1149 * stdlib/cxa_on_exit.c: Remove.
1150 * stdlib/Makefile: Revert last patch.
1151 * stdlib/Versions: Likewise.
1152 * include/stdlib.h: Likewise.
1153 * stdlib/exit.h: Revert last patch.
1154 (struct exit_function): Add second argument to cxa fn.
1155 * stdlib/exit.c: Revert last patch.
1156 (exit): Add hidden second argument.
1158 2001-01-11 H.J. Lu <hjl@gnu.org>
1160 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1161 * elf/dl-open.c (_dl_open): Here.
1162 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1164 (_dl_static_init): Initialize the variables every time when possible.
1165 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1168 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1170 * stdlib/Makefile (routines): Add cxa_on_exit.
1171 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1172 * stdlib/cxa_on_exit.c: New file.
1173 * include/stdlib.h: Add prototype for __cxa_on_exit.
1174 * stdlib/exit.c: Handle ef_cxa2.
1175 * stdlib/exit.h (enum): Add ef_cxa2.
1176 (struct exit_function): Add cxa2.
1178 * Versions.def [ld]: Add GLIBC_2.2.1.
1180 2001-01-10 H.J. Lu <hjl@gnu.org>
1182 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1183 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1185 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1186 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1187 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1188 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1189 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1191 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1193 * libio/stdio.h: Remove definition of off_t.
1195 2001-01-11 Andreas Jaeger <aj@suse.de>
1197 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1200 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1202 * sunrpc/Makefile (distribute): Add errqueue.h.
1204 2001-01-10 H.J. Lu <hjl@gnu.org>
1206 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1207 r9, r10 and r11 for language specific registers.
1209 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1211 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1213 (clntudp_call): Handle MSG_ERRQUEUE.
1214 * sysdeps/generic/errqueue.h: New file.
1215 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1217 2001-01-10 H.J. Lu <hjl@gnu.org>
1219 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1221 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1223 * CONFORMANCE: Update.
1225 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1227 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1228 Minimal cleanups. Add assert to ensure memory handling is correct.
1230 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1231 Reported by Ben Collins <bcollins@debian.org>.
1233 * time/strftime.c (my_strftime): Mark previous GNU extensions
1234 which are now in C99 as such.
1236 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1238 * elf/rtld.c (process_envvars): Place output files for profiling
1239 in SUID binaries in /var/profile.
1241 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1242 preloading in SUID binaries.
1244 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1245 O_NOFOLLOW if possible.
1247 * include/stdlib.h: Add __posix_openpt declaration.
1248 * stdlib/stdlib.h: Add posix_openpt declaration.
1249 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1250 * sysdeps/generic/getpt.c: Define posix_openpt.
1251 * sysdeps/unix/bsd/getpt.c: Likewise.
1252 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1254 * time/Makefile (tests): Add tst-mktime.
1255 * time/tst-mktime.c: New file.
1257 * posix/tst-dir.c (main): One more mkdir() test.
1259 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1260 Remove getpagesize syscall. We assume that the pagesize is always
1261 determined from the auxiliary vector.
1263 * intl/dcigettext.c: Fix a few warnings.
1264 Patch by Bruno Haible <haible@ilog.fr>.
1266 2001-01-08 Andreas Jaeger <aj@suse.de>
1268 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1269 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1271 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1273 * sysdeps/generic/segfault.c (install_handler): Check output file
1276 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1277 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1279 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1281 * malloc/memusage.c (me): Use access() to determine whether we
1282 should write the output file or not.
1284 * libio/bits/stdio.h (printf): Define macro to map printf call to
1285 fprintf which gcc can optimize.
1286 * stdio-common/printf.c: Undefine printf.
1288 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1290 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1291 patch. We must use unsigned int for l member of union.
1293 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1294 _dl_aux_init for shared libraries.
1296 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1297 * sysdeps/gnu/glob64.c: ...here. New file.
1299 2001-01-07 Ben Collins <bcollins@debian.org>
1301 * manual/examples/longopt.c: Make the "struct option" a little
1302 more like it should be, adding usage of required_argument,
1303 noargument and such, and also setting the options string right.
1305 * manual/sysinfo.texi (Load Average): New section, documents
1308 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1310 * version.h (VERSION): Bump to 2.2.1.
1312 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1313 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1314 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1315 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1316 * Makefile (distribute): Add include/libc-internal.h.
1317 * libio/Makefile (distribute): Avoid overwriting.
1319 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1320 buffer and table handling.
1322 2001-01-05 H.J. Lu <hjl@gnu.org>
1324 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1325 vector checking to ...
1326 (_dl_aux_init): Here. New function. Defined only if
1327 HAVE_AUX_VECTOR is defined.
1329 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1330 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1332 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1335 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1336 (HAVE_AUX_VECTOR): Defined.
1337 (_dl_aux_init): Declared.
1339 2001-01-05 Ben Collins <bcollins@debian.org>
1341 * manual/string.texi (Finding Tokens in a String): Document XPG
1342 basename() and dirname(), as well as GNU basename().
1344 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1346 * Makeconfig (preprocess-version): Replace -traditional with
1347 -x assembler-with-cpp.
1349 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1351 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1352 for GCC 2.97 or later.
1354 2001-01-05 Ben Collins <bcollins@debian.org>
1356 * manual/stdio.texi (getline): Clarify the return value in the
1357 case of EOF being reached before a newline.
1359 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1361 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1363 (pmap_set, pmap_unset): Check __get_myaddress return value.
1365 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1367 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1368 (struct ether_addr): Declare ether_addr_octet member as
1369 `u_int8_t'. Add __attribute__ ((__packed__)).
1371 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1373 * sysdeps/mach/hurd/readdir64.c: New file.
1374 * sysdeps/mach/hurd/readdir64_r.c: New file.
1376 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1378 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1379 `struct statfs' and `struct statvfs' being identical.
1380 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1382 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1384 * sysdeps/mach/hurd/fstatfs64.c: New file.
1385 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1386 * sysdeps/mach/hurd/statfs64.c: New file.
1387 * sysdeps/mach/hurd/statvfs64.c: New file.
1388 * sysdeps/mach/hurd/statfsconv.c: New file.
1389 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1391 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1393 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1394 Reported by Owen Taylor <otaylor@redhat.com>.
1395 * iconv/Makefile (tests): Add tst-iconv3.
1396 * iconv/tst-iconv3.c: New file.
1398 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1399 * iconvdata/ibm933.c: Likewise.
1400 * iconvdata/ibm935.c: Likewise.
1401 * iconvdata/ibm937.c: Likewise.
1402 * iconvdata/ibm939.c: Likewise.
1403 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1404 * iconvdata/ibm933.h: Likewise.
1405 * iconvdata/ibm935.h: Likewise.
1406 * iconvdata/ibm939.h: Likewise.
1408 * iconvdata/testdata/IBM930: Add misssing SI.
1409 * iconvdata/testdata/IBM933: Likewise.
1410 * iconvdata/testdata/IBM935: Likewise.
1411 * iconvdata/testdata/IBM937: Likewise.
1412 * iconvdata/testdata/IBM939: Likewise.
1414 2001-01-06 Andreas Jaeger <aj@suse.de>
1416 * configure.in: Check for old add-ons that shouldn't be used with
1417 current glibc anymore.
1419 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1421 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1422 instead of -1 on failure. Don't forget to copy file name into
1423 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1426 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1428 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1429 copy st_atime member.
1431 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1433 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1434 for searches from the root directory.
1435 Reported by loris <loris@iol.it> [PR libc/1991].
1436 * io/Makefile (tests): Add bug-ftw1.
1437 * io/bug-ftw1.c: New file.
1439 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1440 if it is not available. Instead use it only if it is available.
1441 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1443 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1444 overflowing output buffer.
1445 (internal_ucs4_loop_unaligned): Likewise.
1446 (ucs4_internal_loop): Likewise.
1447 (ucs4_internal_loop_unaligned): Likewise.
1448 (internal_ucs4le_loop): Likewise.
1449 (internal_ucs4le_loop_unaligned): Likewise.
1450 (ucs4le_internal_loop): Likewise.
1451 (ucs4le_internal_loop_unaligned): Likewise.
1452 Reported by Owen Taylor <otaylor@redhat.com>.
1453 * iconv/Makefile (tests): Add tst-iconv2.
1454 * iconv/tst-iconv2.c: New file.
1456 2001-01-04 H.J. Lu <hjl@gnu.org>
1458 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1459 (_dl_clktck): Declared.
1460 (non_dynamic_init): Take 3 arguments.
1461 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1463 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1465 Finish implementation of plural form handling.
1466 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1467 'domainname'. Remove 'plindex' field. Add 'domain' and
1468 'translation_length' fields.
1469 (transcmp): Don't compare 'plindex' fields.
1470 (plural_lookup): New function.
1471 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1472 plural_eval before the translation and its catalog file have been
1473 found. Remove plindex from cache key. Add 'translation_length' and
1474 'domain' to cache result.
1475 (_nl_find_msg): Remove index argument, return length of translation
1476 to the caller instead. Weaken comparison of string lengths, to account
1477 for plural entries. Call iconv() on the entire result string, not
1478 only on the portion needed so far.
1479 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1481 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1483 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1485 * intl/plural.y (yylex): Minimal improvement in number scanner.
1487 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1489 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1490 C compilers that don't support it.
1491 (yylex): Don't use gcc specific case range syntax.
1492 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1495 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1497 * intl/finddomain.c: Remove unneeded includes.
1499 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1501 * intl/localealias.c (memcpy): Return first argument, just like the
1502 real memcpy function does.
1503 * intl/bindtextdom.c (memcpy): Likewise.
1504 * intl/finddomain.c (memcpy): Likewise.
1505 * intl/l10nflist.c (memcpy): Likewise.
1506 * intl/textdomain.c (memcpy): Likewise.
1507 From Paul Eggert <eggert@twinsun.com>.
1509 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1511 * resolv/resolv.h (struct __res_state): Add nsinit field.
1512 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1513 * resolv/res_init.c (__res_vinit): Initialize it.
1514 (res_nclose): Clear it instead of nscount.
1516 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1518 * malloc/mtrace.pl: Fix matching of addresses.
1519 Patch by Aharon Robbins <arnold@skeeve.com>.
1521 * Versions.def (ld): Add GLIBC_2.2.
1523 * catgets/gencat.c: Copyright 2001.
1524 * csu/version.c: Likewise.
1525 * debug/catchsegv.sh: Likewise.
1526 * debug/xtrace.sh: Likewise.
1527 * elf/ldconfig.c: Likewise.
1528 * elf/sprof.c: Likewise.
1529 * iconv/iconv_prog.c: Likewise.
1530 * locale/locale.c: Likewise.
1531 * locale/localedef.c: Likewise.
1532 * malloc/memusage.sh: Likewise.
1533 * malloc/mtrace.pl: Likewise.
1534 * nscd/nscd.c: Likewise.
1535 * posix/getconf.c: Likewise.
1537 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1539 * include/stdio.h: Only provide __getwc_unlocked prototype if
1540 USE_IN_LIBIO is defined.
1542 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1544 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1547 2001-01-03 Andreas Schwab <schwab@suse.de>
1549 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1550 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1552 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1553 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1555 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1556 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1559 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1561 * sysdeps/generic/strtol_l.c: Likewise.
1562 * sysdeps/generic/strtoul_l.c: Likewise.
1563 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1565 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1566 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1567 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1568 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1570 2001-01-04 Andreas Jaeger <aj@suse.de>
1572 * nss/nsswitch.c: Include files for missing prototypes, remove
1573 buggy declaration of prototypes.
1575 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1577 * resolv/Versions: Fix bracing.
1578 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1579 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1581 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1583 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1585 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1587 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1588 Suggested by Minko Markov <mmarkov@home.com>.
1590 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1592 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1593 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1595 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1597 2001-01-02 Ben Collins <bcollins@debian.org>
1599 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1600 if TZ is not set and TZDEFAULT is not present.
1602 2001-01-01 Ben Collins <bcollins@debian.org>
1604 * string/strings.h: Make sure we declare our functions even if
1605 string.h is already included, based on whether or not __USE_BSD is
1608 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1610 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1611 other dlopen() and dlsym().
1612 Based on a patch by Ben Collins <bcollins@debian.org>.
1614 2001-01-02 Andreas Jaeger <aj@suse.de>
1616 * dlfcn/errmsg1.c (main): Call dlerror initially.
1617 Reported by Ben Collins <bcollins@debian.org>.
1619 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1621 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1622 value is ignored if the selected locale is the C locale.
1623 * intl/tst-gettext.c: Set locale for above change.
1624 * intl/tst-translit.c: Likewise.
1626 2001-01-02 Andreas Jaeger <aj@suse.de>
1628 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1629 (_IO_switch_to_wget_mode): Likewise.
1630 (_IO_sputbackwc): Likewise.
1631 (_IO_sungetwc): Use wint_t for result.
1633 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1635 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1638 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1639 to (int) to avoid warnings.
1640 * stdio-common/printf_fp.c (putc): Likewise.
1641 * stdio-common/printf_size.c (putc): Likewise.
1643 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1646 2001-01-01 Andreas Jaeger <aj@suse.de>
1648 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1650 2000-12-31 Andreas Jaeger <aj@suse.de>
1652 * include/libc-internal.h: Add prototype for __libc_freeres.
1654 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1655 for prototypes, remove redundant prototypes.
1656 * gmon/gmon.c: Likewise.
1657 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1658 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1659 * malloc/mtrace.c: Likewise.
1661 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1663 * elf/soinit.c: Likewise.
1664 * sysdeps/generic/prof-freq.c: Likewise.
1665 * sysdeps/mach/hurd/profil.c: Likewise.
1666 * debug/noophooks.c: Likewise.
1667 * debug/pcprofile.c: Likewise.
1668 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1669 * sysdeps/generic/get_clockfreq.c: Likewise.
1670 * malloc/set-freeres.c: Likewise.
1672 * locale/localeinfo.h: Add internal prototypes.
1674 * elf/rtld.c (dl_main): Fix prototype.
1676 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1679 * nis/rpcsvc/yp_prot.h: Remove __P.
1680 * nis/rpcsvc/ypupd.h: Likewise.
1681 * nis/rpcsvc/yp.h: Likewise.
1683 * sunrpc/rpc_main.c: Add noreturn attributes.
1684 * sunrpc/rpc_scan.h: Likewise.
1686 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1688 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1690 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1692 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1694 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1696 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1698 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1699 * include/rpc/auth.h: Likewise.
1700 * include/rpc/auth_des.h: Likewise.
1701 * include/rpc/clnt.h: Likewise.
1702 * include/rpc/rpc.h: Likewise.
1703 * include/rpc/svc.h: Likewise.
1704 * include/rpc/svc_auth.h: Likewise.
1706 * include/rpc/des_crypt.h: New file.
1708 * malloc/memusagestat.c (main): Use return instead of exit to
1710 * io/pwd.c (main): Likewise.
1711 * iconvdata/tst-table-from.c (main): Likewise.
1712 * ctype/test_ctype.c (main): Likewise.
1713 * setjmp/tst-setjmp.c (main): Likewise.
1714 * signal/tst-signal.c (main): Likewise.
1715 * stdlib/tst-strtol.c (main): Likewise.
1716 * stdlib/tst-strtod.c (main): Likewise.
1717 * stdlib/tst-strtoll.c (main): Likewise.
1718 * stdlib/tst-xpg-basename.c (main): Likewise.
1719 * dirent/tst-seekdir.c (main): Likewise.
1720 * grp/testgrp.c (main): Likewise.
1721 * inet/test_ifindex.c (main): Likewise.
1722 * io/test-utime.c (main): Likewise.
1723 * posix/test-vfork.c (main): Likewise.
1724 * posix/testfnm.c (main): Likewise.
1725 * stdio-common/temptest.c (main): Likewise.
1726 * stdio-common/test_rdwr.c (main): Likewise.
1727 * stdio-common/tst-fileno.c (main): Likewise.
1728 * stdio-common/tst-sscanf.c (main): Likewise.
1729 * stdio-common/tstscanf.c (main): Likewise.
1730 * string/bug-strncat1.c (main): Likewise.
1731 * string/bug-strpbrk1.c (main): Likewise.
1732 * string/bug-strspn1.c (main): Likewise.
1733 * string/test-ffs.c (main): Likewise.
1734 * string/tst-inlcall.c (main): Likewise.
1735 * string/tst-svc.c (main): Likewise.
1736 * timezone/test-tz.c (main): Likewise.
1737 * wctype/test_wcfuncs.c (main): Likewise.
1738 * wctype/test_wctype.c (main): Likewise.
1740 * stdlib/tst-random.c: Add attribute noreturn to fail.
1742 2000-12-28 Wolfram Gloger <wg@malloc.de>
1744 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1745 destination overlap. Assume dest is always below source if
1748 2000-12-30 Ulrich Drepper <drepper@redhat.com>
1750 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1751 object was not yet initialized.
1753 2000-12-28 H.J. Lu <hjl@gnu.org>
1755 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1756 is always consistent even if its dependency is failed.
1758 * elf/dl-open.c (_dl_open): Increment the open count before
1759 calling _dl_close () in case of failure.
1761 * elf/neededtest4.c: New file.
1762 * elf/neededobj5.c: New file.
1763 * elf/neededobj6.c: New file.
1765 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1766 (tests): Add neededtest4.
1767 (modules-names): Add neededobj5 and neededobj6.
1768 ($(objpfx)neededobj6.so): New target.
1769 ($(objpfx)neededtest4): New target.
1770 ($(objpfx)neededtest4.out): New target.
1772 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1774 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1775 * stdlib/monetary.h: Add strfmon format attributes.
1777 2000-12-28 Roland McGrath <roland@frob.com>
1779 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1780 __mempcpy does it for us.
1782 2000-12-28 Andreas Jaeger <aj@suse.de>
1784 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1786 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1789 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1792 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1795 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1796 __chown_is_lchown and __real_chown.
1798 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1801 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1802 up GCC's warning about "deprecated use of label at end of compound
1804 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1806 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1808 Remove struct bb and __bb_head since those are declared by
1811 2000-12-22 Ben Collins <bcollins@debian.org>
1813 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1815 * manual/argp.texi: Document argp_domain as part of struct argp.
1817 2000-12-28 Andreas Jaeger <aj@suse.de>
1819 * catgets/Makefile (generated): Add sample.SJIS.cat.
1821 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1823 * elf/dl-minimal.c: Add prototypes.
1825 * include/locale.h: Add internal prototypes.
1826 * include/sys/gmon.h: Likewise.
1828 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1830 2000-12-27 Ben Collins <bcollins@debian.org>
1832 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1833 when reallocating the error strings.
1834 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1836 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1838 * dlfcn/Makefile (tests): Add errmsg1.
1839 (modules-names): Add errmsg1mod.
1840 Add rules to run errmsg1.
1841 * dlfcn/errmsg1.c: New file.
1842 * dlfcn/errmsg1mod.c: New file.
1844 * dlfcn/dlerror.c (dlerror): Always create output string which
1845 includes object file name.
1847 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1848 if we would go through it only once.
1849 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1851 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1852 Patch by Richard Henderson <rth@redhat.com>.
1854 2000-12-27 Jakub Jelinek <jakub@redhat.com>
1856 * malloc/malloc.c (memmove): Add prototypes.
1857 (MALLOC_MEMMOVE): Define.
1858 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1859 destination might overlap.
1861 2000-12-27 Andreas Jaeger <aj@suse.de>
1863 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1865 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1866 * locale/programs/locale.c (show_locale_vars): Likewise.
1867 (show_info): Likewise.
1868 * locale/programs/ld-collate.c (collate_output): Likewise.
1869 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1870 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1871 * stdlib/rpmatch.c (rpmatch): Likewise.
1873 * setjmp/tst-setjmp.c: Make local functions static.
1874 * setjmp/jmpbug.c: Likewise.
1875 * signal/tst-signal.c: Likewise.
1876 * stdio-common/tfformat.c: Likewise.
1877 * string/tst-svc.c: Likewise.
1878 * time/clocktest.c: Likewise.
1879 * time/tst-getdate.c: Likewise.
1880 * dirent/list.c: Likewise.
1881 * dirent/opendir-tst1.c: Likewise.
1882 * posix/runtests.c: Likewise.
1883 * posix/tst-getaddrinfo.c: Likewise.
1884 * posix/tst-chmod.c: Likewise.
1885 * posix/wordexp-test.c: Likewise.
1886 * misc/tst-efgcvt.c: Likewise.
1887 * timezone/tst-timezone.c: Likewise.
1888 * rt/tst-clock.c: Likewise.
1889 * rt/tst-shm.c: Likewise.
1890 * rt/tst-aio2.c: Likewise.
1891 * rt/tst-aio3.c: Likewise.
1892 * rt/tst-aio4.c: Likewise.
1893 * rt/tst-aio5.c: Likewise.
1895 * dlfcn/failtest.c: Add prototype for foo.
1897 * dlfcn/glrefmain.c: Add prototype for do_test.
1899 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1901 * string/test-ffs.c (main): Add prototype for nested function.
1903 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1905 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1907 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1908 setetherent prototype.
1909 Add internal interfaces.
1911 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1912 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1914 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1916 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1918 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1919 prototypes, remove struct etherent since it's declared in ether.h.
1920 Fix ntohost declaration.
1922 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1924 * include/getopt.h: Add internal interfaces.
1925 * include/termios.h: Likewise.
1926 * include/resolv.h: Likewise.
1927 * include/netdb.h: Likewise.
1928 * include/grp.h: Likewise.
1929 * include/pwd.h: Likewise.
1930 * include/shadow.h: Likewise.
1931 * include/rpc/netdb.h: Likewise.
1932 * include/setjmp.h: Likewise.
1934 * include/stdio.h: Add prototypes for compatibility functions.
1935 * include/grp.h: Likewise.
1936 * include/pwd.h: Likewise.
1937 * include/shadow.h: Likewise.
1939 * include/fenv.h: Define internal interfaces.
1941 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1943 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1944 argument case separately.
1945 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1947 2000-12-27 Andreas Jaeger <aj@suse.de>
1949 * include/sys/wait.h: Add some prototypes.
1950 * Rules (dummy.c): Create also prototype to shut up GCC.
1952 2000-12-27 Andreas Jaeger <aj@suse.de>
1954 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1955 it's not needed at the moment.
1956 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1957 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1959 2000-12-26 Andreas Jaeger <aj@suse.de>
1961 * libio/getc_u.c: Include stdio.h via system path to get internal
1963 * libio/getwc_u.c: Likewise.
1965 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1967 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1968 __printf_fp prototypes to ...
1969 * include/printf.h: ...here.
1971 * include/stdio.h: Add some internal prototypes to shut up GCC.
1972 * include/stdlib.h: Likewise.
1974 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1977 * include/signal.h: Add prototypes for internal sigpause
1980 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1982 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1983 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1985 * string/Makefile (tests): Add tst-bswap.
1986 * string/tst-bswap.c: New file.
1988 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1990 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1992 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1994 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1995 Patch by Ed Connell <Ed.Connell@sas.com>.
1997 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1999 * locale/iso-639.def: Correct one entry. Add two missing entries.
2001 * locale/iso-4217.def: Change entry for Eritrea.
2002 Reported by Daniel Yacob <yacob@geez.org>.
2004 2000-12-23 Ben Collins <bcollins@debian.org>
2006 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
2009 * manual/stdio.texi (Dynamic Output): Document the return value of
2010 asprintf. Also make the asprintf/snprintf examples a little
2011 better (check for some error returns).
2013 2000-12-22 Andreas Jaeger <aj@suse.de>
2015 * include/stdio.h: Add __ftrylockfile prototype.
2017 2000-12-21 H.J. Lu <hjl@gnu.org>
2019 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
2020 Make sign_exponent element signed.
2022 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
2025 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2027 2000-12-21 Andreas Jaeger <aj@suse.de>
2029 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
2030 * inet/ether_hton.c: Likewise
2031 * inet/ether_ntoh.c: Likewise.
2033 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
2034 declaration to match prototype.
2036 * include/netinet/ether.h (struct etherent): Declare here so that
2037 all implementations use the same struct.
2039 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
2041 (struct ether): Removed.
2042 Use struct etherent instead of ether everywhere.
2044 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
2046 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
2048 * sunrpc/publickey.c: Include auth_des.h for prototypes.
2050 2000-12-20 Ulrich Drepper <drepper@redhat.com>
2052 * math/test-misc.c: Add more tests for nextafter functions.
2054 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
2055 normal correctly. Correct test for sign.
2056 Based on a patch by HJ Lu.
2058 2000-12-19 Ulrich Drepper <drepper@redhat.com>
2060 * Makeconfig (preprocess-version): Add -traditional to gcc call.
2063 2000-12-19 Andreas Jaeger <aj@suse.de>
2065 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
2067 * nis/nis_intern.h: Add prototype for __do_niscall3.
2069 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
2072 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
2074 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2076 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2078 2000-12-18 Ulrich Drepper <drepper@redhat.com>
2080 * math/test-misc.c: Add more tests for nextafter.
2081 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2082 * sysdeps/ieee754/ldbl-96/math_ldbl.h
2083 (ieee_long_double_shape_type): Make sign_exponent element signed.
2085 * manual/message.texi: Add Estonian to plural overview list.
2086 Correct rule for Slavic languages.
2087 Patch by Stanislav Brabec <utx@penguin.cz>.
2089 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2091 2000-12-18 Andreas Jaeger <aj@suse.de>
2093 * test-skeleton.c: Use temp_name_list instead of name_list to
2094 avoid collision with name_list from inet/netgroup.h.
2096 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2098 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2099 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2100 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2101 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2103 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2104 declaration to match prototype.
2105 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2106 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2107 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2109 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2110 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2111 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2112 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2113 (_nss_nis_getservbyport_r): Likewise.
2114 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2115 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2116 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2117 (_nss_nis_setnetent): Likewise
2118 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2119 (_nss_nis_endnetgrent): Likewise.
2120 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2122 (_nss_nisplus_setnetgrent): Likewise.
2123 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2124 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2125 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2126 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2128 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2130 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2132 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2134 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2135 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2136 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2138 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2139 (_nss_dns_getnetbyaddr_r): Likewise.
2141 2000-12-17 Andreas Jaeger <aj@suse.de>
2143 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2146 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2147 unused attribute to shut up gcc warnings.
2149 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2150 * sysdeps/generic/k_tanl.c: Likewise.
2151 * sysdeps/generic/k_cosl.c: Likewise.
2152 * sysdeps/generic/e_j0l.c: Likewise.
2153 * sysdeps/generic/e_j1l.c: Likewise.
2154 * sysdeps/generic/e_jnl.c: Likewise.
2155 * sysdeps/generic/e_lgammal_r.c: Likewise.
2157 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2159 * elf/vismod.h: New file.
2160 * elf/Makefile (distribute): Add vismod.h.
2161 * elf/vismod1.c: Include vismod.h.
2162 * elf/vismod2.c: Likewise.
2163 * elf/vismod3.c: Likewise.
2165 * elf/constload3.c: Add prototype declarations to shut up gcc.
2166 * elf/failobj.c: Likewise.
2167 * elf/nodelmod3.c: Likewise.
2168 * elf/filtmod1.c: Likewise.
2169 * elf/filtmod2.c: Likewise.
2170 * elf/reldepmod1.c: Likewise.
2171 * elf/reldepmod2.c: Likewise.
2172 * elf/reldepmod3.c: Likewise.
2173 * elf/reldepmod4.c: Likewise.
2174 * elf/unload2dep.c: Likewise.
2175 * elf/unload2mod.c: Likewise.
2176 * elf/ltglobmod1.c: Likewise.
2177 * elf/pathoptobj.c: Likewise.
2178 * elf/neededobj1.c: Likewise.
2179 * elf/neededobj2.c: Likewise.
2180 * elf/neededobj3.c: Likewise.
2181 * elf/neededobj4.c: Likewise.
2182 * elf/nextmod1.c: Likewise.
2183 * elf/nextmod2.c: Likewise.
2185 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2186 at end of compound statement.
2187 * locale/programs/locale.c (show_info): Likewise.
2188 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2190 2000-12-16 Jakub Jelinek <jakub@redhat.com>
2192 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2193 with a pointer not returned by obstack_ functions.
2195 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2197 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2199 (struct stat64): Likewise.
2200 Reported by Michael Keezer <mkeezer@redhat.com>.
2202 * timezone/asia: Update from tzdata2000h.
2203 * timezone/australasia: Likewise.
2204 * timezone/backward: Likewise.
2205 * timezone/europe: Likewise.
2206 * timezone/northamerica: Likewise.
2207 * timezone/southamerica: Likewise.
2208 * timezone/zone.tab: Likewise.
2210 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2212 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2213 and dir.stream is NULL, only free dir.content.
2214 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2215 * io/ftwtest-sh: Test with --early-exit.
2217 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2219 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2220 (FCVT_BUFPTR): New variable.
2221 (fcvt): If fcvt_r returns -1 on the static short buffer,
2222 try to malloc a sufficiently large one and retry.
2223 (free_mem): New function.
2224 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2225 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2227 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2229 * misc/dirname.c (dirname): Fix search for second to last slash.
2231 2000-12-13 Andreas Jaeger <aj@suse.de>
2233 * misc/tst-dirname.c (main): Fix typo in test to really use
2234 the examples from Unix98.
2235 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2237 2000-12-09 H.J. Lu <hjl@gnu.org>
2239 * sysdeps/ia64/fpu/s_fabs.S: New file.
2240 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2241 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2243 2000-12-15 Andreas Jaeger <aj@suse.de>
2245 * stdio-common/scanf9.c (main): Reformat and change to avoid
2248 * stdio-common/tstdiomisc.c: Make local functions static.
2249 * stdio-common/tst-printf.c: Likewise.
2251 * elf/constload2.c: Add prototype declarations to shut up gcc.
2252 * elf/dep1.c: Likewise.
2253 * elf/dep2.c: Likewise.
2254 * elf/dep3.c: Likewise.
2255 * elf/dep4.c: Likewise.
2256 * elf/ltglobmod2.c: Likewise.
2258 * libio/fmemopen.c: Make local functions static.
2260 * elf/Makefile (distribute): Added testobj.h.
2262 * elf/testobj.h: New file.
2264 * elf/testobj1.c: Include testobj.h and move prototype
2265 declarations to testobj.h.
2266 * elf/testobj2.c: Likewise.
2267 * elf/testobj3.c: Likewise.
2268 * elf/testobj4.c: Likewise.
2269 * elf/testobj5.c: Likewise.
2270 * elf/testobj6.c: Likewise.
2271 * elf/testobj1_1.c: Likewise.
2272 * elf/preloadtest.c: Likewise.
2274 2000-12-15 Ben Collins <bcollins@debian.org>
2276 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2277 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2279 2000-12-14 H.J. Lu <hjl@gnu.org>
2281 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2282 field in a float is 8 bits, not 11 bits.
2284 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2286 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2288 2000-12-13 Andreas Jaeger <aj@suse.de>
2290 * manual/message.texi (Using gettextized software): Fix typo.
2292 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2294 Patch by Martin Buchholz <martin@xemacs.org>.
2296 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2297 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2299 2000-12-11 Andreas Jaeger <aj@suse.de>
2301 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2302 kernel_sigset_t and use it.
2303 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2305 2000-12-10 Richard Henderson <rth@redhat.com>
2307 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2308 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2309 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2311 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2313 * sysdeps/alpha/htonl.S: Fix a typo.
2315 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2317 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2319 2000-12-10 Andreas Jaeger <aj@suse.de>
2321 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2322 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2323 Drepper <drepper@redhat.com>.
2325 2000-12-09 Andreas Jaeger <aj@suse.de>
2327 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2329 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2331 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2333 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2336 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2339 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2340 * nscd/connections.c (handle_request): Likewise.
2341 * nscd/pwdcache.c (addpwbyname): Likewise.
2342 * nscd/grpcache.c (addgrbyname): Likewise.
2344 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2346 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2348 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2350 * Makeconfig (default_cflags): Make -O2 the default for stable
2353 2000-12-08 H.J. Lu <hjl@gnu.org>
2355 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2356 * sysdeps/ia64/fpu/s_isinf.S: This.
2357 Add a .pred.rel.mutex note to avoid false report.
2359 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2360 * sysdeps/ia64/fpu/s_isnan.S: This.
2362 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2363 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2364 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2365 * sysdeps/ia64/fpu/s_isinff.S: New file.
2366 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2367 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2368 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2369 * sysdeps/ia64/fpu/s_finite.S: New file.
2370 * sysdeps/ia64/fpu/s_finitef.S: New file.
2371 * sysdeps/ia64/fpu/s_finitel.S: New file.
2372 * sysdeps/ia64/fpu/s_signbit.S: New file.
2373 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2374 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2375 * sysdeps/ia64/fpu/s_copysign.S: New file.
2376 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2377 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2379 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2381 * math/libm-test.inc (main): Fix typos in messages.
2383 * string/stratcliff.c: Add test for rawmemchr.
2385 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2387 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2388 allocate it together with errstring using alloca.
2389 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2390 to "", because it might point to local stack.
2392 2000-12-05 H.J. Lu <hjl@gnu.org>
2394 * nss/Makefile (routines): Add getnssent and getnssent_r.
2395 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2396 (__nss_endent): Likewise.
2397 (__nss_getent_r): Likewise.
2398 (__nss_getent): Likewise.
2399 * nss/getnssent_r.c: New file.
2400 * nss/getnssent.c: New file.
2401 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2402 (GETFUNC_NAME): Updated to call __nss_getent ().
2403 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2404 (STAYOPEN_TMPVAR): Updated.
2405 (STAYOPEN_VAR): Updated.
2406 (SETFUNC_NAME): Updated to call __nss_setent ().
2407 (ENDFUNC_NAME): Updated to call __nss_endent ().
2408 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2410 2000-12-08 Andreas Jaeger <aj@suse.de>
2412 * nscd/dbg_log.h (dbg_log): Correct attribute.
2414 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2416 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2417 cp + len. Compute where from dirname.
2418 Reported by <jreiser@BitWagon.com>.
2420 2000-12-08 Richard Henderson <rth@twiddle.net>
2422 * sysdeps/alpha/_mcount.S: Fix typo.
2423 * sysdeps/alpha/strncpy.S: Likewise.
2425 * sysdeps/alpha/alphaev6/Implies: New file.
2426 * sysdeps/alpha/alphaev67/Implies: New file.
2427 * sysdeps/alpha/alphaev67/ffs.S: New file.
2428 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2429 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2430 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2431 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2432 * sysdeps/alpha/rawmemchr.S: New file.
2433 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2434 * sysdeps/alpha/strcpy.S: Likewise.
2437 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2439 From rick.gorton@alpha-processor.com:
2440 * sysdeps/alpha/alphaev6/memchr.S: New file.
2441 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2442 * sysdeps/alpha/alphaev6/memset.S: New file.
2443 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2444 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2445 * sysdeps/alpha/alphaev67/strcat.S: New file.
2446 * sysdeps/alpha/alphaev67/strchr.S: New file.
2447 * sysdeps/alpha/alphaev67/strlen.S: New file.
2448 * sysdeps/alpha/alphaev67/strncat.S: New file.
2449 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2451 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2453 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2454 Reported by <pspencer@fields.utoronto.ca>.
2456 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2458 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2459 Pointed out by Hans Boehm.
2461 2000-12-07 H.J. Lu <hjl@gnu.org>
2463 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2465 2000-12-07 Andreas Jaeger <aj@suse.de>
2467 * misc/error.c: Add format attributes for __error and __error_at_line.
2469 * nscd/dbg_log.h: Add format attribute.
2471 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2473 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2474 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2476 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2478 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2480 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2482 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2483 (sysdep_routines): Add uitrunc.
2484 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2485 Patches by Michael Keezer <mkeezer@redhat.com>.
2487 2000-12-06 Roland McGrath <roland@frob.com>
2489 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2490 argument data, since it will be used to copy out too (for INOUT).
2491 Reported by Marcus Brinkmann <marcus@gnu.org>.
2493 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2494 (__ioctl): Use uintptr_t instead of unsigned long int.
2496 2000-12-06 Jim Wilson <wilson@redhat.com>
2498 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2500 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2502 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2503 x.5 rounding correctly.
2505 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2507 * stdio-common/perror.c (perror): Conditionalize code dealing with
2508 wide-oriented streams on USE_IN_LIBIO.
2510 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2512 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2513 as internal_function.
2515 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2517 * sysdeps/alpha/elf/start.S (__data_start): Define.
2519 2000-12-05 H.J. Lu <hjl@gnu.org>
2521 * nss/getXXent_r.c (setup): Change the return type to int.
2523 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2525 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2526 (sysdep_routines): Add restf and savef.
2527 * sysdeps/unix/sysv/aix/restf.c: New file.
2528 * sysdeps/unix/sysv/aix/savef.c: New file.
2529 Patches by Michael Keezer <mkeezer@redhat.com>.
2531 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2532 if O_DIRECTORY is not defined.
2533 Patch by Michael Keezer <mkeezer@redhat.com>.
2535 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2536 Patch by Michael Keezer <mkeezer@redhat.com>.
2538 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2539 than 4 bytes in escape sequence.
2540 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2542 2000-12-05 Andreas Jaeger <aj@suse.de>
2544 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2547 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2549 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2551 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2552 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2554 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2556 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2557 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2559 * sysdeps/generic/dl-cache.c: Remove declaration of
2560 _dl_sysdep_read_whole_file.
2562 * elf/dl-load.c (_dl_map_object): Remove declaration of
2563 _dl_load_cache_lookup.
2565 * sysdeps/generic/ldsodefs.h: Add declarations of
2566 _dl_load_cache_lookup, _dl_unload_cache,
2567 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2568 _dl_sysdep_start_cleanup.
2570 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2573 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2574 * sysdeps/generic/dl-environ.c: Likewise.
2576 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2578 * math/atest-exp.c: Likewise.
2579 * math/atest-exp2.c: Likewise.
2580 * math/atest-sincos.c: Likewise.
2581 * stdio-common/_itoa.c: Likewise.
2582 * stdio-common/_itowa.c: Likewise.
2584 * include/gmp.h: New file with internal prototypes.
2586 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2588 * include/setjmp.h: ...here.
2590 * locale/Makefile (routines): Remove codeset_name since it's not
2593 * locale/codeset_name.c: Removed.
2595 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2597 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2599 2000-12-05 Andreas Jaeger <aj@suse.de>
2601 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2603 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2605 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2608 2000-12-05 Andreas Jaeger <aj@suse.de>
2610 * nss/test-netdb.c: Mark local functions as static to avoid
2612 (main): Use return to silence warning.
2614 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2616 * stdio-common/test-popen.c: Mark local functions as static to
2618 (main): Use return to silence warning.
2620 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2622 * assert/test-assert.c: Mark local functions as static to avoid
2624 * assert/test-assert-perr.c: Likewise.
2626 * math/libm-test.inc (main): Use return to silence warnings.
2628 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2630 * math/fenv.h: Fix typo in comment.
2632 * math/test-misc.c (main): Add a few more over and underflow tests
2635 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2638 * math/w_scalb.c: Don't use matherr except in SVID mode.
2639 * math/w_scalbf.c: Likewise.
2640 * math/w_scalbl.c: Likewise.
2641 * math/test-misc.c: Add test for NaN and scalbl.
2642 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2644 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2646 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2647 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2648 * include/libc-symbols.h (strong_alias): Define special version
2649 for HAVE_ASM_GLOBAL_DOT_NAME.
2650 (weak_alias): Likewise.
2651 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2652 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2653 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2654 getutxline, pututxline, and utmpxname.
2655 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2656 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2657 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2658 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2659 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2660 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2661 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2662 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2663 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2664 Patches by Michael Keezer <mkeezer@redhat.com>.
2666 2000-12-04 H.J. Lu <hjl@gnu.org>
2668 * configure.in: Change --with-oldest-abi=ABI to
2669 --enable-oldest-abi=ABI.
2671 2000-12-02 Bruno Haible <haible@clisp.cons.org>
2673 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2674 fwprintf instead of fprintf.
2676 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2678 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2679 DECIMAL_DIG definitions.
2680 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2681 * sysdeps/generic/bits/mathdef.h: Likewise
2682 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2683 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2684 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2685 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2686 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2687 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2689 2000-12-03 Ulrich Drepper <drepper@redhat.com>
2691 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2693 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2694 * math/atest-exp2.c: Likewise.
2695 * math/atest-sincos.c: Likewise.
2697 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2698 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2700 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2701 the handling of denormalized numbers.
2703 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2705 * sysdeps/i386/fpu/fpclassifyl.c: New file.
2707 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2708 pseudo denormal representation of LDBL_MIN.
2710 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2711 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2713 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2714 * iconvdata/jis0208.c: Likewise.
2715 * iconvdata/jis0212.c: Likewise.
2716 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2718 * math/test-misc.c (main): More tests for frexp and some for
2719 fpclassify and isnormal.
2721 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2723 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2725 * math/test-misc.c (main): Add tests for frexp.
2726 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2727 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2729 2000-12-02 H.J. Lu <hjl@gnu.org>
2731 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2734 2000-12-02 Ulrich Drepper <drepper@redhat.com>
2736 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2737 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2738 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2740 * sysdeps/generic/glob.c: Adjust types of several variables to
2743 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2745 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2747 2000-11-30 Roland McGrath <roland@frob.com>
2749 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2750 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2751 allow multiple instances using the same function name in one file.
2753 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2755 * configure.in: Correct test for pserver CVS access.
2757 2000-11-28 H.J. Lu <hjl@gnu.org>
2759 * libio/libio.h: Remove extra "#if ... #endif".
2761 2000-11-29 H.J. Lu <hjl@gnu.org>
2763 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2765 2000-12-01 H.J. Lu <hjl@gnu.org>
2767 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2768 * nss/getXXent_r.c: Likewise.
2769 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2771 2000-11-30 H.J. Lu <hjl@gnu.org>
2773 * scripts/abi-versions.awk (oldest_abi): New variable.
2774 Handle the oldest ABI supported.
2776 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2777 for scripts/abi-versions.awk.
2779 * configure.in: Add --with-oldest-abi=ABI.
2780 * configure: Rebuild.
2782 * config.make.in (oldest-abi): New.
2784 * config.h.in (GLIBC_OLDEST_ABI): New.
2786 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2788 2000-11-30 Jakub Jelinek <jakub@redhat.com>
2790 * locale/setlocale.c (setname): Free for all categories, not just
2792 (setlocale): Store a copy of string passed by user, not the string
2795 2000-11-30 Roland McGrath <roland@frob.com>
2797 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2798 rather than _hurd_fd_subinit, so it happens after it's safe to use
2799 libc facilities like malloc.
2801 2000-11-28 Andreas Jaeger <aj@suse.de>
2803 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2804 declaration, adjust declaration of __syscall_getdents to match
2807 2000-11-29 H.J. Lu <hjl@gnu.org>
2809 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2811 2000-11-29 Andreas Jaeger <aj@suse.de>
2813 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2815 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2817 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2818 * dlfcn/defaultmod2.c: Likewise.
2819 * dlfcn/dlopen.c: Likewise.
2820 * dlfcn/dlopenold.c: Likewise.
2821 * dlfcn/failtestmod.c: Likewise.
2822 * dlfcn/glreflib1.c: Likewise.
2823 * dlfcn/glreflib2.c: Likewise.
2824 * dlfcn/eval.c: Likewise. Add attributes.
2826 * ctype/ctype-extn.c: Define isblank and not __isblank.
2828 * time/strftime.c: Add const where necessary to avoid warnings.
2829 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2831 2000-11-22 Paul Eggert <eggert@twinsun.com>
2833 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2834 size of (size_t) -1; it's not portable.
2836 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2838 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2840 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2842 2000-11-14 Jes Sorensen <jes@linuxcare.com>
2844 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2846 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2847 _mcount is required by profiled binaries.
2849 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2850 * sysdeps/ia64/machine-gmon.h: ...here.
2852 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2854 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2855 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2857 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2859 * iconvdata/ibm922.c: New file.
2860 * iconvdata/ibm922.h: New file.
2861 * iconvdata/ibm1124.c: New file.
2862 * iconvdata/ibm1124.h: New file.
2863 * iconvdata/ibm1129.c: New file.
2864 * iconvdata/ibm1129.h: New file.
2865 * iconvdata/testdata/IBM922: New file.
2866 * iconvdata/testdata/IBM922..UTF8: New file.
2867 * iconvdata/testdata/IBM1124: New file.
2868 * iconvdata/testdata/IBM1124..UTF8: New file.
2869 * iconvdata/testdata/IBM1129: New file.
2870 * iconvdata/testdata/IBM1129..UTF8: New file.
2872 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2874 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2875 character. Change callers.
2876 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2877 * catgets/Makefile: Add rules to build and run test-gencat.
2878 * catgets/sample.SJIS: New file.
2879 * catgets/test-gencat.c: New file.
2880 * catgets/test-gencat.sh: New file.
2881 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2883 2000-11-28 Andreas Jaeger <aj@suse.de>
2885 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2888 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2890 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2892 2000-11-28 Andreas Jaeger <aj@suse.de>
2894 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2896 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2899 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2901 * misc/getusershell.c: Make strings in okshells array const.
2902 * misc/regexp.c: Add const to cast to avoid warnings.
2903 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2904 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2906 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2908 * misc/error.c: Add prototypes for __error and __error_at_line.
2909 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2910 statement to avoid warning.
2911 * test-skeleton.c: Mark timeout_handler with noreturn.
2912 * iconv/skeleton.c (get16u): Add const to cast.
2914 * iconvdata/gb18030.c: Likewise.
2915 * iconvdata/iso-2022-cn-ext.c: Likewise.
2916 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2917 * iconvdata/big5.c: Likewise.
2918 * iconvdata/big5hkscs.c: Likewise.
2919 * iconvdata/iso_6937.c: Likewise.
2920 * iconvdata/iso_6937-2.c: Likewise.
2921 * iconvdata/t.61.c: Likewise.
2922 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2923 * iconvdata/unicode.c: Likewise.
2924 * iconvdata/utf-16.c: Likewise.
2925 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2926 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2927 with little code shuffling.
2929 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2930 the problems introduced when the user selects -O3.
2932 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2933 * misc/sys/cdefs.h: Define __flexarr.
2934 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2936 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2937 * iconv/skeleton.c: Likewise.
2938 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2939 * iconv/loop.c (get16): Add const to cast.
2942 2000-11-27 Andreas Jaeger <aj@suse.de>
2944 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2946 * login/programs/utmpdump.c (print_entry): Likewise.
2948 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2950 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2951 in a single asm as they may be used to access other stored
2953 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2955 2000-11-27 Andreas Jaeger <aj@suse.de>
2957 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2958 * rt/tst-aio64.c: Likewise.
2960 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2962 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2964 (libc.cat): Likewise.
2965 * catgets/gencat.c: Implement handling of message catalogs encoded
2966 with stateful character sets.
2967 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2969 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2971 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2973 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2974 * inet/rcmd.c: Likewise.
2975 * inet/ruserpass.c: Likewise.
2976 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2977 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2978 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2979 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2980 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2981 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2982 * include/aliases.h: Add prototypes for internal __getalias* functions.
2983 * include/netdb.h: Add prototypes for __old_gethostent_r,
2984 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2985 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2986 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2987 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2988 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2989 __old_getrpcbynumber_r, __old_getrpcent_r.
2991 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2992 __getrpcent_r prototypes.
2994 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2996 * string/strcoll.c: Add casts to avoid warnings.
2997 * string/strnlen.c: Likewise.
2998 * string/strxfrm.c: Likewise.
2999 * sysdeps/generic/_strerror.c: Likewise.
3000 * sysdeps/generic/memrchr.c: Likewise.
3001 * sysdeps/generic/strcasestr.c: Likewise.
3002 * sysdeps/generic/strstr.c: Likewise.
3004 * locale/weight.h (findidx): Add const to cast to avoid warning.
3006 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
3007 * elf/loadtest.c: Likewise.
3008 * elf/multiload.c: Likewise.
3009 * elf/next.c: Likewise.
3010 * elf/nodelete.c: Likewise.
3011 * elf/noload.c: Likewise.
3012 * elf/order.c: Likewise.
3013 * elf/origtest.c: Likewise.
3014 * elf/preloadtest.c: Likewise.
3015 * elf/restest1.c: Likewise.
3017 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
3018 parameter of asm must be in %ecx.
3020 * string/tester.c: Mark test functions as static to avoid warnings.
3022 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
3023 preserve value over different gconv-modules files.
3025 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3027 * locale/findlocale.c: Add casts to avoid warnings.
3028 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
3029 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
3031 * misc/tsearch.c (const_node): New type.
3032 (trecurse): Correct casts to avoid warnings.
3033 (__twalk): Likewise.
3034 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
3037 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
3039 * test-skeleton.c: Mark local functions as static to avoid warnings.
3041 2000-11-23 H.J. Lu <hjl@gnu.org>
3043 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
3044 support the background job.
3047 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3049 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
3050 has same names but lower cost.
3052 2000-11-23 Jakub Jelinek <jakub@redhat.com>
3054 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
3055 which never occur during bootstrap.
3056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3058 2000-11-23 Andreas Jaeger <aj@suse.de>
3060 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
3062 * nss/Versions: Remove _nss_files_getipnodebyname_r.
3064 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
3066 2000-11-18 Martin Buchholz <martin@xemacs.org>
3068 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
3071 2000-11-21 Alan Modra <alan@linuxcare.com.au>
3073 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
3075 * csu/abi-note.S: Correct comment for operating system number.
3077 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3079 * Versions.def: Add GLIBC_2.2.1 for glibc.
3081 2000-11-22 Andreas Schwab <schwab@suse.de>
3083 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3084 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3086 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3088 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3089 absolute time for pthread_cond_timedwait call.
3090 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3092 * rt/Makefile (tests): Add tst-aio6.
3093 * rt/tst-aio6.c: New file.
3095 2000-11-23 Andreas Jaeger <aj@suse.de>
3097 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3099 2000-11-22 Andreas Jaeger <aj@suse.de>
3101 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3103 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3105 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3107 2000-11-21 Andreas Schwab <schwab@suse.de>
3109 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3110 * sysdeps/arm/setjmp.S: Likewise.
3111 * sysdeps/arm/fpu/setjmp.S: Likewise.
3112 * sysdeps/i386/setjmp.S: Likewise.
3113 * sysdeps/i386/elf/setjmp.S: Likewise.
3114 * sysdeps/s390/setjmp.S: Likewise.
3115 * sysdeps/s390/elf/setjmp.S: Likewise.
3116 * sysdeps/sh/sh3/setjmp.S: Likewise.
3117 * sysdeps/sh/sh4/setjmp.S: Likewise.
3118 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3119 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3120 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3121 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3123 2000-11-21 Andreas Jaeger <aj@suse.de>
3125 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3126 NORETURN, fix parameter list.
3128 * string/bug-strncat1.c (main): Fix typo.
3129 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3131 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3133 * configure.in: Add --enable-all-warnings.
3134 * config.make.in (all-warnings): New variable.
3135 * Makeconfig (+gccwarn): Define with many more warnings if
3136 all-warnings is yes.
3138 2000-11-20 Jakub Jelinek <jakub@redhat.com>
3140 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3141 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3142 * malloc/tst-valloc.c (main): Cast valloc return value to long.
3143 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3144 * math/test-fpucw.c (main): Use %lx in format string, cast
3145 control words to long.
3146 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3147 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3148 large that it is unsigned warning.
3150 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3151 it to long on sparc64.
3153 2000-11-20 Andreas Jaeger <aj@suse.de>
3155 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3156 (receiv_print_stats): Likewise.
3158 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3160 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3162 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3164 * csu/gmon-start.c: Always have prototype for __gmon_start.
3165 * csu/version.c: Add prototypes for __libc_print_version and
3167 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3168 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3170 * iconv/gconv_builtin.h: Add ASCII module definitions.
3171 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3172 (add_module): Add cast to avoid warning. Rework construction of
3173 strings for new module.
3174 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3175 (derivation_compare): Likewise.
3176 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3177 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3178 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3179 (struct gconv_alias): Remove const from fromname and toname.
3180 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3182 (internal_ucs4_loop): Use correct const-ness.
3183 (ucs4_internal_loop): Likewise.
3184 (internal_ucs4le_loop): Likewise.
3185 (ucs4le_internal_loop_single): Likewise.
3186 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3187 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3188 assignments appropriately.
3189 (struct known_trans): Remove const from fname.
3190 (trans_compare): Make s1 and s2 const.
3191 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3193 * iconv/skeleton.c: Remove cast in calls of loop functions.
3194 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3195 * iconvdata/iso646.c: Remove US_ASCII support.
3196 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3197 * include/unistd.h: Add __libc_check_standard_fds prototype.
3198 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3199 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3201 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3202 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3203 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3205 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3206 __libc_init_first and _dl_start.
3207 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3208 (DCIGETTEXT): Make domaindata variable const.
3209 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3212 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3214 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3216 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3217 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3220 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3221 value defined in /usr/include/asm-mips/fcntl.h.
3223 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3225 * stdio-common/Makefile (tests): Add test-vfprintf.
3226 (test-vfprintf-ENV): New variable.
3227 * stdio-common/test-vfprintf.c: New file.
3229 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3231 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3232 (tst-mbrtowc-ENV): New variable.
3233 (tst-wcrtomb-ENV): New variable.
3234 * wcsmbs/tst-mbrtowc.c: New file.
3235 * wcsmbs/tst-wcrtomb.c: New file.
3237 2000-11-16 Andreas Jaeger <aj@suse.de>
3239 * manual/install.texi (Tools for Compilation): Update
3240 documentation for GCC 2.95.2.
3242 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3245 if IPv4 and IPv6 requests timed out.
3247 2000-11-18 Akim Demaille <akim@epita.fr>
3249 * malloc/obstack.h: Formatting changes.
3250 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3251 prevents type checking.
3252 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3253 cast the value to (void *): assigning a `foo *' to a `void *'
3255 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3257 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3259 * scripts/config.guess: Update from upstream maintainer.
3260 * scripts/config.sub: Likewise.
3262 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3264 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3265 * libio/freopen64.c (freopen64): Likewise.
3266 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3268 * libio/Makefile: Add rules to build and run test-freopen.
3269 * libio/test-freopen.c: New file.
3270 * libio/test-freopen.sh: New file.
3272 2000-11-15 H.J. Lu <hjl@gnu.org>
3274 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3275 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3276 (DL_DT_FINI_ADDRESS): Likewise.
3278 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3279 return type to ElfW(Addr).
3280 (_dl_function_address): New prototype.
3281 (DL_FUNCTION_ADDRESS): Defined.
3282 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3283 (DL_DT_FINI_ADDRESS): Likewise.
3285 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3287 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3288 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3290 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3291 (_dl_function_address): This.
3293 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3294 function pointer for DT_FINI.
3295 * elf/dl-close.c (_dl_close): Likewise.
3297 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3298 function pointer for DT_INIT.
3300 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3302 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3303 end of wexpbuf buffer.
3305 2000-11-16 Andreas Jaeger <aj@suse.de>
3307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3308 definition of F_GETLK, F_SETLK, F_SETLKW.
3310 2000-11-16 Andreas Jaeger <aj@suse.de>
3312 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3315 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3317 * dlfcn/default.c (main): Add test for dladdr of main returning
3318 argv[0] in dli_fname field.
3320 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3322 * Makeconfig (run-program-prefix): Move test-static test into the
3325 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3326 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3327 schedule instructions.
3328 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3329 schedule instructions, fix a bug in copying auxiliary data.
3331 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3333 * manual/startup.texi (Program Arguments): Fix type of main's envp
3335 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3337 * iconvdata/gconv-modules: Add CP950 alias.
3339 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3341 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3342 syscall-list.h goal.
3343 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3345 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3347 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3349 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3352 * intl/tst-gettext2.c: Set C locale if setting other locale
3353 failed. Use gettext() not _().
3355 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3356 successfully loaded a new locale.
3358 2000-11-13 Andreas Jaeger <aj@suse.de>
3360 * configure.in: Require gcc 2.95 or newer.
3362 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3364 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3365 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3367 2000-11-11 Jim Meyering <meyering@lucent.com>
3369 * string/strndup.c (strndup): Cast return value to `char *'.
3371 2000-11-15 Jim Meyering <meyering@ascend.com>
3373 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3374 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3375 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3376 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3377 Also #undef __memchr.
3378 Use `weak_alias' only if it's defined.
3380 2000-11-10 H.J. Lu <hjl@gnu.org>
3382 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3384 2000-11-15 Andreas Jaeger <aj@suse.de>
3386 * elf/chroot_canon.c: Include <stdint.h>.
3388 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3389 (print_entry): Likewise.
3390 (add_to_cache): Likewise.
3392 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3394 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3395 (path_hwcap): Likewise.
3396 (search_dir): Likewise.
3398 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3400 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3402 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3403 (_dl_platform_string): New.
3404 (_DL_HWCAP_PLATFORM): New.
3405 (_dl_string_platform): New.
3406 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3408 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3409 (_dl_string_platform): New.
3410 (_DL_HWCAP_PLATFORM): New.
3411 (_dl_platform_string): New.
3413 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3415 (_DL_HWCAP_COUNT): New.
3416 (_dl_string_platform): New.
3417 (_DL_HWCAP_PLATFORM): New.
3418 (_dl_platform_string): New.
3420 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3422 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3424 2000-11-14 Andreas Jaeger <aj@suse.de>
3426 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3428 2000-11-13 Roland McGrath <roland@frob.com>
3430 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3432 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3434 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3435 underrun and make sure the result is null terminated even if there
3436 is no trailing newline.
3438 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3440 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3442 2000-11-10 H.J. Lu <hjl@gnu.org>
3444 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3446 2000-11-10 Andreas Jaeger <aj@suse.de>
3448 * elf/ldconfig.c (create_links): Fix alloca calculation.
3449 Patch by Ben Collins <bcollins@debian.org>.
3451 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3453 * inet/getnameinfo.c (getnameinfo): Use correct destination
3454 parameter for if_indextoname.
3455 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3457 2000-11-09 H.J. Lu <hjl@gnu.org>
3459 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3460 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3461 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3464 * time/Versions (GLIBC_2.1): Move getitimer to...
3465 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3467 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3469 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3470 "make install", to work around a binary incompatibility between
3471 glibc 2.1 and glibc 2.2 gconv modules.
3473 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3475 * intl/locale.alias: Add thai.
3476 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3478 2000-11-07 Akim Demaille <akim@epita.fr>
3480 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3481 argument `data' for consistency with the prototypes.
3483 (obstack_copy, obstack_copy0): Rename the second argument as
3484 `address' for consistency. Qualify it `const'.
3485 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3486 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3487 `const' their input argument (`data' or `address').
3488 Adjust the corresponding macros to include `const' in casts.
3490 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3492 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3495 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3497 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3500 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3502 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3503 ai_protocol by internal table if service was not given.
3505 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3507 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3508 numerical port was specified with protocol without socktype.
3510 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3512 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3514 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3516 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3518 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3520 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3521 sin6_scope_id field.
3523 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3525 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3527 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3529 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3531 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3533 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3534 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3536 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3538 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3539 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3541 2000-11-09 H.J. Lu <hjl@gnu.org>
3543 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3546 See ChangeLog.11 for earlier changes.