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