]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bd7f30a9
AJ
12001-02-06 Andreas Jaeger <aj@suse.de>
2
3 * include/pthread.h: New file.
4
5 * wctype/wctype.h: Move internal interfaces from here to...
6 * include/wctype.h: ...here.
7
8 * wcsmbs/wchar.h: Move __wcslen from here to...
9 * include/wchar.h: ...here.
10
11 * posix/sys/wait.h: Move __wait from here to...
12 * include/sys/wait.h: ...here.
13
14 * string/string.h: Move __ffs and __strerror_r from here to...
15 * include/string.h: ...here.
16
17 * stdlib/stdlib.h: Move __on_exit from here to...
18 * include/stdlib.h: ...here.
19
20 * libio/stdio.h: Move __vsnprintf from here to...
21 * include/stdio.h: ...here.
22
18bd8944
AS
232001-02-06 Andreas Schwab <schwab@suse.de>
24
25 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
26 headers.
27
28 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
29 of $(inst_datadir).
30
9a1b5e2c
UD
312001-02-06 Ulrich Drepper <drepper@redhat.com>
32
33 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
34
d4620e04
AJ
352001-02-06 Andreas Jaeger <aj@suse.de>
36
37 * elf/firstobj.c: Add prototype.
38
39 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
40 (truncate_wchar): Likewise.
41
91cd8340
UD
422001-02-06 Ulrich Drepper <drepper@redhat.com>
43
44 * locale/programs/locale.c: Implement --verbose option for -a
45 which prints detailed information about the locales.
46
216c1386
UD
472001-02-05 Ulrich Drepper <drepper@redhat.com>
48
49 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
50 variable to uint32_t.
51 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
52
02cd8aee
UD
532001-02-04 Bruno Haible <haible@clisp.cons.org>
54
55 * locale/C-translit.h.in: Add transliterations for CJK units of
56 measurement.
57
403cb8a1
UD
582001-02-05 Ulrich Drepper <drepper@redhat.com>
59
68162753
UD
60 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
61 string. Include <inttypes.h> instead of <stdint.h>.
62
403cb8a1
UD
63 * localedata/Makefile (tests): Add bug-iconv-trans.
64 Define bug-iconv-trans-ENV.
65 * localedata/bug-iconv-trans.c: New file.
66
672001-02-04 Bruno Haible <haible@clisp.cons.org>
68
69 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
70 pointer, to avoid accumulating output from incomplete (unsuccessful)
71 transliteration attempts.
72
ae113383
UD
732001-02-05 Ulrich Drepper <drepper@redhat.com>
74
5a35dfca
UD
75 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
76 string. Include <inttypes.h> instead of <stdint.h>.
77
ae113383
UD
78 * configure.in: Add check for bison.
79 * config.make.in: Define BISON variable.
80 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
81 Rename YFLAGS to BISONFLAGS.
82
414a6b0d
AJ
832001-02-05 Andreas Jaeger <aj@suse.de>
84
725c76a6
AJ
85 * io/test-lfs.c (do_test): Test lseek64 return value, call
86 test_ftello.
87 (test_ftello): New function to test ftello64 and fseeko64.
88
d9bfd1a5
AJ
89 * signal/signal.h: Move __sigaction from here to...
90 * include/signal.h: ...here.
91
414a6b0d
AJ
92 * io/fcntl.h: Move __fcntl and __open to...
93 * include/fcntl.h: ...here.
94
0c8b61e6
UD
952001-02-04 Philip Blundell <philb@gnu.org>
96
97 * configure.in: Distinguish ARM from Thumb.
98
992001-02-04 Philip Blundell <philb@gnu.org>
100
101 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
102 PC24 relocs with negative value.
103
93693c4d
UD
1042001-02-04 Ulrich Drepper <drepper@redhat.com>
105
106 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
107 files in locale/programs. Add CFLAGS definition to allow compiling
108 localedef files.
109 * iconv/dummy-repertoire.c: New file.
110 * iconv/iconv_charmap.c: New file.
111 * iconv/iconv_prog.h: New file.
112 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
113 (main): If parameter for -f and -t contain slashes try first to resolve
114 the strings as filenames of charmap files. Use them for conversion
115 in this case.
116 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
117 iconv getting charmap names as parameters.
118 * locale/programs/linereader.c (lr_token): Take extra parameters
119 verbose and pass it to get_string.
120 (get_string): Take extra parameters verbose.
121 * locale/programs/charmap.c (parse_charmap): Take extra parameters
122 verbose and be_quiet. Change all callers of lr_token and
123 parse_charmap.
124 * locale/programs/charmap.h: Likewise.
125 * locale/programs/ld-address.c: Likewise.
126 * locale/programs/ld-collate.c: Likewise.
127 * locale/programs/ld-ctype.c: Likewise.
128 * locale/programs/ld-identification.c: Likewise.
129 * locale/programs/ld-measurement.c: Likewise.
130 * locale/programs/ld-messages.c: Likewise.
131 * locale/programs/ld-monetary.c: Likewise.
132 * locale/programs/ld-name.c: Likewise.
133 * locale/programs/ld-numeric.c: Likewise.
134 * locale/programs/ld-paper.c: Likewise.
135 * locale/programs/ld-telephone.c: Likewise.
136 * locale/programs/ld-time.c: Likewise.
137 * locale/programs/linereader.c: Likewise.
138 * locale/programs/linereader.h: Likewise.
139 * locale/programs/localedef.c: Likewise.
140 * locale/programs/locfile.c: Likewise.
141 * locale/programs/locfile.h: Likewise.
142 * locale/programs/repertoire.c: Likewise.
143
b3c3fe42
UD
1442001-02-03 Ulrich Drepper <drepper@redhat.com>
145
377c725f
UD
146 * iconv/iconv_prog.c (main): If output file name is "-" write to
147 stdout.
148 (main): If -f or -t argument is missing use charset of the current
149 locale.
b3c3fe42 150
72a2ebb4
AJ
1512001-02-03 Andreas Jaeger <aj@suse.de>
152
a4540639
AJ
153 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
154 boundary for SSE/SSE-2 alignment.
155
72a2ebb4 156 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3c7bfc37 157 annexc.
72a2ebb4 158
3b46325b
UD
1592001-02-03 Ulrich Drepper <drepper@redhat.com>
160
99b9b8ec 161 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
a5f9233e 162 Remove comma at end of enum.
99b9b8ec 163
bd929413
UD
164 * elf/dl-init.c: Add a few __builtin_expect.
165
3b46325b
UD
166 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
167
4b1fef84
UD
1682001-02-02 Ulrich Drepper <drepper@redhat.com>
169
3b46325b 170 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
0c7dfa14
UD
171 errno is ECONNREFUSED.
172
173 * posix/Makefile: Define MBS_SUPPORT for regex.c.
e4c785c8
UD
174 * posix/regex.c: Implement multibyte character handling.
175 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
176
4b1fef84
UD
177 * string/tst-svc.input: Add two more test cases.
178 * string/tst-svc.expect: Modify to reflect new test cases.
179
1802001-02-01 Jakub Jelinek <jakub@redhat.com>
181
182 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
183 tp->name tests with tp->name[0] tests.
184
1852001-01-29 Ben Collins <bcollins@debian.org>
186
187 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
188 Fix check for name == NULL.
189
5d916713
UD
1902001-02-01 Ulrich Drepper <drepper@redhat.com>
191
b71e7ce8
UD
192 * elf/Makefile: Add rules to build and run initfirst test.
193 * elf/initfirst.c: New file.
194 * elf/firstobj.c: New file.
195
5d916713
UD
196 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
197 * configure.in: Test for -z initfirst linker option.
198 * config.make.in: Add have-z-initfirst.
199 * elf/dl-init.c (_dl_init): Split out actual initialization code in
200 new function call_init. If _dl_initfirst is non-NULL initialize first.
201 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
202 remember object in _dl_initfirst.
203 * elf/soinit.c: Remove special support for calling
204 __pthread_initialize_minimal.
205
206 * conform/conformtest.pl: Add missing $prepend in type test.
207
70dc5068
UD
2082001-01-31 Ulrich Drepper <drepper@redhat.com>
209
5d916713
UD
210 * elf/elf.h (SHT_CHECKSUM): New definition.
211
70dc5068
UD
212 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
213 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5d916713 214 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
70dc5068
UD
215
2162001-01-31 Mark Kettenis <kettenis@gnu.org>
217
218 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
219 to get definition of `struct timeval'.
220
f798bf32
UD
2212001-01-31 Ulrich Drepper <drepper@redhat.com>
222
223 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
224 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
225
306eeae5
UD
2262001-01-30 Ulrich Drepper <drepper@redhat.com>
227
228 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
229 seen, not flags.
230
231 * nis/nis_findserv.c: Include <time.h>.
232
c7fb46a9
UD
2332001-01-30 Yong Li <yong.li@asu.edu>
234
c7fb46a9
UD
235 * iconv/iconv_prog.c (main): Correct error handling method name.
236
7e118246
UD
2372001-01-29 Ben Collins <bcollins@debian.org>
238
239 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
240 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
241 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
242 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
243
3f66a0cf
UD
2442001-01-30 Ulrich Drepper <drepper@redhat.com>
245
7e118246
UD
246 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
247 Patch by Marko Myllynen <myllynen@lut.fi>.
248
249 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
250 (int instead of char).
251 (__strpbrk_c3): Likewise.
252 Reported by GOTO Masanori <gotom@debian.or.jp>.
253
3f66a0cf
UD
254 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
255 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
256 * include/sys/socket.h: Add SA_LEN here for internal use.
7e118246 257 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3f66a0cf 258
9949bc63
UD
2592001-01-29 Ulrich Drepper <drepper@redhat.com>
260
48d99185
UD
261 * malloc/Makefile: Don't build memusagestat if cross-compiling.
262
40576b87
UD
263 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
264
9949bc63
UD
265 * math/libm-test.inc (rint_test): Add a few more tests for round
266 to even rounding.
267
4a2c9975
UD
2682001-01-28 Ulrich Drepper <drepper@redhat.com>
269
38447cbe
UD
270 * conform/data/pthread.h-data: Correct return type of pthread_exit.
271
140ec510
UD
272 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
273
dfae0b7d
UD
274 * conform/data/stdlib.h-data: Add _Exit.
275
3584d5fb
UD
276 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
277 if not already happened.
278 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
279 Don't include <limits.h> and <bits/sockaddr.h>.
280
59c8d6e1
UD
281 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
282
3c5912ee
UD
283 * conform/data/spawn.h-data: Allow all of <sched.h>.
284
c9a0e4ab
UD
285 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
286 unused variable.
287
0e5d0c0a
UD
288 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
289 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
290
1df66084
UD
291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
292
48ba4bd2 293 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3bf3d361 294 * libio/stdio.h: Define va_list correctly.
f9b9f291 295
ddd1037e
UD
296 * conform/data/pthread.h-data: Make priority protocol related
297 functions optional. Fix typos.
298
4a2c9975
UD
299 * posix/sched.h: Define sched_priority as __sched_priority.
300 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
301 to __sched_priority.
302 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
303
2ff458eb
UD
3042001-01-27 Ulrich Drepper <drepper@redhat.com>
305
eb6c0470
UD
306 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
307 of <sys/time.h>.
308
4fef60b3
UD
309 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
310 * sysdeps/unix/time.c: Likewise.
f8e25d3e 311
73b6bffc
UD
312 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
313 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
314 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
315 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
316 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
317 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
318 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
319 * time/time.h: Likewise.
320
321 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
322 * conform/data/complex.h-data: New file.
323 * conform/data/tgmath.h-data: New file.
324
325 * conform/data/wchar.h-data: Add missing functions.
326
327 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
328
329 * conform/data/termios.h-data: Add missing const in tcsetattr()
330 prototype.
331
332 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
333 Don't define pid_t here.
334
335 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
336
8be918b7
UD
337 * conform/data/sys/time.h-data: Allow sys/select.h.
338 * conform/data/sys/un.h-data: Fix typo.
339 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
340 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
341 <sys/time.h>.
342 * sysdeps/unix/clock_nanosleep.c: Likewise.
343 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
344 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
345 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
346 * sysdeps/unix/clock_settime.c: Likewise.
347
348 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
349 * login/getutent.c: Likewise.
350 * login/getutid.c: Likewise.
351 * login/getutline.c: Likewise.
352
353 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
354
09a2231b
UD
355 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
356 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
357 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
358 f_fsid field after change in struct statvfs.
359 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
360 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
362
363 * conform/data/sys/stat.h-data: Remove isfdtype. Use
364 optional-macro.
365
6f0ea379
UD
366 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
367 recvfrom, send, and socketpair prototypes. Add allow lines.
368 * socket/sys/socket.h: Include <sys/uio.h>.
369 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
370 Fix type of second parameter of listen.
371 Don't declare isfdtype unless __USE_MISC.
372 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
373 * sysdeps/mach/hurd/listen.c: Likewise.
374 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
375 ss_family and __ss_family.
376 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
377 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
378 (struct msghdr): Change type of msg_iovlen to int and type of
379 msg_controllen to socklen_t.
380 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
381 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
382 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
d1ce5f2a
UD
383 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
384 (rresvport_af): Likewise.
6f0ea379 385
257abbe2
UD
386 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
387 * conform/conformtest.pl: Implement handling of symbol.
388
2ff458eb
UD
389 * signal/signal.h: Fix handling of __need_* symbols.
390 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
391 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
392 * include/sys/select.h: Use fd_set not __fd_set.
393 * sysdeps/generic/bits/select.h: Likewise.
394 * sysdeps/i386/bits/select.h: Likewise.
395 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
396 __FDELT, __FDMASK, and __fd_set here.
397 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
398 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
399 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
400 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
401 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
402 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
403 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
404 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
405 * time/sys/time.h: Define struct timeval before including <time.h>
406 and <sys/select.h>.
407
408 * conform/data/sys/time.h-data: fd_set is a typedef.
409 * conform/data/sys/select.h-data: New file.
410 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
411 * conform/conformtest.pl (@headers): Add sys/select.h.
412 (type, optional-type): Unless testing a typedef instantiate object.
413 Implement optional-function.
414
415 * math/test-misc.c: Include <float.h>.
416
ded0a899
AJ
4172001-01-27 Andreas Jaeger <aj@suse.de>
418
419 * misc/efgcvt_r.c: Include <float.h>.
420
5876389a
UD
4212001-01-26 Ulrich Drepper <drepper@redhat.com>
422
61f9d0a3
UD
423 * conform/data/stdlib.h-data: Account for XPG6 changes.
424 * stdlib/stdlib.h (__random): Change return value type to long.
425 (posix_memalign): Cleanup parameter names.
426 (setenv, unsetenv): Make available for __USE_XOPEN2K.
427 Change return type of unsetenv to int.
428 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
842d709c 429 * include/stdlib.h: Change return type of unsetenv to int.
344be96a 430 Change return type of random to long int.
61f9d0a3
UD
431 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
432 Return -1 and set errno if parameter is invalid.
433 * stdlib/random.c (__random): Change return value type to long.
434
69bd45bd
UD
435 * conform/data/stdio.h-data: Account for changes in XPG6.
436
edf9cc89
UD
437 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
438 prototype.
439
5a9339d5
UD
440 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
441 * conform/data/signal.h-data: Fix sigev_notify_function entry.
442 Fix typo (SIGVALRM -> SIGVTALRM).
443 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
444 with real type.
445 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
446 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
447 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
449 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
450
da238298
UD
451 * conform/conformtest.pl: Implement optional-element. Define
452 $mustprepend{"sched.h"}.
da238298
UD
453 * conform/data/sched.h-data: Make sporadic scheduler definitions
454 optional.
455
456 * pwd/pwd.h: Don't define getpwent_r for XPG.
457
3eee1304
UD
458 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
459 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
460 * sysdeps/mach/hurd/poll.c: Likewise.
461 * sysdeps/unix/bsd/poll.c: Likewise.
462 * sysdeps/unix/sysv/linux/poll.c: Likewise.
463 * sysdeps/unix/sysv/aix/poll.c: Likewise.
464 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
465 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
466 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
467 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
468 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
469 * conform/data/poll.h-data: Fix typo in poll prototype.
470
feb4f759
UD
471 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
472 only if __USE_MISC.
473 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
474
84d7b1ea
UD
475 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
476
126f53e8
UD
477 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
478
ccd4b479
UD
479 * conform/conformtest.pl: Implement optional-type.
480
481 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
482 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
483 defining uint32_t here. Define IPPORT_RESERVED.
484 (struct hostent): Type of h_length element is int.
485 (getnameinfo): Type of flags parameter is unsigned int.
486 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
487 * conform/data/netdb.h-data: Add many missing definitions.
488
12b64309
UD
489 * conform/conformtest.pl: Implement optional-macro.
490 * conform/data/math.h-data: Update for XPG6.
491
492 * math/math.h (HUGE): Define as FLT_MAX value but don't use
493 FLT_MAX. Don't include <float.h>.
494 (MAXFLOAT): Likewise.
495
496 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
497
a7927149
UD
498 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
499
ef7aba4c
UD
500 * conform/data/limits.h-data: Mark constants as optional wherever
501 appropriate.
502
dbc3e61b
UD
503 * posix/bits/posix2_lim.h: Set correct values for
504 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
505 EQUIV_CLASS_MAX.
506
0c0b9451
UD
507 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
508 Required by POSIX.
509
58593d2e
UD
510 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
511
5876389a
UD
512 * conform/data/netinet/in.h-data: Add reserved prefixes.
513
514 * conform/data/arpa/inet.h-data: Fix a few typos.
515
4422df02
AJ
5162001-01-26 Andreas Jaeger <aj@suse.de>
517
f46a097c
AJ
518 * sysdeps/generic/strtol.c: Include <locale.h>
519 * stdlib/strtod.c: Likewise
520 * stdlib/strfmon.c: Likewise.
6d6e4021
AJ
521 * string/strcoll.c: Likewise.
522 * string/strxfrm.c: Likewise.
523 * wctype/wcfuncs_l.c: Likewise.
524 * wctype/wctype_l.c: Likewise.
525 * wctype/wctrans_l.c: Likewise.
f46a097c 526
4422df02
AJ
527 * include/bits/locale.h: New file.
528
020275b5
UD
5292001-01-26 Ulrich Drepper <drepper@redhat.com>
530
d0376ea7
UD
531 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
532 and NOSTR.
533
3e154a6f
UD
534 * locale/Makefile (headers): Add bits/locale.h.
535 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
536 and use __LC_ constants instead of LC_.
537 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
538 using __LC_ constants.
539 * locale/bits/locale.h: New file.
540 * locale/loadlocale.c: Include <locale.h>.
541 * locale/nl_langinfo.h: Likewise.
542
97ac0eaf
UD
543 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
544
1e4380f8
UD
545 * io/sys/stat.h: Define S_IFSOCK for XPG6.
546
547 * conform/data/fcntl.h-data: posix_madvise is not expected here.
548
7cc9fcf4
UD
549 * conform/conformtest.pl: Fix handling of macro-str.
550
aaca79eb
UD
551 * conform/data/inttypes.h-data: Add missing definition and all of
552 stdint.h-data.
553
020275b5
UD
554 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
555
bec7805d
UD
5562001-01-25 Ulrich Drepper <drepper@redhat.com>
557
020275b5
UD
558 * conform/conformtest.pl (@headers): Add stdint.h.
559 * conform/data/stdint.h-data: New file.
560
ad4f2ebf
UD
561 * conform/conformtest.pl: Recognize options --headers and
562 --dialect. Add dialect-specific CFLAGS.
563
9d48fef0
UD
564 * conform/conformtest.pl: Implement handling of recursive
565 allow-header.
566
567 * conform/data/locale.h-data: Add new struct lconv members.
568
8a6c2217
UD
569 * posix/wordexp.h: Correct definition of wordexp_t.
570 * posix/wordexp.c: Moved to ...
571 * sysdeps/generic/wordexp.c: ...here. New file.
572 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
573 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
574 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
575 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
576 wordexp.
577 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
578 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
579
deea1b29
UD
580 * math/tgmath.h: Pretty printing.
581
4f2689f4
UD
582 * math/Makefile (tests): Add test-tgmath.
583 (CFLAGS-test-tgmath.c): New variable.
584 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
585
bec7805d
UD
586 * conform/conformtest.pl: Handle allow-header in secondary headers
587 correctly.
588
589 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
590 #ifdef.
591
592 * conform/data/netinet/in.h-data: Use correct comment character.
593 * conform/data/sys/stat.h-data: Likewise.
594
e7c3d12b
UD
5952001-01-25 Jakub Jelinek <jakub@redhat.com>
596
597 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
598 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
599 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
600 __builtin_classify_type, add ##f suffixes where appropriate.
601 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
602 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
603 __builtin_classify_type.
604 (fma): Fix spelling of first argument.
605
4de9dbfa
UD
6062001-01-25 Ulrich Drepper <drepper@redhat.com>
607
773bd1e1
UD
608 * conform/data/unistd.h-data: Mark functions removed in XPG6
609 correctly.
610
611 * posix/unistd.h: Don't make functions removed in XPG6 available if
d921b304
UD
612 __USE_XOPEN2K.
613
2eba94b2
UD
614 * conform/conformtest.pl: Implement optional-constant.
615 * conform/data/unistd.h-data: Use optional-constant wherever
616 appropriate.
617
6b3e8333
UD
618 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
619 constants and add _SC_STREAMS.
620 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
621
87d2f3f0
UD
622 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
623 make old name weak alias.
624 * sysdeps/generic/statvfs64.c: Likewise.
625 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
626 make old name weak alias.
627 * sysdeps/generic/fstatvfs64.c: Likewise.
c1fac803 628 * include/sys/statvfs.h: New file.
87d2f3f0 629
2da161d4
UD
630 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
631 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
632 _PC_REC_XFER_ALIGN.
633 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
634 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
635 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
87d2f3f0 636 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2da161d4 637
7287c36d
UD
638 * conform/conformtest.pl: Run Unix tests for XPG6.
639 Implement handling of known namespace violations.
640 Improve printing of results.
641
642 * posix/unistd.h (usleep): Correct return type.
643 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
644 * sysdeps/unix/bsd/usleep.c: Correct return type.
645 * sysdeps/mach/usleep.c: Correct return type.
646 * sysdeps/generic/usleep.c: Correct return type.
647
648 * posix/unistd.h (sync): Correct return type.
649 * sysdeps/generic/sync.c: Likewise.
650 * sysdeps/mach/hurd/sync.c: Likewise.
651
652 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
653
49833554
UD
654 * posix/unistd.h: Make seteuid and setegid available for XPG6.
655
d9826675
UD
656 * wcsmbs/wchar.h: Get FILE definition for XPG5.
657
4de9dbfa
UD
658 * conform/data/ctype.h-data: Use correct comment form.
659 * conform/data/errno.h-data: Likewise.
660 * conform/data/math.h-data: Likewise.
661 * conform/data/mqueue.h-data: Likewise.
662 * conform/data/netdb.h-data: Likewise.
663 * conform/data/pthread.h-data: Likewise.
664
dc5fd907
UD
6652001-01-24 Ulrich Drepper <drepper@redhat.com>
666
c39fb5e4
UD
667 * conform/data/wordexp.h-data: Fix typo.
668
d753ffef
UD
669 * conform/conformtest.pl: Handle allow-header correctly.
670
671 * conform/data/time.h-data: Use correct comment form.
672
19533127
UD
673 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
674
45ef592d
UD
675 * configure.in: Comment out binutils version test.
676
dc5fd907
UD
677 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
678 separators.
679 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
680
681 * stdlib/tst-strtod.c (locale_test): New function.
682 (main): Call locale_test.
98d3e993 683 * stdlib/Makefile (tst-strtod-ENV): New variable.
dc5fd907 684
99f1b15b
MK
6852001-01-24 Mark Kettenis <kettenis@gnu.org>
686
687 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
688 declaration of value such that we actually return the value of the
689 environment variable.
690
1f3109a5
AJ
6912001-01-24 Andreas Jaeger <aj@suse.de>
692
693 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
694 prototype.
695 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
696
dc5fd907 697 * include/sys/sysctl.h: New file.
1f3109a5 698
ecf525cd
AJ
6992001-01-23 Andreas Jaeger <aj@suse.de>
700
1f3109a5
AJ
701 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
702 isomac.
7eff7a05 703
b0ed91ae
AJ
704 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
705 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
706 closes PR libc/2039.
707
ecf525cd
AJ
708 * manual/install.texi (Tools for Compilation): Change required
709 binutils version.
710
7d0673ae
AJ
7112001-01-22 Andreas Jaeger <aj@suse.de>
712
ea9f119b
AJ
713 * configure.in: Add test for new enough binutils version, move
714 compiler/binutils test up.
715
7d0673ae
AJ
716 * Versions.def: Add version GLIBC_2.2.2.
717
3132d11a
UD
7182001-01-21 Ulrich Drepper <drepper@redhat.com>
719
720 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
721 available.
722 * iconvdata/testdata/IBM932: New file.
723 * iconvdata/testdata/IBM932..UTF8: New file.
724 * iconvdata/testdata/IBM943: New file.
725 * iconvdata/testdata/IBM943..UTF8: New file.
726 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
727
608d481e
UD
7282001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
729
730 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
731
7322001-01-21 Ulrich Drepper <drepper@redhat.com>
733
734 * malloc/malloc.c: Remove a few unnecessary initializers of global
735 variables.
736
a5fdf99b
UD
7372000-12-09 H.J. Lu <hjl@gnu.org>
738
739 * nss/Makefile (routines): Add digits_dots.
740 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
741 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
742 into a function.
743 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
744 function.
745 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
746 (TYPE_VAR_P): Likewise.
747 (FLAGS_VAR): Likewise.
748 (AF_VAR_P): Likewise.
749 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
750 instead of including digits_dots.c.
751 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
752 (TYPE_VAR_P): Likewise.
753 (FLAGS_VAR): Likewise.
754 (AF_VAR_P): Likewise.
755 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
756 instead of including digits_dots.c.
757
df18ec9a
UD
7582001-01-21 Ulrich Drepper <drepper@redhat.com>
759
760 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
761
01ed3747
AJ
7622001-01-21 Andreas Jaeger <aj@suse.de>
763
764 * elf/constload2.c: Add prototype for init.
765
27cb6b28
UD
7662001-01-21 Ulrich Drepper <drepper@redhat.com>
767
d17c01f9
UD
768 * stdlib/stdlib.h (drand48_data): Make available only for
769 __USE_MISC. Rename elements to protect namespace. Change type
770 and position of a and init element.
771 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
772 differently. Adjust for drand48_data change. Don't compute a here,
773 it comes from drand48_data.
774 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
775 differently. Adjust for drand48_data change. Compute a here.
776 * stdlib/srand48_r.c: Likewise.
777 * stdlib/drand48.c: Adjust for drand48_data change.
778 * stdlib/lrand48.c: Likewise.
779 * stdlib/mrand48.c: Likewise.
780 * stdlib/seek48.c: Likewise.
781 * stdlib/drand48_r.c: Likewise.
782 * stdlib/lrand48_r.c: Likewise.
783 * stdlib/mrand48_r.c: Likewise.
784 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
785 differently.
786 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
787 * stdlib/jrand48_r.c: Likewise.
788
27cb6b28
UD
789 * po/sv.po: Update from translation team.
790
d28c955e
AJ
7912001-01-21 Andreas Jaeger <aj@suse.de>
792
793 * stdio-common/vfprintf.c (vfprintf): Add casts.
794
21a568e2
UD
7952001-01-20 Ulrich Drepper <drepper@redhat.com>
796
3b7caeac
UD
797 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
798 the ASCII test.
799 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
800
801 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
802 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
803 * iconvdata/ibm932.c: New file.
804 * iconvdata/ibm932.h: New file.
805 * iconvdata/ibm943.c: New file.
806 * iconvdata/ibm943.h: New file.
807 Patches by Masahide Washizawa <washi@jp.ibm.com>.
808
b72f9d51
UD
809 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
810 preventing optimization from being done. Set the correct type bit
811 in seen. Don't define and use _dl_base_addr unless
1b6020c1
UD
812 NEED_DL_BASE_ADDR is defined.
813
21a568e2
UD
814 * io/ftw.c (ftw_dir): Add slash after directory name if there
815 wasn't any. Reported by loris <loris@iol.it>.
816 * io/Makefile (tests): Add bug-ftw2.
817 * io/bug-ftw2.c: New file.
818
ec4ae3b8
UD
8192001-01-19 Ulrich Drepper <drepper@redhat.com>
820
df152cc8
UD
821 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
822 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
823 * stdlib/tst-rand48.c: New file.
824 * stdlib/Makefile (tests): Add tst-rand48.
825
ec4ae3b8
UD
826 * locale/newlocale.c (__newlocale): Fix test for setting all
827 categories.
828
db11c38c
MK
8292001-01-19 Mark Kettenis <kettenis@gnu.org>
830
831 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
832 but change looking up the initial directory port in a similar way
833 as done by _hurd_change_directory_port_from_name.
834 * hurd/fchroot.c (fchroot): Likewise.
835
2e42b53c
UD
8362001-01-18 Ulrich Drepper <drepper@redhat.com>
837
4e56fdbc
UD
838 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
839 defined don't look whether the AT_*ID values were set.
840 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
841 (_dl_show_auxv): Rewrite to avoid switch statement.
842 * sysdeps/unix/sysv/linux/kernel-features.h: Define
843 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
844 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
845 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
846
5287b1d8
UD
847 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
848 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
849 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
850
1e71bd52
UD
851 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
852 strtoul.
853 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
854 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
855 anything.
856 * dlfcn/eval.c (__strtol_internal): Define here.
857 (eval): Use __strtol_internal instead of strtol.
858
2e42b53c
UD
859 * elf/elf.h: Add a few more EF_MIPS_* constants.
860
2244ddf2
UD
8612001-01-17 Ulrich Drepper <drepper@redhat.com>
862
863 * manual/Makefile (chapters): Add debug.
864 * manual/debug.texi: New file.
865 * manual/examples/execinfo.c: New file.
866 Patch by suckfish@ihug.co.nz.
867
ee490531
AS
8682001-01-17 Andreas Schwab <schwab@suse.de>
869
870 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
871 invalid asm.
872
d26253b4
AJ
8732001-01-17 Andreas Jaeger <aj@suse.de>
874
875 * nscd/connections.c (nscd_run): Use proper format specifier.
876
f806546c
UD
8772001-01-16 Ulrich Drepper <drepper@redhat.com>
878
629cd0b8
UD
879 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
880 x86_platforms data into new file after prepending _dl_. Change
881 users.
882 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
883 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
884 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
885 dl-procinfo.c.
886
eca90c85
UD
887 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
888
376c348c
UD
889 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
890 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
891 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
f806546c 892 (_setjmp): Likewise.
376c348c
UD
893 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
894 * sysdeps/i386/bsd-setjmp.S: Real implementation.
895 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
896 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
897 version.
f806546c 898
17b32c74
AJ
8992001-01-16 Andreas Jaeger <aj@suse.de>
900
901 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
902 misapplied last patch.
903
ad7069d7
UD
9042001-01-15 Ulrich Drepper <drepper@redhat.com>
905
a9e4124c
UD
906 * stdlib/random.c (__initstate): Clean up a cast.
907 (__setstate): Likewise.
908
ad7069d7
UD
909 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
910 syscall handling. The generic Linux version should work.
911
d5049d86
AJ
9122001-01-15 Andreas Jaeger <aj@suse.de>
913
dab64536
AJ
914 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
915
376c348c 916 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
d5049d86 917
232b4655
UD
9182001-01-14 Jakub Jelinek <jakub@redhat.com>
919
920 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
921 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
922 New functions.
923 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
924 If number is 0, list all.
925 (services_keys): Likewise. Lookup aliases as well.
926 (databases): New table.
927 (build_doc): Prepare argp doc text with list of supported databases.
928 (main): Change to table driven processing.
929
9302001-01-14 Thorsten Kukuk <kukuk@suse.de>
931
5b6bed49 932 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
232b4655
UD
933 functions.
934
9352001-01-03 Jakub Jelinek <jakub@redhat.com>
936
937 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
938 encode value which does not fit in the 32bit type.
939
6589ba79
AJ
9402001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
941
942 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
943 Change type of CTX to (struct sigcontext *).
944 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
945 (GET_FRAME): Likewise.
946 (GET_STACK): Likewise.
947 (SIGCONTEXT): Likewise. Add 2nd arg _code.
948 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
949
b82d4f72
UD
9502001-01-13 Ulrich Drepper <drepper@redhat.com>
951
952 * manual/texinfo.tex: Update from upstream version.
953
3f738366
UD
9542001-01-13 Jakub Jelinek <jakub@redhat.com>
955
956 * inet/ether_ntoh.c (lookup_function): Change arguments to match
957 _nss_*_getntohost_r prototype.
958 (ether_ntohost): Pass errno pointer to NSS function.
959
6589ba79 9602001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3f738366
UD
961
962 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
963 (MAP_LOCKED): New definition.
964 (MAP_NORESERVE): New definition.
965
234669e2
UD
9662001-01-12 Ulrich Drepper <drepper@redhat.com>
967
968 * assert/assert.h: Use static_cast instead of C-style cast for C++.
969 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
970
6589ba79 9712001-01-12 Ben Collins <bcollins@debian.org>
ff0eee29
UD
972
973 * sysdeps/generic/segfault.c (install_handler): Use access, not
974 __access.
975
a7cdbcb8
AJ
9762001-01-12 Andreas Jaeger <aj@suse.de>
977
978 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
979 * posix/wordexp.c (do_parse_glob): Likewise.
980 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
981 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
982 * elf/dl-open.c (_dl_open): Likewise.
983 * elf/dl-close.c (_dl_close): Likewise.
984 * elf/dl-load.c (_dl_map_object): Likewise.
985 * iconv/iconv_prog.c (process_fd): Likewise.
03769626 986 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
a7cdbcb8
AJ
987
988 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
989 of a zero-length array.
990
5ef50d00
UD
9912001-01-11 Jakub Jelinek <jakub@redhat.com>
992
993 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
994 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
995 * stdlib/cxa_on_exit.c: Remove.
996 * stdlib/Makefile: Revert last patch.
997 * stdlib/Versions: Likewise.
998 * include/stdlib.h: Likewise.
999 * stdlib/exit.h: Revert last patch.
1000 (struct exit_function): Add second argument to cxa fn.
1001 * stdlib/exit.c: Revert last patch.
1002 (exit): Add hidden second argument.
1003
7e36861e
UD
10042001-01-11 H.J. Lu <hjl@gnu.org>
1005
1006 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
1007 * elf/dl-open.c (_dl_open): Here.
1008 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
1009 Make it static.
1010 (_dl_static_init): Initialize the variables every time when possible.
1011 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
1012 Undefine it first.
1013
3bbddbe4
UD
10142001-01-11 Ulrich Drepper <drepper@redhat.com>
1015
1016 * stdlib/Makefile (routines): Add cxa_on_exit.
1017 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
1018 * stdlib/cxa_on_exit.c: New file.
1019 * include/stdlib.h: Add prototype for __cxa_on_exit.
1020 * stdlib/exit.c: Handle ef_cxa2.
1021 * stdlib/exit.h (enum): Add ef_cxa2.
1022 (struct exit_function): Add cxa2.
1023
1024 * Versions.def [ld]: Add GLIBC_2.2.1.
1025
beb5387c
UD
10262001-01-10 H.J. Lu <hjl@gnu.org>
1027
1028 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
1029 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
1030 dl-static.
1031 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
1032 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
1033 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
1034 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
1035 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
1036
c926001f
UD
10372001-01-11 Ulrich Drepper <drepper@redhat.com>
1038
1039 * libio/stdio.h: Remove definition of off_t.
1040
64ed4533
AJ
10412001-01-11 Andreas Jaeger <aj@suse.de>
1042
1043 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
1044 <mkuhn@acm.org>.
1045
b9483044
UD
10462001-01-10 Ulrich Drepper <drepper@redhat.com>
1047
1048 * sunrpc/Makefile (distribute): Add errqueue.h.
1049
b1eab230
UD
10502001-01-10 H.J. Lu <hjl@gnu.org>
1051
1052 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
1053 r9, r10 and r11 for language specific registers.
1054
10552001-01-10 Jakub Jelinek <jakub@redhat.com>
1056
1057 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
1058 UDP socket.
1059 (clntudp_call): Handle MSG_ERRQUEUE.
1060 * sysdeps/generic/errqueue.h: New file.
1061 * sysdeps/unix/sysv/linux/errqueue.h: New file.
1062
963100c9
UD
10632001-01-10 H.J. Lu <hjl@gnu.org>
1064
1065 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
1066
e32f6125
UD
10672001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1068
1069 * CONFORMANCE: Update.
1070
4dd98cad
UD
10712001-01-09 Ulrich Drepper <drepper@redhat.com>
1072
88d88a58
UD
1073 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1074 Minimal cleanups. Add assert to ensure memory handling is correct.
1075
4ab5b7b5
UD
1076 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
1077 Reported by Ben Collins <bcollins@debian.org>.
1078
4dd98cad
UD
1079 * time/strftime.c (my_strftime): Mark previous GNU extensions
1080 which are now in C99 as such.
1081
0b795736
UD
10822001-01-08 Ulrich Drepper <drepper@redhat.com>
1083
92effacf
UD
1084 * elf/rtld.c (process_envvars): Place output files for profiling
1085 in SUID binaries in /var/profile.
1086
27f9ede1
UD
1087 * elf/dl-load.c (_dl_map_object): Don't look in cache for
1088 preloading in SUID binaries.
1089
f2a8d16b
UD
1090 * elf/dl-profile.c (_dl_start_profile): Open the output file with
1091 O_NOFOLLOW if possible.
1092
0101a56f
UD
1093 * include/stdlib.h: Add __posix_openpt declaration.
1094 * stdlib/stdlib.h: Add posix_openpt declaration.
1095 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
1096 * sysdeps/generic/getpt.c: Define posix_openpt.
1097 * sysdeps/unix/bsd/getpt.c: Likewise.
1098 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1099
354e6102
UD
1100 * time/Makefile (tests): Add tst-mktime.
1101 * time/tst-mktime.c: New file.
1102
1103 * posix/tst-dir.c (main): One more mkdir() test.
1104
f93e323f
UD
1105 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
1106 Remove getpagesize syscall. We assume that the pagesize is always
1107 determined from the auxiliary vector.
1108
0b795736
UD
1109 * intl/dcigettext.c: Fix a few warnings.
1110 Patch by Bruno Haible <haible@ilog.fr>.
1111
11122001-01-08 Andreas Jaeger <aj@suse.de>
1113
1114 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
1115 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1116
9b2c7523
UD
11172001-01-08 Ulrich Drepper <drepper@redhat.com>
1118
2090dd73
UD
1119 * sysdeps/generic/segfault.c (install_handler): Check output file
1120 name with access().
1121
52ee6223
UD
1122 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
1123 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
1124
0eb8a89b
UD
1125 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
1126
cf1bb6d5
UD
1127 * malloc/memusage.c (me): Use access() to determine whether we
1128 should write the output file or not.
1129
9b2c7523
UD
1130 * libio/bits/stdio.h (printf): Define macro to map printf call to
1131 fprintf which gcc can optimize.
1950ebc6 1132 * stdio-common/printf.c: Undefine printf.
9b2c7523 1133
af58d8a2
UD
11342001-01-07 Ulrich Drepper <drepper@redhat.com>
1135
bf2c10de 1136 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6589ba79 1137 patch. We must use unsigned int for l member of union.
bf2c10de 1138
51ac41a7
UD
1139 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
1140 _dl_aux_init for shared libraries.
1141
af58d8a2
UD
1142 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
1143 * sysdeps/gnu/glob64.c: ...here. New file.
1144
6589ba79 11452001-01-07 Ben Collins <bcollins@debian.org>
9495793d
UD
1146
1147 * manual/examples/longopt.c: Make the "struct option" a little
1148 more like it should be, adding usage of required_argument,
1149 noargument and such, and also setting the options string right.
1150
1151 * manual/sysinfo.texi (Load Average): New section, documents
1152 getloadavg().
1153
531950ce
UD
11542001-01-06 Ulrich Drepper <drepper@redhat.com>
1155
22f02123
UD
1156 * version.h (VERSION): Bump to 2.2.1.
1157
b41486e9 1158 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
dabb1db4
UD
1159 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
1160 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
1161 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
1162 * Makefile (distribute): Add include/libc-internal.h.
1163 * libio/Makefile (distribute): Avoid overwriting.
b41486e9 1164
531950ce
UD
1165 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
1166 buffer and table handling.
1167
e4a5f77d
UD
11682001-01-05 H.J. Lu <hjl@gnu.org>
1169
1170 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
1171 vector checking to ...
1172 (_dl_aux_init): Here. New function. Defined only if
1173 HAVE_AUX_VECTOR is defined.
1174
1175 * sysdeps/generic/libc-start.c (__libc_start_main): Call
1176 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
1177
1178 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
1179 _dl_aux_init.
1180
1181 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
1182 (HAVE_AUX_VECTOR): Defined.
1183 (_dl_aux_init): Declared.
1184
6589ba79 11852001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
1186
1187 * manual/string.texi (Finding Tokens in a String): Document XPG
1188 basename() and dirname(), as well as GNU basename().
1189
11902001-01-05 Jakub Jelinek <jakub@redhat.com>
1191
1192 * Makeconfig (preprocess-version): Replace -traditional with
1193 -x assembler-with-cpp.
1194
11952001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
1196
1197 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
1198 for GCC 2.97 or later.
1199
6589ba79 12002001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
1201
1202 * manual/stdio.texi (getline): Clarify the return value in the
1203 case of EOF being reached before a newline.
1204
12052001-01-04 Jakub Jelinek <jakub@redhat.com>
1206
1207 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
1208 FALSE otherwise.
1209 (pmap_set, pmap_unset): Check __get_myaddress return value.
1210
12112001-01-05 Mark Kettenis <kettenis@gnu.org>
1212
1213 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
1214 (struct ether_addr): Declare ether_addr_octet member as
1215 `u_int8_t'. Add __attribute__ ((__packed__)).
1216
4c587216
MK
12172001-01-06 Mark Kettenis <kettenis@gnu.org>
1218
1219 * sysdeps/mach/hurd/readdir64.c: New file.
1220 * sysdeps/mach/hurd/readdir64_r.c: New file.
1221
ce08cce9
MK
12222001-01-07 Mark Kettenis <kettenis@gnu.org>
1223
1224 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
1225 `struct statfs' and `struct statvfs' being identical.
1226 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
1227
7b3d21b2
MK
12282001-01-06 Mark Kettenis <kettenis@gnu.org>
1229
1230 * sysdeps/mach/hurd/fstatfs64.c: New file.
1231 * sysdeps/mach/hurd/fstatvfs64.c: New file.
1232 * sysdeps/mach/hurd/statfs64.c: New file.
1233 * sysdeps/mach/hurd/statvfs64.c: New file.
1234 * sysdeps/mach/hurd/statfsconv.c: New file.
1235 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
1236
f1813b56
UD
12372001-01-06 Ulrich Drepper <drepper@redhat.com>
1238
1239 * iconv/skeleton.c: Reset outbuf for next round of the loop.
1240 Reported by Owen Taylor <otaylor@redhat.com>.
1241 * iconv/Makefile (tests): Add tst-iconv3.
1242 * iconv/tst-iconv3.c: New file.
1243
1244 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
1245 * iconvdata/ibm933.c: Likewise.
1246 * iconvdata/ibm935.c: Likewise.
1247 * iconvdata/ibm937.c: Likewise.
1248 * iconvdata/ibm939.c: Likewise.
1249 * iconvdata/ibm930.h: Adjust single byte table for optimization.
1250 * iconvdata/ibm933.h: Likewise.
1251 * iconvdata/ibm935.h: Likewise.
1252 * iconvdata/ibm939.h: Likewise.
1253
1254 * iconvdata/testdata/IBM930: Add misssing SI.
1255 * iconvdata/testdata/IBM933: Likewise.
1256 * iconvdata/testdata/IBM935: Likewise.
1257 * iconvdata/testdata/IBM937: Likewise.
1258 * iconvdata/testdata/IBM939: Likewise.
1259
aa44a9de
AJ
12602001-01-06 Andreas Jaeger <aj@suse.de>
1261
f1813b56
UD
1262 * configure.in: Check for old add-ons that shouldn't be used with
1263 current glibc anymore.
aa44a9de 1264
655bfb8b
MK
12652001-01-06 Mark Kettenis <kettenis@gnu.org>
1266
1267 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
1268 instead of -1 on failure. Don't forget to copy file name into
1269 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
1270 of the directory.
1271
74ec0232
MK
12722001-01-06 Mark Kettenis <kettenis@gnu.org>
1273
1274 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
1275 copy st_atime member.
1276
c4f66413
UD
12772001-01-05 Ulrich Drepper <drepper@redhat.com>
1278
25f227b9
UD
1279 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
1280 for searches from the root directory.
1281 Reported by loris <loris@iol.it> [PR libc/1991].
1282 * io/Makefile (tests): Add bug-ftw1.
1283 * io/bug-ftw1.c: New file.
1284
155fd00c 1285 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6589ba79 1286 if it is not available. Instead use it only if it is available.
155fd00c
UD
1287 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
1288
c4f66413
UD
1289 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
1290 overflowing output buffer.
1291 (internal_ucs4_loop_unaligned): Likewise.
1292 (ucs4_internal_loop): Likewise.
1293 (ucs4_internal_loop_unaligned): Likewise.
1294 (internal_ucs4le_loop): Likewise.
1295 (internal_ucs4le_loop_unaligned): Likewise.
1296 (ucs4le_internal_loop): Likewise.
1297 (ucs4le_internal_loop_unaligned): Likewise.
1298 Reported by Owen Taylor <otaylor@redhat.com>.
1299 * iconv/Makefile (tests): Add tst-iconv2.
1300 * iconv/tst-iconv2.c: New file.
1301
f8f900ec
UD
13022001-01-04 H.J. Lu <hjl@gnu.org>
1303
6589ba79 1304 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
f8f900ec
UD
1305 (_dl_clktck): Declared.
1306 (non_dynamic_init): Take 3 arguments.
1307 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
1308
13092001-01-01 Bruno Haible <haible@clisp.cons.org>
1310
1311 Finish implementation of plural form handling.
1312 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
1313 'domainname'. Remove 'plindex' field. Add 'domain' and
1314 'translation_length' fields.
1315 (transcmp): Don't compare 'plindex' fields.
1316 (plural_lookup): New function.
6589ba79 1317 (DCIGETTEXT): Change cache handing in the plural case. Don't call
f8f900ec
UD
1318 plural_eval before the translation and its catalog file have been
1319 found. Remove plindex from cache key. Add 'translation_length' and
1320 'domain' to cache result.
1321 (_nl_find_msg): Remove index argument, return length of translation
6589ba79 1322 to the caller instead. Weaken comparison of string lengths, to account
f8f900ec
UD
1323 for plural entries. Call iconv() on the entire result string, not
1324 only on the portion needed so far.
1325 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1326 argument.
1327 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1328
eda6c725
UD
13292001-01-04 Ulrich Drepper <drepper@redhat.com>
1330
1331 * intl/plural.y (yylex): Minimal improvement in number scanner.
1332
61402fd6
UD
13332000-07-31 Bruno Haible <haible@clisp.cons.org>
1334
1335 * intl/plural.y: Include config.h. Needed to define 'inline' away for
1336 C compilers that don't support it.
1337 (yylex): Don't use gcc specific case range syntax.
1338 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
1339 compilers.
1340
13412000-10-12 Bruno Haible <haible@clisp.cons.org>
1342
1343 * intl/finddomain.c: Remove unneeded includes.
1344
13452000-10-12 Bruno Haible <haible@clisp.cons.org>
1346
1347 * intl/localealias.c (memcpy): Return first argument, just like the
1348 real memcpy function does.
1349 * intl/bindtextdom.c (memcpy): Likewise.
1350 * intl/finddomain.c (memcpy): Likewise.
1351 * intl/l10nflist.c (memcpy): Likewise.
1352 * intl/textdomain.c (memcpy): Likewise.
1353 From Paul Eggert <eggert@twinsun.com>.
1354
03fbfeb5
UD
13552001-01-03 Jakub Jelinek <jakub@redhat.com>
1356
1357 * resolv/resolv.h (struct __res_state): Add nsinit field.
1358 * resolv/res_send.c (res_nsend): Use it instead of nscount.
1359 * resolv/res_init.c (__res_vinit): Initialize it.
1360 (res_nclose): Clear it instead of nscount.
1361
06a60d9c
UD
13622001-01-04 Ulrich Drepper <drepper@redhat.com>
1363
03fbfeb5
UD
1364 * malloc/mtrace.pl: Fix matching of addresses.
1365 Patch by Aharon Robbins <arnold@skeeve.com>.
1366
06a60d9c
UD
1367 * Versions.def (ld): Add GLIBC_2.2.
1368
1369 * catgets/gencat.c: Copyright 2001.
1370 * csu/version.c: Likewise.
1371 * debug/catchsegv.sh: Likewise.
1372 * debug/xtrace.sh: Likewise.
1373 * elf/ldconfig.c: Likewise.
1374 * elf/sprof.c: Likewise.
1375 * iconv/iconv_prog.c: Likewise.
1376 * locale/locale.c: Likewise.
1377 * locale/localedef.c: Likewise.
1378 * malloc/memusage.sh: Likewise.
1379 * malloc/mtrace.pl: Likewise.
1380 * nscd/nscd.c: Likewise.
1381 * posix/getconf.c: Likewise.
1382
13832001-01-04 Mark Kettenis <kettenis@gnu.org>
1384
1385 * include/stdio.h: Only provide __getwc_unlocked prototype if
1386 USE_IN_LIBIO is defined.
1387
6589ba79 13882001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
06a60d9c
UD
1389
1390 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
1391 handling.
1392
13932001-01-03 Andreas Schwab <schwab@suse.de>
1394
1395 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
1396 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
1397
1398 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
1399 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
1400 strtoull alias.
1401 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
1402 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
1403 wcstoull alias.
1404
1405 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
1406 directory.
1407 * sysdeps/generic/strtol_l.c: Likewise.
1408 * sysdeps/generic/strtoul_l.c: Likewise.
1409 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
1410
1411 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
1412 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
1413 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
1414 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
1415
7f28638c
AJ
14162001-01-04 Andreas Jaeger <aj@suse.de>
1417
1418 * nss/nsswitch.c: Include files for missing prototypes, remove
1419 buggy declaration of prototypes.
1420
6589ba79 14212001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6ea8a113
AJ
1422
1423 * resolv/Versions: Fix bracing.
1424 * sysdeps/powerpc/soft-fp/Versions: Likewise.
dc0722b2 1425 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6ea8a113 1426
6589ba79 14272001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
f49b52b6
UD
1428
1429 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1430
fb0dd050
UD
14312001-01-02 Ulrich Drepper <drepper@redhat.com>
1432
1433 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
1434 Suggested by Minko Markov <mmarkov@home.com>.
1435
6589ba79 14362001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
fb0dd050
UD
1437
1438 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
1439 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
1440 the failing symbol.
1441 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
1442
6589ba79 14432001-01-02 Ben Collins <bcollins@debian.org>
fb0dd050
UD
1444
1445 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
1446 if TZ is not set and TZDEFAULT is not present.
1447
6589ba79 14482001-01-01 Ben Collins <bcollins@debian.org>
fb0dd050
UD
1449
1450 * string/strings.h: Make sure we declare our functions even if
1451 string.h is already included, based on whether or not __USE_BSD is
1452 defined.
1453
14542001-01-02 Ulrich Drepper <drepper@redhat.com>
1455
1456 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
1457 other dlopen() and dlsym().
1458 Based on a patch by Ben Collins <bcollins@debian.org>.
1459
14602001-01-02 Andreas Jaeger <aj@suse.de>
1461
1462 * dlfcn/errmsg1.c (main): Call dlerror initially.
1463 Reported by Ben Collins <bcollins@debian.org>.
1464
3470b826
UD
14652001-01-02 Ulrich Drepper <drepper@redhat.com>
1466
1467 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
1468 value is ignored if the selected locale is the C locale.
1469 * intl/tst-gettext.c: Set locale for above change.
1470 * intl/tst-translit.c: Likewise.
1471
78db6513
AJ
14722001-01-02 Andreas Jaeger <aj@suse.de>
1473
1dc72e4f
AJ
1474 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
1475 (_IO_switch_to_wget_mode): Likewise.
1476 (_IO_sputbackwc): Likewise.
1477 (_IO_sungetwc): Use wint_t for result.
1478
1479 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
1480
1481 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
1482 signedness.
1483
1484 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
1485 to (int) to avoid warnings.
1486 * stdio-common/printf_fp.c (putc): Likewise.
1487 * stdio-common/printf_size.c (putc): Likewise.
1488
78db6513
AJ
1489 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
1490 constant unsigned.
1491
8261c754
AJ
14922001-01-01 Andreas Jaeger <aj@suse.de>
1493
1494 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
1495
a2e48a25
AJ
14962000-12-31 Andreas Jaeger <aj@suse.de>
1497
66539a73
AJ
1498 * include/libc-internal.h: Add prototype for __libc_freeres.
1499
72f70279
AJ
1500 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
1501 for prototypes, remove redundant prototypes.
1502 * gmon/gmon.c: Likewise.
1503 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1504 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
66539a73 1505 * malloc/mtrace.c: Likewise.
72f70279
AJ
1506
1507 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
1508 prototypes.
1509 * elf/soinit.c: Likewise.
1510 * sysdeps/generic/prof-freq.c: Likewise.
1511 * sysdeps/mach/hurd/profil.c: Likewise.
1512 * debug/noophooks.c: Likewise.
1513 * debug/pcprofile.c: Likewise.
1514 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1515 * sysdeps/generic/get_clockfreq.c: Likewise.
66539a73 1516 * malloc/set-freeres.c: Likewise.
72f70279
AJ
1517
1518 * locale/localeinfo.h: Add internal prototypes.
1519
1520 * elf/rtld.c (dl_main): Fix prototype.
1521
9346aad7
AJ
1522 * iconvdata/tst-table-to.c (main): Use return instead of exit to
1523 avoid warning.
1524
1525 * nis/rpcsvc/yp_prot.h: Remove __P.
1526 * nis/rpcsvc/ypupd.h: Likewise.
1527 * nis/rpcsvc/yp.h: Likewise.
1528
fa39f7f7
AJ
1529 * sunrpc/rpc_main.c: Add noreturn attributes.
1530 * sunrpc/rpc_scan.h: Likewise.
1531
1532 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1533
1534 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1535
1536 * sunrpc/proto.h: Add noreturn attributes to error and crash.
1537
e4aced47
AJ
1538 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1539
1540 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1541
1542 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1543
1544 * include/rpc/rpc_msg.h: Add prototypes for some functions.
1545 * include/rpc/auth.h: Likewise.
1546 * include/rpc/auth_des.h: Likewise.
1547 * include/rpc/clnt.h: Likewise.
1548 * include/rpc/rpc.h: Likewise.
1549 * include/rpc/svc.h: Likewise.
1550 * include/rpc/svc_auth.h: Likewise.
1551
1552 * include/rpc/des_crypt.h: New file.
1553
a2e48a25
AJ
1554 * malloc/memusagestat.c (main): Use return instead of exit to
1555 avoid warning.
1556 * io/pwd.c (main): Likewise.
1557 * iconvdata/tst-table-from.c (main): Likewise.
1558 * ctype/test_ctype.c (main): Likewise.
1559 * setjmp/tst-setjmp.c (main): Likewise.
1560 * signal/tst-signal.c (main): Likewise.
1561 * stdlib/tst-strtol.c (main): Likewise.
1562 * stdlib/tst-strtod.c (main): Likewise.
1563 * stdlib/tst-strtoll.c (main): Likewise.
1564 * stdlib/tst-xpg-basename.c (main): Likewise.
1565 * dirent/tst-seekdir.c (main): Likewise.
1566 * grp/testgrp.c (main): Likewise.
1567 * inet/test_ifindex.c (main): Likewise.
1568 * io/test-utime.c (main): Likewise.
1569 * posix/test-vfork.c (main): Likewise.
1570 * posix/testfnm.c (main): Likewise.
1571 * stdio-common/temptest.c (main): Likewise.
1572 * stdio-common/test_rdwr.c (main): Likewise.
1573 * stdio-common/tst-fileno.c (main): Likewise.
1574 * stdio-common/tst-sscanf.c (main): Likewise.
1575 * stdio-common/tstscanf.c (main): Likewise.
1576 * string/bug-strncat1.c (main): Likewise.
1577 * string/bug-strpbrk1.c (main): Likewise.
1578 * string/bug-strspn1.c (main): Likewise.
1579 * string/test-ffs.c (main): Likewise.
1580 * string/tst-inlcall.c (main): Likewise.
1581 * string/tst-svc.c (main): Likewise.
1582 * timezone/test-tz.c (main): Likewise.
1583 * wctype/test_wcfuncs.c (main): Likewise.
1584 * wctype/test_wctype.c (main): Likewise.
1585
1586 * stdlib/tst-random.c: Add attribute noreturn to fail.
1587
09f5e163
UD
15882000-12-28 Wolfram Gloger <wg@malloc.de>
1589
1590 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1591 destination overlap. Assume dest is always below source if
1592 overlapping.
1593
c77a4478
UD
15942000-12-30 Ulrich Drepper <drepper@redhat.com>
1595
1596 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1597 object was not yet initialized.
1598
15992000-12-28 H.J. Lu <hjl@gnu.org>
1600
1601 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1602 is always consistent even if its dependency is failed.
1603
1604 * elf/dl-open.c (_dl_open): Increment the open count before
1605 calling _dl_close () in case of failure.
1606
1607 * elf/neededtest4.c: New file.
1608 * elf/neededobj5.c: New file.
1609 * elf/neededobj6.c: New file.
1610
1611 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1612 (tests): Add neededtest4.
1613 (modules-names): Add neededobj5 and neededobj6.
1614 ($(objpfx)neededobj6.so): New target.
1615 ($(objpfx)neededtest4): New target.
1616 ($(objpfx)neededtest4.out): New target.
1617
d9af8867
UD
16182000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
1619
1620 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1621 * stdlib/monetary.h: Add strfmon format attributes.
1622
547d4019
RM
16232000-12-28 Roland McGrath <roland@frob.com>
1624
1625 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1626 __mempcpy does it for us.
1627
11e0f1cf
AJ
16282000-12-28 Andreas Jaeger <aj@suse.de>
1629
dde52fca
AJ
1630 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1631
1632 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1633 __new_setrlimit.
1634
1635 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1636 __old_getrlimit64.
1637
1638 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1639 __new_getrlimit.
1640
1641 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1642 __chown_is_lchown and __real_chown.
1643
8da8e2db
AJ
1644 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1645 _dl_reloc_bad_type.
1646
11e0f1cf
AJ
1647 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1648 up GCC's warning about "deprecated use of label at end of compound
1649 statement."
1650 * sunrpc/rpc_cout.c (emit_inline): Likewise.
1651
11e0f1cf
AJ
1652 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1653 prototypes.
1654 Remove struct bb and __bb_head since those are declared by
1655 sys/gmon.h.
1656
6589ba79 16572000-12-22 Ben Collins <bcollins@debian.org>
01f8c9f2
AJ
1658
1659 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1660
1661 * manual/argp.texi: Document argp_domain as part of struct argp.
1662
a7cfa341
AJ
16632000-12-28 Andreas Jaeger <aj@suse.de>
1664
a2820ec4
AJ
1665 * catgets/Makefile (generated): Add sample.SJIS.cat.
1666
12f942cd
AJ
1667 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1668
728c24ff
AJ
1669 * elf/dl-minimal.c: Add prototypes.
1670
1671 * include/locale.h: Add internal prototypes.
1672 * include/sys/gmon.h: Likewise.
1673
a7cfa341
AJ
1674 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1675
6589ba79 16762000-12-27 Ben Collins <bcollins@debian.org>
7231f6f9
UD
1677
1678 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1679 when reallocating the error strings.
1680 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1681
bb548f63
UD
16822000-12-27 Ulrich Drepper <drepper@redhat.com>
1683
f116c77f
UD
1684 * dlfcn/Makefile (tests): Add errmsg1.
1685 (modules-names): Add errmsg1mod.
1686 Add rules to run errmsg1.
1687 * dlfcn/errmsg1.c: New file.
1688 * dlfcn/errmsg1mod.c: New file.
1689
9c99fa3d
UD
1690 * dlfcn/dlerror.c (dlerror): Always create output string which
1691 includes object file name.
1692
bb548f63
UD
1693 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1694 if we would go through it only once.
1695 Patch by Rick Gorton <rick.gorton@api-networks.com>.
1696
1697 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1698 Patch by Richard Henderson <rth@redhat.com>.
1699
17002000-12-27 Jakub Jelinek <jakub@redhat.com>
1701
1702 * malloc/malloc.c (memmove): Add prototypes.
1703 (MALLOC_MEMMOVE): Define.
1704 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1705 destination might overlap.
1706
ce351e07
AJ
17072000-12-27 Andreas Jaeger <aj@suse.de>
1708
1709 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1710 function.
1711 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1712 * locale/programs/locale.c (show_locale_vars): Likewise.
1713 (show_info): Likewise.
1714 * locale/programs/ld-collate.c (collate_output): Likewise.
1715 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1716 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1717 * stdlib/rpmatch.c (rpmatch): Likewise.
1718
1719 * setjmp/tst-setjmp.c: Make local functions static.
1720 * setjmp/jmpbug.c: Likewise.
1721 * signal/tst-signal.c: Likewise.
1722 * stdio-common/tfformat.c: Likewise.
1723 * string/tst-svc.c: Likewise.
1724 * time/clocktest.c: Likewise.
1725 * time/tst-getdate.c: Likewise.
1726 * dirent/list.c: Likewise.
1727 * dirent/opendir-tst1.c: Likewise.
1728 * posix/runtests.c: Likewise.
1729 * posix/tst-getaddrinfo.c: Likewise.
1730 * posix/tst-chmod.c: Likewise.
1731 * posix/wordexp-test.c: Likewise.
1732 * misc/tst-efgcvt.c: Likewise.
1733 * timezone/tst-timezone.c: Likewise.
1734 * rt/tst-clock.c: Likewise.
1735 * rt/tst-shm.c: Likewise.
1736 * rt/tst-aio2.c: Likewise.
1737 * rt/tst-aio3.c: Likewise.
1738 * rt/tst-aio4.c: Likewise.
1739 * rt/tst-aio5.c: Likewise.
1740
1741 * dlfcn/failtest.c: Add prototype for foo.
1742
1743 * dlfcn/glrefmain.c: Add prototype for do_test.
1744
1745 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1746
1747 * string/test-ffs.c (main): Add prototype for nested function.
1748
1749 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1750
1751 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1752
1753 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1754 setetherent prototype.
1755 Add internal interfaces.
1756
1757 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1758 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1759
1760 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1761
1762 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1763
1764 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1765 prototypes, remove struct etherent since it's declared in ether.h.
1766 Fix ntohost declaration.
1767
1768 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1769
1770 * include/getopt.h: Add internal interfaces.
1771 * include/termios.h: Likewise.
1772 * include/resolv.h: Likewise.
1773 * include/netdb.h: Likewise.
1774 * include/grp.h: Likewise.
1775 * include/pwd.h: Likewise.
1776 * include/shadow.h: Likewise.
1777 * include/rpc/netdb.h: Likewise.
784d802e 1778 * include/setjmp.h: Likewise.
ce351e07
AJ
1779
1780 * include/stdio.h: Add prototypes for compatibility functions.
1781 * include/grp.h: Likewise.
1782 * include/pwd.h: Likewise.
1783 * include/shadow.h: Likewise.
1784
1785 * include/fenv.h: Define internal interfaces.
1786
96749bc2
UD
17872000-12-27 Ulrich Drepper <drepper@redhat.com>
1788
1789 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1790 argument case separately.
1791 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1792
27ee0a55
AJ
17932000-12-27 Andreas Jaeger <aj@suse.de>
1794
1795 * include/sys/wait.h: Add some prototypes.
1796 * Rules (dummy.c): Create also prototype to shut up GCC.
1797
38eb40ea
AJ
17982000-12-27 Andreas Jaeger <aj@suse.de>
1799
1800 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1801 it's not needed at the moment.
1802 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1803 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1804
03bac9ac
AJ
18052000-12-26 Andreas Jaeger <aj@suse.de>
1806
1807 * libio/getc_u.c: Include stdio.h via system path to get internal
1808 prototypes.
1809 * libio/getwc_u.c: Likewise.
1810
1811 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1812
1813 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1814 __printf_fp prototypes to ...
1815 * include/printf.h: ...here.
1816
1817 * include/stdio.h: Add some internal prototypes to shut up GCC.
1818 * include/stdlib.h: Likewise.
1819
1820 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1821 declaration.
1822
1823 * include/signal.h: Add prototypes for internal sigpause
1824 interfaces.
1825
945c975d
UD
18262000-12-26 Ulrich Drepper <drepper@redhat.com>
1827
1828 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1829 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1830
fc1fb585
UD
1831 * string/Makefile (tests): Add tst-bswap.
1832 * string/tst-bswap.c: New file.
1833
be76803a
UD
18342000-12-11 Bruno Haible <haible@clisp.cons.org>
1835
1836 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1837
18382000-12-26 Ulrich Drepper <drepper@redhat.com>
1839
1840 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1841 Patch by Ed Connell <Ed.Connell@sas.com>.
1842
214414c8
UD
18432000-12-24 Ulrich Drepper <drepper@redhat.com>
1844
1845 * locale/iso-639.def: Correct one entry. Add two missing entries.
1846
1847 * locale/iso-4217.def: Change entry for Eritrea.
1848 Reported by Daniel Yacob <yacob@geez.org>.
1849
6589ba79 18502000-12-23 Ben Collins <bcollins@debian.org>
640a3be1
UD
1851
1852 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1853 description.
1854
1855 * manual/stdio.texi (Dynamic Output): Document the return value of
1856 asprintf. Also make the asprintf/snprintf examples a little
1857 better (check for some error returns).
1858
b708b1ca
AJ
18592000-12-22 Andreas Jaeger <aj@suse.de>
1860
1861 * include/stdio.h: Add __ftrylockfile prototype.
1862
912f97da
UD
18632000-12-21 H.J. Lu <hjl@gnu.org>
1864
1865 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1866 Make sign_exponent element signed.
1867
1868 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1869 Fix a typo.
1870
1871 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1872
cc657ce5
AJ
18732000-12-21 Andreas Jaeger <aj@suse.de>
1874
1875 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1876 * inet/ether_hton.c: Likewise
1877 * inet/ether_ntoh.c: Likewise.
1878
1879 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1880 declaration to match prototype.
1881
1882 * include/netinet/ether.h (struct etherent): Declare here so that
1883 all implementations use the same struct.
1884
1885 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1886 prototypes.
1887 (struct ether): Removed.
1888 Use struct etherent instead of ether everywhere.
1889
1890 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1891
1892 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1893
1894 * sunrpc/publickey.c: Include auth_des.h for prototypes.
1895
ddc3ed9d
UD
18962000-12-20 Ulrich Drepper <drepper@redhat.com>
1897
1898 * math/test-misc.c: Add more tests for nextafter functions.
1899
1900 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1901 normal correctly. Correct test for sign.
1902 Based on a patch by HJ Lu.
1903
0a4c7b18
UD
19042000-12-19 Ulrich Drepper <drepper@redhat.com>
1905
1906 * Makeconfig (preprocess-version): Add -traditional to gcc call.
1907 Cleanup sed calls.
1908
6c9914d8
AJ
19092000-12-19 Andreas Jaeger <aj@suse.de>
1910
1911 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1912
1913 * nis/nis_intern.h: Add prototype for __do_niscall3.
1914
1915 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1916 match prototype.
1917
1918 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1919
1920 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1921
1922 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1923
9b4b880b
UD
19242000-12-18 Ulrich Drepper <drepper@redhat.com>
1925
cc46d0cf
UD
1926 * math/test-misc.c: Add more tests for nextafter.
1927 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1928 * sysdeps/ieee754/ldbl-96/math_ldbl.h
1929 (ieee_long_double_shape_type): Make sign_exponent element signed.
1930
aa9e3c39
UD
1931 * manual/message.texi: Add Estonian to plural overview list.
1932 Correct rule for Slavic languages.
1933 Patch by Stanislav Brabec <utx@penguin.cz>.
1934
9b4b880b
UD
1935 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
1936
51eecc4a
AJ
19372000-12-18 Andreas Jaeger <aj@suse.de>
1938
cc657ce5 1939 * test-skeleton.c: Use temp_name_list instead of name_list to
51eecc4a
AJ
1940 avoid collision with name_list from inet/netgroup.h.
1941
1942 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1943
1944 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1945 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1946 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1947 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1948
1949 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1950 declaration to match prototype.
1951 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1952 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1953 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1954 Likewise.
1955 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1956 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1957 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1958 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1959 (_nss_nis_getservbyport_r): Likewise.
1960 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1961 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1962 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1963 (_nss_nis_setnetent): Likewise
1964 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1965 (_nss_nis_endnetgrent): Likewise.
1966 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1967 Likewise.
1968 (_nss_nisplus_setnetgrent): Likewise.
1969 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1970 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1971 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1972 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1973 Likewise.
1974 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1975 Likewise.
1976 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1977 Likewise.
1978 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1979 Likewise.
1980 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1981 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1982 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1983 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1984 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1985 (_nss_dns_getnetbyaddr_r): Likewise.
1986
715ed1e9
AJ
19872000-12-17 Andreas Jaeger <aj@suse.de>
1988
b6e20712
AJ
1989 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1990 parameter.
1991
1992 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1993 unused attribute to shut up gcc warnings.
1994
1995 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1996 * sysdeps/generic/k_tanl.c: Likewise.
1997 * sysdeps/generic/k_cosl.c: Likewise.
1998 * sysdeps/generic/e_j0l.c: Likewise.
1999 * sysdeps/generic/e_j1l.c: Likewise.
2000 * sysdeps/generic/e_jnl.c: Likewise.
2001 * sysdeps/generic/e_lgammal_r.c: Likewise.
2002
715ed1e9
AJ
2003 * elf/vismain.c: Move prototypes for functions in vismod*.c to
2004 vismod.h.
2005 * elf/vismod.h: New file.
2006 * elf/Makefile (distribute): Add vismod.h.
2007 * elf/vismod1.c: Include vismod.h.
2008 * elf/vismod2.c: Likewise.
2009 * elf/vismod3.c: Likewise.
2010
2011 * elf/constload3.c: Add prototype declarations to shut up gcc.
2012 * elf/failobj.c: Likewise.
2013 * elf/nodelmod3.c: Likewise.
2014 * elf/filtmod1.c: Likewise.
2015 * elf/filtmod2.c: Likewise.
2016 * elf/reldepmod1.c: Likewise.
2017 * elf/reldepmod2.c: Likewise.
2018 * elf/reldepmod3.c: Likewise.
2019 * elf/reldepmod4.c: Likewise.
2020 * elf/unload2dep.c: Likewise.
2021 * elf/unload2mod.c: Likewise.
2022 * elf/ltglobmod1.c: Likewise.
2023 * elf/pathoptobj.c: Likewise.
5c80f57c
AJ
2024 * elf/neededobj1.c: Likewise.
2025 * elf/neededobj2.c: Likewise.
2026 * elf/neededobj3.c: Likewise.
2027 * elf/neededobj4.c: Likewise.
2028 * elf/nextmod1.c: Likewise.
2029 * elf/nextmod2.c: Likewise.
715ed1e9
AJ
2030
2031 * locale/programs/ld-collate.c (collate_finish): Don't use labels
2032 at end of compound statement.
2033 * locale/programs/locale.c (show_info): Likewise.
2034 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2035
0a70515e
UD
20362000-12-16 Jakub Jelinek <jakub@redhat.com>
2037
2038 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
2039 with a pointer not returned by obstack_ functions.
2040
3d73829c
UD
20412000-12-16 Ulrich Drepper <drepper@redhat.com>
2042
0a70515e
UD
2043 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
2044 version.
2045 (struct stat64): Likewise.
2046 Reported by Michael Keezer <mkeezer@redhat.com>.
2047
3d73829c
UD
2048 * timezone/asia: Update from tzdata2000h.
2049 * timezone/australasia: Likewise.
2050 * timezone/backward: Likewise.
2051 * timezone/europe: Likewise.
2052 * timezone/northamerica: Likewise.
2053 * timezone/southamerica: Likewise.
2054 * timezone/zone.tab: Likewise.
2055
20562000-12-14 Jakub Jelinek <jakub@redhat.com>
2057
2058 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
2059 and dir.stream is NULL, only free dir.content.
2060 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
2061 * io/ftwtest-sh: Test with --early-exit.
2062
887e7ab6
UD
20632000-12-13 Jakub Jelinek <jakub@redhat.com>
2064
2065 * misc/efgcvt.c (FCVT_MAXDIG): Define.
2066 (FCVT_BUFPTR): New variable.
2067 (fcvt): If fcvt_r returns -1 on the static short buffer,
2068 try to malloc a sufficiently large one and retry.
2069 (free_mem): New function.
2070 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
2071 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
2072
20732000-12-15 Ulrich Drepper <drepper@redhat.com>
2074
2075 * misc/dirname.c (dirname): Fix search for second to last slash.
2076
20772000-12-13 Andreas Jaeger <aj@suse.de>
2078
2079 * misc/tst-dirname.c (main): Fix typo in test to really use
2080 the examples from Unix98.
2081 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2082
bafd1567
UD
20832000-12-09 H.J. Lu <hjl@gnu.org>
2084
2085 * sysdeps/ia64/fpu/s_fabs.S: New file.
2086 * sysdeps/ia64/fpu/s_fabsf.S: New file.
2087 * sysdeps/ia64/fpu/s_fabsl.S: New file.
2088
1a511d31
AJ
20892000-12-15 Andreas Jaeger <aj@suse.de>
2090
2091 * stdio-common/scanf9.c (main): Reformat and change to avoid
2092 warnings.
2093
2094 * stdio-common/tstdiomisc.c: Make local functions static.
2095 * stdio-common/tst-printf.c: Likewise.
2096
2097 * elf/constload2.c: Add prototype declarations to shut up gcc.
2098 * elf/dep1.c: Likewise.
2099 * elf/dep2.c: Likewise.
2100 * elf/dep3.c: Likewise.
2101 * elf/dep4.c: Likewise.
2102 * elf/ltglobmod2.c: Likewise.
2103
2104 * libio/fmemopen.c: Make local functions static.
2105
2106 * elf/Makefile (distribute): Added testobj.h.
2107
2108 * elf/testobj.h: New file.
2109
2110 * elf/testobj1.c: Include testobj.h and move prototype
2111 declarations to testobj.h.
2112 * elf/testobj2.c: Likewise.
2113 * elf/testobj3.c: Likewise.
2114 * elf/testobj4.c: Likewise.
2115 * elf/testobj5.c: Likewise.
2116 * elf/testobj6.c: Likewise.
2117 * elf/testobj1_1.c: Likewise.
2118 * elf/preloadtest.c: Likewise.
2119
6589ba79 21202000-12-15 Ben Collins <bcollins@debian.org>
8ab5926a
AJ
2121
2122 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
2123 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2124
940f0754
AJ
21252000-12-14 H.J. Lu <hjl@gnu.org>
2126
2127 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
2128 field in a float is 8 bits, not 11 bits.
2129
7b84d129
AJ
21302000-12-13 Jakub Jelinek <jakub@redhat.com>
2131
2132 * math/test-misc.c (main): Adjust m for IEEE quad long double.
2133
13193a38
AJ
21342000-12-13 Andreas Jaeger <aj@suse.de>
2135
b71f84a0
AJ
2136 * manual/message.texi (Using gettextized software): Fix typo.
2137
2138 * manual/charset.texi (Converting a Character): Fix mbstouwcs
2139 program to compile.
2140 Patch by Martin Buchholz <martin@xemacs.org>.
2141
13193a38
AJ
2142 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
2143 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2144
1e3869d8
AJ
21452000-12-11 Andreas Jaeger <aj@suse.de>
2146
2147 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
2148 kernel_sigset_t and use it.
2149 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2150
bafd1567 21512000-12-10 Richard Henderson <rth@redhat.com>
874b4dd5
UD
2152
2153 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
2154 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
2155 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2156
a31530e3
UD
21572000-12-10 Jakub Jelinek <jakub@redhat.com>
2158
2159 * sysdeps/alpha/htonl.S: Fix a typo.
2160
adc85e2f
UD
21612000-12-10 Jakub Jelinek <jakub@redhat.com>
2162
2163 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2164
9068de33
AJ
21652000-12-10 Andreas Jaeger <aj@suse.de>
2166
2167 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4e8d52c9
AJ
2168 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
2169 Drepper <drepper@redhat.com>.
9068de33 2170
0a12bf88
AJ
21712000-12-09 Andreas Jaeger <aj@suse.de>
2172
2173 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
2174
2175 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
2176 generic version.
2177 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
2178
2179 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
2180 string.
2181
2182 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2183 format string.
2184
2185 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
2186 * nscd/connections.c (handle_request): Likewise.
2187 * nscd/pwdcache.c (addpwbyname): Likewise.
2188 * nscd/grpcache.c (addgrbyname): Likewise.
2189
2190 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2191
1d5c2feb
UD
21922000-12-09 Ulrich Drepper <drepper@redhat.com>
2193
c13f651e
UD
2194 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2195
1d5c2feb
UD
2196 * Makeconfig (default_cflags): Make -O2 the default for stable
2197 releases.
2198
21992000-12-08 H.J. Lu <hjl@gnu.org>
2200
2201 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
2202 * sysdeps/ia64/fpu/s_isinf.S: This.
2203 Add a .pred.rel.mutex note to avoid false report.
2204
2205 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
2206 * sysdeps/ia64/fpu/s_isnan.S: This.
2207
2208 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
2209 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
2210 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
2211 * sysdeps/ia64/fpu/s_isinff.S: New file.
2212 * sysdeps/ia64/fpu/s_isinfl.S: New file.
2213 * sysdeps/ia64/fpu/s_isnanf.S: New file.
2214 * sysdeps/ia64/fpu/s_isnanl.S: New file.
2215 * sysdeps/ia64/fpu/s_finite.S: New file.
2216 * sysdeps/ia64/fpu/s_finitef.S: New file.
2217 * sysdeps/ia64/fpu/s_finitel.S: New file.
2218 * sysdeps/ia64/fpu/s_signbit.S: New file.
2219 * sysdeps/ia64/fpu/s_signbitf.S: New file.
2220 * sysdeps/ia64/fpu/s_signbitl.S: New file.
2221 * sysdeps/ia64/fpu/s_copysign.S: New file.
2222 * sysdeps/ia64/fpu/s_copysignf.S: New file.
2223 * sysdeps/ia64/fpu/s_copysignl.S: New file.
2224
d9163744
UD
22252000-12-08 Ulrich Drepper <drepper@redhat.com>
2226
a9a56960
UD
2227 * math/libm-test.inc (main): Fix typos in messages.
2228
d9163744
UD
2229 * string/stratcliff.c: Add test for rawmemchr.
2230
7b70fef6
UD
22312000-12-08 Jakub Jelinek <jakub@redhat.com>
2232
2233 * elf/dl-open.c (_dl_open): If objname points right after errstring,
2234 allocate it together with errstring using alloca.
2235 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
2236 to "", because it might point to local stack.
2237
8b801829
UD
22382000-12-05 H.J. Lu <hjl@gnu.org>
2239
2240 * nss/Makefile (routines): Add getnssent and getnssent_r.
2241 * nss/nsswitch.h (__nss_setent): New internal NSS function.
2242 (__nss_endent): Likewise.
2243 (__nss_getent_r): Likewise.
2244 (__nss_getent): Likewise.
2245 * nss/getnssent_r.c: New file.
2246 * nss/getnssent.c: New file.
2247 * nss/getXXent.c (H_ERRNO_VAR): Updated.
2248 (GETFUNC_NAME): Updated to call __nss_getent ().
2249 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
2250 (STAYOPEN_TMPVAR): Updated.
2251 (STAYOPEN_VAR): Updated.
2252 (SETFUNC_NAME): Updated to call __nss_setent ().
2253 (ENDFUNC_NAME): Updated to call __nss_endent ().
2254 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
2255
b8fefd49
AJ
22562000-12-08 Andreas Jaeger <aj@suse.de>
2257
2258 * nscd/dbg_log.h (dbg_log): Correct attribute.
2259
104d0bd3
UD
22602000-12-08 Jakub Jelinek <jakub@redhat.com>
2261
2262 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
2263 cp + len. Compute where from dirname.
2264 Reported by <jreiser@BitWagon.com>.
2265
22662000-12-08 Richard Henderson <rth@twiddle.net>
2267
2268 * sysdeps/alpha/_mcount.S: Fix typo.
2269 * sysdeps/alpha/strncpy.S: Likewise.
2270
2271 * sysdeps/alpha/alphaev6/Implies: New file.
2272 * sysdeps/alpha/alphaev67/Implies: New file.
2273 * sysdeps/alpha/alphaev67/ffs.S: New file.
2274 * sysdeps/alpha/alphaev67/ffsll.S: New file.
2275 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
2276 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
2277 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
2278 * sysdeps/alpha/rawmemchr.S: New file.
2279 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
2280 * sysdeps/alpha/strcpy.S: Likewise.
2281
2282 From GMP 3.1.1:
2283 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
2284
2285 From rick.gorton@alpha-processor.com:
2286 * sysdeps/alpha/alphaev6/memchr.S: New file.
2287 * sysdeps/alpha/alphaev6/memcpy.S: New file.
2288 * sysdeps/alpha/alphaev6/memset.S: New file.
2289 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
2290 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
2291 * sysdeps/alpha/alphaev67/strcat.S: New file.
2292 * sysdeps/alpha/alphaev67/strchr.S: New file.
2293 * sysdeps/alpha/alphaev67/strlen.S: New file.
2294 * sysdeps/alpha/alphaev67/strncat.S: New file.
2295 * sysdeps/alpha/htonl.S: Use a shorter sequence.
2296
22972000-12-08 Jakub Jelinek <jakub@redhat.com>
2298
2299 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
2300 Reported by <pspencer@fields.utoronto.ca>.
2301
23022000-12-07 Jes Sorensen <jes@linuxcare.com>
2303
2304 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
2305 Pointed out by Hans Boehm.
2306
23072000-12-07 H.J. Lu <hjl@gnu.org>
2308
2309 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2310
23112000-12-07 Andreas Jaeger <aj@suse.de>
2312
2313 * misc/error.c: Add format attributes for __error and __error_at_line.
2314
2315 * nscd/dbg_log.h: Add format attribute.
2316
23172000-12-08 Ulrich Drepper <drepper@redhat.com>
2318
2319 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
2320 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2321
4e9b4067
UD
23222000-12-07 Dan Pop <Dan.Pop@cern.ch>
2323
2324 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
2325
e3690263
UD
23262000-12-06 Ulrich Drepper <drepper@redhat.com>
2327
2328 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2329 (sysdep_routines): Add uitrunc.
2330 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
2331 Patches by Michael Keezer <mkeezer@redhat.com>.
2332
1ca315fc
RM
23332000-12-06 Roland McGrath <roland@frob.com>
2334
2335 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
2336 argument data, since it will be used to copy out too (for INOUT).
2337 Reported by Marcus Brinkmann <marcus@gnu.org>.
2338
2339 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
2340 (__ioctl): Use uintptr_t instead of unsigned long int.
2341
9068de33 23422000-12-06 Jim Wilson <wilson@redhat.com>
9cf90923 2343
1ca315fc 2344 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9cf90923 2345
23a5c823
UD
23462000-12-06 Ulrich Drepper <drepper@redhat.com>
2347
2348 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
2349 x.5 rounding correctly.
2350
d36c3615
UD
23512000-12-06 Mark Kettenis <kettenis@gnu.org>
2352
2353 * stdio-common/perror.c (perror): Conditionalize code dealing with
2354 wide-oriented streams on USE_IN_LIBIO.
2355
f4abea70
MK
23562000-12-06 Mark Kettenis <kettenis@gnu.org>
2357
2358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
2359 as internal_function.
2360
298c70f4
UD
23612000-12-05 Ulrich Drepper <drepper@redhat.com>
2362
2363 * sysdeps/alpha/elf/start.S (__data_start): Define.
2364
0e96315a
UD
23652000-12-05 H.J. Lu <hjl@gnu.org>
2366
2367 * nss/getXXent_r.c (setup): Change the return type to int.
2368
256ba888
UD
23692000-12-05 Ulrich Drepper <drepper@redhat.com>
2370
2371 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
2372 (sysdep_routines): Add restf and savef.
2373 * sysdeps/unix/sysv/aix/restf.c: New file.
2374 * sysdeps/unix/sysv/aix/savef.c: New file.
2375 Patches by Michael Keezer <mkeezer@redhat.com>.
2376
2377 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
2378 if O_DIRECTORY is not defined.
2379 Patch by Michael Keezer <mkeezer@redhat.com>.
2380
2381 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
2382 Patch by Michael Keezer <mkeezer@redhat.com>.
2383
2384 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
2385 than 4 bytes in escape sequence.
2386 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2387
48896b9d
AJ
23882000-12-05 Andreas Jaeger <aj@suse.de>
2389
2e3b9976
AJ
2390 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
2391 set mips2.
2392
9fbbbe69
AJ
2393 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
2394
2395 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
2396
2397 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
d32ffbec 2398 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9fbbbe69 2399
48896b9d
AJ
2400 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
2401 internal_function.
2402 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
2403 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
2404
2405 * sysdeps/generic/dl-cache.c: Remove declaration of
2406 _dl_sysdep_read_whole_file.
2407
2408 * elf/dl-load.c (_dl_map_object): Remove declaration of
2409 _dl_load_cache_lookup.
2410
2411 * sysdeps/generic/ldsodefs.h: Add declarations of
2412 _dl_load_cache_lookup, _dl_unload_cache,
2413 _dl_sysdep_read_whole_file, _dl_sysdep_start and
2414 _dl_sysdep_start_cleanup.
2415
2416 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
2417 now.
2418
2419 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
2420 * sysdeps/generic/dl-environ.c: Likewise.
2421
2422 * stdio-common/printf_fp.c: Include <gmp.h> instead of
2423 <stdlib/gmp.h>.
2424 * math/atest-exp.c: Likewise.
2425 * math/atest-exp2.c: Likewise.
2426 * math/atest-sincos.c: Likewise.
2427 * stdio-common/_itoa.c: Likewise.
2428 * stdio-common/_itowa.c: Likewise.
2429
2430 * include/gmp.h: New file with internal prototypes.
2431
2432 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
2433 here to...
2434 * include/setjmp.h: ...here.
2435
2436 * locale/Makefile (routines): Remove codeset_name since it's not
2437 needed anywhere.
2438
2439 * locale/codeset_name.c: Removed.
2440
2e98651f
UD
24412000-12-05 Ulrich Drepper <drepper@redhat.com>
2442
2443 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
2444
36c12d87
AJ
24452000-12-05 Andreas Jaeger <aj@suse.de>
2446
2447 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2448
9068de33 24492000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
e22669a3 2450
2e98651f 2451 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
e22669a3
AJ
2452 available.
2453
cf3141a5
AJ
24542000-12-05 Andreas Jaeger <aj@suse.de>
2455
2456 * nss/test-netdb.c: Mark local functions as static to avoid
2457 warnings.
2458 (main): Use return to silence warning.
2459
2460 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
2461
2462 * stdio-common/test-popen.c: Mark local functions as static to
2463 avoid warnings.
2464 (main): Use return to silence warning.
2465
2466 * stdlib/testsort.c (compare): Mark as static to avoid warning.
2467
2468 * assert/test-assert.c: Mark local functions as static to avoid
2469 warnings.
2470 * assert/test-assert-perr.c: Likewise.
2471
2472 * math/libm-test.inc (main): Use return to silence warnings.
2473
6d0c4914
UD
24742000-12-04 Ulrich Drepper <drepper@redhat.com>
2475
8267e47b
UD
2476 * math/fenv.h: Fix typo in comment.
2477
b210e4cc
UD
2478 * math/test-misc.c (main): Add a few more over and underflow tests
2479 for scalb.
2480
6d0c4914
UD
2481 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
2482 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2484 * math/w_scalb.c: Don't use matherr except in SVID mode.
2485 * math/w_scalbf.c: Likewise.
2486 * math/w_scalbl.c: Likewise.
2487 * math/test-misc.c: Add test for NaN and scalbl.
2488 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2489
2aa15430
UD
24902000-12-04 Ulrich Drepper <drepper@redhat.com>
2491
2492 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
2493 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
2494 * include/libc-symbols.h (strong_alias): Define special version
2495 for HAVE_ASM_GLOBAL_DOT_NAME.
2496 (weak_alias): Likewise.
2497 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
2498 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
2499 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
2500 getutxline, pututxline, and utmpxname.
2501 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
2502 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
2503 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
2504 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
2505 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
2506 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
2507 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
2508 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
2509 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
2510 Patches by Michael Keezer <mkeezer@redhat.com>.
2511
62ab42d6
UD
25122000-12-04 H.J. Lu <hjl@gnu.org>
2513
2514 * configure.in: Change --with-oldest-abi=ABI to
2515 --enable-oldest-abi=ABI.
2516
25172000-12-02 Bruno Haible <haible@clisp.cons.org>
2518
2519 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
2520 fwprintf instead of fprintf.
2521
767b6275
UD
25222000-12-04 Ulrich Drepper <drepper@redhat.com>
2523
2524 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
2525 DECIMAL_DIG definitions.
2526 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
2527 * sysdeps/generic/bits/mathdef.h: Likewise
2528 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2529 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2530 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2531 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2532 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2533 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2534
79569444
UD
25352000-12-03 Ulrich Drepper <drepper@redhat.com>
2536
767b6275
UD
2537 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2538
2539 * math/atest-exp.c: Mark local functions as static to avoid warnings.
2540 * math/atest-exp2.c: Likewise.
2541 * math/atest-sincos.c: Likewise.
2542
09881ccc
UD
2543 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2544 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2545
f8da88b0
UD
2546 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2547 the handling of denormalized numbers.
2548
2549 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2550 numbers on x86.
2551 * sysdeps/i386/fpu/fpclassifyl.c: New file.
3d165855 2552
8cd806cf
UD
2553 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2554 pseudo denormal representation of LDBL_MIN.
2555
76aecea1
UD
2556 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2557 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2558
2559 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2560 * iconvdata/jis0208.c: Likewise.
2561 * iconvdata/jis0212.c: Likewise.
2562 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2563
0df757b1
UD
2564 * math/test-misc.c (main): More tests for frexp and some for
2565 fpclassify and isnormal.
2566
be2925fc
UD
2567 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2568 test for subnormal.
2569 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2570
79569444
UD
2571 * math/test-misc.c (main): Add tests for frexp.
2572 Reported by Fred J. Tydeman <tydeman@tybor.com>.
2573 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2574
06f55c0c
UD
25752000-12-02 H.J. Lu <hjl@gnu.org>
2576
2577 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2578 '\0' to wcschr.
2579
ec6f8477
UD
25802000-12-02 Ulrich Drepper <drepper@redhat.com>
2581
00f5fcbb
UD
2582 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2583 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2584 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2585
ec6f8477
UD
2586 * sysdeps/generic/glob.c: Adjust types of several variables to
2587 avoid warnings.
2588
68f672c9
UD
25892000-12-01 Ulrich Drepper <drepper@redhat.com>
2590
2591 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2592
2082d3c6
RM
25932000-11-30 Roland McGrath <roland@frob.com>
2594
2595 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2596 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2597 allow multiple instances using the same function name in one file.
2598
6b3f2b3d
UD
25992000-12-01 Ulrich Drepper <drepper@redhat.com>
2600
8cd806cf 2601 * configure.in: Correct test for pserver CVS access.
6b3f2b3d 2602
38d7adc4
UD
26032000-11-28 H.J. Lu <hjl@gnu.org>
2604
2605 * libio/libio.h: Remove extra "#if ... #endif".
2606
411adb10
UD
26072000-11-29 H.J. Lu <hjl@gnu.org>
2608
2609 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2610
62ab42d6
UD
26112000-12-01 H.J. Lu <hjl@gnu.org>
2612
2613 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2614 * nss/getXXent_r.c: Likewise.
2615 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2616
26172000-11-30 H.J. Lu <hjl@gnu.org>
2618
2619 * scripts/abi-versions.awk (oldest_abi): New variable.
2620 Handle the oldest ABI supported.
2621
2622 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2623 for scripts/abi-versions.awk.
2624
2625 * configure.in: Add --with-oldest-abi=ABI.
2626 * configure: Rebuild.
2627
2628 * config.make.in (oldest-abi): New.
2629
2630 * config.h.in (GLIBC_OLDEST_ABI): New.
2631
2632 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2633
411adb10
UD
26342000-11-30 Jakub Jelinek <jakub@redhat.com>
2635
2636 * locale/setlocale.c (setname): Free for all categories, not just
2637 LC_ALL.
2638 (setlocale): Store a copy of string passed by user, not the string
2639 itself.
2640
62e82a34
RM
26412000-11-30 Roland McGrath <roland@frob.com>
2642
2643 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2644 rather than _hurd_fd_subinit, so it happens after it's safe to use
2645 libc facilities like malloc.
2646
559dce19
AJ
26472000-11-28 Andreas Jaeger <aj@suse.de>
2648
2649 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2650 declaration, adjust declaration of __syscall_getdents to match
2651 kernel.
2652
a0f5c800
AJ
26532000-11-29 H.J. Lu <hjl@gnu.org>
2654
2655 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2656
ecefc9b5
AJ
26572000-11-29 Andreas Jaeger <aj@suse.de>
2658
411adb10 2659 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
ecefc9b5 2660
5eefad82
UD
26612000-11-28 Ulrich Drepper <drepper@redhat.com>
2662
20bb2883
UD
2663 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2664 * dlfcn/defaultmod2.c: Likewise.
2665 * dlfcn/dlopen.c: Likewise.
2666 * dlfcn/dlopenold.c: Likewise.
2667 * dlfcn/failtestmod.c: Likewise.
2668 * dlfcn/glreflib1.c: Likewise.
2669 * dlfcn/glreflib2.c: Likewise.
2670 * dlfcn/eval.c: Likewise. Add attributes.
2671
2672 * ctype/ctype-extn.c: Define isblank and not __isblank.
2673
5eefad82
UD
2674 * time/strftime.c: Add const where necessary to avoid warnings.
2675 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2676
9068de33 26772000-11-22 Paul Eggert <eggert@twinsun.com>
bffef76e
UD
2678
2679 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2680 size of (size_t) -1; it's not portable.
2681
aea6353a
UD
26822000-11-28 Ulrich Drepper <drepper@redhat.com>
2683
2684 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2685 crappy i486 FPU.
2686 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2687
6f9ebf8a
UD
26882000-11-14 Jes Sorensen <jes@linuxcare.com>
2689
2690 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2691
2692 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2693 _mcount is required by profiled binaries.
2694
2695 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2696 * sysdeps/ia64/machine-gmon.h: ...here.
2697
9068de33 26982000-11-28 Masahide Washizawa <washi@jp.ibm.com>
271469ae
UD
2699
2700 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2701 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2702 and ibm1129.h.
2703 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2704 IBM1129.
2705 * iconvdata/ibm922.c: New file.
2706 * iconvdata/ibm922.h: New file.
2707 * iconvdata/ibm1124.c: New file.
2708 * iconvdata/ibm1124.h: New file.
2709 * iconvdata/ibm1129.c: New file.
2710 * iconvdata/ibm1129.h: New file.
2711 * iconvdata/testdata/IBM922: New file.
2712 * iconvdata/testdata/IBM922..UTF8: New file.
2713 * iconvdata/testdata/IBM1124: New file.
2714 * iconvdata/testdata/IBM1124..UTF8: New file.
2715 * iconvdata/testdata/IBM1129: New file.
2716 * iconvdata/testdata/IBM1129..UTF8: New file.
2717
14d5391f
UD
27182000-11-28 Ulrich Drepper <drepper@redhat.com>
2719
2720 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2721 character. Change callers.
2722 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2723 * catgets/Makefile: Add rules to build and run test-gencat.
2724 * catgets/sample.SJIS: New file.
2725 * catgets/test-gencat.c: New file.
2726 * catgets/test-gencat.sh: New file.
2727 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2728
d83c8d14
AJ
27292000-11-28 Andreas Jaeger <aj@suse.de>
2730
2731 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2732 Linux version.
2733
69f2f477
UD
27342000-11-28 Ulrich Drepper <drepper@redhat.com>
2735
2736 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2737
2f0c68f5
AJ
27382000-11-28 Andreas Jaeger <aj@suse.de>
2739
2740 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2741 __flexarr.
2742 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2743 Likewise.
2744
a1620a4c
UD
27452000-11-27 Ulrich Drepper <drepper@redhat.com>
2746
49f3a758
UD
2747 * misc/getusershell.c: Make strings in okshells array const.
2748 * misc/regexp.c: Add const to cast to avoid warnings.
2749 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2750 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2751 __setresuid.
2752 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2753 setresgid.
2754 * misc/error.c: Add prototypes for __error and __error_at_line.
2755 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2756 statement to avoid warning.
8c0b7170
UD
2757 * test-skeleton.c: Mark timeout_handler with noreturn.
2758 * iconv/skeleton.c (get16u): Add const to cast.
2759 (get32u): Likewise.
2760 * iconvdata/gb18030.c: Likewise.
2761 * iconvdata/iso-2022-cn-ext.c: Likewise.
2762 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2763 * iconvdata/big5.c: Likewise.
2764 * iconvdata/big5hkscs.c: Likewise.
2765 * iconvdata/iso_6937.c: Likewise.
2766 * iconvdata/iso_6937-2.c: Likewise.
2767 * iconvdata/t.61.c: Likewise.
2768 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2769 * iconvdata/unicode.c: Likewise.
2770 * iconvdata/utf-16.c: Likewise.
2771 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2772 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2773 with little code shuffling.
2774
d6b544fe
UD
2775 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2776 the problems introduced when the user selects -O3.
2777
a1620a4c
UD
2778 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2779 * misc/sys/cdefs.h: Define __flexarr.
2780 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2781
2782 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2783 * iconv/skeleton.c: Likewise.
2784 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2785 * iconv/loop.c (get16): Add const to cast.
2786 (get32): Likewise.
2787
d54fb3b6
AJ
27882000-11-27 Andreas Jaeger <aj@suse.de>
2789
2790 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2791 to avoid warning.
2792 * login/programs/utmpdump.c (print_entry): Likewise.
2793
f8028a97
AJ
27942000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2795
2796 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2797 in a single asm as they may be used to access other stored
2798 registers.
2799 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2800
1435536e
AJ
28012000-11-27 Andreas Jaeger <aj@suse.de>
2802
2803 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2804 * rt/tst-aio64.c: Likewise.
2805
d2defdc4
UD
28062000-11-27 Ulrich Drepper <drepper@redhat.com>
2807
2808 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2809 for gencat run.
2810 (libc.cat): Likewise.
2811 * catgets/gencat.c: Implement handling of message catalogs encoded
2812 with stateful character sets.
2813 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2814
c3301189
UD
28152000-11-26 Ulrich Drepper <drepper@redhat.com>
2816
ff8becee
UD
2817 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2818
c3301189
UD
2819 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2820 * inet/rcmd.c: Likewise.
2821 * inet/ruserpass.c: Likewise.
2822 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2823 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2824 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2825 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2826 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2827 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2828 * include/aliases.h: Add prototypes for internal __getalias* functions.
2829 * include/netdb.h: Add prototypes for __old_gethostent_r,
2830 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2831 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2832 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2833 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2834 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2835 __old_getrpcbynumber_r, __old_getrpcent_r.
2836
2837 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2838 __getrpcent_r prototypes.
2839
03fb20b5
UD
28402000-11-25 Ulrich Drepper <drepper@redhat.com>
2841
8b6e6767
UD
2842 * string/strcoll.c: Add casts to avoid warnings.
2843 * string/strnlen.c: Likewise.
2844 * string/strxfrm.c: Likewise.
2845 * sysdeps/generic/_strerror.c: Likewise.
2846 * sysdeps/generic/memrchr.c: Likewise.
2847 * sysdeps/generic/strcasestr.c: Likewise.
2848 * sysdeps/generic/strstr.c: Likewise.
2849
2850 * locale/weight.h (findidx): Add const to cast to avoid warning.
2851
a850e77f
UD
2852 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2853 * elf/loadtest.c: Likewise.
2854 * elf/multiload.c: Likewise.
2855 * elf/next.c: Likewise.
2856 * elf/nodelete.c: Likewise.
2857 * elf/noload.c: Likewise.
2858 * elf/order.c: Likewise.
2859 * elf/origtest.c: Likewise.
2860 * elf/preloadtest.c: Likewise.
2861 * elf/restest1.c: Likewise.
2862
68784f80
UD
2863 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2864 parameter of asm must be in %ecx.
2865
c3560dfd
UD
2866 * string/tester.c: Mark test functions as static to avoid warnings.
2867
03fb20b5
UD
2868 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2869 preserve value over different gconv-modules files.
2870
9c0592ab
UD
28712000-11-24 Ulrich Drepper <drepper@redhat.com>
2872
2a068d20
UD
2873 * locale/findlocale.c: Add casts to avoid warnings.
2874 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2875 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2876 to avoid warnings.
2877 * misc/tsearch.c (const_node): New type.
2878 (trecurse): Correct casts to avoid warnings.
2879 (__twalk): Likewise.
2880 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2881 LONG_BIT.
2882
2883 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2884
9c0592ab
UD
2885 * test-skeleton.c: Mark local functions as static to avoid warnings.
2886
28872000-11-23 H.J. Lu <hjl@gnu.org>
2888
2889 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2890 support the background job.
2891 Fix a typo.
2892
2debc8c5
UD
28932000-11-24 Ulrich Drepper <drepper@redhat.com>
2894
2895 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9c0592ab 2896 has same names but lower cost.
2debc8c5
UD
2897
28982000-11-23 Jakub Jelinek <jakub@redhat.com>
2899
2900 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2901 which never occur during bootstrap.
2902 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2903
bde15123
AJ
29042000-11-23 Andreas Jaeger <aj@suse.de>
2905
ba4cf0e9
AJ
2906 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2907
2908 * nss/Versions: Remove _nss_files_getipnodebyname_r.
2909
bde15123
AJ
2910 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2911
de71a46a
UD
29122000-11-18 Martin Buchholz <martin@xemacs.org>
2913
2914 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2915 (called++) return;'
2916
9068de33 29172000-11-21 Alan Modra <alan@linuxcare.com.au>
de71a46a
UD
2918
2919 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2920
2921 * csu/abi-note.S: Correct comment for operating system number.
2922
1eaa106e
UD
29232000-11-22 Ulrich Drepper <drepper@redhat.com>
2924
2925 * Versions.def: Add GLIBC_2.2.1 for glibc.
2926
29272000-11-22 Andreas Schwab <schwab@suse.de>
2928
2929 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2930 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2931
f14811c7
UD
29322000-11-22 Ulrich Drepper <drepper@redhat.com>
2933
2934 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
2935 absolute time for pthread_cond_timedwait call.
2936 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
2937
2938 * rt/Makefile (tests): Add tst-aio6.
2939 * rt/tst-aio6.c: New file.
2940
7d494a09
AJ
29412000-11-23 Andreas Jaeger <aj@suse.de>
2942
2943 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2944
d4859cfd
AJ
29452000-11-22 Andreas Jaeger <aj@suse.de>
2946
de71a46a 2947 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
d4859cfd 2948
9068de33 29492000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
e747394b
AJ
2950
2951 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2952
53f78fbd
AS
29532000-11-21 Andreas Schwab <schwab@suse.de>
2954
2955 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2956 * sysdeps/arm/setjmp.S: Likewise.
2957 * sysdeps/arm/fpu/setjmp.S: Likewise.
2958 * sysdeps/i386/setjmp.S: Likewise.
2959 * sysdeps/i386/elf/setjmp.S: Likewise.
2960 * sysdeps/s390/setjmp.S: Likewise.
2961 * sysdeps/s390/elf/setjmp.S: Likewise.
2962 * sysdeps/sh/sh3/setjmp.S: Likewise.
2963 * sysdeps/sh/sh4/setjmp.S: Likewise.
2964 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2965 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2966 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2967 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2968
3ba1da94
AJ
29692000-11-21 Andreas Jaeger <aj@suse.de>
2970
0ab14408 2971 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
307ea00a 2972 NORETURN, fix parameter list.
0ab14408 2973
3ba1da94
AJ
2974 * string/bug-strncat1.c (main): Fix typo.
2975 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2976
6cc7d725
UD
29772000-11-20 Ulrich Drepper <drepper@redhat.com>
2978
2979 * configure.in: Add --enable-all-warnings.
2980 * config.make.in (all-warnings): New variable.
2981 * Makeconfig (+gccwarn): Define with many more warnings if
2982 all-warnings is yes.
2983
59553897
UD
29842000-11-20 Jakub Jelinek <jakub@redhat.com>
2985
2986 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2987 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2988 * malloc/tst-valloc.c (main): Cast valloc return value to long.
2989 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2990 * math/test-fpucw.c (main): Use %lx in format string, cast
2991 control words to long.
2992 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2993 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2994 large that it is unsigned warning.
2995
2996 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2997 it to long on sparc64.
2998
29992000-11-20 Andreas Jaeger <aj@suse.de>
3000
3001 * nscd/nscd.h (termination_handler): Add noreturn attribute.
3002 (receiv_print_stats): Likewise.
3003
3004 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
3005
17427edd
UD
30062000-11-20 Ulrich Drepper <drepper@redhat.com>
3007
ce3019cc
UD
3008 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
3009
17427edd
UD
3010 * csu/gmon-start.c: Always have prototype for __gmon_start.
3011 * csu/version.c: Add prototypes for __libc_print_version and
3012 __libc_main.
3013 * iconv/gconv.c: Include gconv_int.h and gconv.h.
3014 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
3015 and __to_name.
3016 * iconv/gconv_builtin.h: Add ASCII module definitions.
3017 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
3018 (add_module): Add cast to avoid warning. Rework construction of
3019 strings for new module.
3020 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
3021 (derivation_compare): Likewise.
3022 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
3023 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
3024 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
3025 (struct gconv_alias): Remove const from fromname and toname.
3026 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
3027 for loop functions.
3028 (internal_ucs4_loop): Use correct const-ness.
3029 (ucs4_internal_loop): Likewise.
3030 (internal_ucs4le_loop): Likewise.
3031 (ucs4le_internal_loop_single): Likewise.
3032 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
3033 to_idx, to_tbl, winbuf, winbufend const. Change casts in
3034 assignments appropriately.
3035 (struct known_trans): Remove const from fname.
3036 (trans_compare): Make s1 and s2 const.
3037 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
3038 avoid warning.
3039 * iconv/skeleton.c: Remove cast in calls of loop functions.
3040 * iconvdata/gconv-modules: Remove US-ASCII definitions.
3041 * iconvdata/iso646.c: Remove US_ASCII support.
3042 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
3043 * include/unistd.h: Add __libc_check_standard_fds prototype.
3044 * string/bits/string2.h (__mempcpy_args): Add const to casts.
3045 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
3046 _fini.
3047 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
3048 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
3049 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
3050 warning.
3051 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
3052 __libc_init_first and _dl_start.
ad5b53b1
UD
3053 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
3054 (DCIGETTEXT): Make domaindata variable const.
3055 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
3056 to avoid warning.
17427edd 3057
73ea3b1b
AJ
30582000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
3059
17427edd 3060 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
73ea3b1b
AJ
3061
3062 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
3063 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
3064 __unused? members.
3065
3066 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
3067 value defined in /usr/include/asm-mips/fcntl.h.
3068
bb2fc850
UD
30692000-11-18 Ulrich Drepper <drepper@redhat.com>
3070
fd3e6373
UD
3071 * stdio-common/Makefile (tests): Add test-vfprintf.
3072 (test-vfprintf-ENV): New variable.
3073 * stdio-common/test-vfprintf.c: New file.
3074
bb2fc850
UD
3075 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
3076
3077 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
3078 (tst-mbrtowc-ENV): New variable.
3079 (tst-wcrtomb-ENV): New variable.
3080 * wcsmbs/tst-mbrtowc.c: New file.
3081 * wcsmbs/tst-wcrtomb.c: New file.
3082
7b32d065
UD
30832000-11-16 Andreas Jaeger <aj@suse.de>
3084
3085 * manual/install.texi (Tools for Compilation): Update
3086 documentation for GCC 2.95.2.
3087
7813b61a
UD
30882000-11-18 Ulrich Drepper <drepper@redhat.com>
3089
3090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
3091 if IPv4 and IPv6 requests timed out.
3092
565bc88a
UD
30932000-11-18 Akim Demaille <akim@epita.fr>
3094
3095 * malloc/obstack.h: Formatting changes.
3096 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
3097 prevents type checking.
3098 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
3099 cast the value to (void *): assigning a `foo *' to a `void *'
3100 variable is valid.
3101 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
3102
bda5433d
UD
31032000-11-17 Ulrich Drepper <drepper@redhat.com>
3104
3105 * scripts/config.guess: Update from upstream maintainer.
3106 * scripts/config.sub: Likewise.
3107
3b1de3ba
UD
31082000-11-16 Ulrich Drepper <drepper@redhat.com>
3109
7b32d065 3110 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3b1de3ba 3111 * libio/freopen64.c (freopen64): Likewise.
0bdfed74 3112 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3b1de3ba 3113
897d4284
UD
3114 * libio/Makefile: Add rules to build and run test-freopen.
3115 * libio/test-freopen.c: New file.
3116 * libio/test-freopen.sh: New file.
3117
40306912
UD
31182000-11-15 H.J. Lu <hjl@gnu.org>
3119
3120 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
3121 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
3122 (DL_DT_FINI_ADDRESS): Likewise.
3123
3124 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
3125 return type to ElfW(Addr).
3126 (_dl_function_address): New prototype.
3127 (DL_FUNCTION_ADDRESS): Defined.
3128 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
3129 (DL_DT_FINI_ADDRESS): Likewise.
3130
3131 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
3132
3133 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
3134 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
3135
3136 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
3137 (_dl_function_address): This.
3138
3139 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
3140 function pointer for DT_FINI.
3141 * elf/dl-close.c (_dl_close): Likewise.
3142
3143 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
3144 function pointer for DT_INIT.
3145
31462000-11-16 Jakub Jelinek <jakub@redhat.com>
3147
3148 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
3149 end of wexpbuf buffer.
3150
96ea2a11
AJ
31512000-11-16 Andreas Jaeger <aj@suse.de>
3152
3153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
3154 definition of F_GETLK, F_SETLK, F_SETLKW.
3155
8a70a03e
AJ
31562000-11-16 Andreas Jaeger <aj@suse.de>
3157
3158 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
3159 it's not defined.
3160
85857f93
UD
31612000-11-15 Jakub Jelinek <jakub@redhat.com>
3162
3163 * dlfcn/default.c (main): Add test for dladdr of main returning
3164 argv[0] in dli_fname field.
3165
31662000-11-15 Jakub Jelinek <jakub@redhat.com>
3167
3168 * Makeconfig (run-program-prefix): Move test-static test into the
3169 variable.
3170
3171 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
3172 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
3173 schedule instructions.
3174 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
3175 schedule instructions, fix a bug in copying auxiliary data.
3176
821dcbcc
UD
31772000-11-15 Ulrich Drepper <drepper@redhat.com>
3178
85857f93
UD
3179 * manual/startup.texi (Program Arguments): Fix type of main's envp
3180 parameter.
3181