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