1 2001-02-16 Ulrich Drepper <drepper@redhat.com>
3 * math/w_acos.c: Move to ...
4 * sysdeps/generic/w_acos.c: ...here. New file.
5 * math/w_acosf.c: Move to ...
6 * sysdeps/generic/w_acosf.c: ...here. New file.
7 * math/w_acosh.c: Move to ...
8 * sysdeps/generic/w_acosh.c: ...here. New file.
9 * math/w_acoshf.c: Move to ...
10 * sysdeps/generic/w_acoshf.c: ...here. New file.
11 * math/w_acoshl.c: Move to ...
12 * sysdeps/generic/w_acoshl.c: ...here. New file.
13 * math/w_acosl.c: Move to ...
14 * sysdeps/generic/w_acosl.c: ...here. New file.
15 * math/w_asin.c: Move to ...
16 * sysdeps/generic/w_asin.c: ...here. New file.
17 * math/w_asinf.c: Move to ...
18 * sysdeps/generic/w_asinf.c: ...here. New file.
19 * math/w_asinl.c: Move to ...
20 * sysdeps/generic/w_asinl.c: ...here. New file.
21 * math/w_atan2.c: Move to ...
22 * sysdeps/generic/w_atan2.c: ...here. New file.
23 * math/w_atan2f.c: Move to ...
24 * sysdeps/generic/w_atan2f.c: ...here. New file.
25 * math/w_atan2l.c: Move to ...
26 * sysdeps/generic/w_atan2l.c: ...here. New file.
27 * math/w_atanh.c: Move to ...
28 * sysdeps/generic/w_atanh.c: ...here. New file.
29 * math/w_atanhf.c: Move to ...
30 * sysdeps/generic/w_atanhf.c: ...here. New file.
31 * math/w_atanhl.c: Move to ...
32 * sysdeps/generic/w_atanhl.c: ...here. New file.
33 * math/w_cosh.c: Move to ...
34 * sysdeps/generic/w_cosh.c: ...here. New file.
35 * math/w_coshf.c: Move to ...
36 * sysdeps/generic/w_coshf.c: ...here. New file.
37 * math/w_coshl.c: Move to ...
38 * sysdeps/generic/w_coshl.c: ...here. New file.
39 * math/w_drem.c: Move to ...
40 * sysdeps/generic/w_drem.c: ...here. New file.
41 * math/w_dremf.c: Move to ...
42 * sysdeps/generic/w_dremf.c: ...here. New file.
43 * math/w_dreml.c: Move to ...
44 * sysdeps/generic/w_dreml.c: ...here. New file.
45 * math/w_exp10.c: Move to ...
46 * sysdeps/generic/w_exp10.c: ...here. New file.
47 * math/w_exp10f.c: Move to ...
48 * sysdeps/generic/w_exp10f.c: ...here. New file.
49 * math/w_exp10l.c: Move to ...
50 * sysdeps/generic/w_exp10l.c: ...here. New file.
51 * math/w_exp2.c: Move to ...
52 * sysdeps/generic/w_exp2.c: ...here. New file.
53 * math/w_exp2f.c: Move to ...
54 * sysdeps/generic/w_exp2f.c: ...here. New file.
55 * math/w_exp2l.c: Move to ...
56 * sysdeps/generic/w_exp2l.c: ...here. New file.
57 * math/w_fmod.c: Move to ...
58 * sysdeps/generic/w_fmod.c: ...here. New file.
59 * math/w_fmodf.c: Move to ...
60 * sysdeps/generic/w_fmodf.c: ...here. New file.
61 * math/w_fmodl.c: Move to ...
62 * sysdeps/generic/w_fmodl.c: ...here. New file.
63 * math/w_hypot.c: Move to ...
64 * sysdeps/generic/w_hypot.c: ...here. New file.
65 * math/w_hypotf.c: Move to ...
66 * sysdeps/generic/w_hypotf.c: ...here. New file.
67 * math/w_hypotl.c: Move to ...
68 * sysdeps/generic/w_hypotl.c: ...here. New file.
69 * math/w_j0.c: Move to ...
70 * sysdeps/generic/w_j0.c: ...here. New file.
71 * math/w_j0f.c: Move to ...
72 * sysdeps/generic/w_j0f.c: ...here. New file.
73 * math/w_j0l.c: Move to ...
74 * sysdeps/generic/w_j0l.c: ...here. New file.
75 * math/w_j1.c: Move to ...
76 * sysdeps/generic/w_j1.c: ...here. New file.
77 * math/w_j1f.c: Move to ...
78 * sysdeps/generic/w_j1f.c: ...here. New file.
79 * math/w_j1l.c: Move to ...
80 * sysdeps/generic/w_j1l.c: ...here. New file.
81 * math/w_jn.c: Move to ...
82 * sysdeps/generic/w_jn.c: ...here. New file.
83 * math/w_jnf.c: Move to ...
84 * sysdeps/generic/w_jnf.c: ...here. New file.
85 * math/w_jnl.c: Move to ...
86 * sysdeps/generic/w_jnl.c: ...here. New file.
87 * math/w_lgamma.c: Move to ...
88 * sysdeps/generic/w_lgamma.c: ...here. New file.
89 * math/w_lgammaf.c: Move to ...
90 * sysdeps/generic/w_lgammaf.c: ...here. New file.
91 * math/w_lgammaf_r.c: Move to ...
92 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
93 * math/w_lgammal.c: Move to ...
94 * sysdeps/generic/w_lgammal.c: ...here. New file.
95 * math/w_lgammal_r.c: Move to ...
96 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
97 * math/w_lgamma_r.c: Move to ...
98 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
99 * math/w_log10.c: Move to ...
100 * sysdeps/generic/w_log10.c: ...here. New file.
101 * math/w_log10f.c: Move to ...
102 * sysdeps/generic/w_log10f.c: ...here. New file.
103 * math/w_log10l.c: Move to ...
104 * sysdeps/generic/w_log10l.c: ...here. New file.
105 * math/w_log.c: Move to ...
106 * sysdeps/generic/w_log.c: ...here. New file.
107 * math/w_logf.c: Move to ...
108 * sysdeps/generic/w_logf.c: ...here. New file.
109 * math/w_logl.c: Move to ...
110 * sysdeps/generic/w_logl.c: ...here. New file.
111 * math/w_pow.c: Move to ...
112 * sysdeps/generic/w_pow.c: ...here. New file.
113 * math/w_powf.c: Move to ...
114 * sysdeps/generic/w_powf.c: ...here. New file.
115 * math/w_powl.c: Move to ...
116 * sysdeps/generic/w_powl.c: ...here. New file.
117 * math/w_remainder.c: Move to ...
118 * sysdeps/generic/w_remainder.c: ...here. New file.
119 * math/w_remainderf.c: Move to ...
120 * sysdeps/generic/w_remainderf.c: ...here. New file.
121 * math/w_remainderl.c: Move to ...
122 * sysdeps/generic/w_remainderl.c: ...here. New file.
123 * math/w_scalb.c: Move to ...
124 * sysdeps/generic/w_scalb.c: ...here. New file.
125 * math/w_scalbf.c: Move to ...
126 * sysdeps/generic/w_scalbf.c: ...here. New file.
127 * math/w_scalbl.c: Move to ...
128 * sysdeps/generic/w_scalbl.c: ...here. New file.
129 * math/w_sinh.c: Move to ...
130 * sysdeps/generic/w_sinh.c: ...here. New file.
131 * math/w_sinhf.c: Move to ...
132 * sysdeps/generic/w_sinhf.c: ...here. New file.
133 * math/w_sinhl.c: Move to ...
134 * sysdeps/generic/w_sinhl.c: ...here. New file.
135 * math/w_sqrtl.c: Move to ...
136 * sysdeps/generic/w_sqrtl.c: ...here. New file.
137 * math/w_tgamma.c: Move to ...
138 * sysdeps/generic/w_tgamma.c: ...here. New file.
139 * math/w_tgammaf.c: Move to ...
140 * sysdeps/generic/w_tgammaf.c: ...here. New file.
141 * math/w_tgammal.c: Move to ...
142 * sysdeps/generic/w_tgammal.c: ...here. New file.
144 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
145 formats for postal_fmt.
147 2001-02-16 Jakub Jelinek <jakub@redhat.com>
149 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
151 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
154 2001-02-15 David Mosberger <davidm@hpl.hp.com>
156 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
157 do "loadrs". Writing to bspstore already takes care of
158 invalidating the "clean" partition.
160 2001-02-16 Andreas Schwab <schwab@suse.de>
162 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
163 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
165 2001-02-15 Jakub Jelinek <jakub@redhat.com>
167 * posix/regex.c (init_syntax_once): Add prototype.
168 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
169 (re_search_2): Avoid warning.
170 (count_mbs_length): Add prototype.
171 * posix/tst-regex3.c: New file.
172 * posix/Makefile (tests): Add bug-regex3.
174 2001-02-15 Ulrich Drepper <drepper@redhat.com>
176 * stdio-common/Makefile (tests): Add tst-gets.
177 * stdio-common/tst-gets.c: New file.
178 * stdio-common/tst-gets.input: New file.
180 * elf/elf.h (DT_CHECKSUM): Define.
182 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
184 * sysdeps/generic/strtoull.c: Likewise.
186 2001-02-14 Wolfram Gloger <wg@malloc.de>
188 * malloc/malloc.c (new_heap): When allocating large chunk aligned
189 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
192 2001-02-14 Ulrich Drepper <drepper@redhat.com>
194 * math/libm-test.inc (j0_test): Check whether sincos is available.
201 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
202 fake filesystem routines to handle this.
204 * time/sys/time.h: Make settimeofday and adjtime available if
207 * time/sys/time.h: Make timer* macros available for BSD.
209 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
210 Patch by Yong Li <rigel863@yahoo.com>.
212 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
215 * posix/Makefile (tests): Add tst-gnuglob.
216 * posix/tst-gnuglob.c: New file.
218 2001-02-13 H.J. Lu <hjl@gnu.org>
220 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
222 2001-02-13 Ulrich Drepper <drepper@redhat.com>
224 * locale/programs/ld-paper.c (paper_output): Pretty printing.
226 * iconvdata/Makefile (modules): Add GBBIG5.
227 (distribute): Add gbbig5.c.
228 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
230 * iconvdata/gbbig5.c: New file.
231 Contributed by Yong Li <rigel863@yahoo.com>.
233 2001-02-13 Philip Blundell <pb@futuretv.com>
235 * manual/crypt.texi: Remove outdated references to crypt add-on.
237 * manual/creature.texi: Improve wording slightly.
239 2001-02-13 Ulrich Drepper <drepper@redhat.com>
241 * io/ftw.c: Always use readdir64.
242 * io/ftw64.c: Likewise.
243 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
244 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
245 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
246 callback to dirent. Still allow compiling outside glibc.
247 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
248 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
250 * malloc/mtrace.c: Use fopen64.
251 * posix/spawni.c: Use __open64.
252 * sysdeps/unix/opendir.c: Likewise.
253 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
255 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
257 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
258 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
259 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
262 * resolv/res_data.c: Add cast to avoid warning.
264 * include/unistd.h: Declare __ftruncate64.
266 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
268 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
271 2001-02-13 Andreas Jaeger <aj@suse.de>
273 * login/getutent_r.c: Include <stdlib.h> for NULL.
274 * login/getutid_r.c: Likewise.
276 2001-02-12 Ulrich Drepper <drepper@redhat.com>
278 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
279 * sysdeps/dbl-64/e_j1.c: Likewise.
280 * sysdeps/dbl-64/e_jn.c: Likewise.
281 * sysdeps/flt-32/e_j0f.c: Likewise.
282 * sysdeps/flt-32/e_j1f.c: Likewise.
283 * sysdeps/ldbl-96/e_j0l.c: Likewise.
285 2000-12-02 H.J. Lu <hjl@gnu.org>
287 * resolv/res_libc.c (res_init): Don't make it default.
289 2001-02-12 Ulrich Drepper <drepper@redhat.com>
291 * manual/debug.texi: Improved the wording.
292 Patch by Philip Blundell <pb@futuretv.com>.
294 2001-02-12 Andreas Jaeger <aj@suse.de>
296 * posix/Makefile (tests): Don't run bug-regex2 when
299 * libio/Makefile (tests): Don't run test-freopen when
302 * manual/stdio.texi (Streams and I18N): Fix typos.
304 2001-02-12 Ulrich Drepper <drepper@redhat.com>
306 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
308 * math/libm-test.inc (j0_test): Make expected results long double
312 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
313 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
315 2001-02-11 Jakub Jelinek <jakub@redhat.com>
317 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
318 which was exported from libc.
319 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
321 2001-02-12 Andreas Jaeger <aj@suse.de>
323 * manual/arith.texi (Parsing of Integers): Fix some wordings.
325 2001-02-11 Ulrich Drepper <drepper@redhat.com>
327 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
328 and get_avphys_page to long int.
329 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
330 * include/sys/sysinfo.h: Likewise.
331 * sysdeps/generic/sys/sysinfo.h: Likewise.
332 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
334 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
335 cannot return as many values as the user asked for.
337 2001-02-11 Andreas Jaeger <aj@suse.de>
339 * manual/resource.texi (Memory Resources): Fix typo.
341 * libio/Makefile ($(objpfx)test-freopen.out): Pass
344 * libio/test-freopen.sh: Use run_program_prefix.
346 2001-02-10 Andreas Jaeger <aj@suse.de>
348 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
350 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
352 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
355 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
357 * posix/Makefile: Fix typo, it's build-static-nss.
359 * iconv/Makefile (extra-objs): New.
361 2001-02-10 Mark Kettenis <kettenis@gnu.org>
363 * sysdeps/unix/stime.c: Include <time.h>.
365 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
367 2001-02-10 Andreas Jaeger <aj@suse.de>
369 * manual/string.texi (Search Functions): Fix typo.
371 2001-02-10 Mark Kettenis <kettenis@gnu.org>
373 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
374 (timeval_to_clock_t): Add clk_tck argument and use that instead of
376 (__times): Use __getclktck to get the number of clock ticks per
377 second and use its return value instead of CLK_TCK.
379 2001-02-10 Mark Kettenis <kettenis@gnu.org>
381 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
383 2001-02-10 Mark Kettenis <kettenis@gnu.org>
385 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
387 2001-02-10 Andreas Jaeger <aj@suse.de>
389 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
392 2001-02-09 Ulrich Drepper <drepper@redhat.com>
394 * posix/Makefile: Add rules to build and run bug-regex2.
395 * posix/bug-regex2.c: New file.
397 2001-02-10 Jakub Jelinek <jakub@redhat.com>
399 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
400 (regex_compile): Likewise.
401 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
402 (re_match_2_internal): Use just is_binary instead of two variables.
403 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
405 2001-02-09 Ulrich Drepper <drepper@redhat.com>
407 * version.h (VERSION): Bump to 2.2.2.
409 * iconv/Makefile (distribute): Add iconv_charmap.c and
411 * elf/Makefile (distribute): Add firstobj.c.
412 * Makefile (distribute): Add include/pthread.h.
414 * configure.in: Require makeinfo version 4.
416 * libio/tst_wscanf.c (main): Add cast to avoid warning.
417 * libio/tst_swscanf.c (main): Likewise..
419 2001-02-09 Jakub Jelinek <jakub@redhat.com>
421 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
422 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
424 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
425 if not RTLD_BOOTSTRAP.
426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
429 2001-02-09 Ulrich Drepper <drepper@redhat.com>
431 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
432 lr_ungetc to push back last read character.
433 * locale/programs/linereader.h (lr_ungetc): Don't push back is
435 (lr_ignore_rest): Don't warn about garbage if it is really the end
438 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
441 2001-02-08 Ulrich Drepper <drepper@redhat.com>
443 * Makerules (build-shlib): Work around different order of
444 processing of -B option in different gcc versions.
446 * posix/regex.c: Fix alignment problem.
447 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
449 * sysdeps/alpha/strrchr.S: Little optimization.
450 Patch by Richard Henderson <rth@redhat.com>.
452 * sysdeps/alpha/alphaev67/strrchr.S: New file.
453 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
455 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
457 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
458 in the assembler end directive.
460 2001-02-08 Andreas Jaeger <aj@suse.de>
462 * manual/stdio.texi (Closing Streams): Fix typos.
464 2001-02-07 Ulrich Drepper <drepper@redhat.com>
466 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
467 Patch by Richard Henderson <rth@redhat.com>.
468 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
470 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
471 pointer in FILE structure before calling _IO_init.
472 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
473 strfmon_l if necessary.
474 Reported by Jury Gerold <gjury@grips.com>.
476 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
477 Patch by Pekka.Pietikainen@cern.ch.
479 * posix/regex.c: Correct several problems with 64-bit architectures
480 introduced in the MBS changes.
481 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
483 2001-02-07 Jakub Jelinek <jakub@redhat.com>
485 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
487 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
489 2001-02-07 Andreas Jaeger <aj@suse.de>
491 * manual/install.texi (Tools for Compilation): Fix typo.
492 Reported by Pavel Machek <pavel@bug.ucw.cz>.
494 2001-02-07 Ulrich Drepper <drepper@redhat.com>
496 * stdlib/strtod.c: Never stop prematurely reading digits before the
497 decimal point is found. Compute exponent limit for negative exponents
498 correctly. For numbers ending in all zeros eat the zeros even before
499 the decimal point if the exponent is negative [PR libc/2072].
500 * stdlib/Makefile (tests): Add bug-strtod.
501 * stdlib/bug-strtod.c: New file.
503 2001-02-07 Andreas Jaeger <aj@suse.de>
505 * posix/bug-regex1.c: Include <wchar.h> for fwide.
507 2001-02-06 Ulrich Drepper <drepper@redhat.com>
509 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
511 (compile_range): Handle index being passed, not pointer.
512 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
514 * posix/regex.c: Fix a cast in the code for bracket handling which
515 caused 8-bit uncleanliness.
516 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
518 * posix/Makefile (tests): Add bug-regex1.
519 * posix/bug-regex1.c: New file.
520 Contributed by Jim Meyering <jim@meyering.net>.
522 * posix/regex.c: Many cleanups for incorrect format strings.
524 2001-02-06 Andreas Jaeger <aj@suse.de>
526 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
528 2001-02-06 Ulrich Drepper <drepper@redhat.com>
530 * locale/programs/locale.c (write_locales): Use scandir to read
531 directory so that the entries are sorted.
533 2001-02-06 Andreas Jaeger <aj@suse.de>
535 * include/pthread.h: New file.
537 * wctype/wctype.h: Move internal interfaces from here to...
538 * include/wctype.h: ...here.
540 * wcsmbs/wchar.h: Move __wcslen from here to...
541 * include/wchar.h: ...here.
543 * posix/sys/wait.h: Move __wait from here to...
544 * include/sys/wait.h: ...here.
546 * string/string.h: Move __ffs and __strerror_r from here to...
547 * include/string.h: ...here.
549 * stdlib/stdlib.h: Move __on_exit from here to...
550 * include/stdlib.h: ...here.
552 * libio/stdio.h: Move __vsnprintf from here to...
553 * include/stdio.h: ...here.
555 2001-02-06 Andreas Schwab <schwab@suse.de>
557 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
560 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
563 2001-02-06 Ulrich Drepper <drepper@redhat.com>
565 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
567 2001-02-06 Andreas Jaeger <aj@suse.de>
569 * elf/firstobj.c: Add prototype.
571 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
572 (truncate_wchar): Likewise.
574 2001-02-06 Ulrich Drepper <drepper@redhat.com>
576 * locale/programs/locale.c: Implement --verbose option for -a
577 which prints detailed information about the locales.
579 2001-02-05 Ulrich Drepper <drepper@redhat.com>
581 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
582 variable to uint32_t.
583 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
585 2001-02-04 Bruno Haible <haible@clisp.cons.org>
587 * locale/C-translit.h.in: Add transliterations for CJK units of
590 2001-02-05 Ulrich Drepper <drepper@redhat.com>
592 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
593 string. Include <inttypes.h> instead of <stdint.h>.
595 * localedata/Makefile (tests): Add bug-iconv-trans.
596 Define bug-iconv-trans-ENV.
597 * localedata/bug-iconv-trans.c: New file.
599 2001-02-04 Bruno Haible <haible@clisp.cons.org>
601 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
602 pointer, to avoid accumulating output from incomplete (unsuccessful)
603 transliteration attempts.
605 2001-02-05 Ulrich Drepper <drepper@redhat.com>
607 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
608 string. Include <inttypes.h> instead of <stdint.h>.
610 * configure.in: Add check for bison.
611 * config.make.in: Define BISON variable.
612 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
613 Rename YFLAGS to BISONFLAGS.
615 2001-02-05 Andreas Jaeger <aj@suse.de>
617 * io/test-lfs.c (do_test): Test lseek64 return value, call
619 (test_ftello): New function to test ftello64 and fseeko64.
621 * signal/signal.h: Move __sigaction from here to...
622 * include/signal.h: ...here.
624 * io/fcntl.h: Move __fcntl and __open to...
625 * include/fcntl.h: ...here.
627 2001-02-04 Philip Blundell <philb@gnu.org>
629 * configure.in: Distinguish ARM from Thumb.
631 2001-02-04 Philip Blundell <philb@gnu.org>
633 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
634 PC24 relocs with negative value.
636 2001-02-04 Ulrich Drepper <drepper@redhat.com>
638 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
639 files in locale/programs. Add CFLAGS definition to allow compiling
641 * iconv/dummy-repertoire.c: New file.
642 * iconv/iconv_charmap.c: New file.
643 * iconv/iconv_prog.h: New file.
644 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
645 (main): If parameter for -f and -t contain slashes try first to resolve
646 the strings as filenames of charmap files. Use them for conversion
648 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
649 iconv getting charmap names as parameters.
650 * locale/programs/linereader.c (lr_token): Take extra parameters
651 verbose and pass it to get_string.
652 (get_string): Take extra parameters verbose.
653 * locale/programs/charmap.c (parse_charmap): Take extra parameters
654 verbose and be_quiet. Change all callers of lr_token and
656 * locale/programs/charmap.h: Likewise.
657 * locale/programs/ld-address.c: Likewise.
658 * locale/programs/ld-collate.c: Likewise.
659 * locale/programs/ld-ctype.c: Likewise.
660 * locale/programs/ld-identification.c: Likewise.
661 * locale/programs/ld-measurement.c: Likewise.
662 * locale/programs/ld-messages.c: Likewise.
663 * locale/programs/ld-monetary.c: Likewise.
664 * locale/programs/ld-name.c: Likewise.
665 * locale/programs/ld-numeric.c: Likewise.
666 * locale/programs/ld-paper.c: Likewise.
667 * locale/programs/ld-telephone.c: Likewise.
668 * locale/programs/ld-time.c: Likewise.
669 * locale/programs/linereader.c: Likewise.
670 * locale/programs/linereader.h: Likewise.
671 * locale/programs/localedef.c: Likewise.
672 * locale/programs/locfile.c: Likewise.
673 * locale/programs/locfile.h: Likewise.
674 * locale/programs/repertoire.c: Likewise.
676 2001-02-03 Ulrich Drepper <drepper@redhat.com>
678 * iconv/iconv_prog.c (main): If output file name is "-" write to
680 (main): If -f or -t argument is missing use charset of the current
683 2001-02-03 Andreas Jaeger <aj@suse.de>
685 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
686 boundary for SSE/SSE-2 alignment.
688 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
691 2001-02-03 Ulrich Drepper <drepper@redhat.com>
693 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
694 Remove comma at end of enum.
696 * elf/dl-init.c: Add a few __builtin_expect.
698 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
700 2001-02-02 Ulrich Drepper <drepper@redhat.com>
702 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
703 errno is ECONNREFUSED.
705 * posix/Makefile: Define MBS_SUPPORT for regex.c.
706 * posix/regex.c: Implement multibyte character handling.
707 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
709 * string/tst-svc.input: Add two more test cases.
710 * string/tst-svc.expect: Modify to reflect new test cases.
712 2001-02-01 Jakub Jelinek <jakub@redhat.com>
714 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
715 tp->name tests with tp->name[0] tests.
717 2001-01-29 Ben Collins <bcollins@debian.org>
719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
720 Fix check for name == NULL.
722 2001-02-01 Ulrich Drepper <drepper@redhat.com>
724 * elf/Makefile: Add rules to build and run initfirst test.
725 * elf/initfirst.c: New file.
726 * elf/firstobj.c: New file.
728 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
729 * configure.in: Test for -z initfirst linker option.
730 * config.make.in: Add have-z-initfirst.
731 * elf/dl-init.c (_dl_init): Split out actual initialization code in
732 new function call_init. If _dl_initfirst is non-NULL initialize first.
733 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
734 remember object in _dl_initfirst.
735 * elf/soinit.c: Remove special support for calling
736 __pthread_initialize_minimal.
738 * conform/conformtest.pl: Add missing $prepend in type test.
740 2001-01-31 Ulrich Drepper <drepper@redhat.com>
742 * elf/elf.h (SHT_CHECKSUM): New definition.
744 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
745 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
746 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
748 2001-01-31 Mark Kettenis <kettenis@gnu.org>
750 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
751 to get definition of `struct timeval'.
753 2001-01-31 Ulrich Drepper <drepper@redhat.com>
755 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
756 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
758 2001-01-30 Ulrich Drepper <drepper@redhat.com>
760 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
763 * nis/nis_findserv.c: Include <time.h>.
765 2001-01-30 Yong Li <yong.li@asu.edu>
767 * iconv/iconv_prog.c (main): Correct error handling method name.
769 2001-01-29 Ben Collins <bcollins@debian.org>
771 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
772 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
773 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
774 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
776 2001-01-30 Ulrich Drepper <drepper@redhat.com>
778 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
779 Patch by Marko Myllynen <myllynen@lut.fi>.
781 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
782 (int instead of char).
783 (__strpbrk_c3): Likewise.
784 Reported by GOTO Masanori <gotom@debian.or.jp>.
786 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
787 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
788 * include/sys/socket.h: Add SA_LEN here for internal use.
789 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
791 2001-01-29 Ulrich Drepper <drepper@redhat.com>
793 * malloc/Makefile: Don't build memusagestat if cross-compiling.
795 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
797 * math/libm-test.inc (rint_test): Add a few more tests for round
800 2001-01-28 Ulrich Drepper <drepper@redhat.com>
802 * conform/data/pthread.h-data: Correct return type of pthread_exit.
804 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
806 * conform/data/stdlib.h-data: Add _Exit.
808 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
809 if not already happened.
810 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
811 Don't include <limits.h> and <bits/sockaddr.h>.
813 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
815 * conform/data/spawn.h-data: Allow all of <sched.h>.
817 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
820 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
821 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
823 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
825 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
826 * libio/stdio.h: Define va_list correctly.
828 * conform/data/pthread.h-data: Make priority protocol related
829 functions optional. Fix typos.
831 * posix/sched.h: Define sched_priority as __sched_priority.
832 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
834 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
836 2001-01-27 Ulrich Drepper <drepper@redhat.com>
838 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
841 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
842 * sysdeps/unix/time.c: Likewise.
844 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
845 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
846 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
847 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
848 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
849 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
850 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
851 * time/time.h: Likewise.
853 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
854 * conform/data/complex.h-data: New file.
855 * conform/data/tgmath.h-data: New file.
857 * conform/data/wchar.h-data: Add missing functions.
859 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
861 * conform/data/termios.h-data: Add missing const in tcsetattr()
864 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
865 Don't define pid_t here.
867 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
869 * conform/data/sys/time.h-data: Allow sys/select.h.
870 * conform/data/sys/un.h-data: Fix typo.
871 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
872 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
874 * sysdeps/unix/clock_nanosleep.c: Likewise.
875 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
876 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
877 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
878 * sysdeps/unix/clock_settime.c: Likewise.
880 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
881 * login/getutent.c: Likewise.
882 * login/getutid.c: Likewise.
883 * login/getutline.c: Likewise.
885 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
887 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
888 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
889 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
890 f_fsid field after change in struct statvfs.
891 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
892 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
895 * conform/data/sys/stat.h-data: Remove isfdtype. Use
898 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
899 recvfrom, send, and socketpair prototypes. Add allow lines.
900 * socket/sys/socket.h: Include <sys/uio.h>.
901 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
902 Fix type of second parameter of listen.
903 Don't declare isfdtype unless __USE_MISC.
904 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
905 * sysdeps/mach/hurd/listen.c: Likewise.
906 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
907 ss_family and __ss_family.
908 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
909 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
910 (struct msghdr): Change type of msg_iovlen to int and type of
911 msg_controllen to socklen_t.
912 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
913 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
914 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
915 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
916 (rresvport_af): Likewise.
918 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
919 * conform/conformtest.pl: Implement handling of symbol.
921 * signal/signal.h: Fix handling of __need_* symbols.
922 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
923 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
924 * include/sys/select.h: Use fd_set not __fd_set.
925 * sysdeps/generic/bits/select.h: Likewise.
926 * sysdeps/i386/bits/select.h: Likewise.
927 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
928 __FDELT, __FDMASK, and __fd_set here.
929 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
930 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
931 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
932 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
933 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
934 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
936 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
937 * time/sys/time.h: Define struct timeval before including <time.h>
940 * conform/data/sys/time.h-data: fd_set is a typedef.
941 * conform/data/sys/select.h-data: New file.
942 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
943 * conform/conformtest.pl (@headers): Add sys/select.h.
944 (type, optional-type): Unless testing a typedef instantiate object.
945 Implement optional-function.
947 * math/test-misc.c: Include <float.h>.
949 2001-01-27 Andreas Jaeger <aj@suse.de>
951 * misc/efgcvt_r.c: Include <float.h>.
953 2001-01-26 Ulrich Drepper <drepper@redhat.com>
955 * conform/data/stdlib.h-data: Account for XPG6 changes.
956 * stdlib/stdlib.h (__random): Change return value type to long.
957 (posix_memalign): Cleanup parameter names.
958 (setenv, unsetenv): Make available for __USE_XOPEN2K.
959 Change return type of unsetenv to int.
960 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
961 * include/stdlib.h: Change return type of unsetenv to int.
962 Change return type of random to long int.
963 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
964 Return -1 and set errno if parameter is invalid.
965 * stdlib/random.c (__random): Change return value type to long.
967 * conform/data/stdio.h-data: Account for changes in XPG6.
969 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
972 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
973 * conform/data/signal.h-data: Fix sigev_notify_function entry.
974 Fix typo (SIGVALRM -> SIGVTALRM).
975 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
977 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
978 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
979 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
981 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
983 * conform/conformtest.pl: Implement optional-element. Define
984 $mustprepend{"sched.h"}.
985 * conform/data/sched.h-data: Make sporadic scheduler definitions
988 * pwd/pwd.h: Don't define getpwent_r for XPG.
990 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
991 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
992 * sysdeps/mach/hurd/poll.c: Likewise.
993 * sysdeps/unix/bsd/poll.c: Likewise.
994 * sysdeps/unix/sysv/linux/poll.c: Likewise.
995 * sysdeps/unix/sysv/aix/poll.c: Likewise.
996 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
997 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
998 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
999 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1001 * conform/data/poll.h-data: Fix typo in poll prototype.
1003 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
1005 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
1007 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
1009 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
1011 * conform/conformtest.pl: Implement optional-type.
1013 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
1014 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
1015 defining uint32_t here. Define IPPORT_RESERVED.
1016 (struct hostent): Type of h_length element is int.
1017 (getnameinfo): Type of flags parameter is unsigned int.
1018 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
1019 * conform/data/netdb.h-data: Add many missing definitions.
1021 * conform/conformtest.pl: Implement optional-macro.
1022 * conform/data/math.h-data: Update for XPG6.
1024 * math/math.h (HUGE): Define as FLT_MAX value but don't use
1025 FLT_MAX. Don't include <float.h>.
1026 (MAXFLOAT): Likewise.
1028 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
1030 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
1032 * conform/data/limits.h-data: Mark constants as optional wherever
1035 * posix/bits/posix2_lim.h: Set correct values for
1036 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
1039 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
1042 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
1044 * conform/data/netinet/in.h-data: Add reserved prefixes.
1046 * conform/data/arpa/inet.h-data: Fix a few typos.
1048 2001-01-26 Andreas Jaeger <aj@suse.de>
1050 * sysdeps/generic/strtol.c: Include <locale.h>
1051 * stdlib/strtod.c: Likewise
1052 * stdlib/strfmon.c: Likewise.
1053 * string/strcoll.c: Likewise.
1054 * string/strxfrm.c: Likewise.
1055 * wctype/wcfuncs_l.c: Likewise.
1056 * wctype/wctype_l.c: Likewise.
1057 * wctype/wctrans_l.c: Likewise.
1059 * include/bits/locale.h: New file.
1061 2001-01-26 Ulrich Drepper <drepper@redhat.com>
1063 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
1066 * locale/Makefile (headers): Add bits/locale.h.
1067 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
1068 and use __LC_ constants instead of LC_.
1069 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
1070 using __LC_ constants.
1071 * locale/bits/locale.h: New file.
1072 * locale/loadlocale.c: Include <locale.h>.
1073 * locale/nl_langinfo.h: Likewise.
1075 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
1077 * io/sys/stat.h: Define S_IFSOCK for XPG6.
1079 * conform/data/fcntl.h-data: posix_madvise is not expected here.
1081 * conform/conformtest.pl: Fix handling of macro-str.
1083 * conform/data/inttypes.h-data: Add missing definition and all of
1086 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
1088 2001-01-25 Ulrich Drepper <drepper@redhat.com>
1090 * conform/conformtest.pl (@headers): Add stdint.h.
1091 * conform/data/stdint.h-data: New file.
1093 * conform/conformtest.pl: Recognize options --headers and
1094 --dialect. Add dialect-specific CFLAGS.
1096 * conform/conformtest.pl: Implement handling of recursive
1099 * conform/data/locale.h-data: Add new struct lconv members.
1101 * posix/wordexp.h: Correct definition of wordexp_t.
1102 * posix/wordexp.c: Moved to ...
1103 * sysdeps/generic/wordexp.c: ...here. New file.
1104 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
1105 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
1107 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
1109 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
1112 * math/tgmath.h: Pretty printing.
1114 * math/Makefile (tests): Add test-tgmath.
1115 (CFLAGS-test-tgmath.c): New variable.
1116 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
1118 * conform/conformtest.pl: Handle allow-header in secondary headers
1121 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
1124 * conform/data/netinet/in.h-data: Use correct comment character.
1125 * conform/data/sys/stat.h-data: Likewise.
1127 2001-01-25 Jakub Jelinek <jakub@redhat.com>
1129 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
1130 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
1131 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
1132 __builtin_classify_type, add ##f suffixes where appropriate.
1133 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
1134 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
1135 __builtin_classify_type.
1136 (fma): Fix spelling of first argument.
1138 2001-01-25 Ulrich Drepper <drepper@redhat.com>
1140 * conform/data/unistd.h-data: Mark functions removed in XPG6
1143 * posix/unistd.h: Don't make functions removed in XPG6 available if
1146 * conform/conformtest.pl: Implement optional-constant.
1147 * conform/data/unistd.h-data: Use optional-constant wherever
1150 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
1151 constants and add _SC_STREAMS.
1152 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1154 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
1155 make old name weak alias.
1156 * sysdeps/generic/statvfs64.c: Likewise.
1157 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
1158 make old name weak alias.
1159 * sysdeps/generic/fstatvfs64.c: Likewise.
1160 * include/sys/statvfs.h: New file.
1162 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
1163 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
1165 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
1166 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
1167 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
1168 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1170 * conform/conformtest.pl: Run Unix tests for XPG6.
1171 Implement handling of known namespace violations.
1172 Improve printing of results.
1174 * posix/unistd.h (usleep): Correct return type.
1175 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
1176 * sysdeps/unix/bsd/usleep.c: Correct return type.
1177 * sysdeps/mach/usleep.c: Correct return type.
1178 * sysdeps/generic/usleep.c: Correct return type.
1180 * posix/unistd.h (sync): Correct return type.
1181 * sysdeps/generic/sync.c: Likewise.
1182 * sysdeps/mach/hurd/sync.c: Likewise.
1184 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
1186 * posix/unistd.h: Make seteuid and setegid available for XPG6.
1188 * wcsmbs/wchar.h: Get FILE definition for XPG5.
1190 * conform/data/ctype.h-data: Use correct comment form.
1191 * conform/data/errno.h-data: Likewise.
1192 * conform/data/math.h-data: Likewise.
1193 * conform/data/mqueue.h-data: Likewise.
1194 * conform/data/netdb.h-data: Likewise.
1195 * conform/data/pthread.h-data: Likewise.
1197 2001-01-24 Ulrich Drepper <drepper@redhat.com>
1199 * conform/data/wordexp.h-data: Fix typo.
1201 * conform/conformtest.pl: Handle allow-header correctly.
1203 * conform/data/time.h-data: Use correct comment form.
1205 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
1207 * configure.in: Comment out binutils version test.
1209 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
1211 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
1213 * stdlib/tst-strtod.c (locale_test): New function.
1214 (main): Call locale_test.
1215 * stdlib/Makefile (tst-strtod-ENV): New variable.
1217 2001-01-24 Mark Kettenis <kettenis@gnu.org>
1219 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
1220 declaration of value such that we actually return the value of the
1221 environment variable.
1223 2001-01-24 Andreas Jaeger <aj@suse.de>
1225 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
1227 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1229 * include/sys/sysctl.h: New file.
1231 2001-01-23 Andreas Jaeger <aj@suse.de>
1233 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
1236 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
1237 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
1238 closes PR libc/2039.
1240 * manual/install.texi (Tools for Compilation): Change required
1243 2001-01-22 Andreas Jaeger <aj@suse.de>
1245 * configure.in: Add test for new enough binutils version, move
1246 compiler/binutils test up.
1248 * Versions.def: Add version GLIBC_2.2.2.
1250 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1252 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
1254 * iconvdata/testdata/IBM932: New file.
1255 * iconvdata/testdata/IBM932..UTF8: New file.
1256 * iconvdata/testdata/IBM943: New file.
1257 * iconvdata/testdata/IBM943..UTF8: New file.
1258 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
1260 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1262 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
1264 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1266 * malloc/malloc.c: Remove a few unnecessary initializers of global
1269 2000-12-09 H.J. Lu <hjl@gnu.org>
1271 * nss/Makefile (routines): Add digits_dots.
1272 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
1273 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
1275 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
1277 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
1278 (TYPE_VAR_P): Likewise.
1279 (FLAGS_VAR): Likewise.
1280 (AF_VAR_P): Likewise.
1281 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1282 instead of including digits_dots.c.
1283 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
1284 (TYPE_VAR_P): Likewise.
1285 (FLAGS_VAR): Likewise.
1286 (AF_VAR_P): Likewise.
1287 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1288 instead of including digits_dots.c.
1290 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1292 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
1294 2001-01-21 Andreas Jaeger <aj@suse.de>
1296 * elf/constload2.c: Add prototype for init.
1298 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1300 * stdlib/stdlib.h (drand48_data): Make available only for
1301 __USE_MISC. Rename elements to protect namespace. Change type
1302 and position of a and init element.
1303 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
1304 differently. Adjust for drand48_data change. Don't compute a here,
1305 it comes from drand48_data.
1306 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
1307 differently. Adjust for drand48_data change. Compute a here.
1308 * stdlib/srand48_r.c: Likewise.
1309 * stdlib/drand48.c: Adjust for drand48_data change.
1310 * stdlib/lrand48.c: Likewise.
1311 * stdlib/mrand48.c: Likewise.
1312 * stdlib/seek48.c: Likewise.
1313 * stdlib/drand48_r.c: Likewise.
1314 * stdlib/lrand48_r.c: Likewise.
1315 * stdlib/mrand48_r.c: Likewise.
1316 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
1318 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
1319 * stdlib/jrand48_r.c: Likewise.
1321 * po/sv.po: Update from translation team.
1323 2001-01-21 Andreas Jaeger <aj@suse.de>
1325 * stdio-common/vfprintf.c (vfprintf): Add casts.
1327 2001-01-20 Ulrich Drepper <drepper@redhat.com>
1329 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
1331 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
1333 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
1334 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
1335 * iconvdata/ibm932.c: New file.
1336 * iconvdata/ibm932.h: New file.
1337 * iconvdata/ibm943.c: New file.
1338 * iconvdata/ibm943.h: New file.
1339 Patches by Masahide Washizawa <washi@jp.ibm.com>.
1341 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
1342 preventing optimization from being done. Set the correct type bit
1343 in seen. Don't define and use _dl_base_addr unless
1344 NEED_DL_BASE_ADDR is defined.
1346 * io/ftw.c (ftw_dir): Add slash after directory name if there
1347 wasn't any. Reported by loris <loris@iol.it>.
1348 * io/Makefile (tests): Add bug-ftw2.
1349 * io/bug-ftw2.c: New file.
1351 2001-01-19 Ulrich Drepper <drepper@redhat.com>
1353 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
1354 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
1355 * stdlib/tst-rand48.c: New file.
1356 * stdlib/Makefile (tests): Add tst-rand48.
1358 * locale/newlocale.c (__newlocale): Fix test for setting all
1361 2001-01-19 Mark Kettenis <kettenis@gnu.org>
1363 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
1364 but change looking up the initial directory port in a similar way
1365 as done by _hurd_change_directory_port_from_name.
1366 * hurd/fchroot.c (fchroot): Likewise.
1368 2001-01-18 Ulrich Drepper <drepper@redhat.com>
1370 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
1371 defined don't look whether the AT_*ID values were set.
1372 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
1373 (_dl_show_auxv): Rewrite to avoid switch statement.
1374 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1375 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
1376 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
1377 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
1379 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
1380 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1381 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1383 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
1385 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
1386 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
1388 * dlfcn/eval.c (__strtol_internal): Define here.
1389 (eval): Use __strtol_internal instead of strtol.
1391 * elf/elf.h: Add a few more EF_MIPS_* constants.
1393 2001-01-17 Ulrich Drepper <drepper@redhat.com>
1395 * manual/Makefile (chapters): Add debug.
1396 * manual/debug.texi: New file.
1397 * manual/examples/execinfo.c: New file.
1398 Patch by suckfish@ihug.co.nz.
1400 2001-01-17 Andreas Schwab <schwab@suse.de>
1402 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
1405 2001-01-17 Andreas Jaeger <aj@suse.de>
1407 * nscd/connections.c (nscd_run): Use proper format specifier.
1409 2001-01-16 Ulrich Drepper <drepper@redhat.com>
1411 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
1412 x86_platforms data into new file after prepending _dl_. Change
1414 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
1415 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
1416 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
1419 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
1421 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
1422 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
1423 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
1424 (_setjmp): Likewise.
1425 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
1426 * sysdeps/i386/bsd-setjmp.S: Real implementation.
1427 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
1428 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
1431 2001-01-16 Andreas Jaeger <aj@suse.de>
1433 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
1434 misapplied last patch.
1436 2001-01-15 Ulrich Drepper <drepper@redhat.com>
1438 * stdlib/random.c (__initstate): Clean up a cast.
1439 (__setstate): Likewise.
1441 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
1442 syscall handling. The generic Linux version should work.
1444 2001-01-15 Andreas Jaeger <aj@suse.de>
1446 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1448 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
1450 2001-01-14 Jakub Jelinek <jakub@redhat.com>
1452 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
1453 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
1455 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
1456 If number is 0, list all.
1457 (services_keys): Likewise. Lookup aliases as well.
1458 (databases): New table.
1459 (build_doc): Prepare argp doc text with list of supported databases.
1460 (main): Change to table driven processing.
1462 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
1464 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1467 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1469 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1470 encode value which does not fit in the 32bit type.
1472 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
1474 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1475 Change type of CTX to (struct sigcontext *).
1476 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1477 (GET_FRAME): Likewise.
1478 (GET_STACK): Likewise.
1479 (SIGCONTEXT): Likewise. Add 2nd arg _code.
1480 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1482 2001-01-13 Ulrich Drepper <drepper@redhat.com>
1484 * manual/texinfo.tex: Update from upstream version.
1486 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1488 * inet/ether_ntoh.c (lookup_function): Change arguments to match
1489 _nss_*_getntohost_r prototype.
1490 (ether_ntohost): Pass errno pointer to NSS function.
1492 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1494 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1495 (MAP_LOCKED): New definition.
1496 (MAP_NORESERVE): New definition.
1498 2001-01-12 Ulrich Drepper <drepper@redhat.com>
1500 * assert/assert.h: Use static_cast instead of C-style cast for C++.
1501 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1503 2001-01-12 Ben Collins <bcollins@debian.org>
1505 * sysdeps/generic/segfault.c (install_handler): Use access, not
1508 2001-01-12 Andreas Jaeger <aj@suse.de>
1510 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1511 * posix/wordexp.c (do_parse_glob): Likewise.
1512 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1513 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1514 * elf/dl-open.c (_dl_open): Likewise.
1515 * elf/dl-close.c (_dl_close): Likewise.
1516 * elf/dl-load.c (_dl_map_object): Likewise.
1517 * iconv/iconv_prog.c (process_fd): Likewise.
1518 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1520 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1521 of a zero-length array.
1523 2001-01-11 Jakub Jelinek <jakub@redhat.com>
1525 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1526 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1527 * stdlib/cxa_on_exit.c: Remove.
1528 * stdlib/Makefile: Revert last patch.
1529 * stdlib/Versions: Likewise.
1530 * include/stdlib.h: Likewise.
1531 * stdlib/exit.h: Revert last patch.
1532 (struct exit_function): Add second argument to cxa fn.
1533 * stdlib/exit.c: Revert last patch.
1534 (exit): Add hidden second argument.
1536 2001-01-11 H.J. Lu <hjl@gnu.org>
1538 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1539 * elf/dl-open.c (_dl_open): Here.
1540 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1542 (_dl_static_init): Initialize the variables every time when possible.
1543 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1546 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1548 * stdlib/Makefile (routines): Add cxa_on_exit.
1549 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1550 * stdlib/cxa_on_exit.c: New file.
1551 * include/stdlib.h: Add prototype for __cxa_on_exit.
1552 * stdlib/exit.c: Handle ef_cxa2.
1553 * stdlib/exit.h (enum): Add ef_cxa2.
1554 (struct exit_function): Add cxa2.
1556 * Versions.def [ld]: Add GLIBC_2.2.1.
1558 2001-01-10 H.J. Lu <hjl@gnu.org>
1560 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1561 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1563 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1564 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1565 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1566 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1567 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1569 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1571 * libio/stdio.h: Remove definition of off_t.
1573 2001-01-11 Andreas Jaeger <aj@suse.de>
1575 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1578 2001-01-10 Ulrich Drepper <drepper@redhat.com>
1580 * sunrpc/Makefile (distribute): Add errqueue.h.
1582 2001-01-10 H.J. Lu <hjl@gnu.org>
1584 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1585 r9, r10 and r11 for language specific registers.
1587 2001-01-10 Jakub Jelinek <jakub@redhat.com>
1589 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1591 (clntudp_call): Handle MSG_ERRQUEUE.
1592 * sysdeps/generic/errqueue.h: New file.
1593 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1595 2001-01-10 H.J. Lu <hjl@gnu.org>
1597 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1599 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1601 * CONFORMANCE: Update.
1603 2001-01-09 Ulrich Drepper <drepper@redhat.com>
1605 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1606 Minimal cleanups. Add assert to ensure memory handling is correct.
1608 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1609 Reported by Ben Collins <bcollins@debian.org>.
1611 * time/strftime.c (my_strftime): Mark previous GNU extensions
1612 which are now in C99 as such.
1614 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1616 * elf/rtld.c (process_envvars): Place output files for profiling
1617 in SUID binaries in /var/profile.
1619 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1620 preloading in SUID binaries.
1622 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1623 O_NOFOLLOW if possible.
1625 * include/stdlib.h: Add __posix_openpt declaration.
1626 * stdlib/stdlib.h: Add posix_openpt declaration.
1627 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1628 * sysdeps/generic/getpt.c: Define posix_openpt.
1629 * sysdeps/unix/bsd/getpt.c: Likewise.
1630 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1632 * time/Makefile (tests): Add tst-mktime.
1633 * time/tst-mktime.c: New file.
1635 * posix/tst-dir.c (main): One more mkdir() test.
1637 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1638 Remove getpagesize syscall. We assume that the pagesize is always
1639 determined from the auxiliary vector.
1641 * intl/dcigettext.c: Fix a few warnings.
1642 Patch by Bruno Haible <haible@ilog.fr>.
1644 2001-01-08 Andreas Jaeger <aj@suse.de>
1646 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1647 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1649 2001-01-08 Ulrich Drepper <drepper@redhat.com>
1651 * sysdeps/generic/segfault.c (install_handler): Check output file
1654 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1655 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1657 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1659 * malloc/memusage.c (me): Use access() to determine whether we
1660 should write the output file or not.
1662 * libio/bits/stdio.h (printf): Define macro to map printf call to
1663 fprintf which gcc can optimize.
1664 * stdio-common/printf.c: Undefine printf.
1666 2001-01-07 Ulrich Drepper <drepper@redhat.com>
1668 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1669 patch. We must use unsigned int for l member of union.
1671 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1672 _dl_aux_init for shared libraries.
1674 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1675 * sysdeps/gnu/glob64.c: ...here. New file.
1677 2001-01-07 Ben Collins <bcollins@debian.org>
1679 * manual/examples/longopt.c: Make the "struct option" a little
1680 more like it should be, adding usage of required_argument,
1681 noargument and such, and also setting the options string right.
1683 * manual/sysinfo.texi (Load Average): New section, documents
1686 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1688 * version.h (VERSION): Bump to 2.2.1.
1690 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1691 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1692 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1693 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1694 * Makefile (distribute): Add include/libc-internal.h.
1695 * libio/Makefile (distribute): Avoid overwriting.
1697 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1698 buffer and table handling.
1700 2001-01-05 H.J. Lu <hjl@gnu.org>
1702 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1703 vector checking to ...
1704 (_dl_aux_init): Here. New function. Defined only if
1705 HAVE_AUX_VECTOR is defined.
1707 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1708 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1710 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1713 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1714 (HAVE_AUX_VECTOR): Defined.
1715 (_dl_aux_init): Declared.
1717 2001-01-05 Ben Collins <bcollins@debian.org>
1719 * manual/string.texi (Finding Tokens in a String): Document XPG
1720 basename() and dirname(), as well as GNU basename().
1722 2001-01-05 Jakub Jelinek <jakub@redhat.com>
1724 * Makeconfig (preprocess-version): Replace -traditional with
1725 -x assembler-with-cpp.
1727 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1729 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1730 for GCC 2.97 or later.
1732 2001-01-05 Ben Collins <bcollins@debian.org>
1734 * manual/stdio.texi (getline): Clarify the return value in the
1735 case of EOF being reached before a newline.
1737 2001-01-04 Jakub Jelinek <jakub@redhat.com>
1739 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1741 (pmap_set, pmap_unset): Check __get_myaddress return value.
1743 2001-01-05 Mark Kettenis <kettenis@gnu.org>
1745 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1746 (struct ether_addr): Declare ether_addr_octet member as
1747 `u_int8_t'. Add __attribute__ ((__packed__)).
1749 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1751 * sysdeps/mach/hurd/readdir64.c: New file.
1752 * sysdeps/mach/hurd/readdir64_r.c: New file.
1754 2001-01-07 Mark Kettenis <kettenis@gnu.org>
1756 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1757 `struct statfs' and `struct statvfs' being identical.
1758 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1760 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1762 * sysdeps/mach/hurd/fstatfs64.c: New file.
1763 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1764 * sysdeps/mach/hurd/statfs64.c: New file.
1765 * sysdeps/mach/hurd/statvfs64.c: New file.
1766 * sysdeps/mach/hurd/statfsconv.c: New file.
1767 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1769 2001-01-06 Ulrich Drepper <drepper@redhat.com>
1771 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1772 Reported by Owen Taylor <otaylor@redhat.com>.
1773 * iconv/Makefile (tests): Add tst-iconv3.
1774 * iconv/tst-iconv3.c: New file.
1776 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1777 * iconvdata/ibm933.c: Likewise.
1778 * iconvdata/ibm935.c: Likewise.
1779 * iconvdata/ibm937.c: Likewise.
1780 * iconvdata/ibm939.c: Likewise.
1781 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1782 * iconvdata/ibm933.h: Likewise.
1783 * iconvdata/ibm935.h: Likewise.
1784 * iconvdata/ibm939.h: Likewise.
1786 * iconvdata/testdata/IBM930: Add misssing SI.
1787 * iconvdata/testdata/IBM933: Likewise.
1788 * iconvdata/testdata/IBM935: Likewise.
1789 * iconvdata/testdata/IBM937: Likewise.
1790 * iconvdata/testdata/IBM939: Likewise.
1792 2001-01-06 Andreas Jaeger <aj@suse.de>
1794 * configure.in: Check for old add-ons that shouldn't be used with
1795 current glibc anymore.
1797 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1799 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1800 instead of -1 on failure. Don't forget to copy file name into
1801 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1804 2001-01-06 Mark Kettenis <kettenis@gnu.org>
1806 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1807 copy st_atime member.
1809 2001-01-05 Ulrich Drepper <drepper@redhat.com>
1811 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1812 for searches from the root directory.
1813 Reported by loris <loris@iol.it> [PR libc/1991].
1814 * io/Makefile (tests): Add bug-ftw1.
1815 * io/bug-ftw1.c: New file.
1817 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1818 if it is not available. Instead use it only if it is available.
1819 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1821 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1822 overflowing output buffer.
1823 (internal_ucs4_loop_unaligned): Likewise.
1824 (ucs4_internal_loop): Likewise.
1825 (ucs4_internal_loop_unaligned): Likewise.
1826 (internal_ucs4le_loop): Likewise.
1827 (internal_ucs4le_loop_unaligned): Likewise.
1828 (ucs4le_internal_loop): Likewise.
1829 (ucs4le_internal_loop_unaligned): Likewise.
1830 Reported by Owen Taylor <otaylor@redhat.com>.
1831 * iconv/Makefile (tests): Add tst-iconv2.
1832 * iconv/tst-iconv2.c: New file.
1834 2001-01-04 H.J. Lu <hjl@gnu.org>
1836 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
1837 (_dl_clktck): Declared.
1838 (non_dynamic_init): Take 3 arguments.
1839 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1841 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1843 Finish implementation of plural form handling.
1844 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1845 'domainname'. Remove 'plindex' field. Add 'domain' and
1846 'translation_length' fields.
1847 (transcmp): Don't compare 'plindex' fields.
1848 (plural_lookup): New function.
1849 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1850 plural_eval before the translation and its catalog file have been
1851 found. Remove plindex from cache key. Add 'translation_length' and
1852 'domain' to cache result.
1853 (_nl_find_msg): Remove index argument, return length of translation
1854 to the caller instead. Weaken comparison of string lengths, to account
1855 for plural entries. Call iconv() on the entire result string, not
1856 only on the portion needed so far.
1857 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1859 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1861 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1863 * intl/plural.y (yylex): Minimal improvement in number scanner.
1865 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1867 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1868 C compilers that don't support it.
1869 (yylex): Don't use gcc specific case range syntax.
1870 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1873 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1875 * intl/finddomain.c: Remove unneeded includes.
1877 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1879 * intl/localealias.c (memcpy): Return first argument, just like the
1880 real memcpy function does.
1881 * intl/bindtextdom.c (memcpy): Likewise.
1882 * intl/finddomain.c (memcpy): Likewise.
1883 * intl/l10nflist.c (memcpy): Likewise.
1884 * intl/textdomain.c (memcpy): Likewise.
1885 From Paul Eggert <eggert@twinsun.com>.
1887 2001-01-03 Jakub Jelinek <jakub@redhat.com>
1889 * resolv/resolv.h (struct __res_state): Add nsinit field.
1890 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1891 * resolv/res_init.c (__res_vinit): Initialize it.
1892 (res_nclose): Clear it instead of nscount.
1894 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1896 * malloc/mtrace.pl: Fix matching of addresses.
1897 Patch by Aharon Robbins <arnold@skeeve.com>.
1899 * Versions.def (ld): Add GLIBC_2.2.
1901 * catgets/gencat.c: Copyright 2001.
1902 * csu/version.c: Likewise.
1903 * debug/catchsegv.sh: Likewise.
1904 * debug/xtrace.sh: Likewise.
1905 * elf/ldconfig.c: Likewise.
1906 * elf/sprof.c: Likewise.
1907 * iconv/iconv_prog.c: Likewise.
1908 * locale/locale.c: Likewise.
1909 * locale/localedef.c: Likewise.
1910 * malloc/memusage.sh: Likewise.
1911 * malloc/mtrace.pl: Likewise.
1912 * nscd/nscd.c: Likewise.
1913 * posix/getconf.c: Likewise.
1915 2001-01-04 Mark Kettenis <kettenis@gnu.org>
1917 * include/stdio.h: Only provide __getwc_unlocked prototype if
1918 USE_IN_LIBIO is defined.
1920 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1922 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1925 2001-01-03 Andreas Schwab <schwab@suse.de>
1927 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1928 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1930 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1931 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1933 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1934 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1937 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1939 * sysdeps/generic/strtol_l.c: Likewise.
1940 * sysdeps/generic/strtoul_l.c: Likewise.
1941 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1943 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1944 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1945 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1946 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1948 2001-01-04 Andreas Jaeger <aj@suse.de>
1950 * nss/nsswitch.c: Include files for missing prototypes, remove
1951 buggy declaration of prototypes.
1953 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1955 * resolv/Versions: Fix bracing.
1956 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1957 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1959 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1961 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1963 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1965 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1966 Suggested by Minko Markov <mmarkov@home.com>.
1968 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1970 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1971 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1973 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1975 2001-01-02 Ben Collins <bcollins@debian.org>
1977 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1978 if TZ is not set and TZDEFAULT is not present.
1980 2001-01-01 Ben Collins <bcollins@debian.org>
1982 * string/strings.h: Make sure we declare our functions even if
1983 string.h is already included, based on whether or not __USE_BSD is
1986 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1988 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1989 other dlopen() and dlsym().
1990 Based on a patch by Ben Collins <bcollins@debian.org>.
1992 2001-01-02 Andreas Jaeger <aj@suse.de>
1994 * dlfcn/errmsg1.c (main): Call dlerror initially.
1995 Reported by Ben Collins <bcollins@debian.org>.
1997 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1999 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
2000 value is ignored if the selected locale is the C locale.
2001 * intl/tst-gettext.c: Set locale for above change.
2002 * intl/tst-translit.c: Likewise.
2004 2001-01-02 Andreas Jaeger <aj@suse.de>
2006 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
2007 (_IO_switch_to_wget_mode): Likewise.
2008 (_IO_sputbackwc): Likewise.
2009 (_IO_sungetwc): Use wint_t for result.
2011 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
2013 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
2016 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
2017 to (int) to avoid warnings.
2018 * stdio-common/printf_fp.c (putc): Likewise.
2019 * stdio-common/printf_size.c (putc): Likewise.
2021 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
2024 2001-01-01 Andreas Jaeger <aj@suse.de>
2026 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
2028 2000-12-31 Andreas Jaeger <aj@suse.de>
2030 * include/libc-internal.h: Add prototype for __libc_freeres.
2032 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
2033 for prototypes, remove redundant prototypes.
2034 * gmon/gmon.c: Likewise.
2035 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2036 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
2037 * malloc/mtrace.c: Likewise.
2039 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
2041 * elf/soinit.c: Likewise.
2042 * sysdeps/generic/prof-freq.c: Likewise.
2043 * sysdeps/mach/hurd/profil.c: Likewise.
2044 * debug/noophooks.c: Likewise.
2045 * debug/pcprofile.c: Likewise.
2046 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2047 * sysdeps/generic/get_clockfreq.c: Likewise.
2048 * malloc/set-freeres.c: Likewise.
2050 * locale/localeinfo.h: Add internal prototypes.
2052 * elf/rtld.c (dl_main): Fix prototype.
2054 * iconvdata/tst-table-to.c (main): Use return instead of exit to
2057 * nis/rpcsvc/yp_prot.h: Remove __P.
2058 * nis/rpcsvc/ypupd.h: Likewise.
2059 * nis/rpcsvc/yp.h: Likewise.
2061 * sunrpc/rpc_main.c: Add noreturn attributes.
2062 * sunrpc/rpc_scan.h: Likewise.
2064 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
2066 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
2068 * sunrpc/proto.h: Add noreturn attributes to error and crash.
2070 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
2072 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
2074 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
2076 * include/rpc/rpc_msg.h: Add prototypes for some functions.
2077 * include/rpc/auth.h: Likewise.
2078 * include/rpc/auth_des.h: Likewise.
2079 * include/rpc/clnt.h: Likewise.
2080 * include/rpc/rpc.h: Likewise.
2081 * include/rpc/svc.h: Likewise.
2082 * include/rpc/svc_auth.h: Likewise.
2084 * include/rpc/des_crypt.h: New file.
2086 * malloc/memusagestat.c (main): Use return instead of exit to
2088 * io/pwd.c (main): Likewise.
2089 * iconvdata/tst-table-from.c (main): Likewise.
2090 * ctype/test_ctype.c (main): Likewise.
2091 * setjmp/tst-setjmp.c (main): Likewise.
2092 * signal/tst-signal.c (main): Likewise.
2093 * stdlib/tst-strtol.c (main): Likewise.
2094 * stdlib/tst-strtod.c (main): Likewise.
2095 * stdlib/tst-strtoll.c (main): Likewise.
2096 * stdlib/tst-xpg-basename.c (main): Likewise.
2097 * dirent/tst-seekdir.c (main): Likewise.
2098 * grp/testgrp.c (main): Likewise.
2099 * inet/test_ifindex.c (main): Likewise.
2100 * io/test-utime.c (main): Likewise.
2101 * posix/test-vfork.c (main): Likewise.
2102 * posix/testfnm.c (main): Likewise.
2103 * stdio-common/temptest.c (main): Likewise.
2104 * stdio-common/test_rdwr.c (main): Likewise.
2105 * stdio-common/tst-fileno.c (main): Likewise.
2106 * stdio-common/tst-sscanf.c (main): Likewise.
2107 * stdio-common/tstscanf.c (main): Likewise.
2108 * string/bug-strncat1.c (main): Likewise.
2109 * string/bug-strpbrk1.c (main): Likewise.
2110 * string/bug-strspn1.c (main): Likewise.
2111 * string/test-ffs.c (main): Likewise.
2112 * string/tst-inlcall.c (main): Likewise.
2113 * string/tst-svc.c (main): Likewise.
2114 * timezone/test-tz.c (main): Likewise.
2115 * wctype/test_wcfuncs.c (main): Likewise.
2116 * wctype/test_wctype.c (main): Likewise.
2118 * stdlib/tst-random.c: Add attribute noreturn to fail.
2120 2000-12-28 Wolfram Gloger <wg@malloc.de>
2122 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
2123 destination overlap. Assume dest is always below source if
2126 2000-12-30 Ulrich Drepper <drepper@redhat.com>
2128 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
2129 object was not yet initialized.
2131 2000-12-28 H.J. Lu <hjl@gnu.org>
2133 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
2134 is always consistent even if its dependency is failed.
2136 * elf/dl-open.c (_dl_open): Increment the open count before
2137 calling _dl_close () in case of failure.
2139 * elf/neededtest4.c: New file.
2140 * elf/neededobj5.c: New file.
2141 * elf/neededobj6.c: New file.
2143 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
2144 (tests): Add neededtest4.
2145 (modules-names): Add neededobj5 and neededobj6.
2146 ($(objpfx)neededobj6.so): New target.
2147 ($(objpfx)neededtest4): New target.
2148 ($(objpfx)neededtest4.out): New target.
2150 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
2152 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
2153 * stdlib/monetary.h: Add strfmon format attributes.
2155 2000-12-28 Roland McGrath <roland@frob.com>
2157 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
2158 __mempcpy does it for us.
2160 2000-12-28 Andreas Jaeger <aj@suse.de>
2162 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
2164 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
2167 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
2170 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
2173 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
2174 __chown_is_lchown and __real_chown.
2176 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
2179 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
2180 up GCC's warning about "deprecated use of label at end of compound
2182 * sunrpc/rpc_cout.c (emit_inline): Likewise.
2184 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
2186 Remove struct bb and __bb_head since those are declared by
2189 2000-12-22 Ben Collins <bcollins@debian.org>
2191 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
2193 * manual/argp.texi: Document argp_domain as part of struct argp.
2195 2000-12-28 Andreas Jaeger <aj@suse.de>
2197 * catgets/Makefile (generated): Add sample.SJIS.cat.
2199 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2201 * elf/dl-minimal.c: Add prototypes.
2203 * include/locale.h: Add internal prototypes.
2204 * include/sys/gmon.h: Likewise.
2206 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2208 2000-12-27 Ben Collins <bcollins@debian.org>
2210 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
2211 when reallocating the error strings.
2212 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2214 2000-12-27 Ulrich Drepper <drepper@redhat.com>
2216 * dlfcn/Makefile (tests): Add errmsg1.
2217 (modules-names): Add errmsg1mod.
2218 Add rules to run errmsg1.
2219 * dlfcn/errmsg1.c: New file.
2220 * dlfcn/errmsg1mod.c: New file.
2222 * dlfcn/dlerror.c (dlerror): Always create output string which
2223 includes object file name.
2225 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
2226 if we would go through it only once.
2227 Patch by Rick Gorton <rick.gorton@api-networks.com>.
2229 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
2230 Patch by Richard Henderson <rth@redhat.com>.
2232 2000-12-27 Jakub Jelinek <jakub@redhat.com>
2234 * malloc/malloc.c (memmove): Add prototypes.
2235 (MALLOC_MEMMOVE): Define.
2236 (chunk_realloc): Use it instead of MALLOC_COPY if source and
2237 destination might overlap.
2239 2000-12-27 Andreas Jaeger <aj@suse.de>
2241 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
2243 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2244 * locale/programs/locale.c (show_locale_vars): Likewise.
2245 (show_info): Likewise.
2246 * locale/programs/ld-collate.c (collate_output): Likewise.
2247 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2248 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2249 * stdlib/rpmatch.c (rpmatch): Likewise.
2251 * setjmp/tst-setjmp.c: Make local functions static.
2252 * setjmp/jmpbug.c: Likewise.
2253 * signal/tst-signal.c: Likewise.
2254 * stdio-common/tfformat.c: Likewise.
2255 * string/tst-svc.c: Likewise.
2256 * time/clocktest.c: Likewise.
2257 * time/tst-getdate.c: Likewise.
2258 * dirent/list.c: Likewise.
2259 * dirent/opendir-tst1.c: Likewise.
2260 * posix/runtests.c: Likewise.
2261 * posix/tst-getaddrinfo.c: Likewise.
2262 * posix/tst-chmod.c: Likewise.
2263 * posix/wordexp-test.c: Likewise.
2264 * misc/tst-efgcvt.c: Likewise.
2265 * timezone/tst-timezone.c: Likewise.
2266 * rt/tst-clock.c: Likewise.
2267 * rt/tst-shm.c: Likewise.
2268 * rt/tst-aio2.c: Likewise.
2269 * rt/tst-aio3.c: Likewise.
2270 * rt/tst-aio4.c: Likewise.
2271 * rt/tst-aio5.c: Likewise.
2273 * dlfcn/failtest.c: Add prototype for foo.
2275 * dlfcn/glrefmain.c: Add prototype for do_test.
2277 * dlfcn/tst-dladdr.c: Add prototype for do_test.
2279 * string/test-ffs.c (main): Add prototype for nested function.
2281 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
2283 * nss/XXX-lookup.c: Add prototype to shut up GCC.
2285 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
2286 setetherent prototype.
2287 Add internal interfaces.
2289 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
2290 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
2292 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
2294 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
2296 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
2297 prototypes, remove struct etherent since it's declared in ether.h.
2298 Fix ntohost declaration.
2300 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
2302 * include/getopt.h: Add internal interfaces.
2303 * include/termios.h: Likewise.
2304 * include/resolv.h: Likewise.
2305 * include/netdb.h: Likewise.
2306 * include/grp.h: Likewise.
2307 * include/pwd.h: Likewise.
2308 * include/shadow.h: Likewise.
2309 * include/rpc/netdb.h: Likewise.
2310 * include/setjmp.h: Likewise.
2312 * include/stdio.h: Add prototypes for compatibility functions.
2313 * include/grp.h: Likewise.
2314 * include/pwd.h: Likewise.
2315 * include/shadow.h: Likewise.
2317 * include/fenv.h: Define internal interfaces.
2319 2000-12-27 Ulrich Drepper <drepper@redhat.com>
2321 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
2322 argument case separately.
2323 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2325 2000-12-27 Andreas Jaeger <aj@suse.de>
2327 * include/sys/wait.h: Add some prototypes.
2328 * Rules (dummy.c): Create also prototype to shut up GCC.
2330 2000-12-27 Andreas Jaeger <aj@suse.de>
2332 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
2333 it's not needed at the moment.
2334 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
2335 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
2337 2000-12-26 Andreas Jaeger <aj@suse.de>
2339 * libio/getc_u.c: Include stdio.h via system path to get internal
2341 * libio/getwc_u.c: Likewise.
2343 * stdlib/strfmon.c: Fix prototype of __printf_fp.
2345 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
2346 __printf_fp prototypes to ...
2347 * include/printf.h: ...here.
2349 * include/stdio.h: Add some internal prototypes to shut up GCC.
2350 * include/stdlib.h: Likewise.
2352 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
2355 * include/signal.h: Add prototypes for internal sigpause
2358 2000-12-26 Ulrich Drepper <drepper@redhat.com>
2360 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
2361 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
2363 * string/Makefile (tests): Add tst-bswap.
2364 * string/tst-bswap.c: New file.
2366 2000-12-11 Bruno Haible <haible@clisp.cons.org>
2368 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
2370 2000-12-26 Ulrich Drepper <drepper@redhat.com>
2372 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
2373 Patch by Ed Connell <Ed.Connell@sas.com>.
2375 2000-12-24 Ulrich Drepper <drepper@redhat.com>
2377 * locale/iso-639.def: Correct one entry. Add two missing entries.
2379 * locale/iso-4217.def: Change entry for Eritrea.
2380 Reported by Daniel Yacob <yacob@geez.org>.
2382 2000-12-23 Ben Collins <bcollins@debian.org>
2384 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
2387 * manual/stdio.texi (Dynamic Output): Document the return value of
2388 asprintf. Also make the asprintf/snprintf examples a little
2389 better (check for some error returns).
2391 2000-12-22 Andreas Jaeger <aj@suse.de>
2393 * include/stdio.h: Add __ftrylockfile prototype.
2395 2000-12-21 H.J. Lu <hjl@gnu.org>
2397 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
2398 Make sign_exponent element signed.
2400 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
2403 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2405 2000-12-21 Andreas Jaeger <aj@suse.de>
2407 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
2408 * inet/ether_hton.c: Likewise
2409 * inet/ether_ntoh.c: Likewise.
2411 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
2412 declaration to match prototype.
2414 * include/netinet/ether.h (struct etherent): Declare here so that
2415 all implementations use the same struct.
2417 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
2419 (struct ether): Removed.
2420 Use struct etherent instead of ether everywhere.
2422 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
2424 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
2426 * sunrpc/publickey.c: Include auth_des.h for prototypes.
2428 2000-12-20 Ulrich Drepper <drepper@redhat.com>
2430 * math/test-misc.c: Add more tests for nextafter functions.
2432 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
2433 normal correctly. Correct test for sign.
2434 Based on a patch by HJ Lu.
2436 2000-12-19 Ulrich Drepper <drepper@redhat.com>
2438 * Makeconfig (preprocess-version): Add -traditional to gcc call.
2441 2000-12-19 Andreas Jaeger <aj@suse.de>
2443 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
2445 * nis/nis_intern.h: Add prototype for __do_niscall3.
2447 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
2450 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
2452 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2454 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2456 2000-12-18 Ulrich Drepper <drepper@redhat.com>
2458 * math/test-misc.c: Add more tests for nextafter.
2459 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2460 * sysdeps/ieee754/ldbl-96/math_ldbl.h
2461 (ieee_long_double_shape_type): Make sign_exponent element signed.
2463 * manual/message.texi: Add Estonian to plural overview list.
2464 Correct rule for Slavic languages.
2465 Patch by Stanislav Brabec <utx@penguin.cz>.
2467 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2469 2000-12-18 Andreas Jaeger <aj@suse.de>
2471 * test-skeleton.c: Use temp_name_list instead of name_list to
2472 avoid collision with name_list from inet/netgroup.h.
2474 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2476 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2477 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2478 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2479 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2481 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2482 declaration to match prototype.
2483 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2484 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2485 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2487 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2488 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2489 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2490 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2491 (_nss_nis_getservbyport_r): Likewise.
2492 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2493 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2494 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2495 (_nss_nis_setnetent): Likewise
2496 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2497 (_nss_nis_endnetgrent): Likewise.
2498 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2500 (_nss_nisplus_setnetgrent): Likewise.
2501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2502 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2503 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2504 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2506 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2508 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2510 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2512 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2513 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2514 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2516 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2517 (_nss_dns_getnetbyaddr_r): Likewise.
2519 2000-12-17 Andreas Jaeger <aj@suse.de>
2521 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2524 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2525 unused attribute to shut up gcc warnings.
2527 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2528 * sysdeps/generic/k_tanl.c: Likewise.
2529 * sysdeps/generic/k_cosl.c: Likewise.
2530 * sysdeps/generic/e_j0l.c: Likewise.
2531 * sysdeps/generic/e_j1l.c: Likewise.
2532 * sysdeps/generic/e_jnl.c: Likewise.
2533 * sysdeps/generic/e_lgammal_r.c: Likewise.
2535 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2537 * elf/vismod.h: New file.
2538 * elf/Makefile (distribute): Add vismod.h.
2539 * elf/vismod1.c: Include vismod.h.
2540 * elf/vismod2.c: Likewise.
2541 * elf/vismod3.c: Likewise.
2543 * elf/constload3.c: Add prototype declarations to shut up gcc.
2544 * elf/failobj.c: Likewise.
2545 * elf/nodelmod3.c: Likewise.
2546 * elf/filtmod1.c: Likewise.
2547 * elf/filtmod2.c: Likewise.
2548 * elf/reldepmod1.c: Likewise.
2549 * elf/reldepmod2.c: Likewise.
2550 * elf/reldepmod3.c: Likewise.
2551 * elf/reldepmod4.c: Likewise.
2552 * elf/unload2dep.c: Likewise.
2553 * elf/unload2mod.c: Likewise.
2554 * elf/ltglobmod1.c: Likewise.
2555 * elf/pathoptobj.c: Likewise.
2556 * elf/neededobj1.c: Likewise.
2557 * elf/neededobj2.c: Likewise.
2558 * elf/neededobj3.c: Likewise.
2559 * elf/neededobj4.c: Likewise.
2560 * elf/nextmod1.c: Likewise.
2561 * elf/nextmod2.c: Likewise.
2563 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2564 at end of compound statement.
2565 * locale/programs/locale.c (show_info): Likewise.
2566 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2568 2000-12-16 Jakub Jelinek <jakub@redhat.com>
2570 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2571 with a pointer not returned by obstack_ functions.
2573 2000-12-16 Ulrich Drepper <drepper@redhat.com>
2575 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2577 (struct stat64): Likewise.
2578 Reported by Michael Keezer <mkeezer@redhat.com>.
2580 * timezone/asia: Update from tzdata2000h.
2581 * timezone/australasia: Likewise.
2582 * timezone/backward: Likewise.
2583 * timezone/europe: Likewise.
2584 * timezone/northamerica: Likewise.
2585 * timezone/southamerica: Likewise.
2586 * timezone/zone.tab: Likewise.
2588 2000-12-14 Jakub Jelinek <jakub@redhat.com>
2590 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2591 and dir.stream is NULL, only free dir.content.
2592 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2593 * io/ftwtest-sh: Test with --early-exit.
2595 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2597 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2598 (FCVT_BUFPTR): New variable.
2599 (fcvt): If fcvt_r returns -1 on the static short buffer,
2600 try to malloc a sufficiently large one and retry.
2601 (free_mem): New function.
2602 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2603 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2605 2000-12-15 Ulrich Drepper <drepper@redhat.com>
2607 * misc/dirname.c (dirname): Fix search for second to last slash.
2609 2000-12-13 Andreas Jaeger <aj@suse.de>
2611 * misc/tst-dirname.c (main): Fix typo in test to really use
2612 the examples from Unix98.
2613 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2615 2000-12-09 H.J. Lu <hjl@gnu.org>
2617 * sysdeps/ia64/fpu/s_fabs.S: New file.
2618 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2619 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2621 2000-12-15 Andreas Jaeger <aj@suse.de>
2623 * stdio-common/scanf9.c (main): Reformat and change to avoid
2626 * stdio-common/tstdiomisc.c: Make local functions static.
2627 * stdio-common/tst-printf.c: Likewise.
2629 * elf/constload2.c: Add prototype declarations to shut up gcc.
2630 * elf/dep1.c: Likewise.
2631 * elf/dep2.c: Likewise.
2632 * elf/dep3.c: Likewise.
2633 * elf/dep4.c: Likewise.
2634 * elf/ltglobmod2.c: Likewise.
2636 * libio/fmemopen.c: Make local functions static.
2638 * elf/Makefile (distribute): Added testobj.h.
2640 * elf/testobj.h: New file.
2642 * elf/testobj1.c: Include testobj.h and move prototype
2643 declarations to testobj.h.
2644 * elf/testobj2.c: Likewise.
2645 * elf/testobj3.c: Likewise.
2646 * elf/testobj4.c: Likewise.
2647 * elf/testobj5.c: Likewise.
2648 * elf/testobj6.c: Likewise.
2649 * elf/testobj1_1.c: Likewise.
2650 * elf/preloadtest.c: Likewise.
2652 2000-12-15 Ben Collins <bcollins@debian.org>
2654 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2655 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2657 2000-12-14 H.J. Lu <hjl@gnu.org>
2659 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2660 field in a float is 8 bits, not 11 bits.
2662 2000-12-13 Jakub Jelinek <jakub@redhat.com>
2664 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2666 2000-12-13 Andreas Jaeger <aj@suse.de>
2668 * manual/message.texi (Using gettextized software): Fix typo.
2670 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2672 Patch by Martin Buchholz <martin@xemacs.org>.
2674 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2675 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2677 2000-12-11 Andreas Jaeger <aj@suse.de>
2679 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2680 kernel_sigset_t and use it.
2681 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2683 2000-12-10 Richard Henderson <rth@redhat.com>
2685 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2686 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2687 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2689 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2691 * sysdeps/alpha/htonl.S: Fix a typo.
2693 2000-12-10 Jakub Jelinek <jakub@redhat.com>
2695 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2697 2000-12-10 Andreas Jaeger <aj@suse.de>
2699 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2700 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2701 Drepper <drepper@redhat.com>.
2703 2000-12-09 Andreas Jaeger <aj@suse.de>
2705 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2707 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2709 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2711 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2714 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2717 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2718 * nscd/connections.c (handle_request): Likewise.
2719 * nscd/pwdcache.c (addpwbyname): Likewise.
2720 * nscd/grpcache.c (addgrbyname): Likewise.
2722 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2724 2000-12-09 Ulrich Drepper <drepper@redhat.com>
2726 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2728 * Makeconfig (default_cflags): Make -O2 the default for stable
2731 2000-12-08 H.J. Lu <hjl@gnu.org>
2733 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2734 * sysdeps/ia64/fpu/s_isinf.S: This.
2735 Add a .pred.rel.mutex note to avoid false report.
2737 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2738 * sysdeps/ia64/fpu/s_isnan.S: This.
2740 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2741 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2742 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2743 * sysdeps/ia64/fpu/s_isinff.S: New file.
2744 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2745 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2746 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2747 * sysdeps/ia64/fpu/s_finite.S: New file.
2748 * sysdeps/ia64/fpu/s_finitef.S: New file.
2749 * sysdeps/ia64/fpu/s_finitel.S: New file.
2750 * sysdeps/ia64/fpu/s_signbit.S: New file.
2751 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2752 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2753 * sysdeps/ia64/fpu/s_copysign.S: New file.
2754 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2755 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2757 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2759 * math/libm-test.inc (main): Fix typos in messages.
2761 * string/stratcliff.c: Add test for rawmemchr.
2763 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2765 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2766 allocate it together with errstring using alloca.
2767 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2768 to "", because it might point to local stack.
2770 2000-12-05 H.J. Lu <hjl@gnu.org>
2772 * nss/Makefile (routines): Add getnssent and getnssent_r.
2773 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2774 (__nss_endent): Likewise.
2775 (__nss_getent_r): Likewise.
2776 (__nss_getent): Likewise.
2777 * nss/getnssent_r.c: New file.
2778 * nss/getnssent.c: New file.
2779 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2780 (GETFUNC_NAME): Updated to call __nss_getent ().
2781 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2782 (STAYOPEN_TMPVAR): Updated.
2783 (STAYOPEN_VAR): Updated.
2784 (SETFUNC_NAME): Updated to call __nss_setent ().
2785 (ENDFUNC_NAME): Updated to call __nss_endent ().
2786 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2788 2000-12-08 Andreas Jaeger <aj@suse.de>
2790 * nscd/dbg_log.h (dbg_log): Correct attribute.
2792 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2794 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2795 cp + len. Compute where from dirname.
2796 Reported by <jreiser@BitWagon.com>.
2798 2000-12-08 Richard Henderson <rth@twiddle.net>
2800 * sysdeps/alpha/_mcount.S: Fix typo.
2801 * sysdeps/alpha/strncpy.S: Likewise.
2803 * sysdeps/alpha/alphaev6/Implies: New file.
2804 * sysdeps/alpha/alphaev67/Implies: New file.
2805 * sysdeps/alpha/alphaev67/ffs.S: New file.
2806 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2807 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2808 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2809 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2810 * sysdeps/alpha/rawmemchr.S: New file.
2811 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2812 * sysdeps/alpha/strcpy.S: Likewise.
2815 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2817 From rick.gorton@alpha-processor.com:
2818 * sysdeps/alpha/alphaev6/memchr.S: New file.
2819 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2820 * sysdeps/alpha/alphaev6/memset.S: New file.
2821 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2822 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2823 * sysdeps/alpha/alphaev67/strcat.S: New file.
2824 * sysdeps/alpha/alphaev67/strchr.S: New file.
2825 * sysdeps/alpha/alphaev67/strlen.S: New file.
2826 * sysdeps/alpha/alphaev67/strncat.S: New file.
2827 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2829 2000-12-08 Jakub Jelinek <jakub@redhat.com>
2831 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2832 Reported by <pspencer@fields.utoronto.ca>.
2834 2000-12-07 Jes Sorensen <jes@linuxcare.com>
2836 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2837 Pointed out by Hans Boehm.
2839 2000-12-07 H.J. Lu <hjl@gnu.org>
2841 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2843 2000-12-07 Andreas Jaeger <aj@suse.de>
2845 * misc/error.c: Add format attributes for __error and __error_at_line.
2847 * nscd/dbg_log.h: Add format attribute.
2849 2000-12-08 Ulrich Drepper <drepper@redhat.com>
2851 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2852 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2854 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
2856 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2858 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2860 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2861 (sysdep_routines): Add uitrunc.
2862 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2863 Patches by Michael Keezer <mkeezer@redhat.com>.
2865 2000-12-06 Roland McGrath <roland@frob.com>
2867 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2868 argument data, since it will be used to copy out too (for INOUT).
2869 Reported by Marcus Brinkmann <marcus@gnu.org>.
2871 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2872 (__ioctl): Use uintptr_t instead of unsigned long int.
2874 2000-12-06 Jim Wilson <wilson@redhat.com>
2876 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2878 2000-12-06 Ulrich Drepper <drepper@redhat.com>
2880 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2881 x.5 rounding correctly.
2883 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2885 * stdio-common/perror.c (perror): Conditionalize code dealing with
2886 wide-oriented streams on USE_IN_LIBIO.
2888 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2890 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2891 as internal_function.
2893 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2895 * sysdeps/alpha/elf/start.S (__data_start): Define.
2897 2000-12-05 H.J. Lu <hjl@gnu.org>
2899 * nss/getXXent_r.c (setup): Change the return type to int.
2901 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2903 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2904 (sysdep_routines): Add restf and savef.
2905 * sysdeps/unix/sysv/aix/restf.c: New file.
2906 * sysdeps/unix/sysv/aix/savef.c: New file.
2907 Patches by Michael Keezer <mkeezer@redhat.com>.
2909 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2910 if O_DIRECTORY is not defined.
2911 Patch by Michael Keezer <mkeezer@redhat.com>.
2913 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2914 Patch by Michael Keezer <mkeezer@redhat.com>.
2916 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2917 than 4 bytes in escape sequence.
2918 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2920 2000-12-05 Andreas Jaeger <aj@suse.de>
2922 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2925 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2927 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2929 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2930 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2932 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2934 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2935 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2937 * sysdeps/generic/dl-cache.c: Remove declaration of
2938 _dl_sysdep_read_whole_file.
2940 * elf/dl-load.c (_dl_map_object): Remove declaration of
2941 _dl_load_cache_lookup.
2943 * sysdeps/generic/ldsodefs.h: Add declarations of
2944 _dl_load_cache_lookup, _dl_unload_cache,
2945 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2946 _dl_sysdep_start_cleanup.
2948 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2951 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2952 * sysdeps/generic/dl-environ.c: Likewise.
2954 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2956 * math/atest-exp.c: Likewise.
2957 * math/atest-exp2.c: Likewise.
2958 * math/atest-sincos.c: Likewise.
2959 * stdio-common/_itoa.c: Likewise.
2960 * stdio-common/_itowa.c: Likewise.
2962 * include/gmp.h: New file with internal prototypes.
2964 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2966 * include/setjmp.h: ...here.
2968 * locale/Makefile (routines): Remove codeset_name since it's not
2971 * locale/codeset_name.c: Removed.
2973 2000-12-05 Ulrich Drepper <drepper@redhat.com>
2975 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2977 2000-12-05 Andreas Jaeger <aj@suse.de>
2979 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2981 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2983 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
2986 2000-12-05 Andreas Jaeger <aj@suse.de>
2988 * nss/test-netdb.c: Mark local functions as static to avoid
2990 (main): Use return to silence warning.
2992 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2994 * stdio-common/test-popen.c: Mark local functions as static to
2996 (main): Use return to silence warning.
2998 * stdlib/testsort.c (compare): Mark as static to avoid warning.
3000 * assert/test-assert.c: Mark local functions as static to avoid
3002 * assert/test-assert-perr.c: Likewise.
3004 * math/libm-test.inc (main): Use return to silence warnings.
3006 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3008 * math/fenv.h: Fix typo in comment.
3010 * math/test-misc.c (main): Add a few more over and underflow tests
3013 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
3014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3015 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3016 * math/w_scalb.c: Don't use matherr except in SVID mode.
3017 * math/w_scalbf.c: Likewise.
3018 * math/w_scalbl.c: Likewise.
3019 * math/test-misc.c: Add test for NaN and scalbl.
3020 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3022 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3024 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
3025 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
3026 * include/libc-symbols.h (strong_alias): Define special version
3027 for HAVE_ASM_GLOBAL_DOT_NAME.
3028 (weak_alias): Likewise.
3029 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
3030 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
3031 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
3032 getutxline, pututxline, and utmpxname.
3033 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
3034 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
3035 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
3036 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
3037 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
3038 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
3039 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
3040 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
3041 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
3042 Patches by Michael Keezer <mkeezer@redhat.com>.
3044 2000-12-04 H.J. Lu <hjl@gnu.org>
3046 * configure.in: Change --with-oldest-abi=ABI to
3047 --enable-oldest-abi=ABI.
3049 2000-12-02 Bruno Haible <haible@clisp.cons.org>
3051 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
3052 fwprintf instead of fprintf.
3054 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3056 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
3057 DECIMAL_DIG definitions.
3058 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
3059 * sysdeps/generic/bits/mathdef.h: Likewise
3060 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
3061 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
3062 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
3063 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
3064 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
3065 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
3067 2000-12-03 Ulrich Drepper <drepper@redhat.com>
3069 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
3071 * math/atest-exp.c: Mark local functions as static to avoid warnings.
3072 * math/atest-exp2.c: Likewise.
3073 * math/atest-sincos.c: Likewise.
3075 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
3076 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3078 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
3079 the handling of denormalized numbers.
3081 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
3083 * sysdeps/i386/fpu/fpclassifyl.c: New file.
3085 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
3086 pseudo denormal representation of LDBL_MIN.
3088 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
3089 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
3091 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
3092 * iconvdata/jis0208.c: Likewise.
3093 * iconvdata/jis0212.c: Likewise.
3094 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3096 * math/test-misc.c (main): More tests for frexp and some for
3097 fpclassify and isnormal.
3099 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
3101 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3103 * math/test-misc.c (main): Add tests for frexp.
3104 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3105 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
3107 2000-12-02 H.J. Lu <hjl@gnu.org>
3109 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
3112 2000-12-02 Ulrich Drepper <drepper@redhat.com>
3114 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
3115 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3116 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3118 * sysdeps/generic/glob.c: Adjust types of several variables to
3121 2000-12-01 Ulrich Drepper <drepper@redhat.com>
3123 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
3125 2000-11-30 Roland McGrath <roland@frob.com>
3127 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
3128 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
3129 allow multiple instances using the same function name in one file.
3131 2000-12-01 Ulrich Drepper <drepper@redhat.com>
3133 * configure.in: Correct test for pserver CVS access.
3135 2000-11-28 H.J. Lu <hjl@gnu.org>
3137 * libio/libio.h: Remove extra "#if ... #endif".
3139 2000-11-29 H.J. Lu <hjl@gnu.org>
3141 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
3143 2000-12-01 H.J. Lu <hjl@gnu.org>
3145 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
3146 * nss/getXXent_r.c: Likewise.
3147 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3149 2000-11-30 H.J. Lu <hjl@gnu.org>
3151 * scripts/abi-versions.awk (oldest_abi): New variable.
3152 Handle the oldest ABI supported.
3154 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
3155 for scripts/abi-versions.awk.
3157 * configure.in: Add --with-oldest-abi=ABI.
3158 * configure: Rebuild.
3160 * config.make.in (oldest-abi): New.
3162 * config.h.in (GLIBC_OLDEST_ABI): New.
3164 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
3166 2000-11-30 Jakub Jelinek <jakub@redhat.com>
3168 * locale/setlocale.c (setname): Free for all categories, not just
3170 (setlocale): Store a copy of string passed by user, not the string
3173 2000-11-30 Roland McGrath <roland@frob.com>
3175 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
3176 rather than _hurd_fd_subinit, so it happens after it's safe to use
3177 libc facilities like malloc.
3179 2000-11-28 Andreas Jaeger <aj@suse.de>
3181 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
3182 declaration, adjust declaration of __syscall_getdents to match
3185 2000-11-29 H.J. Lu <hjl@gnu.org>
3187 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
3189 2000-11-29 Andreas Jaeger <aj@suse.de>
3191 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
3193 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3195 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
3196 * dlfcn/defaultmod2.c: Likewise.
3197 * dlfcn/dlopen.c: Likewise.
3198 * dlfcn/dlopenold.c: Likewise.
3199 * dlfcn/failtestmod.c: Likewise.
3200 * dlfcn/glreflib1.c: Likewise.
3201 * dlfcn/glreflib2.c: Likewise.
3202 * dlfcn/eval.c: Likewise. Add attributes.
3204 * ctype/ctype-extn.c: Define isblank and not __isblank.
3206 * time/strftime.c: Add const where necessary to avoid warnings.
3207 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
3209 2000-11-22 Paul Eggert <eggert@twinsun.com>
3211 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
3212 size of (size_t) -1; it's not portable.
3214 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3216 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
3218 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3220 2000-11-14 Jes Sorensen <jes@linuxcare.com>
3222 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
3224 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
3225 _mcount is required by profiled binaries.
3227 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
3228 * sysdeps/ia64/machine-gmon.h: ...here.
3230 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
3232 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
3233 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
3235 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
3237 * iconvdata/ibm922.c: New file.
3238 * iconvdata/ibm922.h: New file.
3239 * iconvdata/ibm1124.c: New file.
3240 * iconvdata/ibm1124.h: New file.
3241 * iconvdata/ibm1129.c: New file.
3242 * iconvdata/ibm1129.h: New file.
3243 * iconvdata/testdata/IBM922: New file.
3244 * iconvdata/testdata/IBM922..UTF8: New file.
3245 * iconvdata/testdata/IBM1124: New file.
3246 * iconvdata/testdata/IBM1124..UTF8: New file.
3247 * iconvdata/testdata/IBM1129: New file.
3248 * iconvdata/testdata/IBM1129..UTF8: New file.
3250 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3252 * catgets/gencat.c (normalize_line): Take extra parameter with escape
3253 character. Change callers.
3254 (open_conversion): Determine mapping of 0x5c as wchar_t value.
3255 * catgets/Makefile: Add rules to build and run test-gencat.
3256 * catgets/sample.SJIS: New file.
3257 * catgets/test-gencat.c: New file.
3258 * catgets/test-gencat.sh: New file.
3259 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3261 2000-11-28 Andreas Jaeger <aj@suse.de>
3263 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
3266 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3268 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
3270 2000-11-28 Andreas Jaeger <aj@suse.de>
3272 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
3274 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
3277 2000-11-27 Ulrich Drepper <drepper@redhat.com>
3279 * misc/getusershell.c: Make strings in okshells array const.
3280 * misc/regexp.c: Add const to cast to avoid warnings.
3281 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
3282 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
3284 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
3286 * misc/error.c: Add prototypes for __error and __error_at_line.
3287 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
3288 statement to avoid warning.
3289 * test-skeleton.c: Mark timeout_handler with noreturn.
3290 * iconv/skeleton.c (get16u): Add const to cast.
3292 * iconvdata/gb18030.c: Likewise.
3293 * iconvdata/iso-2022-cn-ext.c: Likewise.
3294 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
3295 * iconvdata/big5.c: Likewise.
3296 * iconvdata/big5hkscs.c: Likewise.
3297 * iconvdata/iso_6937.c: Likewise.
3298 * iconvdata/iso_6937-2.c: Likewise.
3299 * iconvdata/t.61.c: Likewise.
3300 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
3301 * iconvdata/unicode.c: Likewise.
3302 * iconvdata/utf-16.c: Likewise.
3303 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
3304 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
3305 with little code shuffling.
3307 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
3308 the problems introduced when the user selects -O3.
3310 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
3311 * misc/sys/cdefs.h: Define __flexarr.
3312 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
3314 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
3315 * iconv/skeleton.c: Likewise.
3316 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
3317 * iconv/loop.c (get16): Add const to cast.
3320 2000-11-27 Andreas Jaeger <aj@suse.de>
3322 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
3324 * login/programs/utmpdump.c (print_entry): Likewise.
3326 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3328 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
3329 in a single asm as they may be used to access other stored
3331 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3333 2000-11-27 Andreas Jaeger <aj@suse.de>
3335 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
3336 * rt/tst-aio64.c: Likewise.
3338 2000-11-27 Ulrich Drepper <drepper@redhat.com>
3340 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
3342 (libc.cat): Likewise.
3343 * catgets/gencat.c: Implement handling of message catalogs encoded
3344 with stateful character sets.
3345 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3347 2000-11-26 Ulrich Drepper <drepper@redhat.com>
3349 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
3351 * inet/getnameinfo.c: Adjust casts to avoid warnings.
3352 * inet/rcmd.c: Likewise.
3353 * inet/ruserpass.c: Likewise.
3354 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
3355 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3356 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
3357 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
3358 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
3359 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
3360 * include/aliases.h: Add prototypes for internal __getalias* functions.
3361 * include/netdb.h: Add prototypes for __old_gethostent_r,
3362 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
3363 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
3364 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
3365 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
3366 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
3367 __old_getrpcbynumber_r, __old_getrpcent_r.
3369 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
3370 __getrpcent_r prototypes.
3372 2000-11-25 Ulrich Drepper <drepper@redhat.com>
3374 * string/strcoll.c: Add casts to avoid warnings.
3375 * string/strnlen.c: Likewise.
3376 * string/strxfrm.c: Likewise.
3377 * sysdeps/generic/_strerror.c: Likewise.
3378 * sysdeps/generic/memrchr.c: Likewise.
3379 * sysdeps/generic/strcasestr.c: Likewise.
3380 * sysdeps/generic/strstr.c: Likewise.
3382 * locale/weight.h (findidx): Add const to cast to avoid warning.
3384 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
3385 * elf/loadtest.c: Likewise.
3386 * elf/multiload.c: Likewise.
3387 * elf/next.c: Likewise.
3388 * elf/nodelete.c: Likewise.
3389 * elf/noload.c: Likewise.
3390 * elf/order.c: Likewise.
3391 * elf/origtest.c: Likewise.
3392 * elf/preloadtest.c: Likewise.
3393 * elf/restest1.c: Likewise.
3395 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
3396 parameter of asm must be in %ecx.
3398 * string/tester.c: Mark test functions as static to avoid warnings.
3400 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
3401 preserve value over different gconv-modules files.
3403 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3405 * locale/findlocale.c: Add casts to avoid warnings.
3406 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
3407 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
3409 * misc/tsearch.c (const_node): New type.
3410 (trecurse): Correct casts to avoid warnings.
3411 (__twalk): Likewise.
3412 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
3415 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
3417 * test-skeleton.c: Mark local functions as static to avoid warnings.
3419 2000-11-23 H.J. Lu <hjl@gnu.org>
3421 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
3422 support the background job.
3425 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3427 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
3428 has same names but lower cost.
3430 2000-11-23 Jakub Jelinek <jakub@redhat.com>
3432 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
3433 which never occur during bootstrap.
3434 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3436 2000-11-23 Andreas Jaeger <aj@suse.de>
3438 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
3440 * nss/Versions: Remove _nss_files_getipnodebyname_r.
3442 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
3444 2000-11-18 Martin Buchholz <martin@xemacs.org>
3446 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
3449 2000-11-21 Alan Modra <alan@linuxcare.com.au>
3451 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
3453 * csu/abi-note.S: Correct comment for operating system number.
3455 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3457 * Versions.def: Add GLIBC_2.2.1 for glibc.
3459 2000-11-22 Andreas Schwab <schwab@suse.de>
3461 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3462 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3464 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3466 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3467 absolute time for pthread_cond_timedwait call.
3468 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3470 * rt/Makefile (tests): Add tst-aio6.
3471 * rt/tst-aio6.c: New file.
3473 2000-11-23 Andreas Jaeger <aj@suse.de>
3475 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3477 2000-11-22 Andreas Jaeger <aj@suse.de>
3479 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3481 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3483 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3485 2000-11-21 Andreas Schwab <schwab@suse.de>
3487 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3488 * sysdeps/arm/setjmp.S: Likewise.
3489 * sysdeps/arm/fpu/setjmp.S: Likewise.
3490 * sysdeps/i386/setjmp.S: Likewise.
3491 * sysdeps/i386/elf/setjmp.S: Likewise.
3492 * sysdeps/s390/setjmp.S: Likewise.
3493 * sysdeps/s390/elf/setjmp.S: Likewise.
3494 * sysdeps/sh/sh3/setjmp.S: Likewise.
3495 * sysdeps/sh/sh4/setjmp.S: Likewise.
3496 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3497 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3499 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3501 2000-11-21 Andreas Jaeger <aj@suse.de>
3503 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3504 NORETURN, fix parameter list.
3506 * string/bug-strncat1.c (main): Fix typo.
3507 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3509 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3511 * configure.in: Add --enable-all-warnings.
3512 * config.make.in (all-warnings): New variable.
3513 * Makeconfig (+gccwarn): Define with many more warnings if
3514 all-warnings is yes.
3516 2000-11-20 Jakub Jelinek <jakub@redhat.com>
3518 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3519 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3520 * malloc/tst-valloc.c (main): Cast valloc return value to long.
3521 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3522 * math/test-fpucw.c (main): Use %lx in format string, cast
3523 control words to long.
3524 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3525 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3526 large that it is unsigned warning.
3528 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3529 it to long on sparc64.
3531 2000-11-20 Andreas Jaeger <aj@suse.de>
3533 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3534 (receiv_print_stats): Likewise.
3536 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3538 2000-11-20 Ulrich Drepper <drepper@redhat.com>
3540 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3542 * csu/gmon-start.c: Always have prototype for __gmon_start.
3543 * csu/version.c: Add prototypes for __libc_print_version and
3545 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3546 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3548 * iconv/gconv_builtin.h: Add ASCII module definitions.
3549 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3550 (add_module): Add cast to avoid warning. Rework construction of
3551 strings for new module.
3552 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3553 (derivation_compare): Likewise.
3554 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3555 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3556 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3557 (struct gconv_alias): Remove const from fromname and toname.
3558 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3560 (internal_ucs4_loop): Use correct const-ness.
3561 (ucs4_internal_loop): Likewise.
3562 (internal_ucs4le_loop): Likewise.
3563 (ucs4le_internal_loop_single): Likewise.
3564 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3565 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3566 assignments appropriately.
3567 (struct known_trans): Remove const from fname.
3568 (trans_compare): Make s1 and s2 const.
3569 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3571 * iconv/skeleton.c: Remove cast in calls of loop functions.
3572 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3573 * iconvdata/iso646.c: Remove US_ASCII support.
3574 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3575 * include/unistd.h: Add __libc_check_standard_fds prototype.
3576 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3577 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3579 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3580 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3581 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3583 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3584 __libc_init_first and _dl_start.
3585 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3586 (DCIGETTEXT): Make domaindata variable const.
3587 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3590 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3592 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3594 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3595 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3598 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3599 value defined in /usr/include/asm-mips/fcntl.h.
3601 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3603 * stdio-common/Makefile (tests): Add test-vfprintf.
3604 (test-vfprintf-ENV): New variable.
3605 * stdio-common/test-vfprintf.c: New file.
3607 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3609 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3610 (tst-mbrtowc-ENV): New variable.
3611 (tst-wcrtomb-ENV): New variable.
3612 * wcsmbs/tst-mbrtowc.c: New file.
3613 * wcsmbs/tst-wcrtomb.c: New file.
3615 2000-11-16 Andreas Jaeger <aj@suse.de>
3617 * manual/install.texi (Tools for Compilation): Update
3618 documentation for GCC 2.95.2.
3620 2000-11-18 Ulrich Drepper <drepper@redhat.com>
3622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3623 if IPv4 and IPv6 requests timed out.
3625 2000-11-18 Akim Demaille <akim@epita.fr>
3627 * malloc/obstack.h: Formatting changes.
3628 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3629 prevents type checking.
3630 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3631 cast the value to (void *): assigning a `foo *' to a `void *'
3633 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3635 2000-11-17 Ulrich Drepper <drepper@redhat.com>
3637 * scripts/config.guess: Update from upstream maintainer.
3638 * scripts/config.sub: Likewise.
3640 2000-11-16 Ulrich Drepper <drepper@redhat.com>
3642 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3643 * libio/freopen64.c (freopen64): Likewise.
3644 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3646 * libio/Makefile: Add rules to build and run test-freopen.
3647 * libio/test-freopen.c: New file.
3648 * libio/test-freopen.sh: New file.
3650 2000-11-15 H.J. Lu <hjl@gnu.org>
3652 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3653 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3654 (DL_DT_FINI_ADDRESS): Likewise.
3656 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3657 return type to ElfW(Addr).
3658 (_dl_function_address): New prototype.
3659 (DL_FUNCTION_ADDRESS): Defined.
3660 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3661 (DL_DT_FINI_ADDRESS): Likewise.
3663 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3665 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3666 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3668 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3669 (_dl_function_address): This.
3671 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3672 function pointer for DT_FINI.
3673 * elf/dl-close.c (_dl_close): Likewise.
3675 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3676 function pointer for DT_INIT.
3678 2000-11-16 Jakub Jelinek <jakub@redhat.com>
3680 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3681 end of wexpbuf buffer.
3683 2000-11-16 Andreas Jaeger <aj@suse.de>
3685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3686 definition of F_GETLK, F_SETLK, F_SETLKW.
3688 2000-11-16 Andreas Jaeger <aj@suse.de>
3690 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3693 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3695 * dlfcn/default.c (main): Add test for dladdr of main returning
3696 argv[0] in dli_fname field.
3698 2000-11-15 Jakub Jelinek <jakub@redhat.com>
3700 * Makeconfig (run-program-prefix): Move test-static test into the
3703 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3704 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3705 schedule instructions.
3706 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3707 schedule instructions, fix a bug in copying auxiliary data.
3709 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3711 * manual/startup.texi (Program Arguments): Fix type of main's envp
3713 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3715 * iconvdata/gconv-modules: Add CP950 alias.
3717 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3719 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3720 syscall-list.h goal.
3721 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3723 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3725 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3727 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
3730 * intl/tst-gettext2.c: Set C locale if setting other locale
3731 failed. Use gettext() not _().
3733 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3734 successfully loaded a new locale.
3736 2000-11-13 Andreas Jaeger <aj@suse.de>
3738 * configure.in: Require gcc 2.95 or newer.
3740 2000-11-15 Ulrich Drepper <drepper@redhat.com>
3742 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3743 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3745 2000-11-11 Jim Meyering <meyering@lucent.com>
3747 * string/strndup.c (strndup): Cast return value to `char *'.
3749 2000-11-15 Jim Meyering <meyering@ascend.com>
3751 * sysdeps/generic/memchr.c: Remove some useless parentheses.
3752 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3753 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3754 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3755 Also #undef __memchr.
3756 Use `weak_alias' only if it's defined.
3758 2000-11-10 H.J. Lu <hjl@gnu.org>
3760 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3762 2000-11-15 Andreas Jaeger <aj@suse.de>
3764 * elf/chroot_canon.c: Include <stdint.h>.
3766 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3767 (print_entry): Likewise.
3768 (add_to_cache): Likewise.
3770 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3772 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3773 (path_hwcap): Likewise.
3774 (search_dir): Likewise.
3776 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3778 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3780 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3781 (_dl_platform_string): New.
3782 (_DL_HWCAP_PLATFORM): New.
3783 (_dl_string_platform): New.
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3786 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3787 (_dl_string_platform): New.
3788 (_DL_HWCAP_PLATFORM): New.
3789 (_dl_platform_string): New.
3791 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3793 (_DL_HWCAP_COUNT): New.
3794 (_dl_string_platform): New.
3795 (_DL_HWCAP_PLATFORM): New.
3796 (_dl_platform_string): New.
3798 2000-11-14 Ulrich Drepper <drepper@redhat.com>
3800 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3802 2000-11-14 Andreas Jaeger <aj@suse.de>
3804 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3806 2000-11-13 Roland McGrath <roland@frob.com>
3808 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3810 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
3812 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3813 underrun and make sure the result is null terminated even if there
3814 is no trailing newline.
3816 2000-11-13 Jakub Jelinek <jakub@redhat.com>
3818 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3820 2000-11-10 H.J. Lu <hjl@gnu.org>
3822 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3824 2000-11-10 Andreas Jaeger <aj@suse.de>
3826 * elf/ldconfig.c (create_links): Fix alloca calculation.
3827 Patch by Ben Collins <bcollins@debian.org>.
3829 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3831 * inet/getnameinfo.c (getnameinfo): Use correct destination
3832 parameter for if_indextoname.
3833 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3835 2000-11-09 H.J. Lu <hjl@gnu.org>
3837 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3838 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3839 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3842 * time/Versions (GLIBC_2.1): Move getitimer to...
3843 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3845 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3847 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3848 "make install", to work around a binary incompatibility between
3849 glibc 2.1 and glibc 2.2 gconv modules.
3851 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3853 * intl/locale.alias: Add thai.
3854 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3856 2000-11-07 Akim Demaille <akim@epita.fr>
3858 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3859 argument `data' for consistency with the prototypes.
3861 (obstack_copy, obstack_copy0): Rename the second argument as
3862 `address' for consistency. Qualify it `const'.
3863 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3864 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3865 `const' their input argument (`data' or `address').
3866 Adjust the corresponding macros to include `const' in casts.
3868 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3870 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3873 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3875 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3878 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3880 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3881 ai_protocol by internal table if service was not given.
3883 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3885 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3886 numerical port was specified with protocol without socktype.
3888 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3890 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3892 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3894 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3896 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3898 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3899 sin6_scope_id field.
3901 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3903 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3905 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3907 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3909 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
3911 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3912 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3914 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
3916 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3917 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3919 2000-11-09 H.J. Lu <hjl@gnu.org>
3921 * io/Versions (GLIBC_2.1.1): Remove lockf64.
3924 See ChangeLog.11 for earlier changes.