Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-11-28  Andreas Jaeger  <aj@suse.de>
2
3         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
4         Linux version.
5
6 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7
8         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9
10 2000-11-28  Andreas Jaeger  <aj@suse.de>
11
12         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
13         __flexarr.
14         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
15         Likewise.
16
17 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
18
19         * misc/getusershell.c: Make strings in okshells array const.
20         * misc/regexp.c: Add const to cast to avoid warnings.
21         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
22         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
23         __setresuid.
24         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
25         setresgid.
26         * misc/error.c: Add prototypes for __error and __error_at_line.
27         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
28         statement to avoid warning.
29         * test-skeleton.c: Mark timeout_handler with noreturn.
30         * iconv/skeleton.c (get16u): Add const to cast.
31         (get32u): Likewise.
32         * iconvdata/gb18030.c: Likewise.
33         * iconvdata/iso-2022-cn-ext.c: Likewise.
34         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
35         * iconvdata/big5.c: Likewise.
36         * iconvdata/big5hkscs.c: Likewise.
37         * iconvdata/iso_6937.c: Likewise.
38         * iconvdata/iso_6937-2.c: Likewise.
39         * iconvdata/t.61.c: Likewise.
40         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
41         * iconvdata/unicode.c: Likewise.
42         * iconvdata/utf-16.c: Likewise.
43         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
44         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
45         with little code shuffling.
46
47         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
48         the problems introduced when the user selects -O3.
49
50         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
51         * misc/sys/cdefs.h: Define __flexarr.
52         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
53
54         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
55         * iconv/skeleton.c: Likewise.
56         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
57         * iconv/loop.c (get16): Add const to cast.
58         (get32): Likewise.
59
60 2000-11-27  Andreas Jaeger  <aj@suse.de>
61
62         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
63         to avoid warning.
64         * login/programs/utmpdump.c (print_entry): Likewise.
65
66 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
67
68         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
69         in a single asm as they may be used to access other stored
70         registers.
71         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
72
73 2000-11-27  Andreas Jaeger  <aj@suse.de>
74
75         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
76         * rt/tst-aio64.c: Likewise.
77
78 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
79
80         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
81         for gencat run.
82         (libc.cat): Likewise.
83         * catgets/gencat.c: Implement handling of message catalogs encoded
84         with stateful character sets.
85         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
86
87 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
88
89         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
90
91         * inet/getnameinfo.c: Adjust casts to avoid warnings.
92         * inet/rcmd.c: Likewise.
93         * inet/ruserpass.c: Likewise.
94         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
95         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
96         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
97         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
98         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
99         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
100         * include/aliases.h: Add prototypes for internal __getalias* functions.
101         * include/netdb.h: Add prototypes for __old_gethostent_r,
102         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
103         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
104         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
105         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
106         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
107         __old_getrpcbynumber_r, __old_getrpcent_r.
108
109         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
110         __getrpcent_r prototypes.
111
112 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
113
114         * string/strcoll.c: Add casts to avoid warnings.
115         * string/strnlen.c: Likewise.
116         * string/strxfrm.c: Likewise.
117         * sysdeps/generic/_strerror.c: Likewise.
118         * sysdeps/generic/memrchr.c: Likewise.
119         * sysdeps/generic/strcasestr.c: Likewise.
120         * sysdeps/generic/strstr.c: Likewise.
121
122         * locale/weight.h (findidx): Add const to cast to avoid warning.
123
124         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
125         * elf/loadtest.c: Likewise.
126         * elf/multiload.c: Likewise.
127         * elf/next.c: Likewise.
128         * elf/nodelete.c: Likewise.
129         * elf/noload.c: Likewise.
130         * elf/order.c: Likewise.
131         * elf/origtest.c: Likewise.
132         * elf/preloadtest.c: Likewise.
133         * elf/restest1.c: Likewise.
134
135         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
136         parameter of asm must be in %ecx.
137
138         * string/tester.c: Mark test functions as static to avoid warnings.
139
140         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
141         preserve value over different gconv-modules files.
142
143 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
144
145         * locale/findlocale.c: Add casts to avoid warnings.
146         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
147         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
148         to avoid warnings.
149         * misc/tsearch.c (const_node): New type.
150         (trecurse): Correct casts to avoid warnings.
151         (__twalk): Likewise.
152         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
153         LONG_BIT.
154
155         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
156
157         * test-skeleton.c: Mark local functions as static to avoid warnings.
158
159 2000-11-23  H.J. Lu  <hjl@gnu.org>
160
161         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
162         support the background job.
163         Fix a typo.
164
165 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
166
167         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
168         has same names but lower cost.
169
170 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
171
172         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
173         which never occur during bootstrap.
174         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
175
176 2000-11-23  Andreas Jaeger  <aj@suse.de>
177
178         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
179
180         * nss/Versions: Remove _nss_files_getipnodebyname_r.
181
182         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
183
184 2000-11-18  Martin Buchholz  <martin@xemacs.org>
185
186         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
187         (called++) return;'
188
189 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
190
191         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
192
193         * csu/abi-note.S: Correct comment for operating system number.
194
195 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
196
197         * Versions.def: Add GLIBC_2.2.1 for glibc.
198
199 2000-11-22  Andreas Schwab  <schwab@suse.de>
200
201         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
202         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
203
204 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
205
206         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
207         absolute time for pthread_cond_timedwait call.
208         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
209
210         * rt/Makefile (tests): Add tst-aio6.
211         * rt/tst-aio6.c: New file.
212
213 2000-11-23  Andreas Jaeger  <aj@suse.de>
214
215         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
216
217 2000-11-22  Andreas Jaeger  <aj@suse.de>
218
219         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
220
221 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
222
223         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
224
225 2000-11-21  Andreas Schwab  <schwab@suse.de>
226
227         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
228         * sysdeps/arm/setjmp.S: Likewise.
229         * sysdeps/arm/fpu/setjmp.S: Likewise.
230         * sysdeps/i386/setjmp.S: Likewise.
231         * sysdeps/i386/elf/setjmp.S: Likewise.
232         * sysdeps/s390/setjmp.S: Likewise.
233         * sysdeps/s390/elf/setjmp.S: Likewise.
234         * sysdeps/sh/sh3/setjmp.S: Likewise.
235         * sysdeps/sh/sh4/setjmp.S: Likewise.
236         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
237         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
238         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
239         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
240
241 2000-11-21  Andreas Jaeger  <aj@suse.de>
242
243         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
244         NORETURN, fix parameter list.
245
246         * string/bug-strncat1.c (main): Fix typo.
247         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
248
249 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
250
251         * configure.in: Add --enable-all-warnings.
252         * config.make.in (all-warnings): New variable.
253         * Makeconfig (+gccwarn): Define with many more warnings if
254         all-warnings is yes.
255
256 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
257
258         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
259         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
260         * malloc/tst-valloc.c (main): Cast valloc return value to long.
261         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
262         * math/test-fpucw.c (main): Use %lx in format string, cast
263         control words to long.
264         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
265         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
266         large that it is unsigned warning.
267
268         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
269         it to long on sparc64.
270
271 2000-11-20  Andreas Jaeger  <aj@suse.de>
272
273         * nscd/nscd.h (termination_handler): Add noreturn attribute.
274         (receiv_print_stats): Likewise.
275
276         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
277
278 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
279
280         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
281
282         * csu/gmon-start.c: Always have prototype for __gmon_start.
283         * csu/version.c: Add prototypes for __libc_print_version and
284         __libc_main.
285         * iconv/gconv.c: Include gconv_int.h and gconv.h.
286         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
287         and __to_name.
288         * iconv/gconv_builtin.h: Add ASCII module definitions.
289         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
290         (add_module): Add cast to avoid warning.  Rework construction of
291         strings for new module.
292         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
293         (derivation_compare): Likewise.
294         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
295         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
296         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
297         (struct gconv_alias): Remove const from fromname and toname.
298         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
299         for loop functions.
300         (internal_ucs4_loop): Use correct const-ness.
301         (ucs4_internal_loop): Likewise.
302         (internal_ucs4le_loop): Likewise.
303         (ucs4le_internal_loop_single): Likewise.
304         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
305         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
306         assignments appropriately.
307         (struct known_trans): Remove const from fname.
308         (trans_compare): Make s1 and s2 const.
309         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
310         avoid warning.
311         * iconv/skeleton.c: Remove cast in calls of loop functions.
312         * iconvdata/gconv-modules: Remove US-ASCII definitions.
313         * iconvdata/iso646.c: Remove US_ASCII support.
314         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
315         * include/unistd.h: Add __libc_check_standard_fds prototype.
316         * string/bits/string2.h (__mempcpy_args): Add const to casts.
317         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
318         _fini.
319         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
320         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
321         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
322         warning.
323         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
324         __libc_init_first and _dl_start.
325         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
326         (DCIGETTEXT): Make domaindata variable const.
327         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
328         to avoid warning.
329
330 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
331
332         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
333
334         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
335         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
336         __unused? members.
337
338         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
339         value defined in /usr/include/asm-mips/fcntl.h.
340
341 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
342
343         * stdio-common/Makefile (tests): Add test-vfprintf.
344         (test-vfprintf-ENV): New variable.
345         * stdio-common/test-vfprintf.c: New file.
346
347         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
348
349         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
350         (tst-mbrtowc-ENV): New variable.
351         (tst-wcrtomb-ENV): New variable.
352         * wcsmbs/tst-mbrtowc.c: New file.
353         * wcsmbs/tst-wcrtomb.c: New file.
354
355 2000-11-16  Andreas Jaeger  <aj@suse.de>
356
357         * manual/install.texi (Tools for Compilation): Update
358         documentation for GCC 2.95.2.
359
360 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
361
362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
363         if IPv4 and IPv6 requests timed out.
364
365 2000-11-18  Akim Demaille  <akim@epita.fr>
366
367         * malloc/obstack.h: Formatting changes.
368         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
369         prevents type checking.
370         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
371         cast the value to (void *): assigning a `foo *' to a `void *'
372         variable is valid.
373         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
374
375 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
376
377         * scripts/config.guess: Update from upstream maintainer.
378         * scripts/config.sub: Likewise.
379
380 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
381
382         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
383         * libio/freopen64.c (freopen64): Likewise.
384         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
385
386         * libio/Makefile: Add rules to build and run test-freopen.
387         * libio/test-freopen.c: New file.
388         * libio/test-freopen.sh: New file.
389
390 2000-11-15  H.J. Lu  <hjl@gnu.org>
391
392         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
393         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
394         (DL_DT_FINI_ADDRESS): Likewise.
395
396         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
397         return type to ElfW(Addr).
398         (_dl_function_address): New prototype.
399         (DL_FUNCTION_ADDRESS): Defined.
400         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
401         (DL_DT_FINI_ADDRESS): Likewise.
402
403         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
404
405         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
406         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
407
408         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
409         (_dl_function_address): This.
410
411         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
412         function pointer for DT_FINI.
413         * elf/dl-close.c (_dl_close): Likewise.
414
415         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
416         function pointer for DT_INIT.
417
418 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
419
420         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
421         end of wexpbuf buffer.
422
423 2000-11-16  Andreas Jaeger  <aj@suse.de>
424
425         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
426         definition of F_GETLK, F_SETLK, F_SETLKW.
427
428 2000-11-16  Andreas Jaeger  <aj@suse.de>
429
430         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
431         it's not defined.
432
433 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
434
435         * dlfcn/default.c (main): Add test for dladdr of main returning
436         argv[0] in dli_fname field.
437
438 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
439
440         * Makeconfig (run-program-prefix): Move test-static test into the
441         variable.
442
443         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
444         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
445         schedule instructions.
446         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
447         schedule instructions, fix a bug in copying auxiliary data.
448
449 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
450
451         * manual/startup.texi (Program Arguments): Fix type of main's envp
452         parameter.
453         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
454
455         * iconvdata/gconv-modules: Add CP950 alias.
456
457 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
458
459         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
460         syscall-list.h goal.
461         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
462
463 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
464
465         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
466
467         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
468         output of program.
469
470         * intl/tst-gettext2.c: Set C locale if setting other locale
471         failed.  Use gettext() not _().
472
473         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
474         successfully loaded a new locale.
475
476 2000-11-13  Andreas Jaeger  <aj@suse.de>
477
478         * configure.in: Require gcc 2.95 or newer.
479
480 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
481
482         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
483         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
484
485 2000-11-11  Jim Meyering  <meyering@lucent.com>
486
487         * string/strndup.c (strndup): Cast return value to `char *'.
488
489 2000-11-15  Jim Meyering  <meyering@ascend.com>
490
491         * sysdeps/generic/memchr.c: Remove some useless parentheses.
492         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
493         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
494         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
495         Also #undef __memchr.
496         Use `weak_alias' only if it's defined.
497
498 2000-11-10  H.J. Lu  <hjl@gnu.org>
499
500         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
501
502 2000-11-15  Andreas Jaeger  <aj@suse.de>
503
504         * elf/chroot_canon.c: Include <stdint.h>.
505
506         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
507         (print_entry): Likewise.
508         (add_to_cache): Likewise.
509
510         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
511
512         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
513         (path_hwcap): Likewise.
514         (search_dir): Likewise.
515
516         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
517
518         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
519
520         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
521         (_dl_platform_string): New.
522         (_DL_HWCAP_PLATFORM): New.
523         (_dl_string_platform): New.
524         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
525
526         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
527         (_dl_string_platform): New.
528         (_DL_HWCAP_PLATFORM): New.
529         (_dl_platform_string): New.
530
531         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
532         recognition.
533         (_DL_HWCAP_COUNT): New.
534         (_dl_string_platform): New.
535         (_DL_HWCAP_PLATFORM): New.
536         (_dl_platform_string): New.
537
538 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
539
540         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
541
542 2000-11-14  Andreas Jaeger  <aj@suse.de>
543
544         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
545         _dl_hwcap.
546
547 2000-11-13  Roland McGrath  <roland@frob.com>
548
549         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
550
551 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
552
553         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
554         underrun and make sure the result is null terminated even if there
555         is no trailing newline.
556
557 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
558
559         * sysdeps/alpha/fpu/libm-test-ulps: Update.
560
561 2000-11-10  H.J. Lu  <hjl@gnu.org>
562
563         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
564
565 2000-11-10  Andreas Jaeger  <aj@suse.de>
566
567         * elf/ldconfig.c (create_links): Fix alloca calculation.
568         Patch by Ben Collins <bcollins@debian.org>.
569
570 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
571
572         * inet/getnameinfo.c (getnameinfo): Use correct destination
573         parameter for if_indextoname.
574         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
575
576 2000-11-09  H.J. Lu  <hjl@gnu.org>
577
578         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
579         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
580         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
581         xdr_keystatus.
582
583         * time/Versions (GLIBC_2.1): Move getitimer to...
584         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
585
586 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
587
588         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
589         "make install", to work around a binary incompatibility between
590         glibc 2.1 and glibc 2.2 gconv modules.
591
592 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
593
594         * intl/locale.alias: Add thai.
595         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
596
597 2000-11-07  Akim Demaille  <akim@epita.fr>
598
599         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
600         argument `data' for consistency with the prototypes.
601         Qualify it `const'.
602         (obstack_copy, obstack_copy0): Rename the second argument as
603         `address' for consistency.  Qualify it `const'.
604         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
605         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
606         `const' their input argument (`data' or `address').
607         Adjust the corresponding macros to include `const' in casts.
608
609 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
610
611         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
612         target family.
613
614 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
615
616         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
617         socket creation.
618
619 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
620
621         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
622         ai_protocol by internal table if service was not given.
623
624 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
625
626         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
627         numerical port was specified with protocol without socktype.
628
629 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
630
631         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
632
633 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
634
635         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
636
637 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
638
639         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
640         sin6_scope_id field.
641
642 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
643
644         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
645
646 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
647
648         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
649
650 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
651
652         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
653         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
654
655 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
656
657         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
658         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
659
660 2000-11-09  H.J. Lu  <hjl@gnu.org>
661
662         * io/Versions (GLIBC_2.1.1): Remove lockf64.
663
664
665 See ChangeLog.11 for earlier changes.