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