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