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