]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2000-12-05 Andreas Jaeger <aj@suse.de>
2
3 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
4 internal_function.
5 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7
8 * sysdeps/generic/dl-cache.c: Remove declaration of
9 _dl_sysdep_read_whole_file.
10
11 * elf/dl-load.c (_dl_map_object): Remove declaration of
12 _dl_load_cache_lookup.
13
14 * sysdeps/generic/ldsodefs.h: Add declarations of
15 _dl_load_cache_lookup, _dl_unload_cache,
16 _dl_sysdep_read_whole_file, _dl_sysdep_start and
17 _dl_sysdep_start_cleanup.
18
19 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
20 now.
21
22 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
23 * sysdeps/generic/dl-environ.c: Likewise.
24
25 * stdio-common/printf_fp.c: Include <gmp.h> instead of
26 <stdlib/gmp.h>.
27 * math/atest-exp.c: Likewise.
28 * math/atest-exp2.c: Likewise.
29 * math/atest-sincos.c: Likewise.
30 * stdio-common/_itoa.c: Likewise.
31 * stdio-common/_itowa.c: Likewise.
32
33 * include/gmp.h: New file with internal prototypes.
34
35 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
36 here to...
37 * include/setjmp.h: ...here.
38
39 * locale/Makefile (routines): Remove codeset_name since it's not
40 needed anywhere.
41
42 * locale/codeset_name.c: Removed.
43
44 2000-12-05 Ulrich Drepper <drepper@redhat.com>
45
46 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
47
48 2000-12-05 Andreas Jaeger <aj@suse.de>
49
50 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
51
52 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
53
54 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
55 available.
56
57 2000-12-05 Andreas Jaeger <aj@suse.de>
58
59 * nss/test-netdb.c: Mark local functions as static to avoid
60 warnings.
61 (main): Use return to silence warning.
62
63 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
64
65 * stdio-common/test-popen.c: Mark local functions as static to
66 avoid warnings.
67 (main): Use return to silence warning.
68
69 * stdlib/testsort.c (compare): Mark as static to avoid warning.
70
71 * assert/test-assert.c: Mark local functions as static to avoid
72 warnings.
73 * assert/test-assert-perr.c: Likewise.
74
75 * math/libm-test.inc (main): Use return to silence warnings.
76
77 2000-12-04 Ulrich Drepper <drepper@redhat.com>
78
79 * math/fenv.h: Fix typo in comment.
80
81 * math/test-misc.c (main): Add a few more over and underflow tests
82 for scalb.
83
84 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
85 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87 * math/w_scalb.c: Don't use matherr except in SVID mode.
88 * math/w_scalbf.c: Likewise.
89 * math/w_scalbl.c: Likewise.
90 * math/test-misc.c: Add test for NaN and scalbl.
91 Reported by Fred J. Tydeman <tydeman@tybor.com>.
92
93 2000-12-04 Ulrich Drepper <drepper@redhat.com>
94
95 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
96 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
97 * include/libc-symbols.h (strong_alias): Define special version
98 for HAVE_ASM_GLOBAL_DOT_NAME.
99 (weak_alias): Likewise.
100 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
101 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
102 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
103 getutxline, pututxline, and utmpxname.
104 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
105 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
106 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
107 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
108 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
109 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
110 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
111 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
112 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
113 Patches by Michael Keezer <mkeezer@redhat.com>.
114
115 2000-12-04 H.J. Lu <hjl@gnu.org>
116
117 * configure.in: Change --with-oldest-abi=ABI to
118 --enable-oldest-abi=ABI.
119
120 2000-12-02 Bruno Haible <haible@clisp.cons.org>
121
122 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
123 fwprintf instead of fprintf.
124
125 2000-12-04 Ulrich Drepper <drepper@redhat.com>
126
127 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
128 DECIMAL_DIG definitions.
129 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
130 * sysdeps/generic/bits/mathdef.h: Likewise
131 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
132 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
133 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
134 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
135 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
136 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
137
138 2000-12-03 Ulrich Drepper <drepper@redhat.com>
139
140 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
141
142 * math/atest-exp.c: Mark local functions as static to avoid warnings.
143 * math/atest-exp2.c: Likewise.
144 * math/atest-sincos.c: Likewise.
145
146 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
147 Reported by Fred J. Tydeman <tydeman@tybor.com>.
148
149 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
150 the handling of denormalized numbers.
151
152 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
153 numbers on x86.
154 * sysdeps/i386/fpu/fpclassifyl.c: New file.
155
156 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
157 pseudo denormal representation of LDBL_MIN.
158
159 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
160 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
161
162 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
163 * iconvdata/jis0208.c: Likewise.
164 * iconvdata/jis0212.c: Likewise.
165 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
166
167 * math/test-misc.c (main): More tests for frexp and some for
168 fpclassify and isnormal.
169
170 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
171 test for subnormal.
172 Reported by Fred J. Tydeman <tydeman@tybor.com>.
173
174 * math/test-misc.c (main): Add tests for frexp.
175 Reported by Fred J. Tydeman <tydeman@tybor.com>.
176 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
177
178 2000-12-02 H.J. Lu <hjl@gnu.org>
179
180 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
181 '\0' to wcschr.
182
183 2000-12-02 Ulrich Drepper <drepper@redhat.com>
184
185 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
186 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
187 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
188
189 * sysdeps/generic/glob.c: Adjust types of several variables to
190 avoid warnings.
191
192 2000-12-01 Ulrich Drepper <drepper@redhat.com>
193
194 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
195
196 2000-11-30 Roland McGrath <roland@frob.com>
197
198 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
199 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
200 allow multiple instances using the same function name in one file.
201
202 2000-12-01 Ulrich Drepper <drepper@redhat.com>
203
204 * configure.in: Correct test for pserver CVS access.
205
206 2000-11-28 H.J. Lu <hjl@gnu.org>
207
208 * libio/libio.h: Remove extra "#if ... #endif".
209
210 2000-11-29 H.J. Lu <hjl@gnu.org>
211
212 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
213
214 2000-12-01 H.J. Lu <hjl@gnu.org>
215
216 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
217 * nss/getXXent_r.c: Likewise.
218 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
219
220 2000-11-30 H.J. Lu <hjl@gnu.org>
221
222 * scripts/abi-versions.awk (oldest_abi): New variable.
223 Handle the oldest ABI supported.
224
225 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
226 for scripts/abi-versions.awk.
227
228 * configure.in: Add --with-oldest-abi=ABI.
229 * configure: Rebuild.
230
231 * config.make.in (oldest-abi): New.
232
233 * config.h.in (GLIBC_OLDEST_ABI): New.
234
235 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
236
237 2000-11-30 Jakub Jelinek <jakub@redhat.com>
238
239 * locale/setlocale.c (setname): Free for all categories, not just
240 LC_ALL.
241 (setlocale): Store a copy of string passed by user, not the string
242 itself.
243
244 2000-11-30 Roland McGrath <roland@frob.com>
245
246 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
247 rather than _hurd_fd_subinit, so it happens after it's safe to use
248 libc facilities like malloc.
249
250 2000-11-28 Andreas Jaeger <aj@suse.de>
251
252 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
253 declaration, adjust declaration of __syscall_getdents to match
254 kernel.
255
256 2000-11-29 H.J. Lu <hjl@gnu.org>
257
258 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
259
260 2000-11-29 Andreas Jaeger <aj@suse.de>
261
262 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
263
264 2000-11-28 Ulrich Drepper <drepper@redhat.com>
265
266 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
267 * dlfcn/defaultmod2.c: Likewise.
268 * dlfcn/dlopen.c: Likewise.
269 * dlfcn/dlopenold.c: Likewise.
270 * dlfcn/failtestmod.c: Likewise.
271 * dlfcn/glreflib1.c: Likewise.
272 * dlfcn/glreflib2.c: Likewise.
273 * dlfcn/eval.c: Likewise. Add attributes.
274
275 * ctype/ctype-extn.c: Define isblank and not __isblank.
276
277 * time/strftime.c: Add const where necessary to avoid warnings.
278 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
279
280 2000-11-22 Paul Eggert <eggert@twinsun.com>
281
282 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
283 size of (size_t) -1; it's not portable.
284
285 2000-11-28 Ulrich Drepper <drepper@redhat.com>
286
287 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
288 crappy i486 FPU.
289 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
290
291 2000-11-14 Jes Sorensen <jes@linuxcare.com>
292
293 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
294
295 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
296 _mcount is required by profiled binaries.
297
298 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
299 * sysdeps/ia64/machine-gmon.h: ...here.
300
301 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
302
303 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
304 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
305 and ibm1129.h.
306 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
307 IBM1129.
308 * iconvdata/ibm922.c: New file.
309 * iconvdata/ibm922.h: New file.
310 * iconvdata/ibm1124.c: New file.
311 * iconvdata/ibm1124.h: New file.
312 * iconvdata/ibm1129.c: New file.
313 * iconvdata/ibm1129.h: New file.
314 * iconvdata/testdata/IBM922: New file.
315 * iconvdata/testdata/IBM922..UTF8: New file.
316 * iconvdata/testdata/IBM1124: New file.
317 * iconvdata/testdata/IBM1124..UTF8: New file.
318 * iconvdata/testdata/IBM1129: New file.
319 * iconvdata/testdata/IBM1129..UTF8: New file.
320
321 2000-11-28 Ulrich Drepper <drepper@redhat.com>
322
323 * catgets/gencat.c (normalize_line): Take extra parameter with escape
324 character. Change callers.
325 (open_conversion): Determine mapping of 0x5c as wchar_t value.
326 * catgets/Makefile: Add rules to build and run test-gencat.
327 * catgets/sample.SJIS: New file.
328 * catgets/test-gencat.c: New file.
329 * catgets/test-gencat.sh: New file.
330 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
331
332 2000-11-28 Andreas Jaeger <aj@suse.de>
333
334 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
335 Linux version.
336
337 2000-11-28 Ulrich Drepper <drepper@redhat.com>
338
339 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
340
341 2000-11-28 Andreas Jaeger <aj@suse.de>
342
343 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
344 __flexarr.
345 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
346 Likewise.
347
348 2000-11-27 Ulrich Drepper <drepper@redhat.com>
349
350 * misc/getusershell.c: Make strings in okshells array const.
351 * misc/regexp.c: Add const to cast to avoid warnings.
352 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
353 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
354 __setresuid.
355 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
356 setresgid.
357 * misc/error.c: Add prototypes for __error and __error_at_line.
358 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
359 statement to avoid warning.
360 * test-skeleton.c: Mark timeout_handler with noreturn.
361 * iconv/skeleton.c (get16u): Add const to cast.
362 (get32u): Likewise.
363 * iconvdata/gb18030.c: Likewise.
364 * iconvdata/iso-2022-cn-ext.c: Likewise.
365 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
366 * iconvdata/big5.c: Likewise.
367 * iconvdata/big5hkscs.c: Likewise.
368 * iconvdata/iso_6937.c: Likewise.
369 * iconvdata/iso_6937-2.c: Likewise.
370 * iconvdata/t.61.c: Likewise.
371 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
372 * iconvdata/unicode.c: Likewise.
373 * iconvdata/utf-16.c: Likewise.
374 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
375 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
376 with little code shuffling.
377
378 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
379 the problems introduced when the user selects -O3.
380
381 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
382 * misc/sys/cdefs.h: Define __flexarr.
383 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
384
385 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
386 * iconv/skeleton.c: Likewise.
387 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
388 * iconv/loop.c (get16): Add const to cast.
389 (get32): Likewise.
390
391 2000-11-27 Andreas Jaeger <aj@suse.de>
392
393 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
394 to avoid warning.
395 * login/programs/utmpdump.c (print_entry): Likewise.
396
397 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
398
399 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
400 in a single asm as they may be used to access other stored
401 registers.
402 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
403
404 2000-11-27 Andreas Jaeger <aj@suse.de>
405
406 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
407 * rt/tst-aio64.c: Likewise.
408
409 2000-11-27 Ulrich Drepper <drepper@redhat.com>
410
411 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
412 for gencat run.
413 (libc.cat): Likewise.
414 * catgets/gencat.c: Implement handling of message catalogs encoded
415 with stateful character sets.
416 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
417
418 2000-11-26 Ulrich Drepper <drepper@redhat.com>
419
420 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
421
422 * inet/getnameinfo.c: Adjust casts to avoid warnings.
423 * inet/rcmd.c: Likewise.
424 * inet/ruserpass.c: Likewise.
425 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
426 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
427 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
428 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
429 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
430 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
431 * include/aliases.h: Add prototypes for internal __getalias* functions.
432 * include/netdb.h: Add prototypes for __old_gethostent_r,
433 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
434 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
435 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
436 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
437 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
438 __old_getrpcbynumber_r, __old_getrpcent_r.
439
440 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
441 __getrpcent_r prototypes.
442
443 2000-11-25 Ulrich Drepper <drepper@redhat.com>
444
445 * string/strcoll.c: Add casts to avoid warnings.
446 * string/strnlen.c: Likewise.
447 * string/strxfrm.c: Likewise.
448 * sysdeps/generic/_strerror.c: Likewise.
449 * sysdeps/generic/memrchr.c: Likewise.
450 * sysdeps/generic/strcasestr.c: Likewise.
451 * sysdeps/generic/strstr.c: Likewise.
452
453 * locale/weight.h (findidx): Add const to cast to avoid warning.
454
455 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
456 * elf/loadtest.c: Likewise.
457 * elf/multiload.c: Likewise.
458 * elf/next.c: Likewise.
459 * elf/nodelete.c: Likewise.
460 * elf/noload.c: Likewise.
461 * elf/order.c: Likewise.
462 * elf/origtest.c: Likewise.
463 * elf/preloadtest.c: Likewise.
464 * elf/restest1.c: Likewise.
465
466 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
467 parameter of asm must be in %ecx.
468
469 * string/tester.c: Mark test functions as static to avoid warnings.
470
471 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
472 preserve value over different gconv-modules files.
473
474 2000-11-24 Ulrich Drepper <drepper@redhat.com>
475
476 * locale/findlocale.c: Add casts to avoid warnings.
477 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
478 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
479 to avoid warnings.
480 * misc/tsearch.c (const_node): New type.
481 (trecurse): Correct casts to avoid warnings.
482 (__twalk): Likewise.
483 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
484 LONG_BIT.
485
486 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
487
488 * test-skeleton.c: Mark local functions as static to avoid warnings.
489
490 2000-11-23 H.J. Lu <hjl@gnu.org>
491
492 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
493 support the background job.
494 Fix a typo.
495
496 2000-11-24 Ulrich Drepper <drepper@redhat.com>
497
498 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
499 has same names but lower cost.
500
501 2000-11-23 Jakub Jelinek <jakub@redhat.com>
502
503 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
504 which never occur during bootstrap.
505 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
506
507 2000-11-23 Andreas Jaeger <aj@suse.de>
508
509 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
510
511 * nss/Versions: Remove _nss_files_getipnodebyname_r.
512
513 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
514
515 2000-11-18 Martin Buchholz <martin@xemacs.org>
516
517 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
518 (called++) return;'
519
520 2000-11-21 Alan Modra <alan@linuxcare.com.au>
521
522 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
523
524 * csu/abi-note.S: Correct comment for operating system number.
525
526 2000-11-22 Ulrich Drepper <drepper@redhat.com>
527
528 * Versions.def: Add GLIBC_2.2.1 for glibc.
529
530 2000-11-22 Andreas Schwab <schwab@suse.de>
531
532 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
533 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
534
535 2000-11-22 Ulrich Drepper <drepper@redhat.com>
536
537 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
538 absolute time for pthread_cond_timedwait call.
539 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
540
541 * rt/Makefile (tests): Add tst-aio6.
542 * rt/tst-aio6.c: New file.
543
544 2000-11-23 Andreas Jaeger <aj@suse.de>
545
546 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
547
548 2000-11-22 Andreas Jaeger <aj@suse.de>
549
550 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
551
552 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
553
554 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
555
556 2000-11-21 Andreas Schwab <schwab@suse.de>
557
558 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
559 * sysdeps/arm/setjmp.S: Likewise.
560 * sysdeps/arm/fpu/setjmp.S: Likewise.
561 * sysdeps/i386/setjmp.S: Likewise.
562 * sysdeps/i386/elf/setjmp.S: Likewise.
563 * sysdeps/s390/setjmp.S: Likewise.
564 * sysdeps/s390/elf/setjmp.S: Likewise.
565 * sysdeps/sh/sh3/setjmp.S: Likewise.
566 * sysdeps/sh/sh4/setjmp.S: Likewise.
567 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
568 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
569 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
570 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
571
572 2000-11-21 Andreas Jaeger <aj@suse.de>
573
574 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
575 NORETURN, fix parameter list.
576
577 * string/bug-strncat1.c (main): Fix typo.
578 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
579
580 2000-11-20 Ulrich Drepper <drepper@redhat.com>
581
582 * configure.in: Add --enable-all-warnings.
583 * config.make.in (all-warnings): New variable.
584 * Makeconfig (+gccwarn): Define with many more warnings if
585 all-warnings is yes.
586
587 2000-11-20 Jakub Jelinek <jakub@redhat.com>
588
589 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
590 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
591 * malloc/tst-valloc.c (main): Cast valloc return value to long.
592 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
593 * math/test-fpucw.c (main): Use %lx in format string, cast
594 control words to long.
595 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
596 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
597 large that it is unsigned warning.
598
599 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
600 it to long on sparc64.
601
602 2000-11-20 Andreas Jaeger <aj@suse.de>
603
604 * nscd/nscd.h (termination_handler): Add noreturn attribute.
605 (receiv_print_stats): Likewise.
606
607 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
608
609 2000-11-20 Ulrich Drepper <drepper@redhat.com>
610
611 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
612
613 * csu/gmon-start.c: Always have prototype for __gmon_start.
614 * csu/version.c: Add prototypes for __libc_print_version and
615 __libc_main.
616 * iconv/gconv.c: Include gconv_int.h and gconv.h.
617 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
618 and __to_name.
619 * iconv/gconv_builtin.h: Add ASCII module definitions.
620 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
621 (add_module): Add cast to avoid warning. Rework construction of
622 strings for new module.
623 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
624 (derivation_compare): Likewise.
625 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
626 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
627 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
628 (struct gconv_alias): Remove const from fromname and toname.
629 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
630 for loop functions.
631 (internal_ucs4_loop): Use correct const-ness.
632 (ucs4_internal_loop): Likewise.
633 (internal_ucs4le_loop): Likewise.
634 (ucs4le_internal_loop_single): Likewise.
635 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
636 to_idx, to_tbl, winbuf, winbufend const. Change casts in
637 assignments appropriately.
638 (struct known_trans): Remove const from fname.
639 (trans_compare): Make s1 and s2 const.
640 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
641 avoid warning.
642 * iconv/skeleton.c: Remove cast in calls of loop functions.
643 * iconvdata/gconv-modules: Remove US-ASCII definitions.
644 * iconvdata/iso646.c: Remove US_ASCII support.
645 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
646 * include/unistd.h: Add __libc_check_standard_fds prototype.
647 * string/bits/string2.h (__mempcpy_args): Add const to casts.
648 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
649 _fini.
650 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
651 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
652 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
653 warning.
654 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
655 __libc_init_first and _dl_start.
656 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
657 (DCIGETTEXT): Make domaindata variable const.
658 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
659 to avoid warning.
660
661 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
662
663 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
664
665 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
666 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
667 __unused? members.
668
669 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
670 value defined in /usr/include/asm-mips/fcntl.h.
671
672 2000-11-18 Ulrich Drepper <drepper@redhat.com>
673
674 * stdio-common/Makefile (tests): Add test-vfprintf.
675 (test-vfprintf-ENV): New variable.
676 * stdio-common/test-vfprintf.c: New file.
677
678 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
679
680 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
681 (tst-mbrtowc-ENV): New variable.
682 (tst-wcrtomb-ENV): New variable.
683 * wcsmbs/tst-mbrtowc.c: New file.
684 * wcsmbs/tst-wcrtomb.c: New file.
685
686 2000-11-16 Andreas Jaeger <aj@suse.de>
687
688 * manual/install.texi (Tools for Compilation): Update
689 documentation for GCC 2.95.2.
690
691 2000-11-18 Ulrich Drepper <drepper@redhat.com>
692
693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
694 if IPv4 and IPv6 requests timed out.
695
696 2000-11-18 Akim Demaille <akim@epita.fr>
697
698 * malloc/obstack.h: Formatting changes.
699 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
700 prevents type checking.
701 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
702 cast the value to (void *): assigning a `foo *' to a `void *'
703 variable is valid.
704 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
705
706 2000-11-17 Ulrich Drepper <drepper@redhat.com>
707
708 * scripts/config.guess: Update from upstream maintainer.
709 * scripts/config.sub: Likewise.
710
711 2000-11-16 Ulrich Drepper <drepper@redhat.com>
712
713 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
714 * libio/freopen64.c (freopen64): Likewise.
715 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
716
717 * libio/Makefile: Add rules to build and run test-freopen.
718 * libio/test-freopen.c: New file.
719 * libio/test-freopen.sh: New file.
720
721 2000-11-15 H.J. Lu <hjl@gnu.org>
722
723 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
724 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
725 (DL_DT_FINI_ADDRESS): Likewise.
726
727 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
728 return type to ElfW(Addr).
729 (_dl_function_address): New prototype.
730 (DL_FUNCTION_ADDRESS): Defined.
731 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
732 (DL_DT_FINI_ADDRESS): Likewise.
733
734 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
735
736 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
737 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
738
739 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
740 (_dl_function_address): This.
741
742 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
743 function pointer for DT_FINI.
744 * elf/dl-close.c (_dl_close): Likewise.
745
746 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
747 function pointer for DT_INIT.
748
749 2000-11-16 Jakub Jelinek <jakub@redhat.com>
750
751 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
752 end of wexpbuf buffer.
753
754 2000-11-16 Andreas Jaeger <aj@suse.de>
755
756 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
757 definition of F_GETLK, F_SETLK, F_SETLKW.
758
759 2000-11-16 Andreas Jaeger <aj@suse.de>
760
761 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
762 it's not defined.
763
764 2000-11-15 Jakub Jelinek <jakub@redhat.com>
765
766 * dlfcn/default.c (main): Add test for dladdr of main returning
767 argv[0] in dli_fname field.
768
769 2000-11-15 Jakub Jelinek <jakub@redhat.com>
770
771 * Makeconfig (run-program-prefix): Move test-static test into the
772 variable.
773
774 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
775 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
776 schedule instructions.
777 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
778 schedule instructions, fix a bug in copying auxiliary data.
779
780 2000-11-15 Ulrich Drepper <drepper@redhat.com>
781
782 * manual/startup.texi (Program Arguments): Fix type of main's envp
783 parameter.
784 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
785
786 * iconvdata/gconv-modules: Add CP950 alias.
787
788 2000-11-13 Jakub Jelinek <jakub@redhat.com>
789
790 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
791 syscall-list.h goal.
792 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
793
794 2000-11-15 Ulrich Drepper <drepper@redhat.com>
795
796 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
797
798 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
799 output of program.
800
801 * intl/tst-gettext2.c: Set C locale if setting other locale
802 failed. Use gettext() not _().
803
804 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
805 successfully loaded a new locale.
806
807 2000-11-13 Andreas Jaeger <aj@suse.de>
808
809 * configure.in: Require gcc 2.95 or newer.
810
811 2000-11-15 Ulrich Drepper <drepper@redhat.com>
812
813 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
814 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
815
816 2000-11-11 Jim Meyering <meyering@lucent.com>
817
818 * string/strndup.c (strndup): Cast return value to `char *'.
819
820 2000-11-15 Jim Meyering <meyering@ascend.com>
821
822 * sysdeps/generic/memchr.c: Remove some useless parentheses.
823 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
824 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
825 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
826 Also #undef __memchr.
827 Use `weak_alias' only if it's defined.
828
829 2000-11-10 H.J. Lu <hjl@gnu.org>
830
831 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
832
833 2000-11-15 Andreas Jaeger <aj@suse.de>
834
835 * elf/chroot_canon.c: Include <stdint.h>.
836
837 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
838 (print_entry): Likewise.
839 (add_to_cache): Likewise.
840
841 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
842
843 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
844 (path_hwcap): Likewise.
845 (search_dir): Likewise.
846
847 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
848
849 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
850
851 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
852 (_dl_platform_string): New.
853 (_DL_HWCAP_PLATFORM): New.
854 (_dl_string_platform): New.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
856
857 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
858 (_dl_string_platform): New.
859 (_DL_HWCAP_PLATFORM): New.
860 (_dl_platform_string): New.
861
862 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
863 recognition.
864 (_DL_HWCAP_COUNT): New.
865 (_dl_string_platform): New.
866 (_DL_HWCAP_PLATFORM): New.
867 (_dl_platform_string): New.
868
869 2000-11-14 Ulrich Drepper <drepper@redhat.com>
870
871 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
872
873 2000-11-14 Andreas Jaeger <aj@suse.de>
874
875 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
876 _dl_hwcap.
877
878 2000-11-13 Roland McGrath <roland@frob.com>
879
880 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
881
882 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
883
884 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
885 underrun and make sure the result is null terminated even if there
886 is no trailing newline.
887
888 2000-11-13 Jakub Jelinek <jakub@redhat.com>
889
890 * sysdeps/alpha/fpu/libm-test-ulps: Update.
891
892 2000-11-10 H.J. Lu <hjl@gnu.org>
893
894 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
895
896 2000-11-10 Andreas Jaeger <aj@suse.de>
897
898 * elf/ldconfig.c (create_links): Fix alloca calculation.
899 Patch by Ben Collins <bcollins@debian.org>.
900
901 2000-11-09 Ulrich Drepper <drepper@redhat.com>
902
903 * inet/getnameinfo.c (getnameinfo): Use correct destination
904 parameter for if_indextoname.
905 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
906
907 2000-11-09 H.J. Lu <hjl@gnu.org>
908
909 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
910 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
911 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
912 xdr_keystatus.
913
914 * time/Versions (GLIBC_2.1): Move getitimer to...
915 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
916
917 2000-11-03 Bruno Haible <haible@clisp.cons.org>
918
919 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
920 "make install", to work around a binary incompatibility between
921 glibc 2.1 and glibc 2.2 gconv modules.
922
923 2000-11-09 Ulrich Drepper <drepper@redhat.com>
924
925 * intl/locale.alias: Add thai.
926 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
927
928 2000-11-07 Akim Demaille <akim@epita.fr>
929
930 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
931 argument `data' for consistency with the prototypes.
932 Qualify it `const'.
933 (obstack_copy, obstack_copy0): Rename the second argument as
934 `address' for consistency. Qualify it `const'.
935 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
936 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
937 `const' their input argument (`data' or `address').
938 Adjust the corresponding macros to include `const' in casts.
939
940 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
941
942 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
943 target family.
944
945 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
946
947 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
948 socket creation.
949
950 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
951
952 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
953 ai_protocol by internal table if service was not given.
954
955 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
956
957 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
958 numerical port was specified with protocol without socktype.
959
960 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
961
962 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
963
964 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
965
966 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
967
968 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
969
970 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
971 sin6_scope_id field.
972
973 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
974
975 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
976
977 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
978
979 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
980
981 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
982
983 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
984 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
985
986 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
987
988 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
989 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
990
991 2000-11-09 H.J. Lu <hjl@gnu.org>
992
993 * io/Versions (GLIBC_2.1.1): Remove lockf64.
994
995
996 See ChangeLog.11 for earlier changes.