1 2001-02-13 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6 2001-02-13 Andreas Jaeger <aj@suse.de>
8 * login/getutent_r.c: Include <stdlib.h> for NULL.
9 * login/getutid_r.c: Likewise.
11 2001-02-12 Ulrich Drepper <drepper@redhat.com>
13 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
14 * sysdeps/dbl-64/e_j1.c: Likewise.
15 * sysdeps/dbl-64/e_jn.c: Likewise.
16 * sysdeps/flt-32/e_j0f.c: Likewise.
17 * sysdeps/flt-32/e_j1f.c: Likewise.
18 * sysdeps/ldbl-96/e_j0l.c: Likewise.
20 2000-12-02 H.J. Lu <hjl@gnu.org>
22 * resolv/res_libc.c (res_init): Don't make it default.
24 2001-02-12 Ulrich Drepper <drepper@redhat.com>
26 * manual/debug.texi: Improved the wording.
27 Patch by Philip Blundell <pb@futuretv.com>.
29 2001-02-12 Andreas Jaeger <aj@suse.de>
31 * posix/Makefile (tests): Don't run bug-regex2 when
34 * libio/Makefile (tests): Don't run test-freopen when
37 * manual/stdio.texi (Streams and I18N): Fix typos.
39 2001-02-12 Ulrich Drepper <drepper@redhat.com>
41 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
43 * math/libm-test.inc (j0_test): Make expected results long double
47 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
48 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
50 2001-02-11 Jakub Jelinek <jakub@redhat.com>
52 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
53 which was exported from libc.
54 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
56 2001-02-12 Andreas Jaeger <aj@suse.de>
58 * manual/arith.texi (Parsing of Integers): Fix some wordings.
60 2001-02-11 Ulrich Drepper <drepper@redhat.com>
62 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
63 and get_avphys_page to long int.
64 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
65 * include/sys/sysinfo.h: Likewise.
66 * sysdeps/generic/sys/sysinfo.h: Likewise.
67 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
69 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
70 cannot return as many values as the user asked for.
72 2001-02-11 Andreas Jaeger <aj@suse.de>
74 * manual/resource.texi (Memory Resources): Fix typo.
76 * libio/Makefile ($(objpfx)test-freopen.out): Pass
79 * libio/test-freopen.sh: Use run_program_prefix.
81 2001-02-10 Andreas Jaeger <aj@suse.de>
83 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
85 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
87 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
90 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
92 * posix/Makefile: Fix typo, it's build-static-nss.
94 * iconv/Makefile (extra-objs): New.
96 2001-02-10 Mark Kettenis <kettenis@gnu.org>
98 * sysdeps/unix/stime.c: Include <time.h>.
100 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
102 2001-02-10 Andreas Jaeger <aj@suse.de>
104 * manual/string.texi (Search Functions): Fix typo.
106 2001-02-10 Mark Kettenis <kettenis@gnu.org>
108 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
109 (timeval_to_clock_t): Add clk_tck argument and use that instead of
111 (__times): Use __getclktck to get the number of clock ticks per
112 second and use its return value instead of CLK_TCK.
114 2001-02-10 Mark Kettenis <kettenis@gnu.org>
116 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
118 2001-02-10 Mark Kettenis <kettenis@gnu.org>
120 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
122 2001-02-10 Andreas Jaeger <aj@suse.de>
124 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
127 2001-02-09 Ulrich Drepper <drepper@redhat.com>
129 * posix/Makefile: Add rules to build and run bug-regex2.
130 * posix/bug-regex2.c: New file.
132 2001-02-10 Jakub Jelinek <jakub@redhat.com>
134 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
135 (regex_compile): Likewise.
136 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
137 (re_match_2_internal): Use just is_binary instead of two variables.
138 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
140 2001-02-09 Ulrich Drepper <drepper@redhat.com>
142 * version.h (VERSION): Bump to 2.2.2.
144 * iconv/Makefile (distribute): Add iconv_charmap.c and
146 * elf/Makefile (distribute): Add firstobj.c.
147 * Makefile (distribute): Add include/pthread.h.
149 * configure.in: Require makeinfo version 4.
151 * libio/tst_wscanf.c (main): Add cast to avoid warning.
152 * libio/tst_swscanf.c (main): Likewise..
154 2001-02-09 Jakub Jelinek <jakub@redhat.com>
156 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
157 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
160 if not RTLD_BOOTSTRAP.
161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
164 2001-02-09 Ulrich Drepper <drepper@redhat.com>
166 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
167 lr_ungetc to push back last read character.
168 * locale/programs/linereader.h (lr_ungetc): Don't push back is
170 (lr_ignore_rest): Don't warn about garbage if it is really the end
173 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
176 2001-02-08 Ulrich Drepper <drepper@redhat.com>
178 * Makerules (build-shlib): Work around different order of
179 processing of -B option in different gcc versions.
181 * posix/regex.c: Fix alignment problem.
182 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
184 * sysdeps/alpha/strrchr.S: Little optimization.
185 Patch by Richard Henderson <rth@redhat.com>.
187 * sysdeps/alpha/alphaev67/strrchr.S: New file.
188 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
190 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
192 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
193 in the assembler end directive.
195 2001-02-08 Andreas Jaeger <aj@suse.de>
197 * manual/stdio.texi (Closing Streams): Fix typos.
199 2001-02-07 Ulrich Drepper <drepper@redhat.com>
201 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
202 Patch by Richard Henderson <rth@redhat.com>.
203 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
205 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
206 pointer in FILE structure before calling _IO_init.
207 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
208 strfmon_l if necessary.
209 Reported by Jury Gerold <gjury@grips.com>.
211 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
212 Patch by Pekka.Pietikainen@cern.ch.
214 * posix/regex.c: Correct several problems with 64-bit architectures
215 introduced in the MBS changes.
216 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
218 2001-02-07 Jakub Jelinek <jakub@redhat.com>
220 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
222 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
224 2001-02-07 Andreas Jaeger <aj@suse.de>
226 * manual/install.texi (Tools for Compilation): Fix typo.
227 Reported by Pavel Machek <pavel@bug.ucw.cz>.
229 2001-02-07 Ulrich Drepper <drepper@redhat.com>
231 * stdlib/strtod.c: Never stop prematurely reading digits before the
232 decimal point is found. Compute exponent limit for negative exponents
233 correctly. For numbers ending in all zeros eat the zeros even before
234 the decimal point if the exponent is negative [PR libc/2072].
235 * stdlib/Makefile (tests): Add bug-strtod.
236 * stdlib/bug-strtod.c: New file.
238 2001-02-07 Andreas Jaeger <aj@suse.de>
240 * posix/bug-regex1.c: Include <wchar.h> for fwide.
242 2001-02-06 Ulrich Drepper <drepper@redhat.com>
244 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
246 (compile_range): Handle index being passed, not pointer.
247 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
249 * posix/regex.c: Fix a cast in the code for bracket handling which
250 caused 8-bit uncleanliness.
251 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
253 * posix/Makefile (tests): Add bug-regex1.
254 * posix/bug-regex1.c: New file.
255 Contributed by Jim Meyering <jim@meyering.net>.
257 * posix/regex.c: Many cleanups for incorrect format strings.
259 2001-02-06 Andreas Jaeger <aj@suse.de>
261 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
263 2001-02-06 Ulrich Drepper <drepper@redhat.com>
265 * locale/programs/locale.c (write_locales): Use scandir to read
266 directory so that the entries are sorted.
268 2001-02-06 Andreas Jaeger <aj@suse.de>
270 * include/pthread.h: New file.
272 * wctype/wctype.h: Move internal interfaces from here to...
273 * include/wctype.h: ...here.
275 * wcsmbs/wchar.h: Move __wcslen from here to...
276 * include/wchar.h: ...here.
278 * posix/sys/wait.h: Move __wait from here to...
279 * include/sys/wait.h: ...here.
281 * string/string.h: Move __ffs and __strerror_r from here to...
282 * include/string.h: ...here.
284 * stdlib/stdlib.h: Move __on_exit from here to...
285 * include/stdlib.h: ...here.
287 * libio/stdio.h: Move __vsnprintf from here to...
288 * include/stdio.h: ...here.
290 2001-02-06 Andreas Schwab <schwab@suse.de>
292 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
295 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
298 2001-02-06 Ulrich Drepper <drepper@redhat.com>
300 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
302 2001-02-06 Andreas Jaeger <aj@suse.de>
304 * elf/firstobj.c: Add prototype.
306 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
307 (truncate_wchar): Likewise.
309 2001-02-06 Ulrich Drepper <drepper@redhat.com>
311 * locale/programs/locale.c: Implement --verbose option for -a
312 which prints detailed information about the locales.
314 2001-02-05 Ulrich Drepper <drepper@redhat.com>
316 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
317 variable to uint32_t.
318 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
320 2001-02-04 Bruno Haible <haible@clisp.cons.org>
322 * locale/C-translit.h.in: Add transliterations for CJK units of
325 2001-02-05 Ulrich Drepper <drepper@redhat.com>
327 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
328 string. Include <inttypes.h> instead of <stdint.h>.
330 * localedata/Makefile (tests): Add bug-iconv-trans.
331 Define bug-iconv-trans-ENV.
332 * localedata/bug-iconv-trans.c: New file.
334 2001-02-04 Bruno Haible <haible@clisp.cons.org>
336 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
337 pointer, to avoid accumulating output from incomplete (unsuccessful)
338 transliteration attempts.
340 2001-02-05 Ulrich Drepper <drepper@redhat.com>
342 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
343 string. Include <inttypes.h> instead of <stdint.h>.
345 * configure.in: Add check for bison.
346 * config.make.in: Define BISON variable.
347 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
348 Rename YFLAGS to BISONFLAGS.
350 2001-02-05 Andreas Jaeger <aj@suse.de>
352 * io/test-lfs.c (do_test): Test lseek64 return value, call
354 (test_ftello): New function to test ftello64 and fseeko64.
356 * signal/signal.h: Move __sigaction from here to...
357 * include/signal.h: ...here.
359 * io/fcntl.h: Move __fcntl and __open to...
360 * include/fcntl.h: ...here.
362 2001-02-04 Philip Blundell <philb@gnu.org>
364 * configure.in: Distinguish ARM from Thumb.
366 2001-02-04 Philip Blundell <philb@gnu.org>
368 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
369 PC24 relocs with negative value.
371 2001-02-04 Ulrich Drepper <drepper@redhat.com>
373 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
374 files in locale/programs. Add CFLAGS definition to allow compiling
376 * iconv/dummy-repertoire.c: New file.
377 * iconv/iconv_charmap.c: New file.
378 * iconv/iconv_prog.h: New file.
379 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
380 (main): If parameter for -f and -t contain slashes try first to resolve
381 the strings as filenames of charmap files. Use them for conversion
383 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
384 iconv getting charmap names as parameters.
385 * locale/programs/linereader.c (lr_token): Take extra parameters
386 verbose and pass it to get_string.
387 (get_string): Take extra parameters verbose.
388 * locale/programs/charmap.c (parse_charmap): Take extra parameters
389 verbose and be_quiet. Change all callers of lr_token and
391 * locale/programs/charmap.h: Likewise.
392 * locale/programs/ld-address.c: Likewise.
393 * locale/programs/ld-collate.c: Likewise.
394 * locale/programs/ld-ctype.c: Likewise.
395 * locale/programs/ld-identification.c: Likewise.
396 * locale/programs/ld-measurement.c: Likewise.
397 * locale/programs/ld-messages.c: Likewise.
398 * locale/programs/ld-monetary.c: Likewise.
399 * locale/programs/ld-name.c: Likewise.
400 * locale/programs/ld-numeric.c: Likewise.
401 * locale/programs/ld-paper.c: Likewise.
402 * locale/programs/ld-telephone.c: Likewise.
403 * locale/programs/ld-time.c: Likewise.
404 * locale/programs/linereader.c: Likewise.
405 * locale/programs/linereader.h: Likewise.
406 * locale/programs/localedef.c: Likewise.
407 * locale/programs/locfile.c: Likewise.
408 * locale/programs/locfile.h: Likewise.
409 * locale/programs/repertoire.c: Likewise.
411 2001-02-03 Ulrich Drepper <drepper@redhat.com>
413 * iconv/iconv_prog.c (main): If output file name is "-" write to
415 (main): If -f or -t argument is missing use charset of the current
418 2001-02-03 Andreas Jaeger <aj@suse.de>
420 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
421 boundary for SSE/SSE-2 alignment.
423 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
426 2001-02-03 Ulrich Drepper <drepper@redhat.com>
428 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
429 Remove comma at end of enum.
431 * elf/dl-init.c: Add a few __builtin_expect.
433 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
435 2001-02-02 Ulrich Drepper <drepper@redhat.com>
437 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
438 errno is ECONNREFUSED.
440 * posix/Makefile: Define MBS_SUPPORT for regex.c.
441 * posix/regex.c: Implement multibyte character handling.
442 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
444 * string/tst-svc.input: Add two more test cases.
445 * string/tst-svc.expect: Modify to reflect new test cases.
447 2001-02-01 Jakub Jelinek <jakub@redhat.com>
449 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
450 tp->name tests with tp->name[0] tests.
452 2001-01-29 Ben Collins <bcollins@debian.org>
454 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
455 Fix check for name == NULL.
457 2001-02-01 Ulrich Drepper <drepper@redhat.com>
459 * elf/Makefile: Add rules to build and run initfirst test.
460 * elf/initfirst.c: New file.
461 * elf/firstobj.c: New file.
463 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
464 * configure.in: Test for -z initfirst linker option.
465 * config.make.in: Add have-z-initfirst.
466 * elf/dl-init.c (_dl_init): Split out actual initialization code in
467 new function call_init. If _dl_initfirst is non-NULL initialize first.
468 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
469 remember object in _dl_initfirst.
470 * elf/soinit.c: Remove special support for calling
471 __pthread_initialize_minimal.
473 * conform/conformtest.pl: Add missing $prepend in type test.
475 2001-01-31 Ulrich Drepper <drepper@redhat.com>
477 * elf/elf.h (SHT_CHECKSUM): New definition.
479 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
480 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
481 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
483 2001-01-31 Mark Kettenis <kettenis@gnu.org>
485 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
486 to get definition of `struct timeval'.
488 2001-01-31 Ulrich Drepper <drepper@redhat.com>
490 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
491 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
493 2001-01-30 Ulrich Drepper <drepper@redhat.com>
495 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
498 * nis/nis_findserv.c: Include <time.h>.
500 2001-01-30 Yong Li <yong.li@asu.edu>
502 * iconv/iconv_prog.c (main): Correct error handling method name.
504 2001-01-29 Ben Collins <bcollins@debian.org>
506 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
507 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
508 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
509 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
511 2001-01-30 Ulrich Drepper <drepper@redhat.com>
513 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
514 Patch by Marko Myllynen <myllynen@lut.fi>.
516 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
517 (int instead of char).
518 (__strpbrk_c3): Likewise.
519 Reported by GOTO Masanori <gotom@debian.or.jp>.
521 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
522 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
523 * include/sys/socket.h: Add SA_LEN here for internal use.
524 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
526 2001-01-29 Ulrich Drepper <drepper@redhat.com>
528 * malloc/Makefile: Don't build memusagestat if cross-compiling.
530 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
532 * math/libm-test.inc (rint_test): Add a few more tests for round
535 2001-01-28 Ulrich Drepper <drepper@redhat.com>
537 * conform/data/pthread.h-data: Correct return type of pthread_exit.
539 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
541 * conform/data/stdlib.h-data: Add _Exit.
543 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
544 if not already happened.
545 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
546 Don't include <limits.h> and <bits/sockaddr.h>.
548 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
550 * conform/data/spawn.h-data: Allow all of <sched.h>.
552 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
555 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
556 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
558 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
560 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
561 * libio/stdio.h: Define va_list correctly.
563 * conform/data/pthread.h-data: Make priority protocol related
564 functions optional. Fix typos.
566 * posix/sched.h: Define sched_priority as __sched_priority.
567 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
569 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
571 2001-01-27 Ulrich Drepper <drepper@redhat.com>
573 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
576 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
577 * sysdeps/unix/time.c: Likewise.
579 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
580 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
581 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
582 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
583 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
584 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
585 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
586 * time/time.h: Likewise.
588 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
589 * conform/data/complex.h-data: New file.
590 * conform/data/tgmath.h-data: New file.
592 * conform/data/wchar.h-data: Add missing functions.
594 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
596 * conform/data/termios.h-data: Add missing const in tcsetattr()
599 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
600 Don't define pid_t here.
602 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
604 * conform/data/sys/time.h-data: Allow sys/select.h.
605 * conform/data/sys/un.h-data: Fix typo.
606 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
607 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
609 * sysdeps/unix/clock_nanosleep.c: Likewise.
610 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
611 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
612 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
613 * sysdeps/unix/clock_settime.c: Likewise.
615 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
616 * login/getutent.c: Likewise.
617 * login/getutid.c: Likewise.
618 * login/getutline.c: Likewise.
620 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
622 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
623 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
624 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
625 f_fsid field after change in struct statvfs.
626 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
627 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
628 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
630 * conform/data/sys/stat.h-data: Remove isfdtype. Use
633 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
634 recvfrom, send, and socketpair prototypes. Add allow lines.
635 * socket/sys/socket.h: Include <sys/uio.h>.
636 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
637 Fix type of second parameter of listen.
638 Don't declare isfdtype unless __USE_MISC.
639 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
640 * sysdeps/mach/hurd/listen.c: Likewise.
641 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
642 ss_family and __ss_family.
643 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
645 (struct msghdr): Change type of msg_iovlen to int and type of
646 msg_controllen to socklen_t.
647 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
648 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
649 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
650 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
651 (rresvport_af): Likewise.
653 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
654 * conform/conformtest.pl: Implement handling of symbol.
656 * signal/signal.h: Fix handling of __need_* symbols.
657 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
658 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
659 * include/sys/select.h: Use fd_set not __fd_set.
660 * sysdeps/generic/bits/select.h: Likewise.
661 * sysdeps/i386/bits/select.h: Likewise.
662 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
663 __FDELT, __FDMASK, and __fd_set here.
664 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
665 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
666 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
667 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
668 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
669 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
670 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
671 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
672 * time/sys/time.h: Define struct timeval before including <time.h>
675 * conform/data/sys/time.h-data: fd_set is a typedef.
676 * conform/data/sys/select.h-data: New file.
677 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
678 * conform/conformtest.pl (@headers): Add sys/select.h.
679 (type, optional-type): Unless testing a typedef instantiate object.
680 Implement optional-function.
682 * math/test-misc.c: Include <float.h>.
684 2001-01-27 Andreas Jaeger <aj@suse.de>
686 * misc/efgcvt_r.c: Include <float.h>.
688 2001-01-26 Ulrich Drepper <drepper@redhat.com>
690 * conform/data/stdlib.h-data: Account for XPG6 changes.
691 * stdlib/stdlib.h (__random): Change return value type to long.
692 (posix_memalign): Cleanup parameter names.
693 (setenv, unsetenv): Make available for __USE_XOPEN2K.
694 Change return type of unsetenv to int.
695 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
696 * include/stdlib.h: Change return type of unsetenv to int.
697 Change return type of random to long int.
698 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
699 Return -1 and set errno if parameter is invalid.
700 * stdlib/random.c (__random): Change return value type to long.
702 * conform/data/stdio.h-data: Account for changes in XPG6.
704 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
707 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
708 * conform/data/signal.h-data: Fix sigev_notify_function entry.
709 Fix typo (SIGVALRM -> SIGVTALRM).
710 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
712 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
713 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
714 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
718 * conform/conformtest.pl: Implement optional-element. Define
719 $mustprepend{"sched.h"}.
720 * conform/data/sched.h-data: Make sporadic scheduler definitions
723 * pwd/pwd.h: Don't define getpwent_r for XPG.
725 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
726 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
727 * sysdeps/mach/hurd/poll.c: Likewise.
728 * sysdeps/unix/bsd/poll.c: Likewise.
729 * sysdeps/unix/sysv/linux/poll.c: Likewise.
730 * sysdeps/unix/sysv/aix/poll.c: Likewise.
731 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
732 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
733 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
734 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
735 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
736 * conform/data/poll.h-data: Fix typo in poll prototype.
738 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
740 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
742 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
744 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
746 * conform/conformtest.pl: Implement optional-type.
748 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
749 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
750 defining uint32_t here. Define IPPORT_RESERVED.
751 (struct hostent): Type of h_length element is int.
752 (getnameinfo): Type of flags parameter is unsigned int.
753 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
754 * conform/data/netdb.h-data: Add many missing definitions.
756 * conform/conformtest.pl: Implement optional-macro.
757 * conform/data/math.h-data: Update for XPG6.
759 * math/math.h (HUGE): Define as FLT_MAX value but don't use
760 FLT_MAX. Don't include <float.h>.
761 (MAXFLOAT): Likewise.
763 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
765 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
767 * conform/data/limits.h-data: Mark constants as optional wherever
770 * posix/bits/posix2_lim.h: Set correct values for
771 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
774 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
777 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
779 * conform/data/netinet/in.h-data: Add reserved prefixes.
781 * conform/data/arpa/inet.h-data: Fix a few typos.
783 2001-01-26 Andreas Jaeger <aj@suse.de>
785 * sysdeps/generic/strtol.c: Include <locale.h>
786 * stdlib/strtod.c: Likewise
787 * stdlib/strfmon.c: Likewise.
788 * string/strcoll.c: Likewise.
789 * string/strxfrm.c: Likewise.
790 * wctype/wcfuncs_l.c: Likewise.
791 * wctype/wctype_l.c: Likewise.
792 * wctype/wctrans_l.c: Likewise.
794 * include/bits/locale.h: New file.
796 2001-01-26 Ulrich Drepper <drepper@redhat.com>
798 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
801 * locale/Makefile (headers): Add bits/locale.h.
802 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
803 and use __LC_ constants instead of LC_.
804 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
805 using __LC_ constants.
806 * locale/bits/locale.h: New file.
807 * locale/loadlocale.c: Include <locale.h>.
808 * locale/nl_langinfo.h: Likewise.
810 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
812 * io/sys/stat.h: Define S_IFSOCK for XPG6.
814 * conform/data/fcntl.h-data: posix_madvise is not expected here.
816 * conform/conformtest.pl: Fix handling of macro-str.
818 * conform/data/inttypes.h-data: Add missing definition and all of
821 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
823 2001-01-25 Ulrich Drepper <drepper@redhat.com>
825 * conform/conformtest.pl (@headers): Add stdint.h.
826 * conform/data/stdint.h-data: New file.
828 * conform/conformtest.pl: Recognize options --headers and
829 --dialect. Add dialect-specific CFLAGS.
831 * conform/conformtest.pl: Implement handling of recursive
834 * conform/data/locale.h-data: Add new struct lconv members.
836 * posix/wordexp.h: Correct definition of wordexp_t.
837 * posix/wordexp.c: Moved to ...
838 * sysdeps/generic/wordexp.c: ...here. New file.
839 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
840 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
841 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
842 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
844 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
847 * math/tgmath.h: Pretty printing.
849 * math/Makefile (tests): Add test-tgmath.
850 (CFLAGS-test-tgmath.c): New variable.
851 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
853 * conform/conformtest.pl: Handle allow-header in secondary headers
856 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
859 * conform/data/netinet/in.h-data: Use correct comment character.
860 * conform/data/sys/stat.h-data: Likewise.
862 2001-01-25 Jakub Jelinek <jakub@redhat.com>
864 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
865 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
866 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
867 __builtin_classify_type, add ##f suffixes where appropriate.
868 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
869 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
870 __builtin_classify_type.
871 (fma): Fix spelling of first argument.
873 2001-01-25 Ulrich Drepper <drepper@redhat.com>
875 * conform/data/unistd.h-data: Mark functions removed in XPG6
878 * posix/unistd.h: Don't make functions removed in XPG6 available if
881 * conform/conformtest.pl: Implement optional-constant.
882 * conform/data/unistd.h-data: Use optional-constant wherever
885 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
886 constants and add _SC_STREAMS.
887 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
889 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
890 make old name weak alias.
891 * sysdeps/generic/statvfs64.c: Likewise.
892 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
893 make old name weak alias.
894 * sysdeps/generic/fstatvfs64.c: Likewise.
895 * include/sys/statvfs.h: New file.
897 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
898 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
900 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
901 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
902 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
903 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
905 * conform/conformtest.pl: Run Unix tests for XPG6.
906 Implement handling of known namespace violations.
907 Improve printing of results.
909 * posix/unistd.h (usleep): Correct return type.
910 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
911 * sysdeps/unix/bsd/usleep.c: Correct return type.
912 * sysdeps/mach/usleep.c: Correct return type.
913 * sysdeps/generic/usleep.c: Correct return type.
915 * posix/unistd.h (sync): Correct return type.
916 * sysdeps/generic/sync.c: Likewise.
917 * sysdeps/mach/hurd/sync.c: Likewise.
919 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
921 * posix/unistd.h: Make seteuid and setegid available for XPG6.
923 * wcsmbs/wchar.h: Get FILE definition for XPG5.
925 * conform/data/ctype.h-data: Use correct comment form.
926 * conform/data/errno.h-data: Likewise.
927 * conform/data/math.h-data: Likewise.
928 * conform/data/mqueue.h-data: Likewise.
929 * conform/data/netdb.h-data: Likewise.
930 * conform/data/pthread.h-data: Likewise.
932 2001-01-24 Ulrich Drepper <drepper@redhat.com>
934 * conform/data/wordexp.h-data: Fix typo.
936 * conform/conformtest.pl: Handle allow-header correctly.
938 * conform/data/time.h-data: Use correct comment form.
940 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
942 * configure.in: Comment out binutils version test.
944 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
946 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
948 * stdlib/tst-strtod.c (locale_test): New function.
949 (main): Call locale_test.
950 * stdlib/Makefile (tst-strtod-ENV): New variable.
952 2001-01-24 Mark Kettenis <kettenis@gnu.org>
954 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
955 declaration of value such that we actually return the value of the
956 environment variable.
958 2001-01-24 Andreas Jaeger <aj@suse.de>
960 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
962 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
964 * include/sys/sysctl.h: New file.
966 2001-01-23 Andreas Jaeger <aj@suse.de>
968 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
971 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
972 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
975 * manual/install.texi (Tools for Compilation): Change required
978 2001-01-22 Andreas Jaeger <aj@suse.de>
980 * configure.in: Add test for new enough binutils version, move
981 compiler/binutils test up.
983 * Versions.def: Add version GLIBC_2.2.2.
985 2001-01-21 Ulrich Drepper <drepper@redhat.com>
987 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
989 * iconvdata/testdata/IBM932: New file.
990 * iconvdata/testdata/IBM932..UTF8: New file.
991 * iconvdata/testdata/IBM943: New file.
992 * iconvdata/testdata/IBM943..UTF8: New file.
993 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
995 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
997 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
999 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1001 * malloc/malloc.c: Remove a few unnecessary initializers of global
1004 2000-12-09 H.J. Lu <hjl@gnu.org>
1006 * nss/Makefile (routines): Add digits_dots.
1007 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
1008 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
1010 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
1012 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
1013 (TYPE_VAR_P): Likewise.
1014 (FLAGS_VAR): Likewise.
1015 (AF_VAR_P): Likewise.
1016 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1017 instead of including digits_dots.c.
1018 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
1019 (TYPE_VAR_P): Likewise.
1020 (FLAGS_VAR): Likewise.
1021 (AF_VAR_P): Likewise.
1022 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1023 instead of including digits_dots.c.
1025 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1027 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
1029 2001-01-21 Andreas Jaeger <aj@suse.de>
1031 * elf/constload2.c: Add prototype for init.
1033 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1035 * stdlib/stdlib.h (drand48_data): Make available only for
1036 __USE_MISC. Rename elements to protect namespace. Change type
1037 and position of a and init element.
1038 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
1039 differently. Adjust for drand48_data change. Don't compute a here,
1040 it comes from drand48_data.
1041 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
1042 differently. Adjust for drand48_data change. Compute a here.
1043 * stdlib/srand48_r.c: Likewise.
1044 * stdlib/drand48.c: Adjust for drand48_data change.
1045 * stdlib/lrand48.c: Likewise.
1046 * stdlib/mrand48.c: Likewise.
1047 * stdlib/seek48.c: Likewise.
1048 * stdlib/drand48_r.c: Likewise.
1049 * stdlib/lrand48_r.c: Likewise.
1050 * stdlib/mrand48_r.c: Likewise.
1051 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
1053 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
1054 * stdlib/jrand48_r.c: Likewise.
1056 * po/sv.po: Update from translation team.
1058 2001-01-21 Andreas Jaeger <aj@suse.de>
1060 * stdio-common/vfprintf.c (vfprintf): Add casts.
1062 2001-01-20 Ulrich Drepper <drepper@redhat.com>
1064 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
1066 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
1068 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
1069 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
1070 * iconvdata/ibm932.c: New file.
1071 * iconvdata/ibm932.h: New file.
1072 * iconvdata/ibm943.c: New file.
1073 * iconvdata/ibm943.h: New file.
1074 Patches by Masahide Washizawa <washi@jp.ibm.com>.
1076 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
1077 preventing optimization from being done. Set the correct type bit
1078 in seen. Don't define and use _dl_base_addr unless
1079 NEED_DL_BASE_ADDR is defined.
1081 * io/ftw.c (ftw_dir): Add slash after directory name if there
1082 wasn't any. Reported by loris <loris@iol.it>.
1083 * io/Makefile (tests): Add bug-ftw2.
1084 * io/bug-ftw2.c: New file.
1086 2001-01-19 Ulrich Drepper <drepper@redhat.com>
1088 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
1089 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
1090 * stdlib/tst-rand48.c: New file.
1091 * stdlib/Makefile (tests): Add tst-rand48.
1093 * locale/newlocale.c (__newlocale): Fix test for setting all
1096 2001-01-19 Mark Kettenis <kettenis@gnu.org>
1098 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
1099 but change looking up the initial directory port in a similar way
1100 as done by _hurd_change_directory_port_from_name.
1101 * hurd/fchroot.c (fchroot): Likewise.
1103 2001-01-18 Ulrich Drepper <drepper@redhat.com>
1105 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
1106 defined don't look whether the AT_*ID values were set.
1107 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
1108 (_dl_show_auxv): Rewrite to avoid switch statement.
1109 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1110 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
1111 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
1112 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
1114 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
1115 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1116 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1118 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
1120 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
1121 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
1123 * dlfcn/eval.c (__strtol_internal): Define here.
1124 (eval): Use __strtol_internal instead of strtol.
1126 * elf/elf.h: Add a few more EF_MIPS_* constants.
1128 2001-01-17 Ulrich Drepper <drepper@redhat.com>
1130 * manual/Makefile (chapters): Add debug.
1131 * manual/debug.texi: New file.
1132 * manual/examples/execinfo.c: New file.
1133 Patch by suckfish@ihug.co.nz.
1135 2001-01-17 Andreas Schwab <schwab@suse.de>
1137 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
1140 2001-01-17 Andreas Jaeger <aj@suse.de>
1142 * nscd/connections.c (nscd_run): Use proper format specifier.
1144 2001-01-16 Ulrich Drepper <drepper@redhat.com>
1146 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
1147 x86_platforms data into new file after prepending _dl_. Change
1149 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
1150 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
1151 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
1154 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
1156 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
1157 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
1158 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
1159 (_setjmp): Likewise.
1160 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
1161 * sysdeps/i386/bsd-setjmp.S: Real implementation.
1162 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
1163 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
1166 2001-01-16 Andreas Jaeger <aj@suse.de>
1168 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
1169 misapplied last patch.
1171 2001-01-15 Ulrich Drepper <drepper@redhat.com>
1173 * stdlib/random.c (__initstate): Clean up a cast.
1174 (__setstate): Likewise.
1176 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
1177 syscall handling. The generic Linux version should work.
1179 2001-01-15 Andreas Jaeger <aj@suse.de>
1181 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1183 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
1185 2001-01-14 Jakub Jelinek <jakub@redhat.com>
1187 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
1188 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
1190 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
1191 If number is 0, list all.
1192 (services_keys): Likewise. Lookup aliases as well.
1193 (databases): New table.
1194 (build_doc): Prepare argp doc text with list of supported databases.
1195 (main): Change to table driven processing.
1197 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
1199 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1202 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1204 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1205 encode value which does not fit in the 32bit type.
1207 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
1209 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1210 Change type of CTX to (struct sigcontext *).
1211 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1212 (GET_FRAME): Likewise.
1213 (GET_STACK): Likewise.
1214 (SIGCONTEXT): Likewise. Add 2nd arg _code.
1215 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1217 2001-01-13 Ulrich Drepper <drepper@redhat.com>
1219 * manual/texinfo.tex: Update from upstream version.
1221 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1223 * inet/ether_ntoh.c (lookup_function): Change arguments to match
1224 _nss_*_getntohost_r prototype.
1225 (ether_ntohost): Pass errno pointer to NSS function.
1227 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1229 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1230 (MAP_LOCKED): New definition.
1231 (MAP_NORESERVE): New definition.
1233 2001-01-12 Ulrich Drepper <drepper@redhat.com>
1235 * assert/assert.h: Use static_cast instead of C-style cast for C++.
1236 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1238 2001-01-12 Ben Collins <bcollins@debian.org>
1240 * sysdeps/generic/segfault.c (install_handler): Use access, not
1243 2001-01-12 Andreas Jaeger <aj@suse.de>
1245 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1246 * posix/wordexp.c (do_parse_glob): Likewise.
1247 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1248 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1249 * elf/dl-open.c (_dl_open): Likewise.
1250 * elf/dl-close.c (_dl_close): Likewise.
1251 * elf/dl-load.c (_dl_map_object): Likewise.
1252 * iconv/iconv_prog.c (process_fd): Likewise.
1253 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1255 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1256 of a zero-length array.
1258 2001-01-11 Jakub Jelinek <jakub@redhat.com>
1260 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1261 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1262 * stdlib/cxa_on_exit.c: Remove.
1263 * stdlib/Makefile: Revert last patch.
1264 * stdlib/Versions: Likewise.
1265 * include/stdlib.h: Likewise.
1266 * stdlib/exit.h: Revert last patch.
1267 (struct exit_function): Add second argument to cxa fn.
1268 * stdlib/exit.c: Revert last patch.
1269 (exit): Add hidden second argument.
1271 2001-01-11 H.J. Lu <hjl@gnu.org>
1273 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1274 * elf/dl-open.c (_dl_open): Here.
1275 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1277 (_dl_static_init): Initialize the variables every time when possible.
1278 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1281 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1283 * stdlib/Makefile (routines): Add cxa_on_exit.
1284 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1285 * stdlib/cxa_on_exit.c: New file.
1286 * include/stdlib.h: Add prototype for __cxa_on_exit.
1287 * stdlib/exit.c: Handle ef_cxa2.
1288 * stdlib/exit.h (enum): Add ef_cxa2.
1289 (struct exit_function): Add cxa2.
1291 * Versions.def [ld]: Add GLIBC_2.2.1.
1293 2001-01-10 H.J. Lu <hjl@gnu.org>
1295 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1296 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1298 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1299 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1300 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1301 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1302 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1304 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1306 * libio/stdio.h: Remove definition of off_t.
1308 2001-01-11 Andreas Jaeger <aj@suse.de>
1310 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1313 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1315 * sunrpc/Makefile (distribute): Add errqueue.h.
1317 2001-01-10 H.J. Lu <hjl@gnu.org>
1319 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1320 r9, r10 and r11 for language specific registers.
1322 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1324 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1326 (clntudp_call): Handle MSG_ERRQUEUE.
1327 * sysdeps/generic/errqueue.h: New file.
1328 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1330 2001-01-10 H.J. Lu <hjl@gnu.org>
1332 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1334 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1336 * CONFORMANCE: Update.
1338 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1340 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1341 Minimal cleanups. Add assert to ensure memory handling is correct.
1343 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1344 Reported by Ben Collins <bcollins@debian.org>.
1346 * time/strftime.c (my_strftime): Mark previous GNU extensions
1347 which are now in C99 as such.
1349 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1351 * elf/rtld.c (process_envvars): Place output files for profiling
1352 in SUID binaries in /var/profile.
1354 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1355 preloading in SUID binaries.
1357 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1358 O_NOFOLLOW if possible.
1360 * include/stdlib.h: Add __posix_openpt declaration.
1361 * stdlib/stdlib.h: Add posix_openpt declaration.
1362 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1363 * sysdeps/generic/getpt.c: Define posix_openpt.
1364 * sysdeps/unix/bsd/getpt.c: Likewise.
1365 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1367 * time/Makefile (tests): Add tst-mktime.
1368 * time/tst-mktime.c: New file.
1370 * posix/tst-dir.c (main): One more mkdir() test.
1372 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1373 Remove getpagesize syscall. We assume that the pagesize is always
1374 determined from the auxiliary vector.
1376 * intl/dcigettext.c: Fix a few warnings.
1377 Patch by Bruno Haible <haible@ilog.fr>.
1379 2001-01-08 Andreas Jaeger <aj@suse.de>
1381 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1382 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1384 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1386 * sysdeps/generic/segfault.c (install_handler): Check output file
1389 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1390 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1392 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1394 * malloc/memusage.c (me): Use access() to determine whether we
1395 should write the output file or not.
1397 * libio/bits/stdio.h (printf): Define macro to map printf call to
1398 fprintf which gcc can optimize.
1399 * stdio-common/printf.c: Undefine printf.
1401 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1403 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1404 patch. We must use unsigned int for l member of union.
1406 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1407 _dl_aux_init for shared libraries.
1409 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1410 * sysdeps/gnu/glob64.c: ...here. New file.
1412 2001-01-07 Ben Collins <bcollins@debian.org>
1414 * manual/examples/longopt.c: Make the "struct option" a little
1415 more like it should be, adding usage of required_argument,
1416 noargument and such, and also setting the options string right.
1418 * manual/sysinfo.texi (Load Average): New section, documents
1421 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1423 * version.h (VERSION): Bump to 2.2.1.
1425 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1426 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1427 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1428 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1429 * Makefile (distribute): Add include/libc-internal.h.
1430 * libio/Makefile (distribute): Avoid overwriting.
1432 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1433 buffer and table handling.
1435 2001-01-05 H.J. Lu <hjl@gnu.org>
1437 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1438 vector checking to ...
1439 (_dl_aux_init): Here. New function. Defined only if
1440 HAVE_AUX_VECTOR is defined.
1442 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1443 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1445 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1448 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1449 (HAVE_AUX_VECTOR): Defined.
1450 (_dl_aux_init): Declared.
1452 2001-01-05 Ben Collins <bcollins@debian.org>
1454 * manual/string.texi (Finding Tokens in a String): Document XPG
1455 basename() and dirname(), as well as GNU basename().
1457 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1459 * Makeconfig (preprocess-version): Replace -traditional with
1460 -x assembler-with-cpp.
1462 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1464 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1465 for GCC 2.97 or later.
1467 2001-01-05 Ben Collins <bcollins@debian.org>
1469 * manual/stdio.texi (getline): Clarify the return value in the
1470 case of EOF being reached before a newline.
1472 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1474 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1476 (pmap_set, pmap_unset): Check __get_myaddress return value.
1478 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1480 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1481 (struct ether_addr): Declare ether_addr_octet member as
1482 `u_int8_t'. Add __attribute__ ((__packed__)).
1484 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1486 * sysdeps/mach/hurd/readdir64.c: New file.
1487 * sysdeps/mach/hurd/readdir64_r.c: New file.
1489 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1491 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1492 `struct statfs' and `struct statvfs' being identical.
1493 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1495 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1497 * sysdeps/mach/hurd/fstatfs64.c: New file.
1498 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1499 * sysdeps/mach/hurd/statfs64.c: New file.
1500 * sysdeps/mach/hurd/statvfs64.c: New file.
1501 * sysdeps/mach/hurd/statfsconv.c: New file.
1502 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1504 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1506 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1507 Reported by Owen Taylor <otaylor@redhat.com>.
1508 * iconv/Makefile (tests): Add tst-iconv3.
1509 * iconv/tst-iconv3.c: New file.
1511 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1512 * iconvdata/ibm933.c: Likewise.
1513 * iconvdata/ibm935.c: Likewise.
1514 * iconvdata/ibm937.c: Likewise.
1515 * iconvdata/ibm939.c: Likewise.
1516 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1517 * iconvdata/ibm933.h: Likewise.
1518 * iconvdata/ibm935.h: Likewise.
1519 * iconvdata/ibm939.h: Likewise.
1521 * iconvdata/testdata/IBM930: Add misssing SI.
1522 * iconvdata/testdata/IBM933: Likewise.
1523 * iconvdata/testdata/IBM935: Likewise.
1524 * iconvdata/testdata/IBM937: Likewise.
1525 * iconvdata/testdata/IBM939: Likewise.
1527 2001-01-06 Andreas Jaeger <aj@suse.de>
1529 * configure.in: Check for old add-ons that shouldn't be used with
1530 current glibc anymore.
1532 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1534 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1535 instead of -1 on failure. Don't forget to copy file name into
1536 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1539 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1541 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1542 copy st_atime member.
1544 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1546 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1547 for searches from the root directory.
1548 Reported by loris <loris@iol.it> [PR libc/1991].
1549 * io/Makefile (tests): Add bug-ftw1.
1550 * io/bug-ftw1.c: New file.
1552 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1553 if it is not available. Instead use it only if it is available.
1554 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1556 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1557 overflowing output buffer.
1558 (internal_ucs4_loop_unaligned): Likewise.
1559 (ucs4_internal_loop): Likewise.
1560 (ucs4_internal_loop_unaligned): Likewise.
1561 (internal_ucs4le_loop): Likewise.
1562 (internal_ucs4le_loop_unaligned): Likewise.
1563 (ucs4le_internal_loop): Likewise.
1564 (ucs4le_internal_loop_unaligned): Likewise.
1565 Reported by Owen Taylor <otaylor@redhat.com>.
1566 * iconv/Makefile (tests): Add tst-iconv2.
1567 * iconv/tst-iconv2.c: New file.
1569 2001-01-04 H.J. Lu <hjl@gnu.org>
1571 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1572 (_dl_clktck): Declared.
1573 (non_dynamic_init): Take 3 arguments.
1574 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1576 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1578 Finish implementation of plural form handling.
1579 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1580 'domainname'. Remove 'plindex' field. Add 'domain' and
1581 'translation_length' fields.
1582 (transcmp): Don't compare 'plindex' fields.
1583 (plural_lookup): New function.
1584 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1585 plural_eval before the translation and its catalog file have been
1586 found. Remove plindex from cache key. Add 'translation_length' and
1587 'domain' to cache result.
1588 (_nl_find_msg): Remove index argument, return length of translation
1589 to the caller instead. Weaken comparison of string lengths, to account
1590 for plural entries. Call iconv() on the entire result string, not
1591 only on the portion needed so far.
1592 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1594 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1596 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1598 * intl/plural.y (yylex): Minimal improvement in number scanner.
1600 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1602 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1603 C compilers that don't support it.
1604 (yylex): Don't use gcc specific case range syntax.
1605 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1608 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1610 * intl/finddomain.c: Remove unneeded includes.
1612 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1614 * intl/localealias.c (memcpy): Return first argument, just like the
1615 real memcpy function does.
1616 * intl/bindtextdom.c (memcpy): Likewise.
1617 * intl/finddomain.c (memcpy): Likewise.
1618 * intl/l10nflist.c (memcpy): Likewise.
1619 * intl/textdomain.c (memcpy): Likewise.
1620 From Paul Eggert <eggert@twinsun.com>.
1622 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1624 * resolv/resolv.h (struct __res_state): Add nsinit field.
1625 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1626 * resolv/res_init.c (__res_vinit): Initialize it.
1627 (res_nclose): Clear it instead of nscount.
1629 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1631 * malloc/mtrace.pl: Fix matching of addresses.
1632 Patch by Aharon Robbins <arnold@skeeve.com>.
1634 * Versions.def (ld): Add GLIBC_2.2.
1636 * catgets/gencat.c: Copyright 2001.
1637 * csu/version.c: Likewise.
1638 * debug/catchsegv.sh: Likewise.
1639 * debug/xtrace.sh: Likewise.
1640 * elf/ldconfig.c: Likewise.
1641 * elf/sprof.c: Likewise.
1642 * iconv/iconv_prog.c: Likewise.
1643 * locale/locale.c: Likewise.
1644 * locale/localedef.c: Likewise.
1645 * malloc/memusage.sh: Likewise.
1646 * malloc/mtrace.pl: Likewise.
1647 * nscd/nscd.c: Likewise.
1648 * posix/getconf.c: Likewise.
1650 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1652 * include/stdio.h: Only provide __getwc_unlocked prototype if
1653 USE_IN_LIBIO is defined.
1655 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1657 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1660 2001-01-03 Andreas Schwab <schwab@suse.de>
1662 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1663 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1665 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1666 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1668 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1669 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1672 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1674 * sysdeps/generic/strtol_l.c: Likewise.
1675 * sysdeps/generic/strtoul_l.c: Likewise.
1676 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1678 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1679 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1680 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1681 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1683 2001-01-04 Andreas Jaeger <aj@suse.de>
1685 * nss/nsswitch.c: Include files for missing prototypes, remove
1686 buggy declaration of prototypes.
1688 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1690 * resolv/Versions: Fix bracing.
1691 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1692 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1694 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1696 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1698 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1700 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1701 Suggested by Minko Markov <mmarkov@home.com>.
1703 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1705 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1706 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1708 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1710 2001-01-02 Ben Collins <bcollins@debian.org>
1712 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1713 if TZ is not set and TZDEFAULT is not present.
1715 2001-01-01 Ben Collins <bcollins@debian.org>
1717 * string/strings.h: Make sure we declare our functions even if
1718 string.h is already included, based on whether or not __USE_BSD is
1721 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1723 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1724 other dlopen() and dlsym().
1725 Based on a patch by Ben Collins <bcollins@debian.org>.
1727 2001-01-02 Andreas Jaeger <aj@suse.de>
1729 * dlfcn/errmsg1.c (main): Call dlerror initially.
1730 Reported by Ben Collins <bcollins@debian.org>.
1732 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1734 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1735 value is ignored if the selected locale is the C locale.
1736 * intl/tst-gettext.c: Set locale for above change.
1737 * intl/tst-translit.c: Likewise.
1739 2001-01-02 Andreas Jaeger <aj@suse.de>
1741 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1742 (_IO_switch_to_wget_mode): Likewise.
1743 (_IO_sputbackwc): Likewise.
1744 (_IO_sungetwc): Use wint_t for result.
1746 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1748 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1751 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1752 to (int) to avoid warnings.
1753 * stdio-common/printf_fp.c (putc): Likewise.
1754 * stdio-common/printf_size.c (putc): Likewise.
1756 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1759 2001-01-01 Andreas Jaeger <aj@suse.de>
1761 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1763 2000-12-31 Andreas Jaeger <aj@suse.de>
1765 * include/libc-internal.h: Add prototype for __libc_freeres.
1767 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1768 for prototypes, remove redundant prototypes.
1769 * gmon/gmon.c: Likewise.
1770 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1771 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1772 * malloc/mtrace.c: Likewise.
1774 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1776 * elf/soinit.c: Likewise.
1777 * sysdeps/generic/prof-freq.c: Likewise.
1778 * sysdeps/mach/hurd/profil.c: Likewise.
1779 * debug/noophooks.c: Likewise.
1780 * debug/pcprofile.c: Likewise.
1781 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1782 * sysdeps/generic/get_clockfreq.c: Likewise.
1783 * malloc/set-freeres.c: Likewise.
1785 * locale/localeinfo.h: Add internal prototypes.
1787 * elf/rtld.c (dl_main): Fix prototype.
1789 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1792 * nis/rpcsvc/yp_prot.h: Remove __P.
1793 * nis/rpcsvc/ypupd.h: Likewise.
1794 * nis/rpcsvc/yp.h: Likewise.
1796 * sunrpc/rpc_main.c: Add noreturn attributes.
1797 * sunrpc/rpc_scan.h: Likewise.
1799 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1801 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1803 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1805 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1807 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1809 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1811 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1812 * include/rpc/auth.h: Likewise.
1813 * include/rpc/auth_des.h: Likewise.
1814 * include/rpc/clnt.h: Likewise.
1815 * include/rpc/rpc.h: Likewise.
1816 * include/rpc/svc.h: Likewise.
1817 * include/rpc/svc_auth.h: Likewise.
1819 * include/rpc/des_crypt.h: New file.
1821 * malloc/memusagestat.c (main): Use return instead of exit to
1823 * io/pwd.c (main): Likewise.
1824 * iconvdata/tst-table-from.c (main): Likewise.
1825 * ctype/test_ctype.c (main): Likewise.
1826 * setjmp/tst-setjmp.c (main): Likewise.
1827 * signal/tst-signal.c (main): Likewise.
1828 * stdlib/tst-strtol.c (main): Likewise.
1829 * stdlib/tst-strtod.c (main): Likewise.
1830 * stdlib/tst-strtoll.c (main): Likewise.
1831 * stdlib/tst-xpg-basename.c (main): Likewise.
1832 * dirent/tst-seekdir.c (main): Likewise.
1833 * grp/testgrp.c (main): Likewise.
1834 * inet/test_ifindex.c (main): Likewise.
1835 * io/test-utime.c (main): Likewise.
1836 * posix/test-vfork.c (main): Likewise.
1837 * posix/testfnm.c (main): Likewise.
1838 * stdio-common/temptest.c (main): Likewise.
1839 * stdio-common/test_rdwr.c (main): Likewise.
1840 * stdio-common/tst-fileno.c (main): Likewise.
1841 * stdio-common/tst-sscanf.c (main): Likewise.
1842 * stdio-common/tstscanf.c (main): Likewise.
1843 * string/bug-strncat1.c (main): Likewise.
1844 * string/bug-strpbrk1.c (main): Likewise.
1845 * string/bug-strspn1.c (main): Likewise.
1846 * string/test-ffs.c (main): Likewise.
1847 * string/tst-inlcall.c (main): Likewise.
1848 * string/tst-svc.c (main): Likewise.
1849 * timezone/test-tz.c (main): Likewise.
1850 * wctype/test_wcfuncs.c (main): Likewise.
1851 * wctype/test_wctype.c (main): Likewise.
1853 * stdlib/tst-random.c: Add attribute noreturn to fail.
1855 2000-12-28 Wolfram Gloger <wg@malloc.de>
1857 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1858 destination overlap. Assume dest is always below source if
1861 2000-12-30 Ulrich Drepper <drepper@redhat.com>
1863 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1864 object was not yet initialized.
1866 2000-12-28 H.J. Lu <hjl@gnu.org>
1868 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1869 is always consistent even if its dependency is failed.
1871 * elf/dl-open.c (_dl_open): Increment the open count before
1872 calling _dl_close () in case of failure.
1874 * elf/neededtest4.c: New file.
1875 * elf/neededobj5.c: New file.
1876 * elf/neededobj6.c: New file.
1878 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1879 (tests): Add neededtest4.
1880 (modules-names): Add neededobj5 and neededobj6.
1881 ($(objpfx)neededobj6.so): New target.
1882 ($(objpfx)neededtest4): New target.
1883 ($(objpfx)neededtest4.out): New target.
1885 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1887 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1888 * stdlib/monetary.h: Add strfmon format attributes.
1890 2000-12-28 Roland McGrath <roland@frob.com>
1892 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1893 __mempcpy does it for us.
1895 2000-12-28 Andreas Jaeger <aj@suse.de>
1897 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1899 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1902 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1905 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1908 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1909 __chown_is_lchown and __real_chown.
1911 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1914 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1915 up GCC's warning about "deprecated use of label at end of compound
1917 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1919 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1921 Remove struct bb and __bb_head since those are declared by
1924 2000-12-22 Ben Collins <bcollins@debian.org>
1926 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1928 * manual/argp.texi: Document argp_domain as part of struct argp.
1930 2000-12-28 Andreas Jaeger <aj@suse.de>
1932 * catgets/Makefile (generated): Add sample.SJIS.cat.
1934 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1936 * elf/dl-minimal.c: Add prototypes.
1938 * include/locale.h: Add internal prototypes.
1939 * include/sys/gmon.h: Likewise.
1941 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1943 2000-12-27 Ben Collins <bcollins@debian.org>
1945 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1946 when reallocating the error strings.
1947 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1949 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1951 * dlfcn/Makefile (tests): Add errmsg1.
1952 (modules-names): Add errmsg1mod.
1953 Add rules to run errmsg1.
1954 * dlfcn/errmsg1.c: New file.
1955 * dlfcn/errmsg1mod.c: New file.
1957 * dlfcn/dlerror.c (dlerror): Always create output string which
1958 includes object file name.
1960 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1961 if we would go through it only once.
1962 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1964 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1965 Patch by Richard Henderson <rth@redhat.com>.
1967 2000-12-27 Jakub Jelinek <jakub@redhat.com>
1969 * malloc/malloc.c (memmove): Add prototypes.
1970 (MALLOC_MEMMOVE): Define.
1971 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1972 destination might overlap.
1974 2000-12-27 Andreas Jaeger <aj@suse.de>
1976 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1978 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1979 * locale/programs/locale.c (show_locale_vars): Likewise.
1980 (show_info): Likewise.
1981 * locale/programs/ld-collate.c (collate_output): Likewise.
1982 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1983 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1984 * stdlib/rpmatch.c (rpmatch): Likewise.
1986 * setjmp/tst-setjmp.c: Make local functions static.
1987 * setjmp/jmpbug.c: Likewise.
1988 * signal/tst-signal.c: Likewise.
1989 * stdio-common/tfformat.c: Likewise.
1990 * string/tst-svc.c: Likewise.
1991 * time/clocktest.c: Likewise.
1992 * time/tst-getdate.c: Likewise.
1993 * dirent/list.c: Likewise.
1994 * dirent/opendir-tst1.c: Likewise.
1995 * posix/runtests.c: Likewise.
1996 * posix/tst-getaddrinfo.c: Likewise.
1997 * posix/tst-chmod.c: Likewise.
1998 * posix/wordexp-test.c: Likewise.
1999 * misc/tst-efgcvt.c: Likewise.
2000 * timezone/tst-timezone.c: Likewise.
2001 * rt/tst-clock.c: Likewise.
2002 * rt/tst-shm.c: Likewise.
2003 * rt/tst-aio2.c: Likewise.
2004 * rt/tst-aio3.c: Likewise.
2005 * rt/tst-aio4.c: Likewise.
2006 * rt/tst-aio5.c: Likewise.
2008 * dlfcn/failtest.c: Add prototype for foo.
2010 * dlfcn/glrefmain.c: Add prototype for do_test.
2012 * dlfcn/tst-dladdr.c: Add prototype for do_test.
2014 * string/test-ffs.c (main): Add prototype for nested function.
2016 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
2018 * nss/XXX-lookup.c: Add prototype to shut up GCC.
2020 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
2021 setetherent prototype.
2022 Add internal interfaces.
2024 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
2025 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
2027 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
2029 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
2031 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
2032 prototypes, remove struct etherent since it's declared in ether.h.
2033 Fix ntohost declaration.
2035 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
2037 * include/getopt.h: Add internal interfaces.
2038 * include/termios.h: Likewise.
2039 * include/resolv.h: Likewise.
2040 * include/netdb.h: Likewise.
2041 * include/grp.h: Likewise.
2042 * include/pwd.h: Likewise.
2043 * include/shadow.h: Likewise.
2044 * include/rpc/netdb.h: Likewise.
2045 * include/setjmp.h: Likewise.
2047 * include/stdio.h: Add prototypes for compatibility functions.
2048 * include/grp.h: Likewise.
2049 * include/pwd.h: Likewise.
2050 * include/shadow.h: Likewise.
2052 * include/fenv.h: Define internal interfaces.
2054 2000-12-27 Ulrich Drepper <drepper@redhat.com>
2056 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
2057 argument case separately.
2058 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2060 2000-12-27 Andreas Jaeger <aj@suse.de>
2062 * include/sys/wait.h: Add some prototypes.
2063 * Rules (dummy.c): Create also prototype to shut up GCC.
2065 2000-12-27 Andreas Jaeger <aj@suse.de>
2067 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
2068 it's not needed at the moment.
2069 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
2070 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
2072 2000-12-26 Andreas Jaeger <aj@suse.de>
2074 * libio/getc_u.c: Include stdio.h via system path to get internal
2076 * libio/getwc_u.c: Likewise.
2078 * stdlib/strfmon.c: Fix prototype of __printf_fp.
2080 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
2081 __printf_fp prototypes to ...
2082 * include/printf.h: ...here.
2084 * include/stdio.h: Add some internal prototypes to shut up GCC.
2085 * include/stdlib.h: Likewise.
2087 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
2090 * include/signal.h: Add prototypes for internal sigpause
2093 2000-12-26 Ulrich Drepper <drepper@redhat.com>
2095 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
2096 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
2098 * string/Makefile (tests): Add tst-bswap.
2099 * string/tst-bswap.c: New file.
2101 2000-12-11 Bruno Haible <haible@clisp.cons.org>
2103 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
2105 2000-12-26 Ulrich Drepper <drepper@redhat.com>
2107 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
2108 Patch by Ed Connell <Ed.Connell@sas.com>.
2110 2000-12-24 Ulrich Drepper <drepper@redhat.com>
2112 * locale/iso-639.def: Correct one entry. Add two missing entries.
2114 * locale/iso-4217.def: Change entry for Eritrea.
2115 Reported by Daniel Yacob <yacob@geez.org>.
2117 2000-12-23 Ben Collins <bcollins@debian.org>
2119 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
2122 * manual/stdio.texi (Dynamic Output): Document the return value of
2123 asprintf. Also make the asprintf/snprintf examples a little
2124 better (check for some error returns).
2126 2000-12-22 Andreas Jaeger <aj@suse.de>
2128 * include/stdio.h: Add __ftrylockfile prototype.
2130 2000-12-21 H.J. Lu <hjl@gnu.org>
2132 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
2133 Make sign_exponent element signed.
2135 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
2138 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2140 2000-12-21 Andreas Jaeger <aj@suse.de>
2142 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
2143 * inet/ether_hton.c: Likewise
2144 * inet/ether_ntoh.c: Likewise.
2146 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
2147 declaration to match prototype.
2149 * include/netinet/ether.h (struct etherent): Declare here so that
2150 all implementations use the same struct.
2152 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
2154 (struct ether): Removed.
2155 Use struct etherent instead of ether everywhere.
2157 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
2159 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
2161 * sunrpc/publickey.c: Include auth_des.h for prototypes.
2163 2000-12-20 Ulrich Drepper <drepper@redhat.com>
2165 * math/test-misc.c: Add more tests for nextafter functions.
2167 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
2168 normal correctly. Correct test for sign.
2169 Based on a patch by HJ Lu.
2171 2000-12-19 Ulrich Drepper <drepper@redhat.com>
2173 * Makeconfig (preprocess-version): Add -traditional to gcc call.
2176 2000-12-19 Andreas Jaeger <aj@suse.de>
2178 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
2180 * nis/nis_intern.h: Add prototype for __do_niscall3.
2182 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
2185 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
2187 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2189 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2191 2000-12-18 Ulrich Drepper <drepper@redhat.com>
2193 * math/test-misc.c: Add more tests for nextafter.
2194 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2195 * sysdeps/ieee754/ldbl-96/math_ldbl.h
2196 (ieee_long_double_shape_type): Make sign_exponent element signed.
2198 * manual/message.texi: Add Estonian to plural overview list.
2199 Correct rule for Slavic languages.
2200 Patch by Stanislav Brabec <utx@penguin.cz>.
2202 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2204 2000-12-18 Andreas Jaeger <aj@suse.de>
2206 * test-skeleton.c: Use temp_name_list instead of name_list to
2207 avoid collision with name_list from inet/netgroup.h.
2209 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2211 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2212 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2213 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2214 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2216 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2217 declaration to match prototype.
2218 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2219 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2220 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2222 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2223 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2224 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2225 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2226 (_nss_nis_getservbyport_r): Likewise.
2227 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2228 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2229 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2230 (_nss_nis_setnetent): Likewise
2231 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2232 (_nss_nis_endnetgrent): Likewise.
2233 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2235 (_nss_nisplus_setnetgrent): Likewise.
2236 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2237 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2238 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2239 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2241 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2243 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2245 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2247 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2248 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2249 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2250 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2251 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2252 (_nss_dns_getnetbyaddr_r): Likewise.
2254 2000-12-17 Andreas Jaeger <aj@suse.de>
2256 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2259 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2260 unused attribute to shut up gcc warnings.
2262 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2263 * sysdeps/generic/k_tanl.c: Likewise.
2264 * sysdeps/generic/k_cosl.c: Likewise.
2265 * sysdeps/generic/e_j0l.c: Likewise.
2266 * sysdeps/generic/e_j1l.c: Likewise.
2267 * sysdeps/generic/e_jnl.c: Likewise.
2268 * sysdeps/generic/e_lgammal_r.c: Likewise.
2270 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2272 * elf/vismod.h: New file.
2273 * elf/Makefile (distribute): Add vismod.h.
2274 * elf/vismod1.c: Include vismod.h.
2275 * elf/vismod2.c: Likewise.
2276 * elf/vismod3.c: Likewise.
2278 * elf/constload3.c: Add prototype declarations to shut up gcc.
2279 * elf/failobj.c: Likewise.
2280 * elf/nodelmod3.c: Likewise.
2281 * elf/filtmod1.c: Likewise.
2282 * elf/filtmod2.c: Likewise.
2283 * elf/reldepmod1.c: Likewise.
2284 * elf/reldepmod2.c: Likewise.
2285 * elf/reldepmod3.c: Likewise.
2286 * elf/reldepmod4.c: Likewise.
2287 * elf/unload2dep.c: Likewise.
2288 * elf/unload2mod.c: Likewise.
2289 * elf/ltglobmod1.c: Likewise.
2290 * elf/pathoptobj.c: Likewise.
2291 * elf/neededobj1.c: Likewise.
2292 * elf/neededobj2.c: Likewise.
2293 * elf/neededobj3.c: Likewise.
2294 * elf/neededobj4.c: Likewise.
2295 * elf/nextmod1.c: Likewise.
2296 * elf/nextmod2.c: Likewise.
2298 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2299 at end of compound statement.
2300 * locale/programs/locale.c (show_info): Likewise.
2301 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2303 2000-12-16 Jakub Jelinek <jakub@redhat.com>
2305 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2306 with a pointer not returned by obstack_ functions.
2308 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2310 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2312 (struct stat64): Likewise.
2313 Reported by Michael Keezer <mkeezer@redhat.com>.
2315 * timezone/asia: Update from tzdata2000h.
2316 * timezone/australasia: Likewise.
2317 * timezone/backward: Likewise.
2318 * timezone/europe: Likewise.
2319 * timezone/northamerica: Likewise.
2320 * timezone/southamerica: Likewise.
2321 * timezone/zone.tab: Likewise.
2323 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2325 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2326 and dir.stream is NULL, only free dir.content.
2327 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2328 * io/ftwtest-sh: Test with --early-exit.
2330 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2332 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2333 (FCVT_BUFPTR): New variable.
2334 (fcvt): If fcvt_r returns -1 on the static short buffer,
2335 try to malloc a sufficiently large one and retry.
2336 (free_mem): New function.
2337 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2338 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2340 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2342 * misc/dirname.c (dirname): Fix search for second to last slash.
2344 2000-12-13 Andreas Jaeger <aj@suse.de>
2346 * misc/tst-dirname.c (main): Fix typo in test to really use
2347 the examples from Unix98.
2348 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2350 2000-12-09 H.J. Lu <hjl@gnu.org>
2352 * sysdeps/ia64/fpu/s_fabs.S: New file.
2353 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2354 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2356 2000-12-15 Andreas Jaeger <aj@suse.de>
2358 * stdio-common/scanf9.c (main): Reformat and change to avoid
2361 * stdio-common/tstdiomisc.c: Make local functions static.
2362 * stdio-common/tst-printf.c: Likewise.
2364 * elf/constload2.c: Add prototype declarations to shut up gcc.
2365 * elf/dep1.c: Likewise.
2366 * elf/dep2.c: Likewise.
2367 * elf/dep3.c: Likewise.
2368 * elf/dep4.c: Likewise.
2369 * elf/ltglobmod2.c: Likewise.
2371 * libio/fmemopen.c: Make local functions static.
2373 * elf/Makefile (distribute): Added testobj.h.
2375 * elf/testobj.h: New file.
2377 * elf/testobj1.c: Include testobj.h and move prototype
2378 declarations to testobj.h.
2379 * elf/testobj2.c: Likewise.
2380 * elf/testobj3.c: Likewise.
2381 * elf/testobj4.c: Likewise.
2382 * elf/testobj5.c: Likewise.
2383 * elf/testobj6.c: Likewise.
2384 * elf/testobj1_1.c: Likewise.
2385 * elf/preloadtest.c: Likewise.
2387 2000-12-15 Ben Collins <bcollins@debian.org>
2389 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2390 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2392 2000-12-14 H.J. Lu <hjl@gnu.org>
2394 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2395 field in a float is 8 bits, not 11 bits.
2397 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2399 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2401 2000-12-13 Andreas Jaeger <aj@suse.de>
2403 * manual/message.texi (Using gettextized software): Fix typo.
2405 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2407 Patch by Martin Buchholz <martin@xemacs.org>.
2409 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2410 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2412 2000-12-11 Andreas Jaeger <aj@suse.de>
2414 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2415 kernel_sigset_t and use it.
2416 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2418 2000-12-10 Richard Henderson <rth@redhat.com>
2420 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2421 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2422 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2424 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2426 * sysdeps/alpha/htonl.S: Fix a typo.
2428 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2430 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2432 2000-12-10 Andreas Jaeger <aj@suse.de>
2434 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2435 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2436 Drepper <drepper@redhat.com>.
2438 2000-12-09 Andreas Jaeger <aj@suse.de>
2440 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2442 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2444 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2446 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2449 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2452 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2453 * nscd/connections.c (handle_request): Likewise.
2454 * nscd/pwdcache.c (addpwbyname): Likewise.
2455 * nscd/grpcache.c (addgrbyname): Likewise.
2457 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2459 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2461 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2463 * Makeconfig (default_cflags): Make -O2 the default for stable
2466 2000-12-08 H.J. Lu <hjl@gnu.org>
2468 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2469 * sysdeps/ia64/fpu/s_isinf.S: This.
2470 Add a .pred.rel.mutex note to avoid false report.
2472 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2473 * sysdeps/ia64/fpu/s_isnan.S: This.
2475 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2476 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2477 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2478 * sysdeps/ia64/fpu/s_isinff.S: New file.
2479 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2480 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2481 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2482 * sysdeps/ia64/fpu/s_finite.S: New file.
2483 * sysdeps/ia64/fpu/s_finitef.S: New file.
2484 * sysdeps/ia64/fpu/s_finitel.S: New file.
2485 * sysdeps/ia64/fpu/s_signbit.S: New file.
2486 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2487 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2488 * sysdeps/ia64/fpu/s_copysign.S: New file.
2489 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2490 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2492 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2494 * math/libm-test.inc (main): Fix typos in messages.
2496 * string/stratcliff.c: Add test for rawmemchr.
2498 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2500 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2501 allocate it together with errstring using alloca.
2502 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2503 to "", because it might point to local stack.
2505 2000-12-05 H.J. Lu <hjl@gnu.org>
2507 * nss/Makefile (routines): Add getnssent and getnssent_r.
2508 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2509 (__nss_endent): Likewise.
2510 (__nss_getent_r): Likewise.
2511 (__nss_getent): Likewise.
2512 * nss/getnssent_r.c: New file.
2513 * nss/getnssent.c: New file.
2514 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2515 (GETFUNC_NAME): Updated to call __nss_getent ().
2516 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2517 (STAYOPEN_TMPVAR): Updated.
2518 (STAYOPEN_VAR): Updated.
2519 (SETFUNC_NAME): Updated to call __nss_setent ().
2520 (ENDFUNC_NAME): Updated to call __nss_endent ().
2521 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2523 2000-12-08 Andreas Jaeger <aj@suse.de>
2525 * nscd/dbg_log.h (dbg_log): Correct attribute.
2527 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2529 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2530 cp + len. Compute where from dirname.
2531 Reported by <jreiser@BitWagon.com>.
2533 2000-12-08 Richard Henderson <rth@twiddle.net>
2535 * sysdeps/alpha/_mcount.S: Fix typo.
2536 * sysdeps/alpha/strncpy.S: Likewise.
2538 * sysdeps/alpha/alphaev6/Implies: New file.
2539 * sysdeps/alpha/alphaev67/Implies: New file.
2540 * sysdeps/alpha/alphaev67/ffs.S: New file.
2541 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2542 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2543 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2544 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2545 * sysdeps/alpha/rawmemchr.S: New file.
2546 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2547 * sysdeps/alpha/strcpy.S: Likewise.
2550 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2552 From rick.gorton@alpha-processor.com:
2553 * sysdeps/alpha/alphaev6/memchr.S: New file.
2554 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2555 * sysdeps/alpha/alphaev6/memset.S: New file.
2556 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2557 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2558 * sysdeps/alpha/alphaev67/strcat.S: New file.
2559 * sysdeps/alpha/alphaev67/strchr.S: New file.
2560 * sysdeps/alpha/alphaev67/strlen.S: New file.
2561 * sysdeps/alpha/alphaev67/strncat.S: New file.
2562 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2564 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2566 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2567 Reported by <pspencer@fields.utoronto.ca>.
2569 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2571 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2572 Pointed out by Hans Boehm.
2574 2000-12-07 H.J. Lu <hjl@gnu.org>
2576 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2578 2000-12-07 Andreas Jaeger <aj@suse.de>
2580 * misc/error.c: Add format attributes for __error and __error_at_line.
2582 * nscd/dbg_log.h: Add format attribute.
2584 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2586 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2587 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2589 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2591 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2593 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2595 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2596 (sysdep_routines): Add uitrunc.
2597 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2598 Patches by Michael Keezer <mkeezer@redhat.com>.
2600 2000-12-06 Roland McGrath <roland@frob.com>
2602 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2603 argument data, since it will be used to copy out too (for INOUT).
2604 Reported by Marcus Brinkmann <marcus@gnu.org>.
2606 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2607 (__ioctl): Use uintptr_t instead of unsigned long int.
2609 2000-12-06 Jim Wilson <wilson@redhat.com>
2611 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2613 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2615 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2616 x.5 rounding correctly.
2618 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2620 * stdio-common/perror.c (perror): Conditionalize code dealing with
2621 wide-oriented streams on USE_IN_LIBIO.
2623 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2625 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2626 as internal_function.
2628 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2630 * sysdeps/alpha/elf/start.S (__data_start): Define.
2632 2000-12-05 H.J. Lu <hjl@gnu.org>
2634 * nss/getXXent_r.c (setup): Change the return type to int.
2636 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2638 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2639 (sysdep_routines): Add restf and savef.
2640 * sysdeps/unix/sysv/aix/restf.c: New file.
2641 * sysdeps/unix/sysv/aix/savef.c: New file.
2642 Patches by Michael Keezer <mkeezer@redhat.com>.
2644 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2645 if O_DIRECTORY is not defined.
2646 Patch by Michael Keezer <mkeezer@redhat.com>.
2648 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2649 Patch by Michael Keezer <mkeezer@redhat.com>.
2651 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2652 than 4 bytes in escape sequence.
2653 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2655 2000-12-05 Andreas Jaeger <aj@suse.de>
2657 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2660 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2662 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2664 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2665 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2667 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2669 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2670 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2672 * sysdeps/generic/dl-cache.c: Remove declaration of
2673 _dl_sysdep_read_whole_file.
2675 * elf/dl-load.c (_dl_map_object): Remove declaration of
2676 _dl_load_cache_lookup.
2678 * sysdeps/generic/ldsodefs.h: Add declarations of
2679 _dl_load_cache_lookup, _dl_unload_cache,
2680 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2681 _dl_sysdep_start_cleanup.
2683 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2686 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2687 * sysdeps/generic/dl-environ.c: Likewise.
2689 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2691 * math/atest-exp.c: Likewise.
2692 * math/atest-exp2.c: Likewise.
2693 * math/atest-sincos.c: Likewise.
2694 * stdio-common/_itoa.c: Likewise.
2695 * stdio-common/_itowa.c: Likewise.
2697 * include/gmp.h: New file with internal prototypes.
2699 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2701 * include/setjmp.h: ...here.
2703 * locale/Makefile (routines): Remove codeset_name since it's not
2706 * locale/codeset_name.c: Removed.
2708 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2710 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2712 2000-12-05 Andreas Jaeger <aj@suse.de>
2714 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2716 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2718 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2721 2000-12-05 Andreas Jaeger <aj@suse.de>
2723 * nss/test-netdb.c: Mark local functions as static to avoid
2725 (main): Use return to silence warning.
2727 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2729 * stdio-common/test-popen.c: Mark local functions as static to
2731 (main): Use return to silence warning.
2733 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2735 * assert/test-assert.c: Mark local functions as static to avoid
2737 * assert/test-assert-perr.c: Likewise.
2739 * math/libm-test.inc (main): Use return to silence warnings.
2741 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2743 * math/fenv.h: Fix typo in comment.
2745 * math/test-misc.c (main): Add a few more over and underflow tests
2748 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2750 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2751 * math/w_scalb.c: Don't use matherr except in SVID mode.
2752 * math/w_scalbf.c: Likewise.
2753 * math/w_scalbl.c: Likewise.
2754 * math/test-misc.c: Add test for NaN and scalbl.
2755 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2757 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2759 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2760 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2761 * include/libc-symbols.h (strong_alias): Define special version
2762 for HAVE_ASM_GLOBAL_DOT_NAME.
2763 (weak_alias): Likewise.
2764 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2765 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2766 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2767 getutxline, pututxline, and utmpxname.
2768 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2769 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2770 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2771 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2772 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2773 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2774 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2775 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2776 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2777 Patches by Michael Keezer <mkeezer@redhat.com>.
2779 2000-12-04 H.J. Lu <hjl@gnu.org>
2781 * configure.in: Change --with-oldest-abi=ABI to
2782 --enable-oldest-abi=ABI.
2784 2000-12-02 Bruno Haible <haible@clisp.cons.org>
2786 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2787 fwprintf instead of fprintf.
2789 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2791 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2792 DECIMAL_DIG definitions.
2793 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2794 * sysdeps/generic/bits/mathdef.h: Likewise
2795 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2796 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2797 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2798 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2799 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2800 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2802 2000-12-03 Ulrich Drepper <drepper@redhat.com>
2804 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2806 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2807 * math/atest-exp2.c: Likewise.
2808 * math/atest-sincos.c: Likewise.
2810 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2811 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2813 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2814 the handling of denormalized numbers.
2816 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2818 * sysdeps/i386/fpu/fpclassifyl.c: New file.
2820 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2821 pseudo denormal representation of LDBL_MIN.
2823 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2824 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2826 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2827 * iconvdata/jis0208.c: Likewise.
2828 * iconvdata/jis0212.c: Likewise.
2829 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2831 * math/test-misc.c (main): More tests for frexp and some for
2832 fpclassify and isnormal.
2834 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2836 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2838 * math/test-misc.c (main): Add tests for frexp.
2839 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2840 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2842 2000-12-02 H.J. Lu <hjl@gnu.org>
2844 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2847 2000-12-02 Ulrich Drepper <drepper@redhat.com>
2849 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2851 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2853 * sysdeps/generic/glob.c: Adjust types of several variables to
2856 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2858 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2860 2000-11-30 Roland McGrath <roland@frob.com>
2862 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2863 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2864 allow multiple instances using the same function name in one file.
2866 2000-12-01 Ulrich Drepper <drepper@redhat.com>
2868 * configure.in: Correct test for pserver CVS access.
2870 2000-11-28 H.J. Lu <hjl@gnu.org>
2872 * libio/libio.h: Remove extra "#if ... #endif".
2874 2000-11-29 H.J. Lu <hjl@gnu.org>
2876 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2878 2000-12-01 H.J. Lu <hjl@gnu.org>
2880 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2881 * nss/getXXent_r.c: Likewise.
2882 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2884 2000-11-30 H.J. Lu <hjl@gnu.org>
2886 * scripts/abi-versions.awk (oldest_abi): New variable.
2887 Handle the oldest ABI supported.
2889 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2890 for scripts/abi-versions.awk.
2892 * configure.in: Add --with-oldest-abi=ABI.
2893 * configure: Rebuild.
2895 * config.make.in (oldest-abi): New.
2897 * config.h.in (GLIBC_OLDEST_ABI): New.
2899 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2901 2000-11-30 Jakub Jelinek <jakub@redhat.com>
2903 * locale/setlocale.c (setname): Free for all categories, not just
2905 (setlocale): Store a copy of string passed by user, not the string
2908 2000-11-30 Roland McGrath <roland@frob.com>
2910 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2911 rather than _hurd_fd_subinit, so it happens after it's safe to use
2912 libc facilities like malloc.
2914 2000-11-28 Andreas Jaeger <aj@suse.de>
2916 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2917 declaration, adjust declaration of __syscall_getdents to match
2920 2000-11-29 H.J. Lu <hjl@gnu.org>
2922 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2924 2000-11-29 Andreas Jaeger <aj@suse.de>
2926 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2928 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2930 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2931 * dlfcn/defaultmod2.c: Likewise.
2932 * dlfcn/dlopen.c: Likewise.
2933 * dlfcn/dlopenold.c: Likewise.
2934 * dlfcn/failtestmod.c: Likewise.
2935 * dlfcn/glreflib1.c: Likewise.
2936 * dlfcn/glreflib2.c: Likewise.
2937 * dlfcn/eval.c: Likewise. Add attributes.
2939 * ctype/ctype-extn.c: Define isblank and not __isblank.
2941 * time/strftime.c: Add const where necessary to avoid warnings.
2942 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2944 2000-11-22 Paul Eggert <eggert@twinsun.com>
2946 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2947 size of (size_t) -1; it's not portable.
2949 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2951 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2953 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2955 2000-11-14 Jes Sorensen <jes@linuxcare.com>
2957 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2959 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2960 _mcount is required by profiled binaries.
2962 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2963 * sysdeps/ia64/machine-gmon.h: ...here.
2965 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2967 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2968 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2970 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2972 * iconvdata/ibm922.c: New file.
2973 * iconvdata/ibm922.h: New file.
2974 * iconvdata/ibm1124.c: New file.
2975 * iconvdata/ibm1124.h: New file.
2976 * iconvdata/ibm1129.c: New file.
2977 * iconvdata/ibm1129.h: New file.
2978 * iconvdata/testdata/IBM922: New file.
2979 * iconvdata/testdata/IBM922..UTF8: New file.
2980 * iconvdata/testdata/IBM1124: New file.
2981 * iconvdata/testdata/IBM1124..UTF8: New file.
2982 * iconvdata/testdata/IBM1129: New file.
2983 * iconvdata/testdata/IBM1129..UTF8: New file.
2985 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2987 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2988 character. Change callers.
2989 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2990 * catgets/Makefile: Add rules to build and run test-gencat.
2991 * catgets/sample.SJIS: New file.
2992 * catgets/test-gencat.c: New file.
2993 * catgets/test-gencat.sh: New file.
2994 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2996 2000-11-28 Andreas Jaeger <aj@suse.de>
2998 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
3001 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3003 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
3005 2000-11-28 Andreas Jaeger <aj@suse.de>
3007 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
3009 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
3012 2000-11-27 Ulrich Drepper <drepper@redhat.com>
3014 * misc/getusershell.c: Make strings in okshells array const.
3015 * misc/regexp.c: Add const to cast to avoid warnings.
3016 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
3017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
3019 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
3021 * misc/error.c: Add prototypes for __error and __error_at_line.
3022 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
3023 statement to avoid warning.
3024 * test-skeleton.c: Mark timeout_handler with noreturn.
3025 * iconv/skeleton.c (get16u): Add const to cast.
3027 * iconvdata/gb18030.c: Likewise.
3028 * iconvdata/iso-2022-cn-ext.c: Likewise.
3029 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
3030 * iconvdata/big5.c: Likewise.
3031 * iconvdata/big5hkscs.c: Likewise.
3032 * iconvdata/iso_6937.c: Likewise.
3033 * iconvdata/iso_6937-2.c: Likewise.
3034 * iconvdata/t.61.c: Likewise.
3035 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
3036 * iconvdata/unicode.c: Likewise.
3037 * iconvdata/utf-16.c: Likewise.
3038 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
3039 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
3040 with little code shuffling.
3042 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
3043 the problems introduced when the user selects -O3.
3045 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
3046 * misc/sys/cdefs.h: Define __flexarr.
3047 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
3049 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
3050 * iconv/skeleton.c: Likewise.
3051 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
3052 * iconv/loop.c (get16): Add const to cast.
3055 2000-11-27 Andreas Jaeger <aj@suse.de>
3057 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
3059 * login/programs/utmpdump.c (print_entry): Likewise.
3061 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3063 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
3064 in a single asm as they may be used to access other stored
3066 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3068 2000-11-27 Andreas Jaeger <aj@suse.de>
3070 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
3071 * rt/tst-aio64.c: Likewise.
3073 2000-11-27 Ulrich Drepper <drepper@redhat.com>
3075 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
3077 (libc.cat): Likewise.
3078 * catgets/gencat.c: Implement handling of message catalogs encoded
3079 with stateful character sets.
3080 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3082 2000-11-26 Ulrich Drepper <drepper@redhat.com>
3084 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
3086 * inet/getnameinfo.c: Adjust casts to avoid warnings.
3087 * inet/rcmd.c: Likewise.
3088 * inet/ruserpass.c: Likewise.
3089 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
3090 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3091 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
3092 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
3093 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
3094 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
3095 * include/aliases.h: Add prototypes for internal __getalias* functions.
3096 * include/netdb.h: Add prototypes for __old_gethostent_r,
3097 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
3098 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
3099 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
3100 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
3101 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
3102 __old_getrpcbynumber_r, __old_getrpcent_r.
3104 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
3105 __getrpcent_r prototypes.
3107 2000-11-25 Ulrich Drepper <drepper@redhat.com>
3109 * string/strcoll.c: Add casts to avoid warnings.
3110 * string/strnlen.c: Likewise.
3111 * string/strxfrm.c: Likewise.
3112 * sysdeps/generic/_strerror.c: Likewise.
3113 * sysdeps/generic/memrchr.c: Likewise.
3114 * sysdeps/generic/strcasestr.c: Likewise.
3115 * sysdeps/generic/strstr.c: Likewise.
3117 * locale/weight.h (findidx): Add const to cast to avoid warning.
3119 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
3120 * elf/loadtest.c: Likewise.
3121 * elf/multiload.c: Likewise.
3122 * elf/next.c: Likewise.
3123 * elf/nodelete.c: Likewise.
3124 * elf/noload.c: Likewise.
3125 * elf/order.c: Likewise.
3126 * elf/origtest.c: Likewise.
3127 * elf/preloadtest.c: Likewise.
3128 * elf/restest1.c: Likewise.
3130 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
3131 parameter of asm must be in %ecx.
3133 * string/tester.c: Mark test functions as static to avoid warnings.
3135 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
3136 preserve value over different gconv-modules files.
3138 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3140 * locale/findlocale.c: Add casts to avoid warnings.
3141 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
3142 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
3144 * misc/tsearch.c (const_node): New type.
3145 (trecurse): Correct casts to avoid warnings.
3146 (__twalk): Likewise.
3147 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
3150 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
3152 * test-skeleton.c: Mark local functions as static to avoid warnings.
3154 2000-11-23 H.J. Lu <hjl@gnu.org>
3156 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
3157 support the background job.
3160 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3162 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
3163 has same names but lower cost.
3165 2000-11-23 Jakub Jelinek <jakub@redhat.com>
3167 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
3168 which never occur during bootstrap.
3169 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3171 2000-11-23 Andreas Jaeger <aj@suse.de>
3173 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
3175 * nss/Versions: Remove _nss_files_getipnodebyname_r.
3177 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
3179 2000-11-18 Martin Buchholz <martin@xemacs.org>
3181 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
3184 2000-11-21 Alan Modra <alan@linuxcare.com.au>
3186 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
3188 * csu/abi-note.S: Correct comment for operating system number.
3190 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3192 * Versions.def: Add GLIBC_2.2.1 for glibc.
3194 2000-11-22 Andreas Schwab <schwab@suse.de>
3196 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3197 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3199 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3201 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3202 absolute time for pthread_cond_timedwait call.
3203 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3205 * rt/Makefile (tests): Add tst-aio6.
3206 * rt/tst-aio6.c: New file.
3208 2000-11-23 Andreas Jaeger <aj@suse.de>
3210 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3212 2000-11-22 Andreas Jaeger <aj@suse.de>
3214 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3216 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3218 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3220 2000-11-21 Andreas Schwab <schwab@suse.de>
3222 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3223 * sysdeps/arm/setjmp.S: Likewise.
3224 * sysdeps/arm/fpu/setjmp.S: Likewise.
3225 * sysdeps/i386/setjmp.S: Likewise.
3226 * sysdeps/i386/elf/setjmp.S: Likewise.
3227 * sysdeps/s390/setjmp.S: Likewise.
3228 * sysdeps/s390/elf/setjmp.S: Likewise.
3229 * sysdeps/sh/sh3/setjmp.S: Likewise.
3230 * sysdeps/sh/sh4/setjmp.S: Likewise.
3231 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3232 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3233 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3234 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3236 2000-11-21 Andreas Jaeger <aj@suse.de>
3238 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3239 NORETURN, fix parameter list.
3241 * string/bug-strncat1.c (main): Fix typo.
3242 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3244 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3246 * configure.in: Add --enable-all-warnings.
3247 * config.make.in (all-warnings): New variable.
3248 * Makeconfig (+gccwarn): Define with many more warnings if
3249 all-warnings is yes.
3251 2000-11-20 Jakub Jelinek <jakub@redhat.com>
3253 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3254 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3255 * malloc/tst-valloc.c (main): Cast valloc return value to long.
3256 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3257 * math/test-fpucw.c (main): Use %lx in format string, cast
3258 control words to long.
3259 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3260 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3261 large that it is unsigned warning.
3263 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3264 it to long on sparc64.
3266 2000-11-20 Andreas Jaeger <aj@suse.de>
3268 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3269 (receiv_print_stats): Likewise.
3271 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3273 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3275 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3277 * csu/gmon-start.c: Always have prototype for __gmon_start.
3278 * csu/version.c: Add prototypes for __libc_print_version and
3280 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3281 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3283 * iconv/gconv_builtin.h: Add ASCII module definitions.
3284 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3285 (add_module): Add cast to avoid warning. Rework construction of
3286 strings for new module.
3287 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3288 (derivation_compare): Likewise.
3289 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3290 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3291 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3292 (struct gconv_alias): Remove const from fromname and toname.
3293 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3295 (internal_ucs4_loop): Use correct const-ness.
3296 (ucs4_internal_loop): Likewise.
3297 (internal_ucs4le_loop): Likewise.
3298 (ucs4le_internal_loop_single): Likewise.
3299 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3300 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3301 assignments appropriately.
3302 (struct known_trans): Remove const from fname.
3303 (trans_compare): Make s1 and s2 const.
3304 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3306 * iconv/skeleton.c: Remove cast in calls of loop functions.
3307 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3308 * iconvdata/iso646.c: Remove US_ASCII support.
3309 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3310 * include/unistd.h: Add __libc_check_standard_fds prototype.
3311 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3312 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3314 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3315 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3316 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3318 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3319 __libc_init_first and _dl_start.
3320 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3321 (DCIGETTEXT): Make domaindata variable const.
3322 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3325 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3327 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3329 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3330 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3333 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3334 value defined in /usr/include/asm-mips/fcntl.h.
3336 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3338 * stdio-common/Makefile (tests): Add test-vfprintf.
3339 (test-vfprintf-ENV): New variable.
3340 * stdio-common/test-vfprintf.c: New file.
3342 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3344 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3345 (tst-mbrtowc-ENV): New variable.
3346 (tst-wcrtomb-ENV): New variable.
3347 * wcsmbs/tst-mbrtowc.c: New file.
3348 * wcsmbs/tst-wcrtomb.c: New file.
3350 2000-11-16 Andreas Jaeger <aj@suse.de>
3352 * manual/install.texi (Tools for Compilation): Update
3353 documentation for GCC 2.95.2.
3355 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3358 if IPv4 and IPv6 requests timed out.
3360 2000-11-18 Akim Demaille <akim@epita.fr>
3362 * malloc/obstack.h: Formatting changes.
3363 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3364 prevents type checking.
3365 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3366 cast the value to (void *): assigning a `foo *' to a `void *'
3368 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3370 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3372 * scripts/config.guess: Update from upstream maintainer.
3373 * scripts/config.sub: Likewise.
3375 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3377 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3378 * libio/freopen64.c (freopen64): Likewise.
3379 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3381 * libio/Makefile: Add rules to build and run test-freopen.
3382 * libio/test-freopen.c: New file.
3383 * libio/test-freopen.sh: New file.
3385 2000-11-15 H.J. Lu <hjl@gnu.org>
3387 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3388 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3389 (DL_DT_FINI_ADDRESS): Likewise.
3391 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3392 return type to ElfW(Addr).
3393 (_dl_function_address): New prototype.
3394 (DL_FUNCTION_ADDRESS): Defined.
3395 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3396 (DL_DT_FINI_ADDRESS): Likewise.
3398 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3400 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3401 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3403 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3404 (_dl_function_address): This.
3406 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3407 function pointer for DT_FINI.
3408 * elf/dl-close.c (_dl_close): Likewise.
3410 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3411 function pointer for DT_INIT.
3413 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3415 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3416 end of wexpbuf buffer.
3418 2000-11-16 Andreas Jaeger <aj@suse.de>
3420 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3421 definition of F_GETLK, F_SETLK, F_SETLKW.
3423 2000-11-16 Andreas Jaeger <aj@suse.de>
3425 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3428 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3430 * dlfcn/default.c (main): Add test for dladdr of main returning
3431 argv[0] in dli_fname field.
3433 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3435 * Makeconfig (run-program-prefix): Move test-static test into the
3438 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3439 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3440 schedule instructions.
3441 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3442 schedule instructions, fix a bug in copying auxiliary data.
3444 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3446 * manual/startup.texi (Program Arguments): Fix type of main's envp
3448 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3450 * iconvdata/gconv-modules: Add CP950 alias.
3452 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3454 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3455 syscall-list.h goal.
3456 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3458 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3460 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3462 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3465 * intl/tst-gettext2.c: Set C locale if setting other locale
3466 failed. Use gettext() not _().
3468 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3469 successfully loaded a new locale.
3471 2000-11-13 Andreas Jaeger <aj@suse.de>
3473 * configure.in: Require gcc 2.95 or newer.
3475 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3477 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3478 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3480 2000-11-11 Jim Meyering <meyering@lucent.com>
3482 * string/strndup.c (strndup): Cast return value to `char *'.
3484 2000-11-15 Jim Meyering <meyering@ascend.com>
3486 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3487 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3488 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3489 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3490 Also #undef __memchr.
3491 Use `weak_alias' only if it's defined.
3493 2000-11-10 H.J. Lu <hjl@gnu.org>
3495 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3497 2000-11-15 Andreas Jaeger <aj@suse.de>
3499 * elf/chroot_canon.c: Include <stdint.h>.
3501 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3502 (print_entry): Likewise.
3503 (add_to_cache): Likewise.
3505 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3507 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3508 (path_hwcap): Likewise.
3509 (search_dir): Likewise.
3511 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3513 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3515 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3516 (_dl_platform_string): New.
3517 (_DL_HWCAP_PLATFORM): New.
3518 (_dl_string_platform): New.
3519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3521 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3522 (_dl_string_platform): New.
3523 (_DL_HWCAP_PLATFORM): New.
3524 (_dl_platform_string): New.
3526 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3528 (_DL_HWCAP_COUNT): New.
3529 (_dl_string_platform): New.
3530 (_DL_HWCAP_PLATFORM): New.
3531 (_dl_platform_string): New.
3533 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3535 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3537 2000-11-14 Andreas Jaeger <aj@suse.de>
3539 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3541 2000-11-13 Roland McGrath <roland@frob.com>
3543 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3545 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3547 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3548 underrun and make sure the result is null terminated even if there
3549 is no trailing newline.
3551 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3553 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3555 2000-11-10 H.J. Lu <hjl@gnu.org>
3557 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3559 2000-11-10 Andreas Jaeger <aj@suse.de>
3561 * elf/ldconfig.c (create_links): Fix alloca calculation.
3562 Patch by Ben Collins <bcollins@debian.org>.
3564 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3566 * inet/getnameinfo.c (getnameinfo): Use correct destination
3567 parameter for if_indextoname.
3568 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3570 2000-11-09 H.J. Lu <hjl@gnu.org>
3572 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3573 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3574 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3577 * time/Versions (GLIBC_2.1): Move getitimer to...
3578 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3580 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3582 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3583 "make install", to work around a binary incompatibility between
3584 glibc 2.1 and glibc 2.2 gconv modules.
3586 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3588 * intl/locale.alias: Add thai.
3589 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3591 2000-11-07 Akim Demaille <akim@epita.fr>
3593 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3594 argument `data' for consistency with the prototypes.
3596 (obstack_copy, obstack_copy0): Rename the second argument as
3597 `address' for consistency. Qualify it `const'.
3598 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3599 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3600 `const' their input argument (`data' or `address').
3601 Adjust the corresponding macros to include `const' in casts.
3603 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3605 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3608 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3610 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3613 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3615 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3616 ai_protocol by internal table if service was not given.
3618 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3620 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3621 numerical port was specified with protocol without socktype.
3623 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3625 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3627 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3629 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3631 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3633 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3634 sin6_scope_id field.
3636 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3638 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3640 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3642 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3644 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3646 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3647 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3649 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3651 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3652 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3654 2000-11-09 H.J. Lu <hjl@gnu.org>
3656 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3659 See ChangeLog.11 for earlier changes.