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