Update.
[glibc.git] / ChangeLog
blobc63cc6109134cb046f22602aa79a2e05f2f97685
1 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/generic/s_exp2l.c: Renamed to...
4         * sysdeps/generic/s_exp2l.c: ...this.   New file.
5         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6         * sysdeps/i386/fpu/s_exp2.S: ...this.   New file.
7         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
8         * sysdeps/i386/fpu/s_exp2f.S: ...this.   New file.
9         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
10         * sysdeps/i386/fpu/s_exp2l.S: ...this.   New file.
11         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
12         * sysdeps/ieee754/flt-32/s_exp2f.c: ...this.   New file.
13         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
14         * sysdeps/ieee754/dbl-64/s_exp2.c: ...this.   New file.
15         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
16         * sysdeps/m68k/fpu/s_exp2.c: ...this.   New file.
17         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
18         * sysdeps/m68k/fpu/s_exp2f.c: ...this.   New file.
19         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
20         * sysdeps/m68k/fpu/s_exp2l.c: ...this.   New file.
22 2001-02-17  Andreas Jaeger  <aj@suse.de>
24         * configure.in: Allow gcc 3.
26 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
28         * math/w_acos.c: Move to ...
29         * sysdeps/generic/w_acos.c: ...here.  New file.
30         * math/w_acosf.c: Move to ...
31         * sysdeps/generic/w_acosf.c: ...here.  New file.
32         * math/w_acosh.c: Move to ...
33         * sysdeps/generic/w_acosh.c: ...here.  New file.
34         * math/w_acoshf.c: Move to ...
35         * sysdeps/generic/w_acoshf.c: ...here.  New file.
36         * math/w_acoshl.c: Move to ...
37         * sysdeps/generic/w_acoshl.c: ...here.  New file.
38         * math/w_acosl.c: Move to ...
39         * sysdeps/generic/w_acosl.c: ...here.  New file.
40         * math/w_asin.c: Move to ...
41         * sysdeps/generic/w_asin.c: ...here.  New file.
42         * math/w_asinf.c: Move to ...
43         * sysdeps/generic/w_asinf.c: ...here.  New file.
44         * math/w_asinl.c: Move to ...
45         * sysdeps/generic/w_asinl.c: ...here.  New file.
46         * math/w_atan2.c: Move to ...
47         * sysdeps/generic/w_atan2.c: ...here.  New file.
48         * math/w_atan2f.c: Move to ...
49         * sysdeps/generic/w_atan2f.c: ...here.  New file.
50         * math/w_atan2l.c: Move to ...
51         * sysdeps/generic/w_atan2l.c: ...here.  New file.
52         * math/w_atanh.c: Move to ...
53         * sysdeps/generic/w_atanh.c: ...here.  New file.
54         * math/w_atanhf.c: Move to ...
55         * sysdeps/generic/w_atanhf.c: ...here.  New file.
56         * math/w_atanhl.c: Move to ...
57         * sysdeps/generic/w_atanhl.c: ...here.  New file.
58         * math/w_cosh.c: Move to ...
59         * sysdeps/generic/w_cosh.c: ...here.  New file.
60         * math/w_coshf.c: Move to ...
61         * sysdeps/generic/w_coshf.c: ...here.  New file.
62         * math/w_coshl.c: Move to ...
63         * sysdeps/generic/w_coshl.c: ...here.  New file.
64         * math/w_drem.c: Move to ...
65         * sysdeps/generic/w_drem.c: ...here.  New file.
66         * math/w_dremf.c: Move to ...
67         * sysdeps/generic/w_dremf.c: ...here.  New file.
68         * math/w_dreml.c: Move to ...
69         * sysdeps/generic/w_dreml.c: ...here.  New file.
70         * math/w_exp10.c: Move to ...
71         * sysdeps/generic/w_exp10.c: ...here.  New file.
72         * math/w_exp10f.c: Move to ...
73         * sysdeps/generic/w_exp10f.c: ...here.  New file.
74         * math/w_exp10l.c: Move to ...
75         * sysdeps/generic/w_exp10l.c: ...here.  New file.
76         * math/w_exp2.c: Move to ...
77         * sysdeps/generic/w_exp2.c: ...here.  New file.
78         * math/w_exp2f.c: Move to ...
79         * sysdeps/generic/w_exp2f.c: ...here.  New file.
80         * math/w_exp2l.c: Move to ...
81         * sysdeps/generic/w_exp2l.c: ...here.  New file.
82         * math/w_fmod.c: Move to ...
83         * sysdeps/generic/w_fmod.c: ...here.  New file.
84         * math/w_fmodf.c: Move to ...
85         * sysdeps/generic/w_fmodf.c: ...here.  New file.
86         * math/w_fmodl.c: Move to ...
87         * sysdeps/generic/w_fmodl.c: ...here.  New file.
88         * math/w_hypot.c: Move to ...
89         * sysdeps/generic/w_hypot.c: ...here.  New file.
90         * math/w_hypotf.c: Move to ...
91         * sysdeps/generic/w_hypotf.c: ...here.  New file.
92         * math/w_hypotl.c: Move to ...
93         * sysdeps/generic/w_hypotl.c: ...here.  New file.
94         * math/w_j0.c: Move to ...
95         * sysdeps/generic/w_j0.c: ...here.  New file.
96         * math/w_j0f.c: Move to ...
97         * sysdeps/generic/w_j0f.c: ...here.  New file.
98         * math/w_j0l.c: Move to ...
99         * sysdeps/generic/w_j0l.c: ...here.  New file.
100         * math/w_j1.c: Move to ...
101         * sysdeps/generic/w_j1.c: ...here.  New file.
102         * math/w_j1f.c: Move to ...
103         * sysdeps/generic/w_j1f.c: ...here.  New file.
104         * math/w_j1l.c: Move to ...
105         * sysdeps/generic/w_j1l.c: ...here.  New file.
106         * math/w_jn.c: Move to ...
107         * sysdeps/generic/w_jn.c: ...here.  New file.
108         * math/w_jnf.c: Move to ...
109         * sysdeps/generic/w_jnf.c: ...here.  New file.
110         * math/w_jnl.c: Move to ...
111         * sysdeps/generic/w_jnl.c: ...here.  New file.
112         * math/w_lgamma.c: Move to ...
113         * sysdeps/generic/w_lgamma.c: ...here.  New file.
114         * math/w_lgammaf.c: Move to ...
115         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
116         * math/w_lgammaf_r.c: Move to ...
117         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
118         * math/w_lgammal.c: Move to ...
119         * sysdeps/generic/w_lgammal.c: ...here.  New file.
120         * math/w_lgammal_r.c: Move to ...
121         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
122         * math/w_lgamma_r.c: Move to ...
123         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
124         * math/w_log10.c: Move to ...
125         * sysdeps/generic/w_log10.c: ...here.  New file.
126         * math/w_log10f.c: Move to ...
127         * sysdeps/generic/w_log10f.c: ...here.  New file.
128         * math/w_log10l.c: Move to ...
129         * sysdeps/generic/w_log10l.c: ...here.  New file.
130         * math/w_log.c: Move to ...
131         * sysdeps/generic/w_log.c: ...here.  New file.
132         * math/w_logf.c: Move to ...
133         * sysdeps/generic/w_logf.c: ...here.  New file.
134         * math/w_logl.c: Move to ...
135         * sysdeps/generic/w_logl.c: ...here.  New file.
136         * math/w_pow.c: Move to ...
137         * sysdeps/generic/w_pow.c: ...here.  New file.
138         * math/w_powf.c: Move to ...
139         * sysdeps/generic/w_powf.c: ...here.  New file.
140         * math/w_powl.c: Move to ...
141         * sysdeps/generic/w_powl.c: ...here.  New file.
142         * math/w_remainder.c: Move to ...
143         * sysdeps/generic/w_remainder.c: ...here.  New file.
144         * math/w_remainderf.c: Move to ...
145         * sysdeps/generic/w_remainderf.c: ...here.  New file.
146         * math/w_remainderl.c: Move to ...
147         * sysdeps/generic/w_remainderl.c: ...here.  New file.
148         * math/w_scalb.c: Move to ...
149         * sysdeps/generic/w_scalb.c: ...here.  New file.
150         * math/w_scalbf.c: Move to ...
151         * sysdeps/generic/w_scalbf.c: ...here.  New file.
152         * math/w_scalbl.c: Move to ...
153         * sysdeps/generic/w_scalbl.c: ...here.  New file.
154         * math/w_sinh.c: Move to ...
155         * sysdeps/generic/w_sinh.c: ...here.  New file.
156         * math/w_sinhf.c: Move to ...
157         * sysdeps/generic/w_sinhf.c: ...here.  New file.
158         * math/w_sinhl.c: Move to ...
159         * sysdeps/generic/w_sinhl.c: ...here.  New file.
160         * math/w_sqrtl.c: Move to ...
161         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
162         * math/w_tgamma.c: Move to ...
163         * sysdeps/generic/w_tgamma.c: ...here.  New file.
164         * math/w_tgammaf.c: Move to ...
165         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
166         * math/w_tgammal.c: Move to ...
167         * sysdeps/generic/w_tgammal.c: ...here.  New file.
169         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
170         formats for postal_fmt.
172 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
174         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
175         __ftruncate64 alias.
176         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
177         Likewise.
179 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
181         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
182         do "loadrs".  Writing to bspstore already takes care of
183         invalidating the "clean" partition.
185 2001-02-16  Andreas Schwab  <schwab@suse.de>
187         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
188         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
190 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
192         * posix/regex.c (init_syntax_once): Add prototype.
193         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
194         (re_search_2): Avoid warning.
195         (count_mbs_length): Add prototype.
196         * posix/tst-regex3.c: New file.
197         * posix/Makefile (tests): Add bug-regex3.
199 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
201         * stdio-common/Makefile (tests): Add tst-gets.
202         * stdio-common/tst-gets.c: New file.
203         * stdio-common/tst-gets.input: New file.
205         * elf/elf.h (DT_CHECKSUM): Define.
207         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
208         default symbol.
209         * sysdeps/generic/strtoull.c: Likewise.
211 2001-02-14  Wolfram Gloger  <wg@malloc.de>
213         * malloc/malloc.c (new_heap): When allocating large chunk aligned
214         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
215         between the heaps.
217 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
219         * math/libm-test.inc (j0_test): Check whether sincos is available.
220         (j1_test): Likewise.
221         (jn_test): Likewise.
222         (y0_test): Likewise.
223         (y1_test): Likewise.
224         (yn_test): Likewise.
226         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
227         fake filesystem routines to handle this.
229         * time/sys/time.h: Make settimeofday and adjtime available if
230         _BSD_SOURCE.
232         * time/sys/time.h: Make timer* macros available for BSD.
234         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
235         Patch by Yong Li <rigel863@yahoo.com>.
237         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
238         name.
240         * posix/Makefile (tests): Add tst-gnuglob.
241         * posix/tst-gnuglob.c: New file.
243 2001-02-13  H.J. Lu  <hjl@gnu.org>
245         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
247 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
249         * locale/programs/ld-paper.c (paper_output): Pretty printing.
251         * iconvdata/Makefile (modules): Add GBBIG5.
252         (distribute): Add gbbig5.c.
253         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
255         * iconvdata/gbbig5.c: New file.
256         Contributed by Yong Li <rigel863@yahoo.com>.
258 2001-02-13  Philip Blundell  <pb@futuretv.com>
260         * manual/crypt.texi: Remove outdated references to crypt add-on.
262         * manual/creature.texi: Improve wording slightly.
264 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
266         * io/ftw.c: Always use readdir64.
267         * io/ftw64.c: Likewise.
268         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
269         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
270         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
271         callback to dirent.  Still allow compiling outside glibc.
272         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
273         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
275         * malloc/mtrace.c: Use fopen64.
276         * posix/spawni.c: Use __open64.
277         * sysdeps/unix/opendir.c: Likewise.
278         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
280         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
281         name a weak alias.
282         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
283         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
284         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
287         * resolv/res_data.c: Add cast to avoid warning.
289         * include/unistd.h: Declare __ftruncate64.
291         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
293         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
294         instead of __lseek.
296 2001-02-13  Andreas Jaeger  <aj@suse.de>
298         * login/getutent_r.c: Include <stdlib.h> for NULL.
299         * login/getutid_r.c: Likewise.
301 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
303         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
304         * sysdeps/dbl-64/e_j1.c: Likewise.
305         * sysdeps/dbl-64/e_jn.c: Likewise.
306         * sysdeps/flt-32/e_j0f.c: Likewise.
307         * sysdeps/flt-32/e_j1f.c: Likewise.
308         * sysdeps/ldbl-96/e_j0l.c: Likewise.
310 2000-12-02  H.J. Lu  <hjl@gnu.org>
312         * resolv/res_libc.c (res_init): Don't make it default.
314 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
316         * manual/debug.texi: Improved the wording.
317         Patch by Philip Blundell <pb@futuretv.com>.
319 2001-02-12  Andreas Jaeger  <aj@suse.de>
321         * posix/Makefile (tests): Don't run bug-regex2 when
322         cross-compiling.
324         * libio/Makefile (tests): Don't run test-freopen when
325         cross-compiling.
327         * manual/stdio.texi (Streams and I18N): Fix typos.
329 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
331         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
333         * math/libm-test.inc (j0_test): Make expected results long double
334         constants.
335         (y0_test): Likewise.
337         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
338         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
340 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
342         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
343         which was exported from libc.
344         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
346 2001-02-12  Andreas Jaeger  <aj@suse.de>
348         * manual/arith.texi (Parsing of Integers): Fix some wordings.
350 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
352         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
353         and get_avphys_page to long int.
354         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
355         * include/sys/sysinfo.h: Likewise.
356         * sysdeps/generic/sys/sysinfo.h: Likewise.
357         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
359         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
360         cannot return as many values as the user asked for.
362 2001-02-11  Andreas Jaeger  <aj@suse.de>
364         * manual/resource.texi (Memory Resources): Fix typo.
366         * libio/Makefile ($(objpfx)test-freopen.out): Pass
367         run-program-prefix.
369         * libio/test-freopen.sh: Use run_program_prefix.
371 2001-02-10  Andreas Jaeger  <aj@suse.de>
373         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
374         cross-compiling.
375         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
377         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
378         only builds.
380         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
382         * posix/Makefile: Fix typo, it's build-static-nss.
384         * iconv/Makefile (extra-objs): New.
386 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
388         * sysdeps/unix/stime.c: Include <time.h>.
390         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
392 2001-02-10  Andreas Jaeger  <aj@suse.de>
394         * manual/string.texi (Search Functions): Fix typo.
396 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
398         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
399         (timeval_to_clock_t): Add clk_tck argument and use that instead of
400         CLK_TCK.
401         (__times): Use __getclktck to get the number of clock ticks per
402         second and use its return value instead of CLK_TCK.
404 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
406         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
408 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
410         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
412 2001-02-10  Andreas Jaeger  <aj@suse.de>
414         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
415         warning.
417 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
419         * posix/Makefile: Add rules to build and run bug-regex2.
420         * posix/bug-regex2.c: New file.
422 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
424         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
425         (regex_compile): Likewise.
426         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
427         (re_match_2_internal): Use just is_binary instead of two variables.
428         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
430 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
432         * version.h (VERSION): Bump to 2.2.2.
434         * iconv/Makefile (distribute): Add iconv_charmap.c and
435         dummy-repertoire.c.
436         * elf/Makefile (distribute): Add firstobj.c.
437         * Makefile (distribute): Add include/pthread.h.
439         * configure.in: Require makeinfo version 4.
441         * libio/tst_wscanf.c (main): Add cast to avoid warning.
442         * libio/tst_swscanf.c (main): Likewise..
444 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
446         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
447         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
448         __NO_MATH_INLINES.
449         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
450         if not RTLD_BOOTSTRAP.
451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
454 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
456         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
457         lr_ungetc to push back last read character.
458         * locale/programs/linereader.h (lr_ungetc): Don't push back is
459         character is EOF.
460         (lr_ignore_rest): Don't warn about garbage if it is really the end
461         of the file.
463         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
464         definition.
466 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
468         * Makerules (build-shlib): Work around different order of
469         processing of -B option in different gcc versions.
471         * posix/regex.c: Fix alignment problem.
472         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
474         * sysdeps/alpha/strrchr.S: Little optimization.
475         Patch by Richard Henderson <rth@redhat.com>.
477         * sysdeps/alpha/alphaev67/strrchr.S: New file.
478         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
480 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
482         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
483         in the assembler end directive.
485 2001-02-08  Andreas Jaeger  <aj@suse.de>
487         * manual/stdio.texi (Closing Streams): Fix typos.
489 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
491         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
492         Patch by Richard Henderson <rth@redhat.com>.
493         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
495         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
496         pointer in FILE structure before calling _IO_init.
497         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
498         strfmon_l if necessary.
499         Reported by Jury Gerold <gjury@grips.com>.
501         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
502         Patch by Pekka.Pietikainen@cern.ch.
504         * posix/regex.c: Correct several problems with 64-bit architectures
505         introduced in the MBS changes.
506         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
508 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
510         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
511         not defined.
512         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
514 2001-02-07  Andreas Jaeger  <aj@suse.de>
516         * manual/install.texi (Tools for Compilation): Fix typo.
517         Reported by Pavel Machek <pavel@bug.ucw.cz>.
519 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
521         * stdlib/strtod.c: Never stop prematurely reading digits before the
522         decimal point is found.  Compute exponent limit for negative exponents
523         correctly.  For numbers ending in all zeros eat the zeros even before
524         the decimal point if the exponent is negative [PR libc/2072].
525         * stdlib/Makefile (tests): Add bug-strtod.
526         * stdlib/bug-strtod.c: New file.
528 2001-02-07  Andreas Jaeger  <aj@suse.de>
530         * posix/bug-regex1.c: Include <wchar.h> for fwide.
532 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
534         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
535         Store index.
536         (compile_range): Handle index being passed, not pointer.
537         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
539         * posix/regex.c: Fix a cast in the code for bracket handling which
540         caused 8-bit uncleanliness.
541         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
543         * posix/Makefile (tests): Add bug-regex1.
544         * posix/bug-regex1.c: New file.
545         Contributed by Jim Meyering <jim@meyering.net>.
547         * posix/regex.c: Many cleanups for incorrect format strings.
549 2001-02-06  Andreas Jaeger  <aj@suse.de>
551         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
553 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
555         * locale/programs/locale.c (write_locales): Use scandir to read
556         directory so that the entries are sorted.
558 2001-02-06  Andreas Jaeger  <aj@suse.de>
560         * include/pthread.h: New file.
562         * wctype/wctype.h: Move internal interfaces from here to...
563         * include/wctype.h: ...here.
565         * wcsmbs/wchar.h: Move __wcslen from here to...
566         * include/wchar.h: ...here.
568         * posix/sys/wait.h: Move __wait from here to...
569         * include/sys/wait.h: ...here.
571         * string/string.h: Move __ffs and __strerror_r from here to...
572         * include/string.h: ...here.
574         * stdlib/stdlib.h: Move __on_exit from here to...
575         * include/stdlib.h: ...here.
577         * libio/stdio.h: Move __vsnprintf from here to...
578         * include/stdio.h: ...here.
580 2001-02-06  Andreas Schwab  <schwab@suse.de>
582         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
583         headers.
585         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
586         of $(inst_datadir).
588 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
590         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
592 2001-02-06  Andreas Jaeger  <aj@suse.de>
594         * elf/firstobj.c: Add prototype.
596         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
597         (truncate_wchar): Likewise.
599 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
601         * locale/programs/locale.c: Implement --verbose option for -a
602         which prints detailed information about the locales.
604 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
606         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
607         variable to uint32_t.
608         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
610 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
612         * locale/C-translit.h.in: Add transliterations for CJK units of
613         measurement.
615 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
617         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
618         string.  Include <inttypes.h> instead of <stdint.h>.
620         * localedata/Makefile (tests): Add bug-iconv-trans.
621         Define bug-iconv-trans-ENV.
622         * localedata/bug-iconv-trans.c: New file.
624 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
626         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
627         pointer, to avoid accumulating output from incomplete (unsuccessful)
628         transliteration attempts.
630 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
632         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
633         string.  Include <inttypes.h> instead of <stdint.h>.
635         * configure.in: Add check for bison.
636         * config.make.in: Define BISON variable.
637         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
638         Rename YFLAGS to BISONFLAGS.
640 2001-02-05  Andreas Jaeger  <aj@suse.de>
642         * io/test-lfs.c (do_test): Test lseek64 return value, call
643         test_ftello.
644         (test_ftello): New function to test ftello64 and fseeko64.
646         * signal/signal.h: Move __sigaction from here to...
647         * include/signal.h: ...here.
649         * io/fcntl.h: Move __fcntl and __open to...
650         * include/fcntl.h: ...here.
652 2001-02-04  Philip Blundell  <philb@gnu.org>
654         * configure.in: Distinguish ARM from Thumb.
656 2001-02-04  Philip Blundell  <philb@gnu.org>
658         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
659         PC24 relocs with negative value.
661 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
663         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
664         files in locale/programs.  Add CFLAGS definition to allow compiling
665         localedef files.
666         * iconv/dummy-repertoire.c: New file.
667         * iconv/iconv_charmap.c: New file.
668         * iconv/iconv_prog.h: New file.
669         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
670         (main): If parameter for -f and -t contain slashes try first to resolve
671         the strings as filenames of charmap files.  Use them for conversion
672         in this case.
673         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
674         iconv getting charmap names as parameters.
675         * locale/programs/linereader.c (lr_token): Take extra parameters
676         verbose and pass it to get_string.
677         (get_string): Take extra parameters verbose.
678         * locale/programs/charmap.c (parse_charmap): Take extra parameters
679         verbose and be_quiet.  Change all callers of lr_token and
680         parse_charmap.
681         * locale/programs/charmap.h: Likewise.
682         * locale/programs/ld-address.c: Likewise.
683         * locale/programs/ld-collate.c: Likewise.
684         * locale/programs/ld-ctype.c: Likewise.
685         * locale/programs/ld-identification.c: Likewise.
686         * locale/programs/ld-measurement.c: Likewise.
687         * locale/programs/ld-messages.c: Likewise.
688         * locale/programs/ld-monetary.c: Likewise.
689         * locale/programs/ld-name.c: Likewise.
690         * locale/programs/ld-numeric.c: Likewise.
691         * locale/programs/ld-paper.c: Likewise.
692         * locale/programs/ld-telephone.c: Likewise.
693         * locale/programs/ld-time.c: Likewise.
694         * locale/programs/linereader.c: Likewise.
695         * locale/programs/linereader.h: Likewise.
696         * locale/programs/localedef.c: Likewise.
697         * locale/programs/locfile.c: Likewise.
698         * locale/programs/locfile.h: Likewise.
699         * locale/programs/repertoire.c: Likewise.
701 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
703         * iconv/iconv_prog.c (main): If output file name is "-" write to
704         stdout.
705         (main): If -f or -t argument is missing use charset of the current
706         locale.
708 2001-02-03  Andreas Jaeger  <aj@suse.de>
710         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
711         boundary for SSE/SSE-2 alignment.
713         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
714         annexc.
716 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
718         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
719         Remove comma at end of enum.
721         * elf/dl-init.c: Add a few __builtin_expect.
723         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
725 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
727         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
728         errno is ECONNREFUSED.
730         * posix/Makefile: Define MBS_SUPPORT for regex.c.
731         * posix/regex.c: Implement multibyte character handling.
732         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
734         * string/tst-svc.input: Add two more test cases.
735         * string/tst-svc.expect: Modify to reflect new test cases.
737 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
739         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
740         tp->name tests with tp->name[0] tests.
742 2001-01-29  Ben Collins  <bcollins@debian.org>
744         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
745         Fix check for name == NULL.
747 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
749         * elf/Makefile: Add rules to build and run initfirst test.
750         * elf/initfirst.c: New file.
751         * elf/firstobj.c: New file.
753         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
754         * configure.in: Test for -z initfirst linker option.
755         * config.make.in: Add have-z-initfirst.
756         * elf/dl-init.c (_dl_init): Split out actual initialization code in
757         new function call_init.  If _dl_initfirst is non-NULL initialize first.
758         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
759         remember object in _dl_initfirst.
760         * elf/soinit.c: Remove special support for calling
761         __pthread_initialize_minimal.
763         * conform/conformtest.pl: Add missing $prepend in type test.
765 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
767         * elf/elf.h (SHT_CHECKSUM): New definition.
769         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
770         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
771         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
773 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
775         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
776         to get definition of `struct timeval'.
778 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
780         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
781         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
783 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
785         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
786         seen, not flags.
788         * nis/nis_findserv.c: Include <time.h>.
790 2001-01-30  Yong Li  <yong.li@asu.edu>
792         * iconv/iconv_prog.c (main): Correct error handling method name.
794 2001-01-29  Ben Collins  <bcollins@debian.org>
796         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
797         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
798         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
799         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
801 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
803         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
804         Patch by Marko Myllynen <myllynen@lut.fi>.
806         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
807         (int instead of char).
808         (__strpbrk_c3): Likewise.
809         Reported by GOTO Masanori <gotom@debian.or.jp>.
811         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
812         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
813         * include/sys/socket.h: Add SA_LEN here for internal use.
814         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
816 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
818         * malloc/Makefile: Don't build memusagestat if cross-compiling.
820         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
822         * math/libm-test.inc (rint_test): Add a few more tests for round
823         to even rounding.
825 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
827         * conform/data/pthread.h-data: Correct return type of pthread_exit.
829         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
831         * conform/data/stdlib.h-data: Add _Exit.
833         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
834         if not already happened.
835         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
836         Don't include <limits.h> and <bits/sockaddr.h>.
838         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
840         * conform/data/spawn.h-data: Allow all of <sched.h>.
842         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
843         unused variable.
845         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
846         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
848         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
850         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
851         * libio/stdio.h: Define va_list correctly.
853         * conform/data/pthread.h-data: Make priority protocol related
854         functions optional.  Fix typos.
856         * posix/sched.h: Define sched_priority as __sched_priority.
857         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
858         to __sched_priority.
859         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
861 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
863         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
864         of <sys/time.h>.
866         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
867         * sysdeps/unix/time.c: Likewise.
869         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
870         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
871         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
872         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
873         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
874         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
875         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
876         * time/time.h: Likewise.
878         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
879         * conform/data/complex.h-data: New file.
880         * conform/data/tgmath.h-data: New file.
882         * conform/data/wchar.h-data: Add missing functions.
884         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
886         * conform/data/termios.h-data: Add missing const in tcsetattr()
887         prototype.
889         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
890         Don't define pid_t here.
892         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
894         * conform/data/sys/time.h-data: Allow sys/select.h.
895         * conform/data/sys/un.h-data: Fix typo.
896         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
897         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
898         <sys/time.h>.
899         * sysdeps/unix/clock_nanosleep.c: Likewise.
900         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
901         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
902         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
903         * sysdeps/unix/clock_settime.c: Likewise.
905         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
906         * login/getutent.c: Likewise.
907         * login/getutid.c: Likewise.
908         * login/getutline.c: Likewise.
910         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
912         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
913         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
914         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
915         f_fsid field after change in struct statvfs.
916         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
917         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
918         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
920         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
921         optional-macro.
923         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
924         recvfrom, send, and socketpair prototypes.  Add allow lines.
925         * socket/sys/socket.h: Include <sys/uio.h>.
926         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
927         Fix type of second parameter of listen.
928         Don't declare isfdtype unless __USE_MISC.
929         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
930         * sysdeps/mach/hurd/listen.c: Likewise.
931         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
932         ss_family and __ss_family.
933         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
934         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
935         (struct msghdr): Change type of msg_iovlen to int and type of
936         msg_controllen to socklen_t.
937         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
938         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
939         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
940         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
941         (rresvport_af): Likewise.
943         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
944         * conform/conformtest.pl: Implement handling of symbol.
946         * signal/signal.h: Fix handling of __need_* symbols.
947         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
948         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
949         * include/sys/select.h: Use fd_set not __fd_set.
950         * sysdeps/generic/bits/select.h: Likewise.
951         * sysdeps/i386/bits/select.h: Likewise.
952         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
953         __FDELT, __FDMASK, and __fd_set here.
954         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
955         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
956         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
957         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
958         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
959         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
960         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
961         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
962         * time/sys/time.h: Define struct timeval before including <time.h>
963         and <sys/select.h>.
965         * conform/data/sys/time.h-data: fd_set is a typedef.
966         * conform/data/sys/select.h-data: New file.
967         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
968         * conform/conformtest.pl (@headers): Add sys/select.h.
969         (type, optional-type): Unless testing a typedef instantiate object.
970         Implement optional-function.
972         * math/test-misc.c: Include <float.h>.
974 2001-01-27  Andreas Jaeger  <aj@suse.de>
976         * misc/efgcvt_r.c: Include <float.h>.
978 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
980         * conform/data/stdlib.h-data: Account for XPG6 changes.
981         * stdlib/stdlib.h (__random): Change return value type to long.
982         (posix_memalign): Cleanup parameter names.
983         (setenv, unsetenv): Make available for __USE_XOPEN2K.
984         Change return type of unsetenv to int.
985         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
986         * include/stdlib.h: Change return type of unsetenv to int.
987         Change return type of random to long int.
988         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
989         Return -1 and set errno if parameter is invalid.
990         * stdlib/random.c (__random): Change return value type to long.
992         * conform/data/stdio.h-data: Account for changes in XPG6.
994         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
995         prototype.
997         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
998         * conform/data/signal.h-data: Fix sigev_notify_function entry.
999         Fix typo (SIGVALRM -> SIGVTALRM).
1000         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
1001         with real type.
1002         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1003         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1004         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1005         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1006         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1008         * conform/conformtest.pl: Implement optional-element.  Define
1009         $mustprepend{"sched.h"}.
1010         * conform/data/sched.h-data: Make sporadic scheduler definitions
1011         optional.
1013         * pwd/pwd.h: Don't define getpwent_r for XPG.
1015         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
1016         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
1017         * sysdeps/mach/hurd/poll.c: Likewise.
1018         * sysdeps/unix/bsd/poll.c: Likewise.
1019         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1020         * sysdeps/unix/sysv/aix/poll.c: Likewise.
1021         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
1022         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
1023         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
1024         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1025         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1026         * conform/data/poll.h-data: Fix typo in poll prototype.
1028         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
1029         only if __USE_MISC.
1030         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
1032         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
1034         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
1036         * conform/conformtest.pl: Implement optional-type.
1038         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
1039         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
1040         defining uint32_t here.  Define IPPORT_RESERVED.
1041         (struct hostent): Type of h_length element is int.
1042         (getnameinfo): Type of flags parameter is unsigned int.
1043         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
1044         * conform/data/netdb.h-data: Add many missing definitions.
1046         * conform/conformtest.pl: Implement optional-macro.
1047         * conform/data/math.h-data: Update for XPG6.
1049         * math/math.h (HUGE): Define as FLT_MAX value but don't use
1050         FLT_MAX.  Don't include <float.h>.
1051         (MAXFLOAT): Likewise.
1053         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
1055         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
1057         * conform/data/limits.h-data: Mark constants as optional wherever
1058         appropriate.
1060         * posix/bits/posix2_lim.h: Set correct values for
1061         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
1062         EQUIV_CLASS_MAX.
1064         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
1065         Required by POSIX.
1067         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
1069         * conform/data/netinet/in.h-data: Add reserved prefixes.
1071         * conform/data/arpa/inet.h-data: Fix a few typos.
1073 2001-01-26  Andreas Jaeger  <aj@suse.de>
1075         * sysdeps/generic/strtol.c: Include <locale.h>
1076         * stdlib/strtod.c: Likewise
1077         * stdlib/strfmon.c: Likewise.
1078         * string/strcoll.c: Likewise.
1079         * string/strxfrm.c: Likewise.
1080         * wctype/wcfuncs_l.c: Likewise.
1081         * wctype/wctype_l.c: Likewise.
1082         * wctype/wctrans_l.c: Likewise.
1084         * include/bits/locale.h: New file.
1086 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
1088         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
1089         and NOSTR.
1091         * locale/Makefile (headers): Add bits/locale.h.
1092         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
1093         and use __LC_ constants instead of LC_.
1094         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
1095         using __LC_ constants.
1096         * locale/bits/locale.h: New file.
1097         * locale/loadlocale.c: Include <locale.h>.
1098         * locale/nl_langinfo.h: Likewise.
1100         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
1102         * io/sys/stat.h: Define S_IFSOCK for XPG6.
1104         * conform/data/fcntl.h-data: posix_madvise is not expected here.
1106         * conform/conformtest.pl: Fix handling of macro-str.
1108         * conform/data/inttypes.h-data: Add missing definition and all of
1109         stdint.h-data.
1111         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
1113 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
1115         * conform/conformtest.pl (@headers): Add stdint.h.
1116         * conform/data/stdint.h-data: New file.
1118         * conform/conformtest.pl: Recognize options --headers and
1119         --dialect.  Add dialect-specific CFLAGS.
1121         * conform/conformtest.pl: Implement handling of recursive
1122         allow-header.
1124         * conform/data/locale.h-data: Add new struct lconv members.
1126         * posix/wordexp.h: Correct definition of wordexp_t.
1127         * posix/wordexp.c: Moved to ...
1128         * sysdeps/generic/wordexp.c: ...here.  New file.
1129         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
1130         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
1131         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
1132         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
1133         wordexp.
1134         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
1135         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
1137         * math/tgmath.h: Pretty printing.
1139         * math/Makefile (tests): Add test-tgmath.
1140         (CFLAGS-test-tgmath.c): New variable.
1141         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
1143         * conform/conformtest.pl: Handle allow-header in secondary headers
1144         correctly.
1146         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
1147         #ifdef.
1149         * conform/data/netinet/in.h-data: Use correct comment character.
1150         * conform/data/sys/stat.h-data: Likewise.
1152 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
1154         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
1155         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
1156         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
1157         __builtin_classify_type, add ##f suffixes where appropriate.
1158         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
1159         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
1160         __builtin_classify_type.
1161         (fma): Fix spelling of first argument.
1163 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
1165         * conform/data/unistd.h-data: Mark functions removed in XPG6
1166         correctly.
1168         * posix/unistd.h: Don't make functions removed in XPG6 available if
1169         __USE_XOPEN2K.
1171         * conform/conformtest.pl: Implement optional-constant.
1172         * conform/data/unistd.h-data: Use optional-constant wherever
1173         appropriate.
1175         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
1176         constants and add _SC_STREAMS.
1177         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1179         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
1180         make old name weak alias.
1181         * sysdeps/generic/statvfs64.c: Likewise.
1182         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
1183         make old name weak alias.
1184         * sysdeps/generic/fstatvfs64.c: Likewise.
1185         * include/sys/statvfs.h: New file.
1187         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
1188         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
1189         _PC_REC_XFER_ALIGN.
1190         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
1191         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
1192         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
1193         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1195         * conform/conformtest.pl: Run Unix tests for XPG6.
1196         Implement handling of known namespace violations.
1197         Improve printing of results.
1199         * posix/unistd.h (usleep): Correct return type.
1200         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
1201         * sysdeps/unix/bsd/usleep.c: Correct return type.
1202         * sysdeps/mach/usleep.c: Correct return type.
1203         * sysdeps/generic/usleep.c: Correct return type.
1205         * posix/unistd.h (sync): Correct return type.
1206         * sysdeps/generic/sync.c: Likewise.
1207         * sysdeps/mach/hurd/sync.c: Likewise.
1209         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
1211         * posix/unistd.h: Make seteuid and setegid available for XPG6.
1213         * wcsmbs/wchar.h: Get FILE definition for XPG5.
1215         * conform/data/ctype.h-data: Use correct comment form.
1216         * conform/data/errno.h-data: Likewise.
1217         * conform/data/math.h-data: Likewise.
1218         * conform/data/mqueue.h-data: Likewise.
1219         * conform/data/netdb.h-data: Likewise.
1220         * conform/data/pthread.h-data: Likewise.
1222 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
1224         * conform/data/wordexp.h-data: Fix typo.
1226         * conform/conformtest.pl: Handle allow-header correctly.
1228         * conform/data/time.h-data: Use correct comment form.
1230         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
1232         * configure.in: Comment out binutils version test.
1234         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
1235         separators.
1236         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
1238         * stdlib/tst-strtod.c (locale_test): New function.
1239         (main): Call locale_test.
1240         * stdlib/Makefile (tst-strtod-ENV): New variable.
1242 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
1244         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
1245         declaration of value such that we actually return the value of the
1246         environment variable.
1248 2001-01-24  Andreas Jaeger  <aj@suse.de>
1250         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
1251         prototype.
1252         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1254         * include/sys/sysctl.h: New file.
1256 2001-01-23  Andreas Jaeger  <aj@suse.de>
1258         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
1259         isomac.
1261         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
1262         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
1263         closes PR libc/2039.
1265         * manual/install.texi (Tools for Compilation): Change required
1266         binutils version.
1268 2001-01-22  Andreas Jaeger  <aj@suse.de>
1270         * configure.in: Add test for new enough binutils version, move
1271         compiler/binutils test up.
1273         * Versions.def: Add version GLIBC_2.2.2.
1275 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1277         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
1278         available.
1279         * iconvdata/testdata/IBM932: New file.
1280         * iconvdata/testdata/IBM932..UTF8: New file.
1281         * iconvdata/testdata/IBM943: New file.
1282         * iconvdata/testdata/IBM943..UTF8: New file.
1283         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
1285 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1287         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
1289 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1291         * malloc/malloc.c: Remove a few unnecessary initializers of global
1292         variables.
1294 2000-12-09  H.J. Lu  <hjl@gnu.org>
1296         * nss/Makefile (routines): Add digits_dots.
1297         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
1298         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
1299         into a function.
1300         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
1301         function.
1302         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
1303         (TYPE_VAR_P): Likewise.
1304         (FLAGS_VAR): Likewise.
1305         (AF_VAR_P): Likewise.
1306         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1307         instead of including digits_dots.c.
1308         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
1309         (TYPE_VAR_P): Likewise.
1310         (FLAGS_VAR): Likewise.
1311         (AF_VAR_P): Likewise.
1312         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1313         instead of including digits_dots.c.
1315 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1317         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
1319 2001-01-21  Andreas Jaeger  <aj@suse.de>
1321         * elf/constload2.c: Add prototype for init.
1323 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1325         * stdlib/stdlib.h (drand48_data): Make available only for
1326         __USE_MISC.  Rename elements to protect namespace.  Change type
1327         and position of a and init element.
1328         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
1329         differently.  Adjust for drand48_data change.  Don't compute a here,
1330         it comes from drand48_data.
1331         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
1332         differently.  Adjust for drand48_data change.  Compute a here.
1333         * stdlib/srand48_r.c: Likewise.
1334         * stdlib/drand48.c: Adjust for drand48_data change.
1335         * stdlib/lrand48.c: Likewise.
1336         * stdlib/mrand48.c: Likewise.
1337         * stdlib/seek48.c: Likewise.
1338         * stdlib/drand48_r.c: Likewise.
1339         * stdlib/lrand48_r.c: Likewise.
1340         * stdlib/mrand48_r.c: Likewise.
1341         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
1342         differently.
1343         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
1344         * stdlib/jrand48_r.c: Likewise.
1346         * po/sv.po: Update from translation team.
1348 2001-01-21  Andreas Jaeger  <aj@suse.de>
1350         * stdio-common/vfprintf.c (vfprintf): Add casts.
1352 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
1354         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
1355         the ASCII test.
1356         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
1358         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
1359         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
1360         * iconvdata/ibm932.c: New file.
1361         * iconvdata/ibm932.h: New file.
1362         * iconvdata/ibm943.c: New file.
1363         * iconvdata/ibm943.h: New file.
1364         Patches by Masahide Washizawa <washi@jp.ibm.com>.
1366         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
1367         preventing optimization from being done.  Set the correct type bit
1368         in seen.  Don't define and use _dl_base_addr unless
1369         NEED_DL_BASE_ADDR is defined.
1371         * io/ftw.c (ftw_dir): Add slash after directory name if there
1372         wasn't any.  Reported by loris <loris@iol.it>.
1373         * io/Makefile (tests): Add bug-ftw2.
1374         * io/bug-ftw2.c: New file.
1376 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
1378         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
1379         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
1380         * stdlib/tst-rand48.c: New file.
1381         * stdlib/Makefile (tests): Add tst-rand48.
1383         * locale/newlocale.c (__newlocale): Fix test for setting all
1384         categories.
1386 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
1388         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
1389         but change looking up the initial directory port in a similar way
1390         as done by _hurd_change_directory_port_from_name.
1391         * hurd/fchroot.c (fchroot): Likewise.
1393 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
1395         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
1396         defined don't look whether the AT_*ID values were set.
1397         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
1398         (_dl_show_auxv): Rewrite to avoid switch statement.
1399         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1400         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
1401         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
1402         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
1404         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
1405         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1406         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1408         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
1409         strtoul.
1410         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
1411         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
1412         anything.
1413         * dlfcn/eval.c (__strtol_internal): Define here.
1414         (eval): Use __strtol_internal instead of strtol.
1416         * elf/elf.h: Add a few more EF_MIPS_* constants.
1418 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
1420         * manual/Makefile (chapters): Add debug.
1421         * manual/debug.texi: New file.
1422         * manual/examples/execinfo.c: New file.
1423         Patch by suckfish@ihug.co.nz.
1425 2001-01-17  Andreas Schwab  <schwab@suse.de>
1427         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
1428         invalid asm.
1430 2001-01-17  Andreas Jaeger  <aj@suse.de>
1432         * nscd/connections.c (nscd_run): Use proper format specifier.
1434 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
1436         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
1437         x86_platforms data into new file after prepending _dl_.  Change
1438         users.
1439         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
1440         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
1441         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
1442         dl-procinfo.c.
1444         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
1446         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
1447         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
1448         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
1449         (_setjmp): Likewise.
1450         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
1451         * sysdeps/i386/bsd-setjmp.S: Real implementation.
1452         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
1453         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
1454         version.
1456 2001-01-16  Andreas Jaeger  <aj@suse.de>
1458         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
1459         misapplied last patch.
1461 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
1463         * stdlib/random.c (__initstate): Clean up a cast.
1464         (__setstate): Likewise.
1466         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
1467         syscall handling.  The generic Linux version should work.
1469 2001-01-15  Andreas Jaeger  <aj@suse.de>
1471         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1473         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
1475 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
1477         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
1478         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
1479         New functions.
1480         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
1481         If number is 0, list all.
1482         (services_keys): Likewise.  Lookup aliases as well.
1483         (databases): New table.
1484         (build_doc): Prepare argp doc text with list of supported databases.
1485         (main): Change to table driven processing.
1487 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
1489         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1490         functions.
1492 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
1494         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
1495         encode value which does not fit in the 32bit type.
1497 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
1499         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
1500         Change type of CTX to (struct sigcontext *).
1501         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
1502         (GET_FRAME): Likewise.
1503         (GET_STACK): Likewise.
1504         (SIGCONTEXT): Likewise. Add 2nd arg _code.
1505         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
1507 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
1509         * manual/texinfo.tex: Update from upstream version.
1511 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
1513         * inet/ether_ntoh.c (lookup_function): Change arguments to match
1514         _nss_*_getntohost_r prototype.
1515         (ether_ntohost): Pass errno pointer to NSS function.
1517 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1519         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
1520         (MAP_LOCKED): New definition.
1521         (MAP_NORESERVE): New definition.
1523 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
1525         * assert/assert.h: Use static_cast instead of C-style cast for C++.
1526         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
1528 2001-01-12  Ben Collins  <bcollins@debian.org>
1530         * sysdeps/generic/segfault.c (install_handler): Use access, not
1531         __access.
1533 2001-01-12  Andreas Jaeger  <aj@suse.de>
1535         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
1536         * posix/wordexp.c (do_parse_glob): Likewise.
1537         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1538         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
1539         * elf/dl-open.c (_dl_open): Likewise.
1540         * elf/dl-close.c (_dl_close): Likewise.
1541         * elf/dl-load.c (_dl_map_object): Likewise.
1542         * iconv/iconv_prog.c (process_fd): Likewise.
1543         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1545         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
1546         of a zero-length array.
1548 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
1550         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
1551         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
1552         * stdlib/cxa_on_exit.c: Remove.
1553         * stdlib/Makefile: Revert last patch.
1554         * stdlib/Versions: Likewise.
1555         * include/stdlib.h: Likewise.
1556         * stdlib/exit.h: Revert last patch.
1557         (struct exit_function): Add second argument to cxa fn.
1558         * stdlib/exit.c: Revert last patch.
1559         (exit): Add hidden second argument.
1561 2001-01-11  H.J. Lu  <hjl@gnu.org>
1563         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1564         * elf/dl-open.c (_dl_open): Here.
1565         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1566         Make it static.
1567         (_dl_static_init): Initialize the variables every time when possible.
1568         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1569         Undefine it first.
1571 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
1573         * stdlib/Makefile (routines): Add cxa_on_exit.
1574         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1575         * stdlib/cxa_on_exit.c: New file.
1576         * include/stdlib.h: Add prototype for __cxa_on_exit.
1577         * stdlib/exit.c: Handle ef_cxa2.
1578         * stdlib/exit.h (enum): Add ef_cxa2.
1579         (struct exit_function): Add cxa2.
1581         * Versions.def [ld]: Add GLIBC_2.2.1.
1583 2001-01-10  H.J. Lu  <hjl@gnu.org>
1585         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1586         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1587         dl-static.
1588         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1589         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1590         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1591         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1592         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1594 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
1596         * libio/stdio.h: Remove definition of off_t.
1598 2001-01-11  Andreas Jaeger  <aj@suse.de>
1600         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1601         <mkuhn@acm.org>.
1603 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
1605         * sunrpc/Makefile (distribute): Add errqueue.h.
1607 2001-01-10  H.J. Lu  <hjl@gnu.org>
1609         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1610         r9, r10 and r11 for language specific registers.
1612 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
1614         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1615         UDP socket.
1616         (clntudp_call): Handle MSG_ERRQUEUE.
1617         * sysdeps/generic/errqueue.h: New file.
1618         * sysdeps/unix/sysv/linux/errqueue.h: New file.
1620 2001-01-10  H.J. Lu  <hjl@gnu.org>
1622         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1624 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1626         * CONFORMANCE: Update.
1628 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
1630         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1631         Minimal cleanups.  Add assert to ensure memory handling is correct.
1633         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1634         Reported by Ben Collins <bcollins@debian.org>.
1636         * time/strftime.c (my_strftime): Mark previous GNU extensions
1637         which are now in C99 as such.
1639 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
1641         * elf/rtld.c (process_envvars): Place output files for profiling
1642         in SUID binaries in /var/profile.
1644         * elf/dl-load.c (_dl_map_object): Don't look in cache for
1645         preloading in SUID binaries.
1647         * elf/dl-profile.c (_dl_start_profile): Open the output file with
1648         O_NOFOLLOW if possible.
1650         * include/stdlib.h: Add __posix_openpt declaration.
1651         * stdlib/stdlib.h: Add posix_openpt declaration.
1652         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1653         * sysdeps/generic/getpt.c: Define posix_openpt.
1654         * sysdeps/unix/bsd/getpt.c: Likewise.
1655         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1657         * time/Makefile (tests): Add tst-mktime.
1658         * time/tst-mktime.c: New file.
1660         * posix/tst-dir.c (main): One more mkdir() test.
1662         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1663         Remove getpagesize syscall.  We assume that the pagesize is always
1664         determined from the auxiliary vector.
1666         * intl/dcigettext.c: Fix a few warnings.
1667         Patch by Bruno Haible <haible@ilog.fr>.
1669 2001-01-08  Andreas Jaeger  <aj@suse.de>
1671         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1672         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1674 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
1676         * sysdeps/generic/segfault.c (install_handler): Check output file
1677         name with access().
1679         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1680         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1682         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1684         * malloc/memusage.c (me): Use access() to determine whether we
1685         should write the output file or not.
1687         * libio/bits/stdio.h (printf): Define macro to map printf call to
1688         fprintf which gcc can optimize.
1689         * stdio-common/printf.c: Undefine printf.
1691 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
1693         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
1694         patch.  We must use unsigned int for l member of union.
1696         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1697         _dl_aux_init for shared libraries.
1699         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1700         * sysdeps/gnu/glob64.c: ...here.  New file.
1702 2001-01-07  Ben Collins  <bcollins@debian.org>
1704         * manual/examples/longopt.c: Make the "struct option" a little
1705         more like it should be, adding usage of required_argument,
1706         noargument and such, and also setting the options string right.
1708         * manual/sysinfo.texi (Load Average): New section, documents
1709         getloadavg().
1711 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
1713         * version.h (VERSION): Bump to 2.2.1.
1715         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
1716         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1717         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1718         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1719         * Makefile (distribute): Add include/libc-internal.h.
1720         * libio/Makefile (distribute): Avoid overwriting.
1722         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1723         buffer and table handling.
1725 2001-01-05  H.J. Lu  <hjl@gnu.org>
1727         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1728         vector checking to ...
1729         (_dl_aux_init): Here. New function. Defined only if
1730         HAVE_AUX_VECTOR is defined.
1732         * sysdeps/generic/libc-start.c (__libc_start_main): Call
1733         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1735         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1736         _dl_aux_init.
1738         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1739         (HAVE_AUX_VECTOR): Defined.
1740         (_dl_aux_init): Declared.
1742 2001-01-05  Ben Collins  <bcollins@debian.org>
1744         * manual/string.texi (Finding Tokens in a String): Document XPG
1745         basename() and dirname(), as well as GNU basename().
1747 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
1749         * Makeconfig (preprocess-version): Replace -traditional with
1750         -x assembler-with-cpp.
1752 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
1754         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1755         for GCC 2.97 or later.
1757 2001-01-05  Ben Collins  <bcollins@debian.org>
1759         * manual/stdio.texi (getline): Clarify the return value in the
1760         case of EOF being reached before a newline.
1762 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
1764         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1765         FALSE otherwise.
1766         (pmap_set, pmap_unset): Check __get_myaddress return value.
1768 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
1770         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1771         (struct ether_addr): Declare ether_addr_octet member as
1772         `u_int8_t'.  Add __attribute__ ((__packed__)).
1774 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
1776         * sysdeps/mach/hurd/readdir64.c: New file.
1777         * sysdeps/mach/hurd/readdir64_r.c: New file.
1779 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
1781         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1782         `struct statfs' and `struct statvfs' being identical.
1783         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1785 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
1787         * sysdeps/mach/hurd/fstatfs64.c: New file.
1788         * sysdeps/mach/hurd/fstatvfs64.c: New file.
1789         * sysdeps/mach/hurd/statfs64.c: New file.
1790         * sysdeps/mach/hurd/statvfs64.c: New file.
1791         * sysdeps/mach/hurd/statfsconv.c: New file.
1792         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1794 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
1796         * iconv/skeleton.c: Reset outbuf for next round of the loop.
1797         Reported by Owen Taylor <otaylor@redhat.com>.
1798         * iconv/Makefile (tests): Add tst-iconv3.
1799         * iconv/tst-iconv3.c: New file.
1801         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
1802         * iconvdata/ibm933.c: Likewise.
1803         * iconvdata/ibm935.c: Likewise.
1804         * iconvdata/ibm937.c: Likewise.
1805         * iconvdata/ibm939.c: Likewise.
1806         * iconvdata/ibm930.h: Adjust single byte table for optimization.
1807         * iconvdata/ibm933.h: Likewise.
1808         * iconvdata/ibm935.h: Likewise.
1809         * iconvdata/ibm939.h: Likewise.
1811         * iconvdata/testdata/IBM930: Add misssing SI.
1812         * iconvdata/testdata/IBM933: Likewise.
1813         * iconvdata/testdata/IBM935: Likewise.
1814         * iconvdata/testdata/IBM937: Likewise.
1815         * iconvdata/testdata/IBM939: Likewise.
1817 2001-01-06  Andreas Jaeger  <aj@suse.de>
1819         * configure.in: Check for old add-ons that shouldn't be used with
1820         current glibc anymore.
1822 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
1824         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1825         instead of -1 on failure.  Don't forget to copy file name into
1826         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
1827         of the directory.
1829 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
1831         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1832         copy st_atime member.
1834 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
1836         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1837         for searches from the root directory.
1838         Reported by loris <loris@iol.it> [PR libc/1991].
1839         * io/Makefile (tests): Add bug-ftw1.
1840         * io/bug-ftw1.c: New file.
1842         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
1843         if it is not available.  Instead use it only if it is available.
1844         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1846         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1847         overflowing output buffer.
1848         (internal_ucs4_loop_unaligned): Likewise.
1849         (ucs4_internal_loop): Likewise.
1850         (ucs4_internal_loop_unaligned): Likewise.
1851         (internal_ucs4le_loop): Likewise.
1852         (internal_ucs4le_loop_unaligned): Likewise.
1853         (ucs4le_internal_loop): Likewise.
1854         (ucs4le_internal_loop_unaligned): Likewise.
1855         Reported by Owen Taylor <otaylor@redhat.com>.
1856         * iconv/Makefile (tests): Add tst-iconv2.
1857         * iconv/tst-iconv2.c: New file.
1859 2001-01-04  H.J. Lu  <hjl@gnu.org>
1861         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
1862         (_dl_clktck): Declared.
1863         (non_dynamic_init): Take 3 arguments.
1864         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1866 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
1868         Finish implementation of plural form handling.
1869         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1870         'domainname'.  Remove 'plindex' field. Add 'domain' and
1871         'translation_length' fields.
1872         (transcmp): Don't compare 'plindex' fields.
1873         (plural_lookup): New function.
1874         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
1875         plural_eval before the translation and its catalog file have been
1876         found. Remove plindex from cache key.  Add 'translation_length' and
1877         'domain' to cache result.
1878         (_nl_find_msg): Remove index argument, return length of translation
1879         to the caller instead.  Weaken comparison of string lengths, to account
1880         for plural entries.  Call iconv() on the entire result string, not
1881         only on the portion needed so far.
1882         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1883         argument.
1884         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1886 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
1888         * intl/plural.y (yylex): Minimal improvement in number scanner.
1890 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
1892         * intl/plural.y: Include config.h. Needed to define 'inline' away for
1893         C compilers that don't support it.
1894         (yylex): Don't use gcc specific case range syntax.
1895         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1896         compilers.
1898 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
1900         * intl/finddomain.c: Remove unneeded includes.
1902 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
1904         * intl/localealias.c (memcpy): Return first argument, just like the
1905         real memcpy function does.
1906         * intl/bindtextdom.c (memcpy): Likewise.
1907         * intl/finddomain.c (memcpy): Likewise.
1908         * intl/l10nflist.c (memcpy): Likewise.
1909         * intl/textdomain.c (memcpy): Likewise.
1910         From Paul Eggert <eggert@twinsun.com>.
1912 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
1914         * resolv/resolv.h (struct __res_state): Add nsinit field.
1915         * resolv/res_send.c (res_nsend): Use it instead of nscount.
1916         * resolv/res_init.c (__res_vinit): Initialize it.
1917         (res_nclose): Clear it instead of nscount.
1919 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
1921         * malloc/mtrace.pl: Fix matching of addresses.
1922         Patch by Aharon Robbins <arnold@skeeve.com>.
1924         * Versions.def (ld): Add GLIBC_2.2.
1926         * catgets/gencat.c: Copyright 2001.
1927         * csu/version.c: Likewise.
1928         * debug/catchsegv.sh: Likewise.
1929         * debug/xtrace.sh: Likewise.
1930         * elf/ldconfig.c: Likewise.
1931         * elf/sprof.c: Likewise.
1932         * iconv/iconv_prog.c: Likewise.
1933         * locale/locale.c: Likewise.
1934         * locale/localedef.c: Likewise.
1935         * malloc/memusage.sh: Likewise.
1936         * malloc/mtrace.pl: Likewise.
1937         * nscd/nscd.c: Likewise.
1938         * posix/getconf.c: Likewise.
1940 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
1942         * include/stdio.h: Only provide __getwc_unlocked prototype if
1943         USE_IN_LIBIO is defined.
1945 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1947         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1948         handling.
1950 2001-01-03  Andreas Schwab  <schwab@suse.de>
1952         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1953         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1955         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1956         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1957         strtoull alias.
1958         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1959         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1960         wcstoull alias.
1962         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1963         directory.
1964         * sysdeps/generic/strtol_l.c: Likewise.
1965         * sysdeps/generic/strtoul_l.c: Likewise.
1966         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1968         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1969         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1970         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1971         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1973 2001-01-04  Andreas Jaeger  <aj@suse.de>
1975         * nss/nsswitch.c: Include files for missing prototypes, remove
1976         buggy declaration of prototypes.
1978 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1980         * resolv/Versions: Fix bracing.
1981         * sysdeps/powerpc/soft-fp/Versions: Likewise.
1982         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
1984 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1986         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1988 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
1990         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1991         Suggested by Minko Markov <mmarkov@home.com>.
1993 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1995         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1996         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1997         the failing symbol.
1998         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
2000 2001-01-02  Ben Collins  <bcollins@debian.org>
2002         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
2003         if TZ is not set and TZDEFAULT is not present.
2005 2001-01-01  Ben Collins  <bcollins@debian.org>
2007         * string/strings.h: Make sure we declare our functions even if
2008         string.h is already included, based on whether or not __USE_BSD is
2009         defined.
2011 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2013         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
2014         other dlopen() and dlsym().
2015         Based on a patch by Ben Collins <bcollins@debian.org>.
2017 2001-01-02  Andreas Jaeger  <aj@suse.de>
2019         * dlfcn/errmsg1.c (main): Call dlerror initially.
2020         Reported by Ben Collins <bcollins@debian.org>.
2022 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2024         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
2025         value is ignored if the selected locale is the C locale.
2026         * intl/tst-gettext.c: Set locale for above change.
2027         * intl/tst-translit.c: Likewise.
2029 2001-01-02  Andreas Jaeger  <aj@suse.de>
2031         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
2032         (_IO_switch_to_wget_mode): Likewise.
2033         (_IO_sputbackwc): Likewise.
2034         (_IO_sungetwc): Use wint_t for result.
2036         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
2038         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
2039         signedness.
2041         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
2042         to (int) to avoid warnings.
2043         * stdio-common/printf_fp.c (putc): Likewise.
2044         * stdio-common/printf_size.c (putc): Likewise.
2046         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
2047         constant unsigned.
2049 2001-01-01  Andreas Jaeger  <aj@suse.de>
2051         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
2053 2000-12-31  Andreas Jaeger  <aj@suse.de>
2055         * include/libc-internal.h: Add prototype for __libc_freeres.
2057         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
2058         for prototypes, remove redundant prototypes.
2059         * gmon/gmon.c: Likewise.
2060         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2061         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
2062         * malloc/mtrace.c: Likewise.
2064         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
2065         prototypes.
2066         * elf/soinit.c: Likewise.
2067         * sysdeps/generic/prof-freq.c: Likewise.
2068         * sysdeps/mach/hurd/profil.c: Likewise.
2069         * debug/noophooks.c: Likewise.
2070         * debug/pcprofile.c: Likewise.
2071         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2072         * sysdeps/generic/get_clockfreq.c: Likewise.
2073         * malloc/set-freeres.c: Likewise.
2075         * locale/localeinfo.h: Add internal prototypes.
2077         * elf/rtld.c (dl_main): Fix prototype.
2079         * iconvdata/tst-table-to.c (main): Use return instead of exit to
2080         avoid warning.
2082         * nis/rpcsvc/yp_prot.h: Remove __P.
2083         * nis/rpcsvc/ypupd.h: Likewise.
2084         * nis/rpcsvc/yp.h: Likewise.
2086         * sunrpc/rpc_main.c: Add noreturn attributes.
2087         * sunrpc/rpc_scan.h: Likewise.
2089         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
2091         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
2093         * sunrpc/proto.h: Add noreturn attributes to error and crash.
2095         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
2097         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
2099         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
2101         * include/rpc/rpc_msg.h: Add prototypes for some functions.
2102         * include/rpc/auth.h: Likewise.
2103         * include/rpc/auth_des.h: Likewise.
2104         * include/rpc/clnt.h: Likewise.
2105         * include/rpc/rpc.h: Likewise.
2106         * include/rpc/svc.h: Likewise.
2107         * include/rpc/svc_auth.h: Likewise.
2109         * include/rpc/des_crypt.h: New file.
2111         * malloc/memusagestat.c (main): Use return instead of exit to
2112         avoid warning.
2113         * io/pwd.c (main): Likewise.
2114         * iconvdata/tst-table-from.c (main): Likewise.
2115         * ctype/test_ctype.c (main): Likewise.
2116         * setjmp/tst-setjmp.c (main): Likewise.
2117         * signal/tst-signal.c (main): Likewise.
2118         * stdlib/tst-strtol.c (main): Likewise.
2119         * stdlib/tst-strtod.c (main): Likewise.
2120         * stdlib/tst-strtoll.c (main): Likewise.
2121         * stdlib/tst-xpg-basename.c (main): Likewise.
2122         * dirent/tst-seekdir.c (main): Likewise.
2123         * grp/testgrp.c (main): Likewise.
2124         * inet/test_ifindex.c (main): Likewise.
2125         * io/test-utime.c (main): Likewise.
2126         * posix/test-vfork.c (main): Likewise.
2127         * posix/testfnm.c (main): Likewise.
2128         * stdio-common/temptest.c (main): Likewise.
2129         * stdio-common/test_rdwr.c (main): Likewise.
2130         * stdio-common/tst-fileno.c (main): Likewise.
2131         * stdio-common/tst-sscanf.c (main): Likewise.
2132         * stdio-common/tstscanf.c (main): Likewise.
2133         * string/bug-strncat1.c (main): Likewise.
2134         * string/bug-strpbrk1.c (main): Likewise.
2135         * string/bug-strspn1.c (main): Likewise.
2136         * string/test-ffs.c (main): Likewise.
2137         * string/tst-inlcall.c (main): Likewise.
2138         * string/tst-svc.c (main): Likewise.
2139         * timezone/test-tz.c (main): Likewise.
2140         * wctype/test_wcfuncs.c (main): Likewise.
2141         * wctype/test_wctype.c (main): Likewise.
2143         * stdlib/tst-random.c: Add attribute noreturn to fail.
2145 2000-12-28  Wolfram Gloger  <wg@malloc.de>
2147         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
2148         destination overlap.  Assume dest is always below source if
2149         overlapping.
2151 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
2153         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
2154         object was not yet initialized.
2156 2000-12-28  H.J. Lu  <hjl@gnu.org>
2158         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
2159         is always consistent even if its dependency is failed.
2161         * elf/dl-open.c (_dl_open): Increment the open count before
2162         calling _dl_close () in case of failure.
2164         * elf/neededtest4.c: New file.
2165         * elf/neededobj5.c: New file.
2166         * elf/neededobj6.c: New file.
2168         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
2169         (tests): Add neededtest4.
2170         (modules-names): Add neededobj5 and neededobj6.
2171         ($(objpfx)neededobj6.so): New target.
2172         ($(objpfx)neededtest4): New target.
2173         ($(objpfx)neededtest4.out): New target.
2175 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2177         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
2178         * stdlib/monetary.h: Add strfmon format attributes.
2180 2000-12-28  Roland McGrath  <roland@frob.com>
2182         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
2183         __mempcpy does it for us.
2185 2000-12-28  Andreas Jaeger  <aj@suse.de>
2187         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
2189         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
2190         __new_setrlimit.
2192         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
2193         __old_getrlimit64.
2195         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
2196         __new_getrlimit.
2198         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
2199         __chown_is_lchown and __real_chown.
2201         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
2202         _dl_reloc_bad_type.
2204         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
2205         up GCC's warning about "deprecated use of label at end of compound
2206         statement."
2207         * sunrpc/rpc_cout.c (emit_inline): Likewise.
2209         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
2210         prototypes.
2211         Remove struct bb and __bb_head since those are declared by
2212         sys/gmon.h.
2214 2000-12-22  Ben Collins  <bcollins@debian.org>
2216         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
2218         * manual/argp.texi: Document argp_domain as part of struct argp.
2220 2000-12-28  Andreas Jaeger  <aj@suse.de>
2222         * catgets/Makefile (generated): Add sample.SJIS.cat.
2224         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2226         * elf/dl-minimal.c: Add prototypes.
2228         * include/locale.h: Add internal prototypes.
2229         * include/sys/gmon.h: Likewise.
2231         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2233 2000-12-27  Ben Collins  <bcollins@debian.org>
2235         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
2236         when reallocating the error strings.
2237         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2239 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
2241         * dlfcn/Makefile (tests): Add errmsg1.
2242         (modules-names): Add errmsg1mod.
2243         Add rules to run errmsg1.
2244         * dlfcn/errmsg1.c: New file.
2245         * dlfcn/errmsg1mod.c: New file.
2247         * dlfcn/dlerror.c (dlerror): Always create output string which
2248         includes object file name.
2250         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
2251         if we would go through it only once.
2252         Patch by Rick Gorton <rick.gorton@api-networks.com>.
2254         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
2255         Patch by Richard Henderson <rth@redhat.com>.
2257 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
2259         * malloc/malloc.c (memmove): Add prototypes.
2260         (MALLOC_MEMMOVE): Define.
2261         (chunk_realloc): Use it instead of MALLOC_COPY if source and
2262         destination might overlap.
2264 2000-12-27  Andreas Jaeger  <aj@suse.de>
2266         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
2267         function.
2268         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2269         * locale/programs/locale.c (show_locale_vars): Likewise.
2270         (show_info): Likewise.
2271         * locale/programs/ld-collate.c (collate_output): Likewise.
2272         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2273         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2274         * stdlib/rpmatch.c (rpmatch): Likewise.
2276         * setjmp/tst-setjmp.c: Make local functions static.
2277         * setjmp/jmpbug.c: Likewise.
2278         * signal/tst-signal.c: Likewise.
2279         * stdio-common/tfformat.c: Likewise.
2280         * string/tst-svc.c: Likewise.
2281         * time/clocktest.c: Likewise.
2282         * time/tst-getdate.c: Likewise.
2283         * dirent/list.c: Likewise.
2284         * dirent/opendir-tst1.c: Likewise.
2285         * posix/runtests.c: Likewise.
2286         * posix/tst-getaddrinfo.c: Likewise.
2287         * posix/tst-chmod.c: Likewise.
2288         * posix/wordexp-test.c: Likewise.
2289         * misc/tst-efgcvt.c: Likewise.
2290         * timezone/tst-timezone.c: Likewise.
2291         * rt/tst-clock.c: Likewise.
2292         * rt/tst-shm.c: Likewise.
2293         * rt/tst-aio2.c: Likewise.
2294         * rt/tst-aio3.c: Likewise.
2295         * rt/tst-aio4.c: Likewise.
2296         * rt/tst-aio5.c: Likewise.
2298         * dlfcn/failtest.c: Add prototype for foo.
2300         * dlfcn/glrefmain.c: Add prototype for do_test.
2302         * dlfcn/tst-dladdr.c: Add prototype for do_test.
2304         * string/test-ffs.c (main): Add prototype for nested function.
2306         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
2308         * nss/XXX-lookup.c: Add prototype to shut up GCC.
2310         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
2311         setetherent prototype.
2312         Add internal interfaces.
2314         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
2315         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
2317         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
2319         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
2321         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
2322         prototypes, remove struct etherent since it's declared in ether.h.
2323         Fix ntohost declaration.
2325         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
2327         * include/getopt.h: Add internal interfaces.
2328         * include/termios.h: Likewise.
2329         * include/resolv.h: Likewise.
2330         * include/netdb.h: Likewise.
2331         * include/grp.h: Likewise.
2332         * include/pwd.h: Likewise.
2333         * include/shadow.h: Likewise.
2334         * include/rpc/netdb.h: Likewise.
2335         * include/setjmp.h: Likewise.
2337         * include/stdio.h: Add prototypes for compatibility functions.
2338         * include/grp.h: Likewise.
2339         * include/pwd.h: Likewise.
2340         * include/shadow.h: Likewise.
2342         * include/fenv.h: Define internal interfaces.
2344 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
2346         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
2347         argument case separately.
2348         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2350 2000-12-27  Andreas Jaeger  <aj@suse.de>
2352         * include/sys/wait.h: Add some prototypes.
2353         * Rules (dummy.c): Create also prototype to shut up GCC.
2355 2000-12-27  Andreas Jaeger  <aj@suse.de>
2357         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
2358         it's not needed at the moment.
2359         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
2360         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
2362 2000-12-26  Andreas Jaeger  <aj@suse.de>
2364         * libio/getc_u.c: Include stdio.h via system path to get internal
2365         prototypes.
2366         * libio/getwc_u.c: Likewise.
2368         * stdlib/strfmon.c: Fix prototype of __printf_fp.
2370         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
2371         __printf_fp prototypes to ...
2372         * include/printf.h: ...here.
2374         * include/stdio.h: Add some internal prototypes to shut up GCC.
2375         * include/stdlib.h: Likewise.
2377         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
2378         declaration.
2380         * include/signal.h: Add prototypes for internal sigpause
2381         interfaces.
2383 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
2385         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
2386         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
2388         * string/Makefile (tests): Add tst-bswap.
2389         * string/tst-bswap.c: New file.
2391 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
2393         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
2395 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
2397         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
2398         Patch by Ed Connell <Ed.Connell@sas.com>.
2400 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
2402         * locale/iso-639.def: Correct one entry.  Add two missing entries.
2404         * locale/iso-4217.def: Change entry for Eritrea.
2405         Reported by Daniel Yacob <yacob@geez.org>.
2407 2000-12-23  Ben Collins  <bcollins@debian.org>
2409         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
2410         description.
2412         * manual/stdio.texi (Dynamic Output): Document the return value of
2413         asprintf.  Also make the asprintf/snprintf examples a little
2414         better (check for some error returns).
2416 2000-12-22  Andreas Jaeger  <aj@suse.de>
2418         * include/stdio.h: Add __ftrylockfile prototype.
2420 2000-12-21  H.J. Lu  <hjl@gnu.org>
2422         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
2423         Make sign_exponent element signed.
2425         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
2426         Fix a typo.
2428         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2430 2000-12-21  Andreas Jaeger  <aj@suse.de>
2432         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
2433         * inet/ether_hton.c: Likewise
2434         * inet/ether_ntoh.c: Likewise.
2436         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
2437         declaration to match prototype.
2439         * include/netinet/ether.h (struct etherent): Declare here so that
2440         all implementations use the same struct.
2442         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
2443         prototypes.
2444         (struct ether): Removed.
2445         Use struct etherent instead of ether everywhere.
2447         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
2449         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
2451         * sunrpc/publickey.c: Include auth_des.h for prototypes.
2453 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
2455         * math/test-misc.c: Add more tests for nextafter functions.
2457         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
2458         normal correctly.  Correct test for sign.
2459         Based on a patch by HJ Lu.
2461 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
2463         * Makeconfig (preprocess-version): Add -traditional to gcc call.
2464         Cleanup sed calls.
2466 2000-12-19  Andreas Jaeger  <aj@suse.de>
2468         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
2470         * nis/nis_intern.h: Add prototype for __do_niscall3.
2472         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
2473         match prototype.
2475         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
2477         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2479         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2481 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
2483         * math/test-misc.c: Add more tests for nextafter.
2484         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2485         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2486         (ieee_long_double_shape_type): Make sign_exponent element signed.
2488         * manual/message.texi: Add Estonian to plural overview list.
2489         Correct rule for Slavic languages.
2490         Patch by Stanislav Brabec <utx@penguin.cz>.
2492         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2494 2000-12-18  Andreas Jaeger  <aj@suse.de>
2496         * test-skeleton.c: Use temp_name_list instead of name_list to
2497         avoid collision with name_list from inet/netgroup.h.
2499         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
2501         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
2502         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
2503         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2504         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
2506         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
2507         declaration to match prototype.
2508         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
2509         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
2510         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
2511         Likewise.
2512         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
2513         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
2514         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
2515         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
2516         (_nss_nis_getservbyport_r): Likewise.
2517         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
2518         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
2519         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
2520         (_nss_nis_setnetent): Likewise
2521         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2522         (_nss_nis_endnetgrent): Likewise.
2523         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
2524         Likewise.
2525         (_nss_nisplus_setnetgrent): Likewise.
2526         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
2527         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
2528         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
2529         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
2530         Likewise.
2531         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
2532         Likewise.
2533         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
2534         Likewise.
2535         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
2536         Likewise.
2537         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
2538         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
2539         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
2540         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2541         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2542         (_nss_dns_getnetbyaddr_r): Likewise.
2544 2000-12-17  Andreas Jaeger  <aj@suse.de>
2546         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
2547         parameter.
2549         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
2550         unused attribute to shut up gcc warnings.
2552         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
2553         * sysdeps/generic/k_tanl.c: Likewise.
2554         * sysdeps/generic/k_cosl.c: Likewise.
2555         * sysdeps/generic/e_j0l.c: Likewise.
2556         * sysdeps/generic/e_j1l.c: Likewise.
2557         * sysdeps/generic/e_jnl.c: Likewise.
2558         * sysdeps/generic/e_lgammal_r.c: Likewise.
2560         * elf/vismain.c: Move prototypes for functions in vismod*.c to
2561         vismod.h.
2562         * elf/vismod.h: New file.
2563         * elf/Makefile (distribute): Add vismod.h.
2564         * elf/vismod1.c: Include vismod.h.
2565         * elf/vismod2.c: Likewise.
2566         * elf/vismod3.c: Likewise.
2568         * elf/constload3.c: Add prototype declarations to shut up gcc.
2569         * elf/failobj.c: Likewise.
2570         * elf/nodelmod3.c: Likewise.
2571         * elf/filtmod1.c: Likewise.
2572         * elf/filtmod2.c: Likewise.
2573         * elf/reldepmod1.c: Likewise.
2574         * elf/reldepmod2.c: Likewise.
2575         * elf/reldepmod3.c: Likewise.
2576         * elf/reldepmod4.c: Likewise.
2577         * elf/unload2dep.c: Likewise.
2578         * elf/unload2mod.c: Likewise.
2579         * elf/ltglobmod1.c: Likewise.
2580         * elf/pathoptobj.c: Likewise.
2581         * elf/neededobj1.c: Likewise.
2582         * elf/neededobj2.c: Likewise.
2583         * elf/neededobj3.c: Likewise.
2584         * elf/neededobj4.c: Likewise.
2585         * elf/nextmod1.c: Likewise.
2586         * elf/nextmod2.c: Likewise.
2588         * locale/programs/ld-collate.c (collate_finish): Don't use labels
2589         at end of compound statement.
2590         * locale/programs/locale.c (show_info): Likewise.
2591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2593 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
2595         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2596         with a pointer not returned by obstack_ functions.
2598 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
2600         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2601         version.
2602         (struct stat64): Likewise.
2603         Reported by Michael Keezer <mkeezer@redhat.com>.
2605         * timezone/asia: Update from tzdata2000h.
2606         * timezone/australasia: Likewise.
2607         * timezone/backward: Likewise.
2608         * timezone/europe: Likewise.
2609         * timezone/northamerica: Likewise.
2610         * timezone/southamerica: Likewise.
2611         * timezone/zone.tab: Likewise.
2613 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
2615         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2616         and dir.stream is NULL, only free dir.content.
2617         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2618         * io/ftwtest-sh: Test with --early-exit.
2620 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
2622         * misc/efgcvt.c (FCVT_MAXDIG): Define.
2623         (FCVT_BUFPTR): New variable.
2624         (fcvt): If fcvt_r returns -1 on the static short buffer,
2625         try to malloc a sufficiently large one and retry.
2626         (free_mem): New function.
2627         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2628         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2630 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
2632         * misc/dirname.c (dirname): Fix search for second to last slash.
2634 2000-12-13  Andreas Jaeger  <aj@suse.de>
2636         * misc/tst-dirname.c (main): Fix typo in test to really use
2637         the examples from Unix98.
2638         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2640 2000-12-09  H.J. Lu  <hjl@gnu.org>
2642         * sysdeps/ia64/fpu/s_fabs.S: New file.
2643         * sysdeps/ia64/fpu/s_fabsf.S: New file.
2644         * sysdeps/ia64/fpu/s_fabsl.S: New file.
2646 2000-12-15  Andreas Jaeger  <aj@suse.de>
2648         * stdio-common/scanf9.c (main): Reformat and change to avoid
2649         warnings.
2651         * stdio-common/tstdiomisc.c: Make local functions static.
2652         * stdio-common/tst-printf.c: Likewise.
2654         * elf/constload2.c: Add prototype declarations to shut up gcc.
2655         * elf/dep1.c: Likewise.
2656         * elf/dep2.c: Likewise.
2657         * elf/dep3.c: Likewise.
2658         * elf/dep4.c: Likewise.
2659         * elf/ltglobmod2.c: Likewise.
2661         * libio/fmemopen.c: Make local functions static.
2663         * elf/Makefile (distribute): Added testobj.h.
2665         * elf/testobj.h: New file.
2667         * elf/testobj1.c: Include testobj.h and move prototype
2668         declarations to testobj.h.
2669         * elf/testobj2.c: Likewise.
2670         * elf/testobj3.c: Likewise.
2671         * elf/testobj4.c: Likewise.
2672         * elf/testobj5.c: Likewise.
2673         * elf/testobj6.c: Likewise.
2674         * elf/testobj1_1.c: Likewise.
2675         * elf/preloadtest.c: Likewise.
2677 2000-12-15  Ben Collins  <bcollins@debian.org>
2679         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2680         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2682 2000-12-14  H.J. Lu  <hjl@gnu.org>
2684         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2685         field in a float is 8 bits, not 11 bits.
2687 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
2689         * math/test-misc.c (main): Adjust m for IEEE quad long double.
2691 2000-12-13  Andreas Jaeger  <aj@suse.de>
2693         * manual/message.texi (Using gettextized software): Fix typo.
2695         * manual/charset.texi (Converting a Character): Fix mbstouwcs
2696         program to compile.
2697         Patch by Martin Buchholz <martin@xemacs.org>.
2699         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2700         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2702 2000-12-11  Andreas Jaeger  <aj@suse.de>
2704         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2705         kernel_sigset_t and use it.
2706         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2708 2000-12-10  Richard Henderson  <rth@redhat.com>
2710         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2711         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2712         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2714 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
2716         * sysdeps/alpha/htonl.S: Fix a typo.
2718 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
2720         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2722 2000-12-10  Andreas Jaeger  <aj@suse.de>
2724         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
2725         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2726         Drepper <drepper@redhat.com>.
2728 2000-12-09  Andreas Jaeger  <aj@suse.de>
2730         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2732         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2733         generic version.
2734         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2736         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2737         string.
2739         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2740         format string.
2742         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2743         * nscd/connections.c (handle_request): Likewise.
2744         * nscd/pwdcache.c (addpwbyname): Likewise.
2745         * nscd/grpcache.c (addgrbyname): Likewise.
2747         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2749 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
2751         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2753         * Makeconfig (default_cflags): Make -O2 the default for stable
2754         releases.
2756 2000-12-08  H.J. Lu  <hjl@gnu.org>
2758         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2759         * sysdeps/ia64/fpu/s_isinf.S: This.
2760         Add a .pred.rel.mutex note to avoid false report.
2762         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2763         * sysdeps/ia64/fpu/s_isnan.S: This.
2765         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2766         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2767         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2768         * sysdeps/ia64/fpu/s_isinff.S: New file.
2769         * sysdeps/ia64/fpu/s_isinfl.S: New file.
2770         * sysdeps/ia64/fpu/s_isnanf.S: New file.
2771         * sysdeps/ia64/fpu/s_isnanl.S: New file.
2772         * sysdeps/ia64/fpu/s_finite.S: New file.
2773         * sysdeps/ia64/fpu/s_finitef.S: New file.
2774         * sysdeps/ia64/fpu/s_finitel.S: New file.
2775         * sysdeps/ia64/fpu/s_signbit.S: New file.
2776         * sysdeps/ia64/fpu/s_signbitf.S: New file.
2777         * sysdeps/ia64/fpu/s_signbitl.S: New file.
2778         * sysdeps/ia64/fpu/s_copysign.S: New file.
2779         * sysdeps/ia64/fpu/s_copysignf.S: New file.
2780         * sysdeps/ia64/fpu/s_copysignl.S: New file.
2782 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
2784         * math/libm-test.inc (main): Fix typos in messages.
2786         * string/stratcliff.c: Add test for rawmemchr.
2788 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
2790         * elf/dl-open.c (_dl_open): If objname points right after errstring,
2791         allocate it together with errstring using alloca.
2792         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2793         to "", because it might point to local stack.
2795 2000-12-05  H.J. Lu  <hjl@gnu.org>
2797         * nss/Makefile (routines): Add getnssent and getnssent_r.
2798         * nss/nsswitch.h (__nss_setent): New internal NSS function.
2799         (__nss_endent): Likewise.
2800         (__nss_getent_r): Likewise.
2801         (__nss_getent): Likewise.
2802         * nss/getnssent_r.c: New file.
2803         * nss/getnssent.c: New file.
2804         * nss/getXXent.c (H_ERRNO_VAR): Updated.
2805         (GETFUNC_NAME): Updated to call __nss_getent ().
2806         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2807         (STAYOPEN_TMPVAR): Updated.
2808         (STAYOPEN_VAR): Updated.
2809         (SETFUNC_NAME): Updated to call __nss_setent ().
2810         (ENDFUNC_NAME): Updated to call __nss_endent ().
2811         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2813 2000-12-08  Andreas Jaeger  <aj@suse.de>
2815         * nscd/dbg_log.h (dbg_log): Correct attribute.
2817 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
2819         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2820         cp + len.  Compute where from dirname.
2821         Reported by <jreiser@BitWagon.com>.
2823 2000-12-08  Richard Henderson  <rth@twiddle.net>
2825         * sysdeps/alpha/_mcount.S: Fix typo.
2826         * sysdeps/alpha/strncpy.S: Likewise.
2828         * sysdeps/alpha/alphaev6/Implies: New file.
2829         * sysdeps/alpha/alphaev67/Implies: New file.
2830         * sysdeps/alpha/alphaev67/ffs.S: New file.
2831         * sysdeps/alpha/alphaev67/ffsll.S: New file.
2832         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2833         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2834         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2835         * sysdeps/alpha/rawmemchr.S: New file.
2836         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2837         * sysdeps/alpha/strcpy.S: Likewise.
2839         From GMP 3.1.1:
2840         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2842         From rick.gorton@alpha-processor.com:
2843         * sysdeps/alpha/alphaev6/memchr.S: New file.
2844         * sysdeps/alpha/alphaev6/memcpy.S: New file.
2845         * sysdeps/alpha/alphaev6/memset.S: New file.
2846         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2847         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2848         * sysdeps/alpha/alphaev67/strcat.S: New file.
2849         * sysdeps/alpha/alphaev67/strchr.S: New file.
2850         * sysdeps/alpha/alphaev67/strlen.S: New file.
2851         * sysdeps/alpha/alphaev67/strncat.S: New file.
2852         * sysdeps/alpha/htonl.S: Use a shorter sequence.
2854 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
2856         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2857         Reported by <pspencer@fields.utoronto.ca>.
2859 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
2861         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2862         Pointed out by Hans Boehm.
2864 2000-12-07  H.J. Lu  <hjl@gnu.org>
2866         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2868 2000-12-07  Andreas Jaeger  <aj@suse.de>
2870         * misc/error.c: Add format attributes for __error and __error_at_line.
2872         * nscd/dbg_log.h: Add format attribute.
2874 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
2876         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2877         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2879 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
2881         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2883 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
2885         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2886         (sysdep_routines): Add uitrunc.
2887         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2888         Patches by Michael Keezer <mkeezer@redhat.com>.
2890 2000-12-06  Roland McGrath  <roland@frob.com>
2892         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2893         argument data, since it will be used to copy out too (for INOUT).
2894         Reported by Marcus Brinkmann <marcus@gnu.org>.
2896         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2897         (__ioctl): Use uintptr_t instead of unsigned long int.
2899 2000-12-06  Jim Wilson  <wilson@redhat.com>
2901         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
2903 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
2905         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2906         x.5 rounding correctly.
2908 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
2910         * stdio-common/perror.c (perror): Conditionalize code dealing with
2911         wide-oriented streams on USE_IN_LIBIO.
2913 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
2915         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2916         as internal_function.
2918 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
2920         * sysdeps/alpha/elf/start.S (__data_start): Define.
2922 2000-12-05  H.J. Lu  <hjl@gnu.org>
2924         * nss/getXXent_r.c (setup): Change the return type to int.
2926 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
2928         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2929         (sysdep_routines): Add restf and savef.
2930         * sysdeps/unix/sysv/aix/restf.c: New file.
2931         * sysdeps/unix/sysv/aix/savef.c: New file.
2932         Patches by Michael Keezer <mkeezer@redhat.com>.
2934         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2935         if O_DIRECTORY is not defined.
2936         Patch by Michael Keezer <mkeezer@redhat.com>.
2938         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2939         Patch by Michael Keezer <mkeezer@redhat.com>.
2941         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2942         than 4 bytes in escape sequence.
2943         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2945 2000-12-05  Andreas Jaeger  <aj@suse.de>
2947         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2948         set mips2.
2950         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2952         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2954         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
2955         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2957         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2958         internal_function.
2959         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2960         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2962         * sysdeps/generic/dl-cache.c: Remove declaration of
2963         _dl_sysdep_read_whole_file.
2965         * elf/dl-load.c (_dl_map_object): Remove declaration of
2966         _dl_load_cache_lookup.
2968         * sysdeps/generic/ldsodefs.h: Add declarations of
2969         _dl_load_cache_lookup, _dl_unload_cache,
2970         _dl_sysdep_read_whole_file, _dl_sysdep_start and
2971         _dl_sysdep_start_cleanup.
2973         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2974         now.
2976         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2977         * sysdeps/generic/dl-environ.c: Likewise.
2979         * stdio-common/printf_fp.c: Include <gmp.h> instead of
2980         <stdlib/gmp.h>.
2981         * math/atest-exp.c: Likewise.
2982         * math/atest-exp2.c: Likewise.
2983         * math/atest-sincos.c: Likewise.
2984         * stdio-common/_itoa.c: Likewise.
2985         * stdio-common/_itowa.c: Likewise.
2987         * include/gmp.h: New file with internal prototypes.
2989         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2990         here to...
2991         * include/setjmp.h: ...here.
2993         * locale/Makefile (routines): Remove codeset_name since it's not
2994         needed anywhere.
2996         * locale/codeset_name.c: Removed.
2998 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3000         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
3002 2000-12-05  Andreas Jaeger  <aj@suse.de>
3004         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
3006 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3008         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
3009         available.
3011 2000-12-05  Andreas Jaeger  <aj@suse.de>
3013         * nss/test-netdb.c: Mark local functions as static to avoid
3014         warnings.
3015         (main): Use return to silence warning.
3017         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
3019         * stdio-common/test-popen.c: Mark local functions as static to
3020         avoid warnings.
3021         (main): Use return to silence warning.
3023         * stdlib/testsort.c (compare): Mark as static to avoid warning.
3025         * assert/test-assert.c: Mark local functions as static to avoid
3026         warnings.
3027         * assert/test-assert-perr.c: Likewise.
3029         * math/libm-test.inc (main): Use return to silence warnings.
3031 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3033         * math/fenv.h: Fix typo in comment.
3035         * math/test-misc.c (main): Add a few more over and underflow tests
3036         for scalb.
3038         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
3039         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3040         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3041         * math/w_scalb.c: Don't use matherr except in SVID mode.
3042         * math/w_scalbf.c: Likewise.
3043         * math/w_scalbl.c: Likewise.
3044         * math/test-misc.c: Add test for NaN and scalbl.
3045         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3047 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3049         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
3050         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
3051         * include/libc-symbols.h (strong_alias): Define special version
3052         for HAVE_ASM_GLOBAL_DOT_NAME.
3053         (weak_alias): Likewise.
3054         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
3055         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
3056         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
3057         getutxline, pututxline, and utmpxname.
3058         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
3059         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
3060         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
3061         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
3062         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
3063         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
3064         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
3065         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
3066         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
3067         Patches by Michael Keezer <mkeezer@redhat.com>.
3069 2000-12-04  H.J. Lu  <hjl@gnu.org>
3071         * configure.in: Change --with-oldest-abi=ABI to
3072         --enable-oldest-abi=ABI.
3074 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
3076         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
3077         fwprintf instead of fprintf.
3079 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3081         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
3082         DECIMAL_DIG definitions.
3083         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
3084         * sysdeps/generic/bits/mathdef.h: Likewise
3085         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
3086         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
3087         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
3088         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
3089         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
3090         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
3092 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
3094         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
3096         * math/atest-exp.c: Mark local functions as static to avoid warnings.
3097         * math/atest-exp2.c: Likewise.
3098         * math/atest-sincos.c: Likewise.
3100         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
3101         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3103         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
3104         the handling of denormalized numbers.
3106         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
3107         numbers on x86.
3108         * sysdeps/i386/fpu/fpclassifyl.c: New file.
3110         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
3111         pseudo denormal representation of LDBL_MIN.
3113         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
3114         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
3116         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
3117         * iconvdata/jis0208.c: Likewise.
3118         * iconvdata/jis0212.c: Likewise.
3119         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3121         * math/test-misc.c (main): More tests for frexp and some for
3122         fpclassify and isnormal.
3124         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
3125         test for subnormal.
3126         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3128         * math/test-misc.c (main): Add tests for frexp.
3129         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3130         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
3132 2000-12-02  H.J. Lu  <hjl@gnu.org>
3134         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
3135         '\0' to wcschr.
3137 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
3139         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
3140         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3141         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3143         * sysdeps/generic/glob.c: Adjust types of several variables to
3144         avoid warnings.
3146 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
3148         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
3150 2000-11-30  Roland McGrath  <roland@frob.com>
3152         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
3153         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
3154         allow multiple instances using the same function name in one file.
3156 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
3158         * configure.in: Correct test for pserver CVS access.
3160 2000-11-28  H.J. Lu  <hjl@gnu.org>
3162         * libio/libio.h: Remove extra "#if ... #endif".
3164 2000-11-29  H.J. Lu  <hjl@gnu.org>
3166         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
3168 2000-12-01  H.J. Lu  <hjl@gnu.org>
3170         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
3171         * nss/getXXent_r.c: Likewise.
3172         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3174 2000-11-30  H.J. Lu  <hjl@gnu.org>
3176         * scripts/abi-versions.awk (oldest_abi): New variable.
3177         Handle the oldest ABI supported.
3179         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
3180         for scripts/abi-versions.awk.
3182         * configure.in: Add --with-oldest-abi=ABI.
3183         * configure: Rebuild.
3185         * config.make.in (oldest-abi): New.
3187         * config.h.in (GLIBC_OLDEST_ABI): New.
3189         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
3191 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
3193         * locale/setlocale.c (setname): Free for all categories, not just
3194         LC_ALL.
3195         (setlocale): Store a copy of string passed by user, not the string
3196         itself.
3198 2000-11-30  Roland McGrath  <roland@frob.com>
3200         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
3201         rather than _hurd_fd_subinit, so it happens after it's safe to use
3202         libc facilities like malloc.
3204 2000-11-28  Andreas Jaeger  <aj@suse.de>
3206         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
3207         declaration, adjust declaration of __syscall_getdents to match
3208         kernel.
3210 2000-11-29  H.J. Lu  <hjl@gnu.org>
3212         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
3214 2000-11-29  Andreas Jaeger  <aj@suse.de>
3216         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
3218 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3220         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
3221         * dlfcn/defaultmod2.c: Likewise.
3222         * dlfcn/dlopen.c: Likewise.
3223         * dlfcn/dlopenold.c: Likewise.
3224         * dlfcn/failtestmod.c: Likewise.
3225         * dlfcn/glreflib1.c: Likewise.
3226         * dlfcn/glreflib2.c: Likewise.
3227         * dlfcn/eval.c: Likewise.  Add attributes.
3229         * ctype/ctype-extn.c: Define isblank and not __isblank.
3231         * time/strftime.c: Add const where necessary to avoid warnings.
3232         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
3234 2000-11-22  Paul Eggert  <eggert@twinsun.com>
3236         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
3237         size of (size_t) -1; it's not portable.
3239 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3241         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
3242         crappy i486 FPU.
3243         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3245 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
3247         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
3249         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
3250         _mcount is required by profiled binaries.
3252         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
3253         * sysdeps/ia64/machine-gmon.h: ...here.
3255 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
3257         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
3258         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
3259         and ibm1129.h.
3260         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
3261         IBM1129.
3262         * iconvdata/ibm922.c: New file.
3263         * iconvdata/ibm922.h: New file.
3264         * iconvdata/ibm1124.c: New file.
3265         * iconvdata/ibm1124.h: New file.
3266         * iconvdata/ibm1129.c: New file.
3267         * iconvdata/ibm1129.h: New file.
3268         * iconvdata/testdata/IBM922: New file.
3269         * iconvdata/testdata/IBM922..UTF8: New file.
3270         * iconvdata/testdata/IBM1124: New file.
3271         * iconvdata/testdata/IBM1124..UTF8: New file.
3272         * iconvdata/testdata/IBM1129: New file.
3273         * iconvdata/testdata/IBM1129..UTF8: New file.
3275 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3277         * catgets/gencat.c (normalize_line): Take extra parameter with escape
3278         character.  Change callers.
3279         (open_conversion): Determine mapping of 0x5c as wchar_t value.
3280         * catgets/Makefile: Add rules to build and run test-gencat.
3281         * catgets/sample.SJIS: New file.
3282         * catgets/test-gencat.c: New file.
3283         * catgets/test-gencat.sh: New file.
3284         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3286 2000-11-28  Andreas Jaeger  <aj@suse.de>
3288         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
3289         Linux version.
3291 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3293         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
3295 2000-11-28  Andreas Jaeger  <aj@suse.de>
3297         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
3298         __flexarr.
3299         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
3300         Likewise.
3302 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
3304         * misc/getusershell.c: Make strings in okshells array const.
3305         * misc/regexp.c: Add const to cast to avoid warnings.
3306         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
3307         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
3308         __setresuid.
3309         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
3310         setresgid.
3311         * misc/error.c: Add prototypes for __error and __error_at_line.
3312         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
3313         statement to avoid warning.
3314         * test-skeleton.c: Mark timeout_handler with noreturn.
3315         * iconv/skeleton.c (get16u): Add const to cast.
3316         (get32u): Likewise.
3317         * iconvdata/gb18030.c: Likewise.
3318         * iconvdata/iso-2022-cn-ext.c: Likewise.
3319         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
3320         * iconvdata/big5.c: Likewise.
3321         * iconvdata/big5hkscs.c: Likewise.
3322         * iconvdata/iso_6937.c: Likewise.
3323         * iconvdata/iso_6937-2.c: Likewise.
3324         * iconvdata/t.61.c: Likewise.
3325         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
3326         * iconvdata/unicode.c: Likewise.
3327         * iconvdata/utf-16.c: Likewise.
3328         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
3329         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
3330         with little code shuffling.
3332         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
3333         the problems introduced when the user selects -O3.
3335         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
3336         * misc/sys/cdefs.h: Define __flexarr.
3337         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
3339         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
3340         * iconv/skeleton.c: Likewise.
3341         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
3342         * iconv/loop.c (get16): Add const to cast.
3343         (get32): Likewise.
3345 2000-11-27  Andreas Jaeger  <aj@suse.de>
3347         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
3348         to avoid warning.
3349         * login/programs/utmpdump.c (print_entry): Likewise.
3351 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3353         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
3354         in a single asm as they may be used to access other stored
3355         registers.
3356         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3358 2000-11-27  Andreas Jaeger  <aj@suse.de>
3360         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
3361         * rt/tst-aio64.c: Likewise.
3363 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
3365         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
3366         for gencat run.
3367         (libc.cat): Likewise.
3368         * catgets/gencat.c: Implement handling of message catalogs encoded
3369         with stateful character sets.
3370         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3372 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
3374         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
3376         * inet/getnameinfo.c: Adjust casts to avoid warnings.
3377         * inet/rcmd.c: Likewise.
3378         * inet/ruserpass.c: Likewise.
3379         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
3380         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3381         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
3382         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
3383         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
3384         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
3385         * include/aliases.h: Add prototypes for internal __getalias* functions.
3386         * include/netdb.h: Add prototypes for __old_gethostent_r,
3387         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
3388         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
3389         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
3390         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
3391         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
3392         __old_getrpcbynumber_r, __old_getrpcent_r.
3394         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
3395         __getrpcent_r prototypes.
3397 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
3399         * string/strcoll.c: Add casts to avoid warnings.
3400         * string/strnlen.c: Likewise.
3401         * string/strxfrm.c: Likewise.
3402         * sysdeps/generic/_strerror.c: Likewise.
3403         * sysdeps/generic/memrchr.c: Likewise.
3404         * sysdeps/generic/strcasestr.c: Likewise.
3405         * sysdeps/generic/strstr.c: Likewise.
3407         * locale/weight.h (findidx): Add const to cast to avoid warning.
3409         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
3410         * elf/loadtest.c: Likewise.
3411         * elf/multiload.c: Likewise.
3412         * elf/next.c: Likewise.
3413         * elf/nodelete.c: Likewise.
3414         * elf/noload.c: Likewise.
3415         * elf/order.c: Likewise.
3416         * elf/origtest.c: Likewise.
3417         * elf/preloadtest.c: Likewise.
3418         * elf/restest1.c: Likewise.
3420         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
3421         parameter of asm must be in %ecx.
3423         * string/tester.c: Mark test functions as static to avoid warnings.
3425         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
3426         preserve value over different gconv-modules files.
3428 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
3430         * locale/findlocale.c: Add casts to avoid warnings.
3431         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
3432         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
3433         to avoid warnings.
3434         * misc/tsearch.c (const_node): New type.
3435         (trecurse): Correct casts to avoid warnings.
3436         (__twalk): Likewise.
3437         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
3438         LONG_BIT.
3440         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
3442         * test-skeleton.c: Mark local functions as static to avoid warnings.
3444 2000-11-23  H.J. Lu  <hjl@gnu.org>
3446         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
3447         support the background job.
3448         Fix a typo.
3450 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
3452         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
3453         has same names but lower cost.
3455 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
3457         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
3458         which never occur during bootstrap.
3459         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3461 2000-11-23  Andreas Jaeger  <aj@suse.de>
3463         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
3465         * nss/Versions: Remove _nss_files_getipnodebyname_r.
3467         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
3469 2000-11-18  Martin Buchholz  <martin@xemacs.org>
3471         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
3472         (called++) return;'
3474 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
3476         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
3478         * csu/abi-note.S: Correct comment for operating system number.
3480 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
3482         * Versions.def: Add GLIBC_2.2.1 for glibc.
3484 2000-11-22  Andreas Schwab  <schwab@suse.de>
3486         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3487         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3489 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
3491         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3492         absolute time for pthread_cond_timedwait call.
3493         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
3495         * rt/Makefile (tests): Add tst-aio6.
3496         * rt/tst-aio6.c: New file.
3498 2000-11-23  Andreas Jaeger  <aj@suse.de>
3500         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
3502 2000-11-22  Andreas Jaeger  <aj@suse.de>
3504         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
3506 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3508         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
3510 2000-11-21  Andreas Schwab  <schwab@suse.de>
3512         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
3513         * sysdeps/arm/setjmp.S: Likewise.
3514         * sysdeps/arm/fpu/setjmp.S: Likewise.
3515         * sysdeps/i386/setjmp.S: Likewise.
3516         * sysdeps/i386/elf/setjmp.S: Likewise.
3517         * sysdeps/s390/setjmp.S: Likewise.
3518         * sysdeps/s390/elf/setjmp.S: Likewise.
3519         * sysdeps/sh/sh3/setjmp.S: Likewise.
3520         * sysdeps/sh/sh4/setjmp.S: Likewise.
3521         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3522         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3523         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
3524         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
3526 2000-11-21  Andreas Jaeger  <aj@suse.de>
3528         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
3529         NORETURN, fix parameter list.
3531         * string/bug-strncat1.c (main): Fix typo.
3532         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
3534 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
3536         * configure.in: Add --enable-all-warnings.
3537         * config.make.in (all-warnings): New variable.
3538         * Makeconfig (+gccwarn): Define with many more warnings if
3539         all-warnings is yes.
3541 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
3543         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
3544         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
3545         * malloc/tst-valloc.c (main): Cast valloc return value to long.
3546         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
3547         * math/test-fpucw.c (main): Use %lx in format string, cast
3548         control words to long.
3549         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
3550         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
3551         large that it is unsigned warning.
3553         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
3554         it to long on sparc64.
3556 2000-11-20  Andreas Jaeger  <aj@suse.de>
3558         * nscd/nscd.h (termination_handler): Add noreturn attribute.
3559         (receiv_print_stats): Likewise.
3561         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3563 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
3565         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3567         * csu/gmon-start.c: Always have prototype for __gmon_start.
3568         * csu/version.c: Add prototypes for __libc_print_version and
3569         __libc_main.
3570         * iconv/gconv.c: Include gconv_int.h and gconv.h.
3571         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3572         and __to_name.
3573         * iconv/gconv_builtin.h: Add ASCII module definitions.
3574         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3575         (add_module): Add cast to avoid warning.  Rework construction of
3576         strings for new module.
3577         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3578         (derivation_compare): Likewise.
3579         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3580         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3581         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3582         (struct gconv_alias): Remove const from fromname and toname.
3583         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3584         for loop functions.
3585         (internal_ucs4_loop): Use correct const-ness.
3586         (ucs4_internal_loop): Likewise.
3587         (internal_ucs4le_loop): Likewise.
3588         (ucs4le_internal_loop_single): Likewise.
3589         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3590         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
3591         assignments appropriately.
3592         (struct known_trans): Remove const from fname.
3593         (trans_compare): Make s1 and s2 const.
3594         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
3595         avoid warning.
3596         * iconv/skeleton.c: Remove cast in calls of loop functions.
3597         * iconvdata/gconv-modules: Remove US-ASCII definitions.
3598         * iconvdata/iso646.c: Remove US_ASCII support.
3599         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3600         * include/unistd.h: Add __libc_check_standard_fds prototype.
3601         * string/bits/string2.h (__mempcpy_args): Add const to casts.
3602         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3603         _fini.
3604         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3605         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3606         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3607         warning.
3608         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3609         __libc_init_first and _dl_start.
3610         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3611         (DCIGETTEXT): Make domaindata variable const.
3612         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3613         to avoid warning.
3615 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
3617         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
3619         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3620         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
3621         __unused? members.
3623         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3624         value defined in /usr/include/asm-mips/fcntl.h.
3626 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
3628         * stdio-common/Makefile (tests): Add test-vfprintf.
3629         (test-vfprintf-ENV): New variable.
3630         * stdio-common/test-vfprintf.c: New file.
3632         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3634         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3635         (tst-mbrtowc-ENV): New variable.
3636         (tst-wcrtomb-ENV): New variable.
3637         * wcsmbs/tst-mbrtowc.c: New file.
3638         * wcsmbs/tst-wcrtomb.c: New file.
3640 2000-11-16  Andreas Jaeger  <aj@suse.de>
3642         * manual/install.texi (Tools for Compilation): Update
3643         documentation for GCC 2.95.2.
3645 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
3647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3648         if IPv4 and IPv6 requests timed out.
3650 2000-11-18  Akim Demaille  <akim@epita.fr>
3652         * malloc/obstack.h: Formatting changes.
3653         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3654         prevents type checking.
3655         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3656         cast the value to (void *): assigning a `foo *' to a `void *'
3657         variable is valid.
3658         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3660 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
3662         * scripts/config.guess: Update from upstream maintainer.
3663         * scripts/config.sub: Likewise.
3665 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
3667         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3668         * libio/freopen64.c (freopen64): Likewise.
3669         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3671         * libio/Makefile: Add rules to build and run test-freopen.
3672         * libio/test-freopen.c: New file.
3673         * libio/test-freopen.sh: New file.
3675 2000-11-15  H.J. Lu  <hjl@gnu.org>
3677         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3678         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3679         (DL_DT_FINI_ADDRESS): Likewise.
3681         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3682         return type to ElfW(Addr).
3683         (_dl_function_address): New prototype.
3684         (DL_FUNCTION_ADDRESS): Defined.
3685         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3686         (DL_DT_FINI_ADDRESS): Likewise.
3688         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3690         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3691         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3693         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3694         (_dl_function_address): This.
3696         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3697         function pointer for DT_FINI.
3698         * elf/dl-close.c (_dl_close): Likewise.
3700         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3701         function pointer for DT_INIT.
3703 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
3705         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3706         end of wexpbuf buffer.
3708 2000-11-16  Andreas Jaeger  <aj@suse.de>
3710         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3711         definition of F_GETLK, F_SETLK, F_SETLKW.
3713 2000-11-16  Andreas Jaeger  <aj@suse.de>
3715         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3716         it's not defined.
3718 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
3720         * dlfcn/default.c (main): Add test for dladdr of main returning
3721         argv[0] in dli_fname field.
3723 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
3725         * Makeconfig (run-program-prefix): Move test-static test into the
3726         variable.
3728         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3729         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3730         schedule instructions.
3731         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3732         schedule instructions, fix a bug in copying auxiliary data.
3734 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
3736         * manual/startup.texi (Program Arguments): Fix type of main's envp
3737         parameter.
3738         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
3740         * iconvdata/gconv-modules: Add CP950 alias.
3742 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
3744         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
3745         syscall-list.h goal.
3746         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
3748 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
3750         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
3752         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
3753         output of program.
3755         * intl/tst-gettext2.c: Set C locale if setting other locale
3756         failed.  Use gettext() not _().
3758         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
3759         successfully loaded a new locale.
3761 2000-11-13  Andreas Jaeger  <aj@suse.de>
3763         * configure.in: Require gcc 2.95 or newer.
3765 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
3767         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
3768         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3770 2000-11-11  Jim Meyering  <meyering@lucent.com>
3772         * string/strndup.c (strndup): Cast return value to `char *'.
3774 2000-11-15  Jim Meyering  <meyering@ascend.com>
3776         * sysdeps/generic/memchr.c: Remove some useless parentheses.
3777         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
3778         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
3779         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
3780         Also #undef __memchr.
3781         Use `weak_alias' only if it's defined.
3783 2000-11-10  H.J. Lu  <hjl@gnu.org>
3785         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
3787 2000-11-15  Andreas Jaeger  <aj@suse.de>
3789         * elf/chroot_canon.c: Include <stdint.h>.
3791         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
3792         (print_entry): Likewise.
3793         (add_to_cache): Likewise.
3795         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
3797         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
3798         (path_hwcap): Likewise.
3799         (search_dir): Likewise.
3801         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
3803         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
3805         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3806         (_dl_platform_string): New.
3807         (_DL_HWCAP_PLATFORM): New.
3808         (_dl_string_platform): New.
3809         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3811         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3812         (_dl_string_platform): New.
3813         (_DL_HWCAP_PLATFORM): New.
3814         (_dl_platform_string): New.
3816         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
3817         recognition.
3818         (_DL_HWCAP_COUNT): New.
3819         (_dl_string_platform): New.
3820         (_DL_HWCAP_PLATFORM): New.
3821         (_dl_platform_string): New.
3823 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
3825         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
3827 2000-11-14  Andreas Jaeger  <aj@suse.de>
3829         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
3831 2000-11-13  Roland McGrath  <roland@frob.com>
3833         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
3835 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
3837         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
3838         underrun and make sure the result is null terminated even if there
3839         is no trailing newline.
3841 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
3843         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3845 2000-11-10  H.J. Lu  <hjl@gnu.org>
3847         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
3849 2000-11-10  Andreas Jaeger  <aj@suse.de>
3851         * elf/ldconfig.c (create_links): Fix alloca calculation.
3852         Patch by Ben Collins <bcollins@debian.org>.
3854 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
3856         * inet/getnameinfo.c (getnameinfo): Use correct destination
3857         parameter for if_indextoname.
3858         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
3860 2000-11-09  H.J. Lu  <hjl@gnu.org>
3862         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
3863         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
3864         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
3865         xdr_keystatus.
3867         * time/Versions (GLIBC_2.1): Move getitimer to...
3868         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
3870 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
3872         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
3873         "make install", to work around a binary incompatibility between
3874         glibc 2.1 and glibc 2.2 gconv modules.
3876 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
3878         * intl/locale.alias: Add thai.
3879         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
3881 2000-11-07  Akim Demaille  <akim@epita.fr>
3883         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
3884         argument `data' for consistency with the prototypes.
3885         Qualify it `const'.
3886         (obstack_copy, obstack_copy0): Rename the second argument as
3887         `address' for consistency.  Qualify it `const'.
3888         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
3889         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
3890         `const' their input argument (`data' or `address').
3891         Adjust the corresponding macros to include `const' in casts.
3893 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3895         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
3896         target family.
3898 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3900         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
3901         socket creation.
3903 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3905         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
3906         ai_protocol by internal table if service was not given.
3908 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3910         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
3911         numerical port was specified with protocol without socktype.
3913 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3915         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
3917 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3919         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
3921 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3923         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
3924         sin6_scope_id field.
3926 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3928         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
3930 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3932         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
3934 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
3936         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
3937         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
3939 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
3941         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
3942         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
3944 2000-11-09  H.J. Lu  <hjl@gnu.org>
3946         * io/Versions (GLIBC_2.1.1): Remove lockf64.
3949 See ChangeLog.11 for earlier changes.