]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2000-11-01 Ulrich Drepper <drepper@redhat.com>
2
3 * configure.in (with_cvs): Test for pserver access.
4
5 2000-10-31 Ulrich Drepper <drepper@redhat.com>
6
7 * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize.
8 * elf/dl-load.c: Define _dl_clktck.
9 * elf/elf.h: Define AT_CLKTCK.
10 * include/time.h: Declare __getclktck.
11 * misc/Makefile (routines): Add getclktck.
12 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK.
13 (_dl_show_auxv): Show AT_CLKTCK value.
14 * sysdeps/generic/getclktck.c: New file.
15 * sysdeps/unix/sysv/linux/getclktck.c: New file.
16 * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file.
17 * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file.
18 * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK.
19 * sysdeps/unix/sysv/linux/getpagesize.c: New file.
20 * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK.
21 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
22 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
23 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
24 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
25
26 * sunrpc/clnt_gen.c (clnt_create): Don't set timeout with
27 clnt_control for any protocol. This would make it impossible for
28 the user to provide one in clnt_call().
29 Reported by Hitoshi Guutara Maruyama <maruyama@sh.rim.or.jp>.
30 * sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero,
31 use ct->ct_wait.
32 * sunrpc/clnt_unix.c (clnt_call): Likewise.
33
34 2000-10-31 Jes Sorensen <jes@linuxcare.com>
35
36 * sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based
37 implementation based on suggestion by Richard Henderson.
38 * sysdeps/ia64/fpu/s_isinfl.c: Removed.
39
40 2000-10-30 Jes Sorensen <jes@linuxcare.com>
41
42 * sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based
43 implementation based on suggestion by Richard Henderson.
44 * sysdeps/ia64/fpu/s_isnanl.c: Removed.
45
46 2000-10-31 Ulrich Drepper <drepper@redhat.com>
47
48 * locale/programs/locale.c (print_item): Fix one more problem with
49 string lists. Patch by Chen Xiangyang <chenxy@opencjk.org>.
50
51 * locale/categories.def: Add number of arguments to ctype-map-names
52 and ctype-class-names entries. Mark era as stringlist.
53
54 * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935,
55 IBM937, IBM939, and IBM1046.
56 (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c,
57 ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h,
58 ibm939.h, and ibm1046.h.
59 * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933,
60 IBM935, IBM937, IBM939, and IBM1046.
61 * iconvdata/ibm1046.c: New file.
62 * iconvdata/ibm1046.h: New file.
63 * iconvdata/ibm856.c: New file.
64 * iconvdata/ibm856.h: New file.
65 * iconvdata/ibm930.c: New file.
66 * iconvdata/ibm930.h: New file.
67 * iconvdata/ibm933.c: New file.
68 * iconvdata/ibm933.h: New file.
69 * iconvdata/ibm935.c: New file.
70 * iconvdata/ibm935.h: New file.
71 * iconvdata/ibm937.c: New file.
72 * iconvdata/ibm937.h: New file.
73 * iconvdata/ibm939.c: New file.
74 * iconvdata/ibm939.h: New file.
75 Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.
76
77 2000-10-30 Ulrich Drepper <drepper@redhat.com>
78
79 * locale/localeinfo.h (enum value_type): Add wstring, wstringarray,
80 and wstringlist.
81 * locale/categories.def: Mark wide char strings as wstring or
82 stringarray.
83 * locale/programs/locale.c (show_info): Handle wstring, wstringarray,
84 and wstringlist. Print keywords only if there is real output.
85 Reported by Chen Xiangyang <chenxy@opencjk.org>.
86
87 * sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary.
88 Patch by Ben Collins <bcollins@debian.org>.
89
90 * stdio-common/Makefile (tests): Add tst-fmemopen.
91 * stdio-common/tst-fmemopen.c: New file.
92 Test case by Ben Collins <bcollins@debian.org>.
93
94 * libio/iofopncook.c (_IO_cookie_seek): Correct test for error.
95
96 * libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
97 (fmemopen_write): Set errno at end of buffer.
98
99 * posix/runtests.c (main): Don't use exit() to avoid warning with
100 broken compilers.
101
102 * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
103 defining it again to avoid warning.
104 * string/bug-strpbrk1.c: Likewise.
105 * string/bug-strspn1.c: Likewise.
106
107 2000-10-29 Bruno Haible <haible@clisp.cons.org>
108
109 * locale/C-translit.h.in: Include more rules from translit_neutral.
110 Remove a few German and Danish specific rules.
111 * locale/gen-translit.pl: Avoid an error when printing a string
112 containing a '%' character.
113 * locale/C-translit.h: Regenerated.
114 * intl/translit.po: Choose different translations.
115 * intl/tst-translit.c: Update.
116
117 2000-10-29 Bruno Haible <haible@clisp.cons.org>
118
119 * locale/programs/ld-ctype.c (translit_include_t): New type.
120 (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
121 fields, add translit_include field.
122 (ctype_read): After seeing "translit_start" in ignore_content mode,
123 skip the entire translit section, not only one line. Remove dead test
124 for tok_translit_end. Enqueue include statements into a list.
125 Signal error if tok_eof seen before tok_translit_end.
126 (translit_flatten): New function.
127 (allocate_arrays): Call translit_flatten.
128
129 2000-10-30 Ulrich Drepper <drepper@redhat.com>
130
131 * locale/findlocale.c (free_mem): We can remove NODELETE marked
132 data, just not the C locale data.
133
134 * intl/tst-gettext.c: Use setlocale() in addition to setting envvar.
135 * intl/tst-gettext.sh: Copy locale data if necessary.
136 * intl/Makefile (generated-dirs): Add localedir.
137
138 * intl/dcigettext.c (guess_category_value): For libc always use
139 the setlocale() method.
140
141 * intl/Makefile: Add rules to build, run and, distribute tst-gettext2.
142 * intl/tst-gettext2.c: New file.
143 * intl/tst-gettext2.sh: New file.
144 * intl/tstlang1.po: New file.
145 * intl/tstlang2.po: New file.
146 Patch by Andreas Jaeger <aj@suse.de>.
147
148 2000-10-26 GOTO Masanori <gotom@debian.or.jp>
149
150 * intl/locale.alias: Add ja_JP.ujis alias.
151
152 2000-10-30 Ulrich Drepper <drepper@redhat.com>
153
154 * locale/findlocale.c (_nl_find_locale): Don't store normalized
155 name in *NAME.
156
157 2000-10-29 Ben Collins <bcollins@debian.org>
158
159 * sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to
160 F_RDLCK explicitly.
161 * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
162
163 2000-10-29 Ulrich Drepper <drepper@redhat.com>
164
165 * iconvdata/big5.c: Update.
166 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
167
168 * iconvdata/Makefile (distribute): Add BIG5.irreversible.
169 * iconvdata/BIG5.irreversible: New file.
170
171 2000-10-29 Greg Louis <glouis@dynamicro.on.ca>
172
173 * posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
174 Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
175 doesn't define __restrict_arr.
176
177 2000-10-29 Ulrich Drepper <drepper@redhat.com>
178
179 * manual/search.texi: Correct description if VISIT values.
180 Patch by Ben Collins <bcollins@debian.org>.
181
182 * string/bits/string2.h (strspn): Evaluate first argument if
183 second is "".
184 (strpbrk): Likewise.
185 * sysdeps/i386/i486/bits/string.h: Likewise.
186 * string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1.
187 * string/bug-strspn1.c: New file.
188 * string/bug-strpbrk1.c: New file.
189 Test cases by Joseph S. Myers <jsm28@cam.ac.uk>.
190
191 * string/bits/string2.h (strncat): Terminate string correctly.
192 * sysdeps/i386/i486/bits/string.h (strncat): Likewise.
193 * string/Makefile (tests): Add bug-strncat1.
194 * string/bug-strncat1.c: New file.
195 Test case by Joseph S. Myers <jsm28@cam.ac.uk>.
196
197 2000-10-27 Ben Collins <bcollins@debian.org>
198
199 * sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before
200 calling for F_GETLK.
201
202 2000-10-29 Ulrich Drepper <drepper@redhat.com>
203
204 * elf/dl-load.c (open_path): Don't exit loop early if we didn't
205 use a directory at all.
206
207 * elf/Makefile: Add rules to build and run tst-pathopt.
208 * elf/tst-pathopt.c: New file.
209 * elf/tst-pathopt.sh: New file.
210 * elf/pathoptobj.c: New file.
211
212 * elf/elf.h (SHN_XINDEX): Define.
213
214 2000-10-28 Ulrich Drepper <drepper@redhat.com>
215
216 * io/Makefile (tests): Add test-stat2.
217 (test-stat2-ARS): New variable.
218 * io/test-stat2.c: New file.
219
220 * Makeconfig (ETAGS): Remove -T flag.
221
222 * elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC
223 objects. Reject all other types.
224 (_dl_map_object_from_fd): Optimize a bit.
225
226 2000-10-27 Ulrich Drepper <drepper@redhat.com>
227
228 * stdio-common/Makefile (tests): Add tst-fseek.
229 * stdio-common/tst-fseek.c: New file.
230
231 * posix/regex.c (gettext): Use correct translation domain for glibc.
232
233 * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc.
234 * argp/argp-help.c: Likewise.
235 * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf.
236 * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf.
237 * misc/regexp.c (__step): Use __regexec instead of regexec.
238 (__advance): Likewise.
239 * nss/digits_dots.c: Use __inet_aton instead of inet_aton.
240 * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since
241 the former is not exported.
242 * misc/daemon.c (daemon): Use __fork instead of fork.
243
244 * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make
245 it look better and bring it closer to SysV behavior.
246 * stdlib/Makefile (distribute): Add tst-fmtmsg.sh.
247 (test-srcs): Add tst-fmtmsg.
248 (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it.
249 * stdlib/tst-fmtmsg.sh: New file.
250 * stdlib/tst-fmtmsg.c: New file.
251
252 * iconvdata/Makefile (modules): Add VISCII.
253 (gen-8bit-modules): Add viscii.
254 * iconvdata/viscii.c: New file.
255 * iconvdata/gconv-modules: Add entries for VISCII.
256 * iconvdata/tst-tables.sh: Add VISCII.
257
258 2000-10-27 Andreas Schwab <schwab@suse.de>
259
260 * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.
261
262 2000-10-26 Ulrich Drepper <drepper@redhat.com>
263
264 * version.h (VERSION): Bump to 2.1.96.
265
266 * inet/getipnodebyad.c: Removed.
267 * inet/getipnodebynm.c: Removed.
268 * inet/tst-ipnode.c: Removed.
269 * inet/freehostent.c: Removed.
270
271 * sysdeps/unix/bsd/osf/=dirstream.h: Removed.
272
273 * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.
274
275 * elf/Makefile (distribute): Add neededobj4.c.
276
277 * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.
278
279 * sysdeps/hppa/Dist: New file.
280 * sysdeps/unix/sysv/linux/hppa/Dist: New file.
281
282 * posix/tst-chmod.c (do_test): Account for people running the
283 tests as root.
284
285 * locale/langinfo.h (THOUSEP): Define this and don't duplicate
286 definition of THOUSANDS_SEP.
287
288 * locale/C-monetary.c: Set mon_decimal to empty string.
289 Add missing entry _NL_MONETARY_CRNCYSTR.
290 * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
291 DECIMAL_POINT information.
292 * locale/C-numeric.c: Set mon_grouping entry to empty string.
293 * locale/C-time.c: Add date_fmt entries. Remove two wrong entries.
294 Correct value for number of entries.
295 * locale/localeconv.c: Normalize result passed back in .grouping.
296 Fix assignment to .int_* entries.
297
298 * locale/Makefile (tests): Add tst-C-locale.
299 * locale/tst-C-locale.c: New file.
300
301 * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
302 locale files.
303 * locale/newlocale.c: Likewise.
304
305 2000-10-26 GOTO Masanori <gotom@debian.or.jp>
306
307 * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
308 * locale/categories.def: New support for date_fmt.
309 * locale/programs/ld-time.c: Likewise.
310 * locale/programs/locfile-kw.gperf: Likewise.
311 * locale/programs/locfile-kw.h: Likewise.
312 * locale/programs/locfile-token.h: Likewise.
313
314 2000-10-26 Jakub Jelinek <jakub@redhat.com>
315
316 * sysdeps/ieee754/ldbl-128/e_hypotl.c: New.
317
318 * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
319 Increase precision of constants.
320 * sysdeps/alpha/fpu/libm-test-ulps: Update.
321 * sysdeps/arm/libm-test-ulps: Update.
322 * sysdeps/i386/fpu/libm-test-ulps: Update.
323 * sysdeps/ia64/fpu/libm-test-ulps: Update.
324 * sysdeps/m68k/fpu/libm-test-ulps: Update.
325 * sysdeps/mips/fpu/libm-test-ulps: Update.
326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
327 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
328 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
329 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
330 * sysdeps/s390/fpu/libm-test-ulps: Update.
331
332 2000-10-26 Ulrich Drepper <drepper@redhat.com>
333
334 * io/Makefile (tests): Add tst-fcntl.
335 * io/tst-fcntl.c: New file.
336
337 * posix/Makefile (tests): Add tst-chmod.
338 (tst-chmod-ARGS): Define.
339 * posix/tst-chmod.c: New file.
340
341 * test-skeleton.c: Before calling user-defined function remove
342 parameters from argument list.
343 * posix/tst-exec.c: Adjust to this change.
344 * posix/tst-spawn.c: Likewise.
345
346 * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add
347 __builtin_expect.
348
349 2000-10-25 Ulrich Drepper <drepper@redhat.com>
350
351 * intl/Makefile (tests): Add tst-ngettext.
352 * intl/tst-ngettext.c: New file.
353
354 2000-10-25 Bruno Haible <haible@clisp.cons.org>
355
356 * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT.
357 * manual/message.texi (Translation with gettext): Remove paragraph
358 about macros contained in libintl.h.
359 (bind_textdomain_codeset): Describe codeset argument.
360 (Using gettextized software): Add setlocale call to sample code.
361
362 2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
363 Yutaka Niibe <gniibe@chroot.org>
364
365 * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place
366 relocation which is generated by new ld.
367 * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values.
368 (_fini): Delete an obsolete register prefix.
369 * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64,
370 __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64
371 and versionsort64 as the 2.2-versioned symbols.
372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file.
373 * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call
374 calling convention of the kernel.
375 * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise.
376 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
377 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
378 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
380 * sysdeps/unix/sysv/linux/sh/fcntl.c: New file.
381 * sysdeps/unix/sysv/linux/sh/lockf64.c: New file.
382 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header
383 file and delete the definitions of struct user and user_fp.
384 * sysdeps/unix/sysv/linux/sh/syscall.S: New file.
385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for
386 s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve,
387 rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo,
388 rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups,
389 s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid,
390 s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot,
391 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
392 s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid,
393 s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl,
394 s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv,
395 sys_stat, sys_writev and syscall.
396
397 2000-10-25 Ulrich Drepper <drepper@redhat.com>
398
399 * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems
400 without LFS support.
401
402 * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt.
403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
404 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
405 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
407
408 2000-10-25 David Mosberger <davidm@hpl.hp.com>
409
410 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot
411 number by four to use bins of width 4 to get accurate
412 instruction-level profiling.
413
414 2000-10-25 Andreas Jaeger <aj@suse.de>
415
416 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string.
417
418 2000-10-25 Jakub Jelinek <jakub@redhat.com>
419
420 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When
421 converting struct flock64 to struct flock and back, use fcntl commands
422 which work on struct flock.
423
424 2000-10-25 Jakub Jelinek <jakub@redhat.com>
425
426 * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
427 defined.
428 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
429 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
430
431 2000-10-25 Ulrich Drepper <drepper@redhat.com>
432
433 * sysdeps/arm/libm-test-ulps: Updated.
434
435 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.
436
437 2000-10-25 Andreas Jaeger <aj@suse.de>
438
439 * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
440 (_dl_map_object): Likewise.
441
442 2000-10-24 Paul Eggert <eggert@twinsun.com>
443
444 * time/strftime.c (my_strftime macro)
445 [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]:
446 When redefining, do it without args, so that it works even if
447 emacs is defined and an extra argument is passed to my_stftime.
448 (my_strftime function): When evaluating a subformat, pass
449 ut_argument as well.
450
451 2000-10-24 Andreas Schwab <schwab@suse.de>
452
453 * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
454 pciconfig_write.
455
456 2000-10-25 Ulrich Drepper <drepper@redhat.com>
457
458 * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test
459 for files with new cache format.
460 (_dl_load_cache_lookup): Add variable cache_data_size for size of the
461 data. Correctly report error if neither old not new signature is
462 found. Little optimizations.
463 Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>.
464
465 * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
466 nsearchlist variable.
467
468 2000-10-24 Ulrich Drepper <drepper@redhat.com>
469
470 * elf/dl-lookup.c (add_dependency): Fix test to check whether
471 dependency already exists.
472 * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6.
473 * elf/loadtest.c (main): Add test at the end that everything is
474 unloaded.
475
476 * elf/dl-open.c (dl_open_worker): Fix typo in comment.
477
478 * elf/elf.h: Add even more IA-64 relocations.
479
480 2000-10-24 Geoffrey Keating <geoffk@cygnus.com>
481
482 * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
483 has a limit set---for instance, a limit of 2^31 bytes, which can't
484 easily be reset by non-LFS-aware shells.
485
486 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
487 explicitly rather than getting it from <asm/page.h>.
488
489 2000-10-24 Ulrich Drepper <drepper@redhat.com>
490
491 * elf/dl-close.c (_dl_close): Handle relocation dependencies of
492 the dependencies of the object currently unloaded.
493
494 * elf/dl-close.c (_dl_close): Don't free memory for global scope
495 list immediately when empty. Move code to...
496 (free_mem): ...here. Called as part of __libc_subfreeres list.
497
498 * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
499 r_list array in allocated memory.
500 * elf/dl-close.c (_dl_close): Optimize access to l_initfini list
501 and remove use of r_list.
502
503 * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
504 computing new opencounts.
505 * elf/Makefile: Add rules to build and run neededtest3.
506 * neededtest3.c: New file.
507 * neededobj4.c: New file.
508
509 * elf/neededtest.c (main): Correct tests for failing dlopen.
510
511 2000-10-24 Andreas Jaeger <aj@suse.de>
512
513 * elf/dl-lookup.c (add_dependency): Remove unused variable j.
514
515 2000-10-24 Ulrich Drepper <drepper@redhat.com>
516
517 * malloc/obstack.c (_obstack_newchunk): Correctly align first returned
518 block.
519 * malloc/tst-obstack.c: New file.
520 Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
521 * malloc/Makefile (tests): Add tst-obstack.
522
523 Complete revamp of the reference counter handling.
524 * include/link.h (struct link_map): Add l_idx field.
525 * elf/dl-close.c: Handle decrementing of reference counters more
526 correctly. If necessary decrement reference counters of dependencies
527 of dependencies.
528 * elf/dl-lookup.c (add_dependency): Only increment reference counter
529 of the object itself and not also its dependencies.
530 * elf/dl-open.c: Increment reference counters here.
531 * elf/dl-deps.c: Remove reference counter handling here.
532 * elf/dl-load.c: Likewise.
533 * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
534
535 * elf/loadtest.c: Print loaded objects at the beginning.
536
537 2000-10-24 Andreas Jaeger <aj@suse.de>
538
539 * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
540
541 2000-10-23 Ulrich Drepper <drepper@redhat.com>
542
543 * include/link.h (struct link_map): New bit field l_faked.
544 * elf/dl-deps.c: Use l_faked field in struct link_map instead of
545 the magic l_opencount==0.
546 * elf/dl-load.c: Likewise.
547 * elf/dl-version.c: Likewise.
548 * elf/rtld.c: Likewise.
549
550 * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
551
552 2000-10-23 Jim Meyering <meyering@ascend.com>
553
554 Allow this code to be used outside of glibc.
555 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
556 [!weak_alias]: Define __memrchr to memrchr.
557 Guard weak_alias use with `#ifdef weak_alias'.
558
559 2000-10-23 Ulrich Drepper <drepper@redhat.com>
560
561 * elf/unload.c: Generate more debugging output.
562
563 * elf/neededtest.c: Make it more complicated.
564 * elf/neededtest2.c: New file.
565 * elf/Makefile: Add rules to build and run neededtest2.
566
567 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
568 of DSO address space.
569 (_dl_vsym): Likewise.
570
571 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
572 global scope if we can determine it.
573
574 2000-10-23 Andreas Schwab <schwab@suse.de>
575
576 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
577 (RLIMIT_NLIMITS): Sync with kernel definition.
578 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
579
580 2000-10-23 Andreas Schwab <schwab@suse.de>
581
582 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
583
584 2000-10-23 Ulrich Drepper <drepper@redhat.com>
585
586 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
587
588 2000-10-22 Bruno Haible <haible@clisp.cons.org>
589
590 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
591 for 0x8BF8, 0xA27E..0xA2A7.
592 * iconvdata/BIG5HKSCS.irreversible: New file.
593
594 2000-10-23 Jakub Jelinek <jakub@redhat.com>
595
596 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
597 * timezone/zic.c (main): Likewise.
598
599 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
600
601 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
602 if it is not enabled.
603
604 2000-10-23 Andreas Jaeger <aj@suse.de>
605
606 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
607
608 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
609 Patch by Ralf Baechle <ralf@gnu.org>.
610
611 2000-10-21 Ulrich Drepper <drepper@redhat.com>
612
613 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
614 verification in open_verify.
615 (open_verify): New function. Called instead of open. Ignores valid
616 files for other architectures.
617 (open_path): Call open_verify instead of open.
618 (_dl_map_object): Likewise.
619 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
620
621 * io/pwd.c (main): The output was missing a newline.
622
623 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
624 expects it. Patch by Colin Watson <riva.ucam.org>.
625 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
626
627 * elf/dl-open.c (add_to_global): New function. Split out from
628 dl_open_worker.
629 (dl_open_worker): Call add_to_global not only for new objects, also for
630 previously loaded objects when (mode & RTLD_GLOBAL) and the object
631 was not yet in the global scope.
632 * elf/Makefile: Add rules to build and run lateglobal.
633 * elf/lateglobal.c: New file.
634 * elf/ltglobmod1.c: New file.
635 * elf/ltglobmod2.c: New file.
636
637 2000-10-20 Ulrich Drepper <drepper@redhat.com>
638
639 * include/link.h (struct link_map): Add l_soname_added bitfield.
640 * elf/dl-load.c (_dl_map_object): Remember when we added the
641 SONAME to the l_libname list and don't try it again.
642
643 * elf/dl-close.c: Decrement opencount for all dependencies which can
644 be removed even if the object is not yet unloaded.
645 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
646 the list decrement opencount of all dependencies.
647 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
648 and all dependencies.
649 (_dl_map_object): Likewise.
650 * elf/dl-lookup.c (add_dependency): Likewise.
651
652 * elf/loadtest.c: Add debug when with more output.
653
654 * elf/Makefile: Add rules to build and run unload2.
655 * elf/unload2.c: New file.
656 * elf/unload2mod.c: New file.
657 * elf/unload2dep.c: New file.
658
659 * intl/libintl.h (ngettext macro): Add missing parameter.
660 (dngettext macro): Likewise.
661
662 2000-10-19 H.J. Lu <hjl@gnu.org>
663
664 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
665 neededobj2.c and neededobj3.c.
666 (tests): Add neededtest.
667 (modules-names): Add neededobj1, neededobj2 and neededobj3.
668 ($(objpfx)neededobj1.so): New target.
669 ($(objpfx)neededobj2.so): Likewise.
670 ($(objpfx)neededobj3.so): Likewise.
671 ($(objpfx)neededtest): Likewise.
672 ($(objpfx)neededtest.out): Likewise.
673 * elf/neededtest.c: New. Based on the bug report from
674 Allen Bauer <kylix_rd@hotmail.com>.
675 * elf/neededobj1.c: Likewise.
676 * elf/neededobj2.c: Likewise.
677 * elf/neededobj3.c: Likewise.
678
679 2000-10-20 Ulrich Drepper <drepper@redhat.com>
680
681 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
682 to elf_machine_matches_host.
683 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
684 is now pointer to ELF header.
685 * sysdeps/arm/dl-machine.h: Likewise.
686 * sysdeps/generic/dl-machine.h: Likewise.
687 * sysdeps/hppa/dl-machine.h: Likewise.
688 * sysdeps/i386/dl-machine.h: Likewise.
689 * sysdeps/ia64/dl-machine.h: Likewise.
690 * sysdeps/m68k/dl-machine.h: Likewise.
691 * sysdeps/mips/dl-machine.h: Likewise.
692 * sysdeps/mips/mips64/dl-machine.h: Likewise.
693 * sysdeps/powerpc/dl-machine.h: Likewise.
694 * sysdeps/s390/dl-machine.h: Likewise.
695 * sysdeps/sh/dl-machine.h: Likewise.
696 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
697 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
698 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
699
700 2000-10-20 Jakub Jelinek <jakub@redhat.com>
701
702 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
703 check instead of #ifdef __alpha__.
704 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
705 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
706 this is included.
707
708 2000-10-20 Ulrich Drepper <drepper@redhat.com>
709
710 * posix/wordexp-tst.sh (testout): Place output file in build
711 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
712
713 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
714
715 2000-10-19 Ulrich Drepper <drepper@redhat.com>
716
717 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
718 Correctly handle numeric group member information.
719 Patch by tomasw@cs.huji.ac.il.
720
721 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
722 Complete test for strtol overflow.
723
724 2000-10-19 Jakub Jelinek <jakub@redhat.com>
725
726 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
727 semun as 4th argument to semctl syscall, not address of it.
728
729 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
730
731 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
732
733 2000-10-17 Andreas Schwab <schwab@suse.de>
734
735 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
736 * include/string.h: Declare them here.
737
738 2000-10-18 Ralf Baechle <ralf@gnu.org>
739
740 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
741
742 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
743
744 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
745 of the unordered comparison functions that use the GCC builtins.
746
747 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
748 (__process_machine_rela): Print the address of an overflowing
749 reloc.
750
751 2000-10-18 Ulrich Drepper <drepper@redhat.com>
752
753 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
754 in comments.
755 (freeit): Remove unnecessary test.
756
757 2000-10-18 Andreas Jaeger <aj@suse.de>
758
759 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
760 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
761 (elf_machine_runtime_link_map): Likewise.
762 (elf_machine_runtime_setup): Likewise.
763 Handle dynamic linker's local got entries.
764 Patches by Ralf Baechle <ralf@gnu.org>.
765
766 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
767
768 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
769 the frame pointer. Allocate stack space for $a0 for
770 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
771 callee-saved anyway.
772
773 2000-10-17 Ulrich Drepper <drepper@redhat.com>
774
775 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
776 libm-test.inc.
777
778 2000-10-17 Andreas Schwab <schwab@suse.de>
779
780 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
781 libm-test.inc.
782
783 2000-10-17 Jakub Jelinek <jakub@redhat.com>
784
785 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
786 Add missing backslash.
787
788 2000-10-16 Ulrich Drepper <drepper@redhat.com>
789
790 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
791
792 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
793
794 2000-10-16 Jakub Jelinek <jakub@redhat.com>
795
796 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
797 precision.
798 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
799 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
800 to parameters.
801 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
802 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
803 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
804 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
805 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
806 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
807 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
808 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
809 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
810 y1_test, yn_test): Add L suffixes also to parameters.
811 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
812 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
813 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
814
815 2000-10-16 Ulrich Drepper <drepper@redhat.com>
816
817 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
818 ialloc.c, and scheck.c.
819 * malloc/obstack.c: Always include <libintl.h> for glibc.
820 * posix/getopt.c: Likewise.
821 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
822
823 2000-10-15 Pete Wyckoff <pw@osc.edu>
824
825 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
826
827 2000-10-15 Pete Wyckoff <pw@osc.edu>
828
829 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
830 * iconvdata/tst-table.sh: Likewise.
831
832 2000-10-15 Ulrich Drepper <drepper@redhat.com>
833
834 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
835 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
836
837 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
838 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
839
840 2000-10-13 Andreas Schwab <schwab@suse.de>
841
842 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
843
844 2000-10-15 Ulrich Drepper <drepper@redhat.com>
845
846 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
847 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
848 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
849 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
850 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
851
852 2000-10-14 Ulrich Drepper <drepper@redhat.com>
853
854 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
855 (hypot_test): Likewise.
856
857 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
858 string correctly. Handle padding correctly.
859
860 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
861 correctly.
862 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
864
865 2000-10-12 Alan Modra <alan@linuxcare.com.au>
866
867 * FAQ.in: Add --start-group and --end-group.
868
869 2000-10-12 Alan Modra <alan@linuxcare.com.au>
870
871 * malloc/memusage.c: Conditionalize stack usage calculation on
872 stack direction.
873
874 2000-10-12 Alan Modra <alan@linuxcare.com.au>
875
876 * config.h.in: Add ASM_LINE_SEP.
877 * configure.in: Add test for comment and line separators.
878 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
879 placate some hppa assemblers.
880 * sysdeps/hppa/sysdep.h: Likewise.
881 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
882 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
883
884 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
885
886 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
887 $(sysdep_headers).
888 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
889 non-threaded platforms.
890
891 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
892
893 * configure.in: Add definitions for hppa.
894 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
895 for IPLT and EPLT relocations.
896 * shlib-versions: Version symbol definitions for hppa-linux.
897 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
898 for hppa.
899
900 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
901
902 * sysdeps/hppa/Makefile: New file.
903 * sysdeps/hppa/Versions: New file.
904
905 * sysdeps/hppa/setjmp.S: New file.
906 * sysdeps/hppa/__longjmp.S: New file.
907 * sysdeps/hppa/bits/setjmp.h: New file.
908 * sysdeps/hppa/frame.h: New file.
909
910 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
911 * sysdeps/hppa/sub_n.s: Likewise.
912 * sysdeps/hppa/lshift.s: Likewise.
913 * sysdeps/hppa/rshift.s: Likewise.
914 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
915 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
916 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
917 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
918 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
919
920 * sysdeps/hppa/dl-machine.h: New file.
921 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
922 identical to the IA-64 one).
923 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
924 * sysdeps/hppa/dl-symaddr.c: Likewise.
925
926 * sysdeps/hppa/elf/initfini.c: New file.
927 * sysdeps/hppa/elf/start.S: New file.
928
929 * sysdeps/hppa/fpu/bits/fenv.h: New file.
930 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
931 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
932 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
933 * sysdeps/hppa/fpu/fegetenv.c: New file.
934 * sysdeps/hppa/fpu/fegetexcept.c: New file.
935 * sysdeps/hppa/fpu/fegetround.c: New file.
936 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
937 * sysdeps/hppa/fpu/fesetenv.c: New file.
938 * sysdeps/hppa/fpu/fesetround.c: New file.
939 * sysdeps/hppa/fpu/feupdateenv.c: New file.
940 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
941 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
942 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
943 * sysdeps/hppa/fpu/ftestexcept.c: New file.
944
945 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
946 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
947 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
948 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
949 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
950
951
952 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
953 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
954 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
955 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
956 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
957 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
958 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
959 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
960 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
961 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
962 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
963 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
964 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
965 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
966 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
967 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
968 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
969 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
970 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
971
972 2000-10-12 Alan Modra <alan@linuxcare.com.au>
973
974 * sysdeps/hppa/hppa1.1/Implies: New file.
975 * sysdeps/hppa/memusage.h: New file.
976
977 2000-10-28 Jes Sorensen <jes@linuxcare.com>
978
979 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
980 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
981 _outl. Reported by Bill Nottingham.
982
983 2000-04-06 Andreas Schwab <schwab@suse.de>
984
985 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
986 restore register r8 for functions that return a structure.
987
988 2000-10-12 Jakub Jelinek <jakub@redhat.com>
989
990 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
991 M_SQRT_PIl): Increase precision.
992 (cbrt_test): If cbrt is not implemented, don't test it.
993 Add L suffix to double constants in results which differ from their
994 L suffixed counterparts.
995 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
996
997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
998
999 2000-10-11 Jakub Jelinek <jakub@redhat.com>
1000
1001 * inet/rexec.c (rexec_af): Convert rport to host order before
1002 passing it to snprintf.
1003
1004 2000-10-14 Ulrich Drepper <drepper@redhat.com>
1005
1006 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
1007 uintXX_t since this is what <sys/types.h> defines and we include
1008 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
1009
1010 * intl/localealias.c (read_alias_file): Update string pointers
1011 in map[] if realloc() changed the values.
1012 Patch by Jakub Jelinek <jakub@redhat.com>.
1013
1014 * manual/stdio.texi: Update printf extension documentation after
1015 z became a valid modifier.
1016 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1017
1018 * timezone/africa: Update from tzcode2000g and tzdata2000g.
1019 * timezone/asia: Likewise.
1020 * timezone/australasia: Likewise.
1021 * timezone/backward: Likewise.
1022 * timezone/europe: Likewise.
1023 * timezone/iso3166.tab: Likewise.
1024 * timezone/northamerica: Likewise.
1025 * timezone/southamerica: Likewise.
1026 * timezone/zone.tab: Likewise.
1027
1028 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
1029
1030 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
1031 syscall.
1032
1033 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
1034
1035 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
1036 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
1037 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
1038 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
1039 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
1040 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
1041 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
1042 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
1043 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
1044 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
1045 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
1046 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
1047 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
1048 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
1049 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
1050 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
1051 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
1052 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
1053 GLIBC_2.2.
1054 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
1055 oldsetrlimit for GLIBC_2.0.
1056
1057 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
1058 arguments to _dl_init.
1059
1060 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
1061
1062 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
1063 building with the default options.
1064
1065 2000-10-11 Andreas Jaeger <aj@suse.de>
1066
1067 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
1068 Patch by Denis Zaitsev <zzz@cd-club.ru>.
1069
1070 2000-10-09 Jakub Jelinek <jakub@redhat.com>
1071
1072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
1073 return y not x.
1074 * manual/arith.texi (nextafter): Document it.
1075 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
1076
1077 2000-10-08 Ulrich Drepper <drepper@redhat.com>
1078
1079 * version.h (VERSION): Bump to 2.1.95.
1080
1081 * configure.in: Remove warning message.
1082
1083 * nscd/Makefile (distribute): Add nscd-types.h.
1084 * elf/Makefile (distribute): Add gccframe.h.
1085 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
1086 * sysdeps/ia64/Dist: Add ieee754.h.
1087
1088 2000-10-07 Ulrich Drepper <drepper@redhat.com>
1089
1090 * elf/elf.h: Add a few section-related symbols.
1091
1092 * include/features.h (__STDC_ISO_10646__): Set to correct date.
1093 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1094
1095 2000-10-06 Jes Sorensen <jes@linuxcare.com>
1096
1097 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
1098 overflow generation by adding DBL_MAX to DBL_MAX instead of
1099 setting the bits manually in the fpsr and generating the exception
1100 with kill() if necessary.
1101 (feraiseexcept): Implement underflow by dividing DBL_MIN by
1102 DBL_MIN - similar to the overflow change described above.
1103
1104 2000-08-27 H.J. Lu <hjl@gnu.org>
1105
1106 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
1107 is not supported under Linux/ia64, use clone2.
1108
1109 2000-10-06 Jakub Jelinek <jakub@redhat.com>
1110
1111 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
1112 * misc/sys/cdefs.h (__THROW): Likewise.
1113
1114 2000-10-05 Jakub Jelinek <jakub@redhat.com>
1115
1116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
1117
1118 2000-10-02 Jakub Jelinek <jakub@redhat.com>
1119
1120 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
1121 remaining xp_pad space.
1122
1123 2000-10-05 Jakub Jelinek <jakub@redhat.com>
1124
1125 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
1126 DF_1_NODELETE, not list[i]'s.
1127
1128 2000-10-04 Ulrich Drepper <drepper@redhat.com>
1129
1130 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
1131 (BODY from direction): Map \x5c to U20a9.
1132 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
1133 * iconvdata/EUC-KR.irreversible: New file.
1134 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
1135
1136 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
1137 (argp_version_argp): Likewise.
1138
1139 2000-10-04 Jakub Jelinek <jakub@redhat.com>
1140
1141 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
1142 input_error() if EOF is seen before processing.
1143 * stdio-common/tstscanf.c (main): Add testcase.
1144
1145 2000-10-04 Ulrich Drepper <drepper@redhat.com>
1146
1147 * argp/argp-help.c: Make sure we get the correct gettext and
1148 dgettext definitions.
1149 * argp/argp-parse.c: Likewise.
1150
1151 2000-10-03 Ulrich Drepper <drepper@redhat.com>
1152
1153 * locale/programs/linereader.c (get_string): Also clear wide
1154 string info if illegal_string.
1155
1156 2000-10-03 Andreas Schwab <schwab@suse.de>
1157
1158 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
1159
1160 2000-10-02 Jakub Jelinek <jakub@redhat.com>
1161
1162 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
1163 optimized.
1164
1165 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
1166
1167 2000-10-02 Ralf Baechle <ralf@gnu.org>
1168
1169 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
1170 end of inline assembler code.
1171
1172 2000-10-02 Ulrich Drepper <drepper@redhat.com>
1173
1174 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
1175 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
1176
1177 2000-10-02 Andreas Jaeger <aj@suse.de>
1178
1179 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
1180 2.4.0-test9-pre8.
1181
1182 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
1183
1184 2000-10-01 Ralf Baechle <ralf@gnu.org>
1185
1186 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
1187 argument passed to _dl_init.
1188
1189 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1190
1191 * locale/programs/charmap-dir.h: New file.
1192 * locale/programs/charmap-dir.c: New file.
1193 * locale/programs/linereader.h (lr_create): New declaration.
1194 * locale/programs/linereader.c (lr_create): New function, split out
1195 from lr_open.
1196 (lr_open): Tailcall lr_create.
1197 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
1198 <unistd.h>.
1199 (xstrdup): New declaration.
1200 (more_help): Use xstrdup instead of strdup.
1201 (write_locales): Likewise. When encountering a symbolic link, call
1202 stat.
1203 (write_charmaps): Simplify using the charmap-dir.h functions.
1204 Use xstrdup instead of strdup.
1205 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
1206 <dirent.h> and <unistd.h>.
1207 (cmlr_open): New function.
1208 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
1209 charmap-dir.h functions.
1210 * locale/Makefile (distribute): Add charmap-dir.h.
1211 (lib-modules): Add charmap-dir.
1212 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
1213 wants a 'char **', not a 'const char **'.
1214 * include/spawn.h: New file.
1215
1216 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1217
1218 * posix/spawn_faction_init.c: Include "spawn_int.h".
1219 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
1220
1221 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1222
1223 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
1224
1225 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1226
1227 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
1228 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
1229 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
1230 a pointer to the table entry, without extending the table.
1231 (allocate_arrays): Set a width only for characters with 'print'
1232 property. Set the width of L'\0' to 0.
1233 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
1234 for unprintable characters. Set entry of NUL to 0.
1235
1236 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1237
1238 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
1239 Don't forget to call closedir when the filename was found as a
1240 code_set_name.
1241
1242 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1243
1244 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
1245 type to 'void *'.
1246
1247 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1248
1249 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
1250 level2, and level3 as well.
1251 (wctype_table_add): Remove a few unnecessary conditionals.
1252
1253 2000-09-30 Ralf Baechle <ralf@gnu.org>
1254
1255 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
1256
1257 2000-09-30 H.J. Lu <hjl@gnu.org>
1258
1259 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
1260 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
1261
1262 2000-09-29 H.J. Lu <hjl@gnu.org>
1263
1264 * math/libm-test.inc (init_max_error): Clear all exceptions
1265 before starting test.
1266 (acosh_test): Test for existence of function.
1267 (asinh_test): Likewise.
1268 (atan2_test): Likewise.
1269 (cabs_test): Likewise.
1270 (cacos_test): Likewise.
1271 (cacosh_test): Likewise.
1272 (casin_test): Likewise.
1273 (casinh_test): Likewise.
1274 (catan_test): Likewise.
1275 (catanh_test): Likewise.
1276 (ccos_test): Likewise.
1277 (ccosh_test): Likewise.
1278 (cexp_test): Likewise.
1279 (clog_test): Likewise.
1280 (clog10_test): Likewise.
1281 (cosh_test): Likewise.
1282 (cpow_test): Likewise.
1283 (csin_test): Likewise.
1284 (csinh_test): Likewise.
1285 (csqrt_test): Likewise.
1286 (ctan_test): Likewise.
1287 (ctanh_test): Likewise.
1288 (fmod_test): Likewise.
1289 (hypot_test): Likewise.
1290 (remainder_test): Likewise.
1291 (remquo_test): Likewise.
1292 (sincos_test): Likewise.
1293 (sinh_test): Likewise.
1294 (tanh_test): Likewise.
1295
1296 2000-09-29 H.J. Lu <hjl@gnu.org>
1297
1298 * sysdeps/ia64/ieee754.h: New file.
1299
1300 * sysdeps/ia64/fpu/math_ldbl.h: New file.
1301
1302 2000-09-30 Jakub Jelinek <jakub@redhat.com>
1303
1304 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
1305 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
1306
1307 2000-09-30 Ulrich Drepper <drepper@redhat.com>
1308
1309 * manual/charset.texi: Correct notations, reference to C90 amd 1,
1310 and some other details.
1311 * manual/ctype.texi: Likewise.
1312 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1313
1314 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1315
1316 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
1317
1318 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1319
1320 * elf/cache.c (save_cache): Initialize __unused field in new cache
1321 as well to get reproducable results.
1322
1323 2000-09-29 H.J. Lu <hjl@gnu.org>
1324
1325 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
1326
1327 2000-09-29 H.J. Lu <hjl@gnu.org>
1328
1329 * sysdeps/ia64/bits/huge_val.h: New file.
1330
1331 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1332
1333 * elf/chroot_canon.c: Don't report a failure if the last path
1334 component is not available.
1335 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
1336 error.
1337
1338 * elf/cache.c (print_cache): Use stat64 instead of stat.
1339 * elf/ldconfig.c (chroot_stat): Likewise.
1340 (create_links): Likewise.
1341 (manual_link): Likewise.
1342 (search_dir): Likewise.
1343 * elf/readlib.c (process_file): Likewise.
1344
1345 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
1346 ldconfig.
1347
1348 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1349
1350 * elf/chroot_canon.c: New file.
1351 * elf/Makefile: Build and distribute it.
1352 * elf/ldconfig.h (process_file): Add real_file_name argument.
1353 (chroot_canon): Add prototype.
1354 * elf/ldconfig.c (cache_file): Remove const.
1355 (chroot_stat): New.
1356 (create_links): Add real_path argument.
1357 If opt_chroot, maintain both real and given filenames.
1358 (manual_link): Likewise.
1359 (search_dir): Likewise.
1360 (parse_conf): If opt_chroot, use chroot_canon to find the real
1361 config file.
1362 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
1363 and use chroot_canon where appropriate to do the same as if chroot
1364 succeeded.
1365 * elf/readlib.c (process_file): Add real_file_name argument, pass it
1366 to fopen.
1367
1368 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1369
1370 * math/complex.h (_Complex): We can be more specific when _Complex
1371 is defined by the compiler.
1372
1373 2000-09-29 H.J. Lu <hjl@gnu.org>
1374
1375 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
1376
1377 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
1378 for x86/IA-64 binary.
1379
1380 2000-09-29 Andreas Schwab <schwab@suse.de>
1381
1382 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
1383
1384 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
1385
1386 2000-09-29 Mark Kettenis <kettenis@gnu.org>
1387
1388 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
1389 implementation for use by the dynamic linker.
1390
1391 2000-09-29 Andreas Jaeger <aj@suse.de>
1392
1393 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
1394 __USE_GNU.
1395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1396 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1397 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1398 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1401
1402 2000-09-29 Andreas Jaeger <aj@suse.de>
1403
1404 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
1405 2.4.0-test9-pre7.
1406 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1407 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1408 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1409 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1412
1413 2000-09-29 David Mosberger <davidm@hpl.hp.com>
1414
1415 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
1416
1417 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
1418
1419 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1420
1421 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
1422 works: call to __sigjmp_save must be done unconditionally to
1423 ensure jmp_buf is initialized properly.
1424
1425 2000-09-27 Andreas Jaeger <aj@suse.de>
1426
1427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
1428 2.4.0-test9-pre7.
1429
1430 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1431
1432 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
1433 Use nscd_ssize_t where appropriate.
1434 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
1435 ssize_t where appropriate.
1436 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1437 * nscd/hstcache.c (cache_addhst): Likewise.
1438 * nscd/grpcache.c (cache_addgr): Likewise.
1439 * sysdeps/generic/nscd-types.h: New file.
1440 * sysdeps/alpha/nscd-types.h: New file.
1441
1442 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1443
1444 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
1445 INADDR_LOOPBACK instead of numeric value.
1446
1447 2000-09-28 H.J. Lu <hjl@gnu.org>
1448
1449 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
1450 _dl_skip_args.
1451 (ELF_MACHINE_FIXED_STACK): Removed.
1452
1453 2000-09-29 Andreas Jaeger <aj@suse.de>
1454
1455 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
1456
1457 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
1458
1459 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
1460
1461 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
1462
1463 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1464
1465 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
1466 relocation also for R_ALPHA_RELATIVE.
1467 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
1468
1469 2000-09-18 Bruno Haible <haible@clisp.cons.org>
1470
1471 * intl/dcigettext.c: Outside libc, use local variable names that don't
1472 clash with those in libc.
1473 * intl/bindtextdom.c: Likewise.
1474 * intl/textdomain.c: Likewise.
1475
1476 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1477
1478 * elf/ldconfig.c (parse_conf): Print full name of config dir
1479 including chroot() path.
1480 (main): Remove trailing / from opt_chroot string.
1481
1482 * include/features.h: Correct description of what happens if no
1483 *_SOURCE macro is defined.
1484
1485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
1486 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
1487
1488 2000-09-19 H.J. Lu <hjl@gnu.org>
1489
1490 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
1491 * malloc/malloc.c (__memalign_hook): Likewise.
1492 (memalign_hook_ini): Likewise.
1493
1494 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1495
1496 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
1497
1498 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
1499 underlying functions directly.
1500
1501 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
1502 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
1503 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
1504 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
1506 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
1507 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1508
1509 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1510
1511 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
1512 define it for powerpc for kernel >= 2.4.0.
1513 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
1514 __ASSUME_32BITUIDS.
1515 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1516 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
1518 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
1519 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
1520 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
1521
1522 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
1523
1524 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
1525
1526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
1527 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1528
1529 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
1530
1531 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
1532 ucontext.h.
1533 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
1534
1535 2000-09-27 Andreas Schwab <schwab@suse.de>
1536
1537 * math/Makefile (distribute): Explicitly add the long double test
1538 sources, to get them included even if long double is not supported.
1539
1540 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1541
1542 * elf/soinit.c (struct object): Move definition to gccframe.h and
1543 include it. Problem identified by HJ Lu.
1544
1545 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
1546 struct object to be searched for frame unwind info.
1547 * sysdeps/generic/gccframe.h: New file. Generic version of
1548 struct object to be searched for frame unwind info.
1549
1550 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1551
1552 * manual/errno.texi: Correct error text for ENXIO.
1553 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1554
1555 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1556
1557 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1558 exception status bits rather than the exception disable bits.
1559 Don't include math.h.
1560
1561 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1562 status of exceptions currently raised rather than which exceptions
1563 are enabled.
1564
1565 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1566 rather than unsigned long int.
1567
1568 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1569 the exceptions actually requested by the caller and not just
1570 disable all exceptions.
1571
1572 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1573 the ia64 are enabled by clearing the respective bits in the fpsr,
1574 not setting them.
1575
1576 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1577 unsigned long int rather than unsigned long to be consistent with
1578 the coding conventions.
1579
1580 2000-09-20 H.J. Lu <hjl@gnu.org>
1581
1582 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1583 unsigned long int.
1584 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1585
1586 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1587
1588 * string/bits/string2.h: Unify #if usage.
1589
1590 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1591
1592 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1593 and disabling underflow or overflow, disable inexact as well.
1594
1595 2000-09-26 Andreas Jaeger <aj@suse.de>
1596
1597 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1598
1599 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1600
1601 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1602 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1603
1604 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1605 (create_links): Likewise.
1606
1607 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1608
1609 * posix/tst-dir.c: Test a few error cases of chdir.
1610
1611 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1612
1613 * math/math_private.h: Don't add long double prototypes if
1614 NO_LONG_DOUBLE is defined.
1615
1616 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1617 CLOCK_MONOTONIC.
1618 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1619 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1620
1621 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1622
1623 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1624
1625 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1626 * sysdeps/sparc/sparc32/ieee754.h: New.
1627 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1628 * sysdeps/sparc/bits/endian.h: ...here.
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1631 %o1, not %o0 to see if we're parent or child. Optimize.
1632
1633 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1634
1635 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1636 by Hans Boehm).
1637 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1638 code by Hans Boehm).
1639 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1640
1641 2000-09-20 H.J. Lu <hjl@gnu.org>
1642
1643 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1644
1645 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1646
1647 2000-09-17 H.J. Lu <hjl@gnu.org>
1648
1649 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1650
1651 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1652 sysdeps/i386/fpu/s_isinfl.c.
1653
1654 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1655 sysdeps/i386/fpu/s_isnanl.c.
1656
1657 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1658 sysdeps/i386/fpu/s_nextafterl.c.
1659
1660 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1661 sysdeps/i386/fpu/bits/mathdef.h.
1662
1663 2000-09-16 H.J. Lu <hjl@gnu.org>
1664
1665 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1666 DL_UNMAP_IS_SPECIAL is not defined.
1667
1668 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1669 (_dl_unmap): New prototype.
1670 (DL_UNMAP): New. Defined as _dl_unmap.
1671
1672 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1673
1674 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1675
1676 2000-09-16 H.J. Lu <hjl@gnu.org>
1677
1678 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1679 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1680
1681 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1682 prototype.
1683 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1684
1685 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1686 the memory location of a function from a function descriptor.
1687
1688 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1689
1690 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1691 memory location.
1692
1693 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1694
1695 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1696 variable as input argument.
1697 (__bswap_32): Likewise.
1698
1699 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1700 - found by Jim Wilson <wilson@cygnus.com>
1701
1702 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1703
1704 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1705 instead of 4.
1706
1707 2000-09-26 Andreas Schwab <schwab@suse.de>
1708
1709 * locale/programs/ld-collate.c (collate_output): Only require
1710 alignment on __alignof__ (int32_t) instead of 4.
1711 * locale/loadlocale.c (_nl_load_locale): Likewise.
1712 * string/strcoll.c: Likewise.
1713
1714 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1715
1716 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1717 parentheses around arithmetic used in | statement to kill compiler
1718 warning.
1719
1720 * math/math_private.h: Add prototype for __finitel.
1721 (__ilogbl): Likewise.
1722 (__isinfl): Likewise.
1723 (__isnanl): Likewise.
1724 (__atanl): Likewise.
1725 (__copysignl): Likewise.
1726 (__expm1l): Likewise.
1727 (__floorl): Likewise.
1728 (__frexpl): Likewise.
1729 (__ldexpl): Likewise.
1730 (__log1pl): Likewise.
1731 (__nanl): Likewise.
1732 (__rintl): Likewise.
1733 (__scalbnl): Likewise.
1734 (__sqrtl): Likewise.
1735 (fabsl): Likewise.
1736 (__sincosl): Likewise.
1737
1738 2000-09-26 Andreas Schwab <schwab@suse.de>
1739
1740 * sysdeps/m68k/fpu/libm-test-ulps: New file
1741
1742 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1743
1744 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1745
1746 2000-09-26 Andreas Jaeger <aj@suse.de>
1747
1748 * misc/mkstemp64.c: New file.
1749 * misc/Makefile (routines): Add mkstemp64.
1750 * stdlib/stdlib.h: Add prototype and redirection magic.
1751 * misc/Versions: Add mkstemp64.
1752
1753 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1754
1755 * nscd/dbg_log.c (dbg_log): Add missing format string.
1756
1757 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1758
1759 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1760 since we filter out the variable once.
1761 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1762 * locale/newlocale.c (__newlocale): Likewise.
1763 * locale/setlocale.c (setlocale): Likewise.
1764 * malloc/malloc.c (ptmalloc_init): Likewise.
1765 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1766 * resolv/res_init.c (__res_vinit): Likewise.
1767 * time/tzfile.c (__tzfile_read): Likewise.
1768 * sysdeps/generic/unsecvars.h: New file.
1769 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1770 * elf/rtld.c (process_envvars): Likewise.
1771 * elf/Makefile (distribute): Add unsecvars.h.
1772
1773 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1774 real /dev/null device.
1775
1776 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1777 * sysdeps/generic/device-nrs.h: New file.
1778 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1779 * misc/Makefile (distribute): Add device-nrs.h.
1780
1781 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1782 remove possible garbage at the end of the file.
1783
1784 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1785
1786 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1787 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1788 * stdio-common/tempnam.c: Warn about insecure tempnam.
1789 * misc/mktemp.c: Warn about insecure mktemp.
1790
1791 * sysdeps/generic/check_fds.c: Check that file opened is really
1792 /dev/null.
1793 * posix/wordexp.c (exec_comm_child): Likewise.
1794
1795 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1796
1797 * locale/Makefile (routines): Add nl_langinfo_l.
1798 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1799 * locale/nl_langinfo_l.c: New file.
1800 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1801 definition.
1802
1803 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1804
1805 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1806 (__gbk_to_ucs): Conditionalize private area mappings.
1807 (__gbk_from_ucs4_tab9): Likewise.
1808 (BODY for TO_LOOP): Likewise.
1809 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1810 * iconvdata/testdata/GBK..UTF-8: Likewise.
1811 * iconvdata/tst-tables.sh: Enable GBK test.
1812
1813 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1814
1815 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1816 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1817 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1818 array access.
1819 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1820 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1821
1822 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1823
1824 * iconvdata/johab.c (final_to_ucs): Fix typos.
1825 (jamo_from_ucs_table): Likewise.
1826 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1827 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1828 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1829 the range 0xD9E6..0xD9FE.
1830 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1831
1832 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1833
1834 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1835 GCONV_PATH.
1836
1837 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1838
1839 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1840 stream is in wide mode.
1841
1842 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1843
1844 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1845
1846 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1847 by 3, not 2.
1848 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1849
1850 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1851
1852 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1853 reallocation logic for MALLOC (%as, %aS formats).
1854
1855 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1856
1857 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1858 Add missing case in va_arg handling for numbers.
1859 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1860 handling.
1861 * stdio/tst-printf.sh: Adjust expected results.
1862 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1863
1864 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1865
1866 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1867 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1868 characters.
1869 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1870 as equivalent to uppercase hexadecimal digits.
1871
1872 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1873
1874 * iconvdata/testdata/EUC-KR..UTF8: New file.
1875 * iconvdata/testdata/EUC-TW: New file.
1876 * iconvdata/testdata/EUC-TW..UTF8: New file.
1877 * iconvdata/testdata/EUC-JP: New file.
1878 * iconvdata/testdata/EUC-JP..UTF8: New file.
1879 * iconvdata/testdata/ISO-2022-JP: New file.
1880 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1881 * iconvdata/testdata/ISO-2022-JP-2: New file.
1882 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1883 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1884 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1885 * iconvdata/testdata/ISO-2022-CN: New file.
1886 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1887 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1888 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1889 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1890 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1891
1892 2000-09-24 Andreas Jaeger <aj@suse.de>
1893
1894 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1895 function add_single_dir.
1896 (add_single_dir): New function.
1897 (search_dir): Use add_single_dir instead of recursing.
1898
1899 * sysdeps/generic/dl-cache.h: Include stdint.h.
1900 (struct file_entry_new): Use fixed sizes for interoperability
1901 between 32bit and 64bit systems, add __unused to make alignment
1902 explicit.
1903 (CACHE_VERSION): Increment.
1904 (struct cache_file_new): Use fixed sizes, add one more unused
1905 entry to make alignment explicit.
1906
1907 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1908
1909 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1910
1911 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1912
1913 * stdio-common/printf-parse.h (parse_one_spec): Clear
1914 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1915
1916 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1917
1918 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1919 #undef since we don't have msync.
1920
1921 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1922 constant since that is what clock_t is.
1923 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1924
1925 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1926
1927 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1928 multiply by LOAD_SCALE.
1929
1930 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1931
1932 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1933 (crypt_r, setkey_r, encrypt_r): Likewise.
1934
1935 2000-09-22 Andreas Jaeger <aj@suse.de>
1936
1937 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1938 array size.
1939
1940 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1941 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1942
1943 2000-09-21 Andreas Jaeger <aj@suse.de>
1944
1945 * math/libm-test.inc (atan_test): Test for existence of function.
1946 (expm1_test): Likewise.
1947 (acos_test): Likewise.
1948 (asin_test): Likewise.
1949 (exp_test): Likewise.
1950 (log10_test): Likewise.
1951 (log_test): Likewise.
1952 (pow_test): Likewise.
1953 (sqrt_test): Likewise.
1954 (cos_test): Likewise.
1955 (sin_test): Likewise.
1956 (tan_test): Likewise.
1957 (log1p_test): Likewise.
1958 (log2_test): Likewise.
1959
1960 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1961
1962 * libio/oldiofsetpos64.c: Fix alias names.
1963
1964 2000-09-21 Martin Buchholz <martin@xemacs.org>
1965
1966 * manual/terminal.texi (Allocation): Sample code correction.
1967
1968 2000-09-20 Andreas Jaeger <aj@suse.de>
1969
1970 * iconvdata/Makefile (generated): Add tst-tables.out.
1971
1972 * intl/Makefile (generated): Add test output.
1973
1974 2000-09-19 Andreas Jaeger <aj@suse.de>
1975
1976 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1977 Reported by Jens-Uwe Mager <jum@helios.de>.
1978
1979 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1980
1981 * version.h (VERSION): Bump to 2.1.94.
1982
1983 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1984 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1985 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1986 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1987
1988 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1989
1990 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1991
1992 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1993 range 0xD800..0xDFFF.
1994 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1995 (BODY for FROM_LOOP): Likewise.
1996 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1997 (internal_ucs2_loop): Likewise.
1998 (ucs2reverse_internal_loop): Likewise.
1999 (internal_ucs2reverse_loop): Likewise.
2000
2001 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2002
2003 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
2004 names.
2005
2006 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2007
2008 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
2009 * iconvdata/tst-table-to.c (main): Likewise.
2010
2011 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2012
2013 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
2014 __isoir165_tab.
2015 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
2016 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
2017 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
2018 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
2019 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
2020 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
2021 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
2022 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
2023 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
2024 encodings when needed. When outputting an announcement, don't clear
2025 most other announcements.
2026
2027 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2028
2029 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
2030 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
2031
2032 2000-09-14 Bruno Haible <haible@clisp.cons.org>
2033
2034 * intl/Versions: Add bind_textdomain_codeset.
2035
2036 2000-09-16 Ralf Baechle <ralf@gnu.org>
2037
2038 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
2039 as function.
2040 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
2041 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
2042 it will even work when not loaded to the standard address.
2043 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
2044 before the dynamic linker itself is relocated.
2045
2046 2000-09-18 Andreas Jaeger <aj@suse.de>
2047
2048 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
2049 __ASSUME_32BITUIDS for MIPS.
2050 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
2051 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
2052
2053 2000-09-17 H.J. Lu <hjl@gnu.org>
2054
2055 * catgets/Makefile ($(objpfx)de/libc.cat): Use
2056 $(make-target-directory) instead of mkdir.
2057
2058 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2059
2060 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
2061 __ASSUME_32BITUIDS for __powerpc__.
2062 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
2063 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
2064
2065 2000-09-17 Ulrich Drepper <drepper@redhat.com>
2066
2067 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
2068 patch.
2069 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2070
2071 2000-09-16 Jakub Jelinek <jakub@redhat.com>
2072
2073 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
2074 first.
2075 * sysdeps/m68k/Implies: Likewise.
2076 * sysdeps/sparc/sparc64/Implies: Likewise.
2077
2078 2000-09-16 Jakub Jelinek <jakub@redhat.com>
2079
2080 * elf/readlib.c (process_file): Don't error for stale .so links either.
2081
2082 2000-09-16 Ulrich Drepper <drepper@redhat.com>
2083
2084 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
2085 __builtin_expect.
2086
2087 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
2088 Patch by Thorsten Kukuk <kukuk@suse.de>.
2089
2090 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
2091 (test): Add default.
2092 (modules-names): Add defaultmod1 and defaultmod2.
2093 Add rules to build test objects.
2094
2095 2000-09-15 Ulrich Drepper <drepper@redhat.com>
2096
2097 * wctype/wctype.h: Always include <bits/types.h>.
2098 Reported by Jim Meyering <meyering@ascend.com>.
2099
2100 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
2101 * elf/dl-support.c: Likewise.
2102
2103 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
2104 st_blocks member in stat and stat64 structs.
2105 Patch by Bill Nottingham <notting@redhat.com>.
2106
2107 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
2108 take longer.
2109
2110 * math/complex.h: Don't define _Complex macro for gcc 3. Add
2111 __extension__ to _Complex_I definition since gcc warns if -pedantic.
2112 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
2113 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2114
2115 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
2116 necessary. Move includes of POSIX and Unix limits files to the end.
2117 * stdlib/Makefile (tests): Add tst-limits.
2118 * stdlib/tst-limits.h: New file.
2119
2120 2000-09-15 Andreas Jaeger <aj@suse.de>
2121
2122 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
2123
2124 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
2125
2126 2000-09-15 Jakub Jelinek <jakub@redhat.com>
2127
2128 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
2129 clobber.
2130 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2131 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
2132
2133 2000-09-15 Ulrich Drepper <drepper@redhat.com>
2134
2135 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
2136 (tests): Add next.
2137 (modules-names): Add nextmod1 and nextmod2.
2138 Add rules to build and run next.
2139 * elf/next.c: New file.
2140 * elf/nextmod1.c: New file.
2141 * elf/nextmod2.c: New file.
2142
2143 2000-09-14 Jakub Jelinek <jakub@redhat.com>
2144
2145 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
2146
2147 2000-09-15 Andreas Jaeger <aj@suse.de>
2148
2149 * sysdeps/mips/fpu/fenv_libc.h: New file.
2150 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
2151 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
2152 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
2153
2154 * sysdeps/mips/fpu/feenablxcpt.c: New file.
2155 * sysdeps/mips/fpu/fegetexcept.c: New file.
2156 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
2157
2158 2000-09-14 Ulrich Drepper <drepper@redhat.com>
2159
2160 * intl/Makefile: Avoid unnecessary test reruns.
2161
2162 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
2163
2164 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
2165 to not use sysctl(). Too many architectures have problems with it.
2166
2167 2000-09-14 Andreas Jaeger <aj@suse.de>
2168
2169 * scripts/config.sub: New version from subversions.gnu.org.
2170
2171 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
2172 long.
2173
2174 2000-09-14 Jakub Jelinek <jakub@redhat.com>
2175
2176 * posix/regex.c (compile_range): Cast collseq index to unsigned char
2177 to avoid accessing data before collseq.
2178
2179 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
2180 pasting strings together.
2181
2182 2000-09-14 Greg McGary <greg@mcgary.org>
2183
2184 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
2185 copyright notice.
2186 * sysdeps/generic/bp-semctl.h: Likewise.
2187 * sysdeps/generic/bp-start.h: Likewise.
2188 * sysdeps/generic/bp-sym.h: Likewise.
2189 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
2190 rename prototype.
2191
2192 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2193
2194 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
2195 don't fail.
2196
2197 * elf/elf.h: Add missing official relocations.
2198
2199 * libio/stdio.h: Define __FILE if __need___FILE is defined.
2200 * stdio/stdio.h: Likewise.
2201 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
2202 * include/stdio.h: Handle __need___FILE like __need_FILE.
2203 * include/wchar.h: Use __FILE instead of FILE.
2204 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
2205 * libio/fwscanf.c: Likewise.
2206 * libio/getwc.c: Likewise.
2207
2208 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
2209 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
2210 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
2211
2212 * assert/assert.h: Update comment header about ISO C section.
2213 * math/complex.h: Likewise.
2214 * ctype/ctype.h: Likewise.
2215 * include/errno.h: Likewise.
2216 * include/limits.h: Likewise.
2217 * locale/locale.h: Likewise.
2218 * math/math.h: Likewise.
2219 * setjmp/setjmp.h: Likewise.
2220 * signal/signal.h: Likewise.
2221 * stdio/stdio.h: Likewise.
2222 * libio/stdio.h: Likewise.
2223 * stdlib/stdlib.h: Likewise.
2224 * string/string.h: Likewise.
2225 * time/time.h: Likewise.
2226 * wcsmbs/wchar.h: Likewise.
2227 * wctype/wctype.h: Likewise.
2228 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2229
2230 2000-09-13 Andreas Jaeger <aj@suse.de>
2231
2232 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
2233 for no more entries.
2234 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
2235 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
2236 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
2237
2238 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2239
2240 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
2241 constant since this is what clock_t is.
2242 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2243 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2244 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2245 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
2246
2247 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
2248 definitions are requested.
2249
2250 2000-09-13 Andreas Jaeger <aj@suse.de>
2251
2252 * shlib-versions: libBrokenLocale needs minimal version for ia64,
2253 sparc64 and sh to synch with libc.
2254
2255 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2256
2257 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
2258 (distribute): Add iso-2022-cn-ext.c.
2259 Add definitions to compile the new module.
2260 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
2261 * iconvdata/iso-2022-cn-ext.c: New file.
2262 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
2263 ucs4_from_isoir165. Increment input pointer if successful.
2264
2265 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
2266
2267 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2268
2269 2000-09-01 Jes Sorensen <jes@linuxcare.com>
2270
2271 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
2272 __syscall_getdents64 wrapper.
2273
2274 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2275
2276 2000-09-12 Ulrich Drepper <drepper@redhat.com>
2277
2278 * iconvdata/gb18030.c: Many many changes. Make consistent with
2279 charmap and with itself.
2280 * iconvdata/tst-tables.sh: Test GB18030.
2281
2282 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2283
2284 * iconv/skeleton.c: Fix last patch, add missing parameter to
2285 unaligned function call.
2286
2287 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2288
2289 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
2290 of decimal ellipsis.
2291
2292 2000-09-11 Bruno Haible <haible@clisp.cons.org>
2293
2294 * locale/programs/ld-collate.c (collate_read): Always initialize
2295 error_section.next.
2296
2297 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2298
2299 * locale/programs/ld-collate.c (collate_finish): Upper bound for
2300 ruleidx is 128, not 256.
2301
2302 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2303
2304 * locale/programs/ld-collate.c (collate_read): Correct check for
2305 already inserted entries.
2306
2307 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2308
2309 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
2310 second try as well.
2311
2312 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2313
2314 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
2315 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
2316
2317 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2318
2319 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
2320 SAVE_RESET_STATE.
2321
2322 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2323
2324 * iconvdata/utf-7.c: New file.
2325 * iconvdata/gconv-modules (UTF-7): New module entries.
2326 * iconvdata/Makefile (modules): Add UTF-7.
2327 (distribute): Add utf-7.c.
2328 * iconvdata/testdata/UTF-7: New file.
2329 * iconvdata/testdata/UTF-7..UTF8: New file.
2330 * iconvdata/TESTS (UTF-7): New entry.
2331 * iconvdata/run-iconv-test.sh: Fix confusing output.
2332
2333 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2334
2335 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
2336
2337 2000-09-10 David S. Miller <davem@redhat.com>
2338
2339 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
2340 frame pointer offset for non-fast path.
2341
2342 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2343
2344 * locale/programs/3level.h (*_init): Initialize level1, level2,
2345 and level3 as well.
2346 (*_add): Remove a few unnecessary conditionals.
2347
2348 2000-09-05 Wolfram Gloger <wg@malloc.de>
2349
2350 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
2351 ensure usability of mutex as an `in use' flag.
2352
2353 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2354
2355 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
2356
2357 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
2358 ugly GMON_WEAK_START hack.
2359 Patch by Philip Blundell <philb@gnu.org>.
2360
2361 * sysdeps/i386/i486/bits/string.h: Pretty printing.
2362
2363 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2364
2365 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
2366 and PPC_ICBI asm for broken compilers.
2367 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2368
2369 2000-09-09 Andreas Jaeger <aj@suse.de>
2370
2371 * manual/message.texi (Advanced gettext functions): Fix typo.
2372
2373 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
2374 strncpy prototype.
2375
2376 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2377
2378 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
2379 warnings.
2380 * sysdeps/ia64/memccpy.S: Likewise.
2381 Patches by Jim Wilson <wilson@redhat.com>.
2382
2383 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
2384 before trying to read /proc.
2385 Patch by Matt Wilson <msw@redhat.com>.
2386 * include/sys/utsname.h: Declare __uname.
2387 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
2388 * sysdeps/mach/hurd/uname.c: Likewise.
2389 * sysdeps/unix/syscalls.list: Likewise.
2390
2391 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
2392 unloading a bit.
2393
2394 2000-09-08 Ulrich Drepper <drepper@redhat.com>
2395
2396 * posix/getopt.c (_getopt_internal): When long_only is set always
2397 recognize conflicts just like before.
2398
2399 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2400
2401 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
2402
2403 2000-09-08 Greg McGary <greg@mcgary.org>
2404
2405 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
2406 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
2407 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2408
2409 2000-09-08 Andreas Jaeger <aj@suse.de>
2410
2411 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
2412
2413 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
2414
2415 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
2416 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2417 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2418
2419 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2420
2421 * iconvdata/tst-tables.sh: Enable EUC-KR test.
2422
2423 * elf/dl-load.c (lose): Decrement _nl_loaded.
2424 (_dl_map_object_from_fd): Don't try to dlopen executables.
2425
2426 * iconvdata/tst-tables.sh: Actually return with an error if
2427 something goes wrong.
2428 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
2429 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
2430
2431 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
2432
2433 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
2434 * iconvdata/tst-table-from.c: Include <string.h>.
2435 (try): Correct cast in iconv call.
2436
2437 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
2438 too.
2439 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
2440 (sysdep_routines): Remove dl-start.
2441 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2442
2443 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
2444
2445 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
2446 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2447
2448 2000-09-06 Andreas Schwab <schwab@suse.de>
2449
2450 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
2451
2452 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2453
2454 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
2455
2456 * scripts/config.sub: Strip out -unknown for Linux targets.
2457 Patch by Scott Bambrough <scottb@netwinder.org>.
2458
2459 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
2460 add one more test.
2461
2462 2000-09-07 Andreas Jaeger <aj@suse.de>
2463
2464 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
2465
2466 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
2467 syscalls.
2468
2469 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
2470
2471 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
2472 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2473
2474 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
2475
2476 * stdlib/tst-bsearch.c (main): Add more test cases.
2477
2478 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
2479 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2480 Reported by GOTO Masanori <gotom@debian.or.jp>.
2481
2482 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2483
2484 * posix/Makefile (tests): Add tst-dir.
2485 (tst-dir-ARGS): New variable.
2486 * posix/tst-dir.c: New file.
2487
2488 2000-09-07 Andreas Jaeger <aj@suse.de>
2489
2490 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
2491 (SYS_fcntl64): New.
2492
2493 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
2494
2495 2000-09-06 Ulrich Drepper <drepper@redhat.com>
2496
2497 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
2498 use the hack with tryopen_o_directory to determine at runtime
2499 whether it works.
2500 * sysdeps/unix/sysv/linux/opendir.c: New file.
2501 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2502 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
2503
2504 * catgets/Depend: New file. Add intl.
2505 * catgets/Makefile (tests): Add tst-catgets.
2506 (generated): Remove de.msg.
2507 (generated-dirs): Add de.
2508 Add dependency if tst-catgets output on de/libc.cat.
2509 * catgets/tst-catgets.c: New file.
2510
2511 * po/ja.po: New file.
2512 * po/el.po: Update from translation team.
2513
2514 * wcsmbs/Depend: New file.
2515 * wcsmbs/Makefile (tests): Add tst-btowc.
2516 (tst-btowc-ENV): Define.
2517 * wcsmbs/tst-btowc.c: New file.
2518
2519 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
2520 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2521
2522 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2523
2524 * stdlib/Makefile (tests): Add tst-bsearch.
2525 * stdlib/tst-bsearch.c: New file.
2526
2527 * posix/getopt.c (_getopt_internal): Don't recognize an option
2528 name as ambiguous if it's a prefix for more than one name but the
2529 other struct option values are identical.
2530
2531 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
2532 Don't depend on visual inspection of the output file to recognize
2533 errors.
2534 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2535
2536 2000-09-06 Andreas Jaeger <aj@suse.de>
2537
2538 * sysdeps/alpha/soft-fp/Dist: New file.
2539 * sysdeps/i386/soft-fp/Dist: New file.
2540 * sysdeps/mips/mips64/soft-fp/Dist: New file.
2541 * sysdeps/mips/soft-fp/Dist: New file.
2542 * sysdeps/powerpc/soft-fp/Dist: New file.
2543 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
2544 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
2545
2546 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
2547 Use sysdep_routines instead of routines to fix make dist failure.
2548 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
2549 out code).
2550 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2551
2552 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2553 sysdep_headers instead of headers for make dist.
2554
2555 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2556 Likewise.
2557
2558 2000-09-06 Andreas Schwab <schwab@suse.de>
2559
2560 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2561
2562 2000-09-06 Andreas Jaeger <aj@suse.de>
2563
2564 * soft-fp/Makefile (distribute): Remove ChangeLog.
2565
2566 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2567 sysdep_routines instead of routines for make dist.
2568
2569 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2570
2571 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2572 compatibility check for old stream and call _IO_wide in doubt.
2573 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2574 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2575 needed tst for such an old structure and don't do anything.
2576 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2577
2578 2000-09-06 Andreas Jaeger <aj@suse.de>
2579
2580 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2581 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2582 and dl-routines.
2583
2584 * soft-fp/ChangeLog: Merged with this file.
2585
2586 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2587
2588 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2589
2590 * soft-fp/Makefile (distribute): Add the math functions, too.
2591
2592 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2593
2594 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2595
2596 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2597 as a statement.
2598
2599 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2600 * soft-fp/sysdeps/powerpc/q_*: New files.
2601
2602 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2603
2604 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2605 in wide char case correctly. Don't allocate too long temporary
2606 strings with alloca.
2607
2608 * stdio-common/Makefile (tests): Add tst-swprintf.
2609 (tst-swprintf-ENV): New variable.
2610 * stdio-common/tst-swprintf.c: New file.
2611
2612 2000-09-05 Andreas Jaeger <aj@suse.de>
2613
2614 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2615 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2616 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2617
2618 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2619
2620 * configure.in: Strip out "unknown" from configuration names.
2621
2622 2000-09-05 Andreas Jaeger <aj@suse.de>
2623
2624 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2625
2626 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2627 * sysdeps/sparc/sparc32/Implies: Likewise.
2628 * sysdeps/powerpc/Implies: Likewise.
2629
2630 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2631 * libio/oldiofgetpos64.c: Likewise.
2632
2633 * soft-fp/Makefile (distribute): Remove configure.
2634
2635 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2636
2637 * soft-fp/configure: Remove.
2638
2639 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2640 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2641
2642 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2643 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2644
2645 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2646 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2647
2648 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2649 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2650
2651 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2652 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2653
2654 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2655 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2656
2657 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2658 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2659
2660 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2661 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2662
2663 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2664 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2665
2666 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2667 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2668
2669 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2670 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2671
2672 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2673 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2674
2675 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2676 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2677
2678 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2679 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2680
2681 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2682 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2683
2684 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2685 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2686
2687 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2688 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2689
2690 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2691 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2692
2693 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2694 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2695
2696 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2697 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2698
2699 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2700 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2701
2702 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2703 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2704
2705 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2706 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2707
2708 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2709 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2710
2711 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2712 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2713
2714 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2715 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2716
2717 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2718 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2719
2720 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2721 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2722
2723 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2724 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2725
2726 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2727 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2728
2729 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2730 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2731
2732 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2733 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2734
2735 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2736 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2737
2738 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2739 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2740
2741 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2742 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2743
2744 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2745 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2746
2747 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2748 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2749
2750 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2751 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2752
2753 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2754 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2755
2756 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2757 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2758
2759 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2760 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2761
2762 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2763 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2764
2765 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2766 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2767
2768 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2769 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2770
2771 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2772 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2773
2774 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2775 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2776
2777 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2778 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2779
2780 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2781 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2782
2783 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2784 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2785
2786 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2787 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2788
2789 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2790 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2791
2792 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2793 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2794
2795 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2796 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2797
2798 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2799 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2800
2801 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2802 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2803
2804 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2805 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2806
2807 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2808 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2809
2810 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2811 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2812
2813 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2814 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2815
2816 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2817 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2818
2819 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2820 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2821
2822 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2823 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2824
2825 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2826 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2827
2828 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2829 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2830
2831 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2832 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2833
2834 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2835 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2836
2837 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2838 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2839
2840 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2841 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2842
2843 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2844 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2845
2846 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2847 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2848
2849 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2850 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2851
2852 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2853 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2854
2855 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2856 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2857
2858 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2859 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2860
2861 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2862 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2863
2864 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2865 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2866
2867 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2868 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2869
2870 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2871 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2872
2873 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2874 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2875
2876 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2877 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2878
2879 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2880 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2881
2882 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2883 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2884
2885 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2886 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2887
2888 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2889 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2890
2891 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2892 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2893
2894 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2895 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2896
2897 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2898 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2899
2900 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2901 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2902
2903 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2904 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2905
2906 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2907 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2908
2909 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2910 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2911
2912 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2913 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2914
2915 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2916 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2917
2918 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2919 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2920
2921 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2922 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2923
2924 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2925 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2926
2927 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2928 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2929
2930 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2931 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2932
2933 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2934 change symbol version.
2935 * libio/oldiofgetpos64.c: Likewise.
2936 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2937
2938 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2939 typo.
2940 Reported by dyky@kondara.org, closes PR libc/1886.
2941
2942 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2943 libc/1880.
2944
2945 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2946
2947 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2948 script when ^C is hit.
2949
2950 * locale/programs/localedef.c (construct_output_path): Correct
2951 computation of endp after asprintf.
2952 * locale/programs/locfile.c (write_locale_data): Don't add extra
2953 slash in filename.
2954
2955 2000-09-05 Andreas Jaeger <aj@suse.de>
2956
2957 * scripts/config.guess: New upstream version.
2958 * scripts/config.sub: Likewise.
2959 * manual/texinfo.tex: Likewise.
2960
2961 2000-09-04 Andreas Schwab <schwab@suse.de>
2962
2963 * elf/Makefile (all-dl-routines): New variable.
2964 (elide-routines.os): Use it instead of $(dl-routines).
2965 (all-rtld-routines): New variable.
2966 (extra-objs): Use it instead of $(rtld-routines).
2967 ($(objpfx)dl-allobjs.os): Likewise.
2968 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2969 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2970 and dl-routines.
2971
2972 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2973
2974 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2975 Set fname to NULL if the module wasn't found.
2976
2977 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2978
2979 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2980 true if trans->name already ends in ".so".
2981
2982 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2983
2984 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2985 void.
2986 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2987 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2988 (__gconv_release_shlib): Change return type to void.
2989 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2990 step->__counter here.
2991 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2992 if the reference is zero.
2993 (release_step): New function.
2994 (gen_steps): Always initialize the __counter to 1. Use release_step.
2995 Don't call the destructor on the step whose initializer failed.
2996 (increment_counter): Use release_step. Don't normally run destructors
2997 here.
2998 (__gconv_close_transform): Use release_step.
2999
3000 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3001
3002 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
3003 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
3004
3005 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3006
3007 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
3008 If the first byte is 0x8E, don't ask for 4 bytes until it has been
3009 verified that the second byte is valid. Leave it to cns11643_to_ucs4
3010 to check for incomplete input.
3011 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
3012 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
3013 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
3014 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
3015 0x9f9d..0x9fa5.
3016 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
3017 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
3018 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
3019 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
3020 upto index 0x0052.
3021
3022 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3023
3024 * iconv/gconv_db.c (find_derivation): Always use the least-cost
3025 solution.
3026
3027 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3028
3029 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
3030 are invalid.
3031
3032 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3033
3034 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
3035 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
3036 U+007E.
3037
3038 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3039
3040 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
3041
3042 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3043
3044 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
3045
3046 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3047
3048 * iconvdata/tst-tables.sh: New file.
3049 * iconvdata/tst-table.sh: New file.
3050 * iconvdata/tst-table-from.c: New file.
3051 * iconvdata/tst-table-to.c: New file.
3052 * iconvdata/tst-table-charmap.sh: New file.
3053 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
3054 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
3055 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
3056 ISIRI-3342.irreversible, SJIS.irreversible.
3057 (tests): Add dependency on tst-tables.out.
3058 (tst-tables.out, tst-tables-clean): New rules.
3059 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
3060 * iconvdata/ISIRI-3342.irreversible: New file.
3061 * iconvdata/EUC-JP.irreversible: New file.
3062 * iconvdata/SJIS.irreversible: New file.
3063
3064 2000-09-04 Ulrich Drepper <drepper@redhat.com>
3065
3066 * manual/locale.texi (General Numeric): Update description of
3067 representation of the grouping information in the locale data.
3068 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
3069
3070 2000-09-04 Andreas Jaeger <aj@suse.de>
3071
3072 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
3073 * iconv/iconv_prog.c (options): Fix typo.
3074 Reported by dyky@kondara.org, closes PR libc/1885.
3075
3076 2000-09-04 Andreas Jaeger <aj@suse.de>
3077
3078 * sysdeps/generic/fegetenv.c: It's __fegetenv.
3079 Reported by Rob Levin <lilo@transvirtual.com>.
3080
3081 2000-09-03 Ulrich Drepper <drepper@redhat.com>
3082
3083 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
3084 to the typedefs of __timezone_ptr_t.
3085 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
3086
3087 2000-09-02 Jakub Jelinek <jakub@redhat.com>
3088
3089 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
3090 the loop.
3091
3092 2000-09-01 H.J. Lu <hjl@gnu.org>
3093
3094 * Makeconfig (built-program-cmd): Don't use the dynamic linker
3095 to run a binary if it is in $(tests-static).
3096
3097 * Rules (binaries-static): Add $(tests-static).
3098
3099 2000-09-02 Andreas Jaeger <aj@suse.de>
3100
3101 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
3102
3103 * libio/fmemopen.c (fmemopen_close): Revert one part of last
3104 patch.
3105
3106 2000-09-01 Ulrich Drepper <drepper@redhat.com>
3107
3108 * iconvdata/big5hkscs.c: Regenerated from charmap.
3109 * iconvdata/testdata/BIG5HKSCS: Regenerated.
3110 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
3111
3112 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
3113 statement. General cleanup.
3114
3115 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3116
3117 * wctype/wcfuncs.c (iswblank): New function.
3118 * wctype/wcfuncs_l.c (__iswblank_l): New function.
3119 * wctype/wcextra.c: Remove file.
3120 * wctype/wcextra_l.c: Remove file.
3121 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
3122
3123 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3124
3125 * locale/programs/ld-collate.c (collate_output): Remove redundant
3126 assert call.
3127 * string/strcoll.c: Likewise.
3128 * string/strxfrm.c: Include assert.h. Add assert calls like in
3129 string/strcoll.c.
3130
3131 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3132
3133 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
3134 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
3135 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
3136 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
3137 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
3138 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
3139 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
3140 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
3141 _NL_CTYPE_GAP5/6 respectively.
3142
3143 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
3144 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
3145 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
3146 Don't initialize __ctype_names and __ctype_width.
3147 * wctype/cname-lookup.h: Remove file.
3148 * wctype/Makefile (distribute): Remove cname-lookup.h.
3149 * wctype/wchar-lookup.h: Include stdint.h.
3150 * wctype/wctype.c (__wctype): Assume new locale format.
3151 * wctype/wctype_l.c (__wctype_l): Likewise.
3152 * wctype/iswctype.c: Don't include cname-lookup.h.
3153 (__iswctype): Assume new locale format.
3154 * wctype/iswctype_l.c: Don't include cname-lookup.h.
3155 (__iswctype_l): Assume new locale format.
3156 * wctype/wctrans.c: Don't include ctype.h.
3157 (wctrans): Assume new locale format.
3158 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3159 * wctype/towctrans.c: Don't include cname-lookup.h.
3160 (__towctrans): Assume new locale format.
3161 * wctype/towctrans_l.c: Don't include cname-lookup.h.
3162 (__towctrans_l): Assume new locale format.
3163 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
3164 localeinfo.h instead.
3165 (__NO_WCTYPE): Remove unused macro.
3166 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
3167 declarations.
3168 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
3169 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
3170 (towlower, towupper): Likewise.
3171 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
3172 localeinfo.h instead.
3173 (__NO_WCTYPE): Remove unused macro.
3174 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3175 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3176 __iswxdigit_l): Assume new locale format.
3177 (__towlower_l, __towupper_l): Likewise.
3178 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
3179 (__ctype32_b): Remove declaration.
3180 (internal_wcwidth): Assume new locale format.
3181 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
3182 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
3183 to map32_b, rename width_3level to width.
3184 (ctype_output): Always create new locale format. Don't emit
3185 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
3186 (allocate_arrays): Always create new locale format.
3187
3188 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
3189 * locale/weightwc.h (findidx): Assume new locale format.
3190 * string/strcoll.c (wcscoll): Remove local variables size, layers,
3191 names.
3192 * string/strxfrm.c (wcsxfrm): Likewise.
3193 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
3194 local variable collseq to 'const char *'.
3195 (SUFFIX): Don't use, don't undefine.
3196 * posix/fnmatch.c: Remove SUFFIX definition.
3197 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
3198 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
3199 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
3200 (collate_finish): Always create new locale format. Remove local
3201 variables min_total, act_size.
3202 (collate_output): Always create new locale format. Remove local
3203 variables table_size, names, tablewc. Rename tablewc_3level to
3204 tablewc.
3205
3206 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3207
3208 * locale/programs/ld-collate.c (obstack_int32_grow,
3209 obstack_int32_grow_fast): New inline functions.
3210 (output_weightwc, collate_output): Use them where possible.
3211
3212 2000-09-01 Ulrich Drepper <drepper@redhat.com>
3213
3214 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
3215 patch (_mode -> _flags).
3216
3217 * libio/Makefile (headers): Add stdio_ext.h.
3218 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
3219 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
3220 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
3221 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
3222 __fsetlocking, and _flushlbf.
3223 * libio/__fbufsize.c: New file.
3224 * libio/__flbf.c: New file.
3225 * libio/__fpending.c: New file.
3226 * libio/__fpurge.c: New file.
3227 * libio/__freadable.c: New file.
3228 * libio/__freading.c: New file.
3229 * libio/__fsetlocking.c: New file.
3230 * libio/__fwritable.c: New file.
3231 * libio/__fwriting.c: New file.
3232 * libio/stdio_ext.h: New file.
3233 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
3234 * libio/libio.h (_IO_USER_LOCK): Define.
3235 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
3236 test _IO_USER_LOCK flag first.
3237
3238 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
3239 malloc fails.
3240
3241 2000-09-01 Andreas Jaeger <aj@suse.de>
3242
3243 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
3244
3245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
3246
3247 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3248
3249 * math/Makefile (tests): Add tst-defintions.
3250 * math/tst-definitions.c: New file.
3251
3252 * stdlib/Makefile (headers): Add bits/wchar.h.
3253 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
3254 * sysdeps/generic/bits/wchar.h: New file.
3255 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
3256 file to define WCHAR_MIN and WCHAR_MAX.
3257 Change UINT*8_MAX and UIN*16_MAX value to type int.
3258 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
3259 file to define WCHAR_MIN and WCHAR_MAX.
3260 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
3261 int values.
3262 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
3263 * sysdeps/generic/bits/mathdef.h: Likewise.
3264 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3265 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3266 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
3267 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3268 * locale/locale.h (struct lconv): Add __ prefix to the new members
3269 if not C99.
3270 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
3271 imaxdiv optimizations.
3272 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
3273 * sysdeps/wordsize-64/ldiv.c: Likewise.
3274 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
3275 const fenv_t*.
3276 * sysdeps/generic/bits/fenv.h: Likewise.
3277 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3278 * sysdeps/ia64/bits/fenv.h: Likewise.
3279 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3280 * sysdeps/mips/bits/fenv.h: Likewise.
3281 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3282 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3283 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3284
3285 * inet/rcmd.c: Use *stat64 instead of *stat internally.
3286 * inet/ruserpass.c: Likewise.
3287 * catgets/open_catalog.c: Likewise.
3288 * intl/loadmsgcat.c: Likewise.
3289 * io/getdirname.c: Likewise.
3290 * locale/loadlocale.c: Likewise.
3291 * misc/getusershell.c: Likewise.
3292 * stdlib/canonicalize.c: Likewise.
3293 * sysdeps/posix/euidaccess.c: Likewise.
3294 * sysdeps/posix/isfdtype.c: Likewise.
3295 * sysdeps/posix/posix_fallocate.c: Likewise.
3296 * sysdeps/posix/tempname.c: Likewise.
3297 * sysdeps/unix/grantpt.c: Likewise.
3298 * sysdeps/unix/opendir.c: Likewise.
3299 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
3300 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
3301 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3302 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
3303 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3304 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3305 * sysvipc/ftok.c: Likewise.
3306 * time/getdate.c: Likewise.
3307
3308 * time/getdate.c: Add extra access test.
3309
3310 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3311
3312 * version.h (VERSION): Bump to 2.1.93.
3313
3314 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
3315 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
3316
3317 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
3318 Make this a new rule depending on tst-gettext.out and run mtrace.
3319 * intl/tst-gettext.c: Call mtrace.
3320 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
3321
3322 * elf/dl-reloc.c: Add a few more __builtin_expect.
3323
3324 * configure.in: Remove --with-gettext option.
3325
3326 * intl/dcigettext.c (free_mem): Correct freeing of
3327 _nl_domain_bindings list.
3328
3329 * sysdeps/generic/setenv.c (free_mem): New function. Free all
3330 allocated memory.
3331
3332 * intl/locale.alias: Add aliases for bokmal and nynorsk.
3333
3334 * locale/iso-639.def: Fix 639-1 code for Bokmal.
3335
3336 * stdio-common/itoa-digits.c: Move upper digits to...
3337 * stdio-common/itoa-udigits.c: ...here. New file.
3338 * stdio-common/Makefile (routines): Add itoa-udigits.
3339
3340 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
3341 relocate ld.so don't add supprt for relocations which should not
3342 appear in ld.so.
3343
3344 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
3345 __secure_getenv. Instead test __libc_enable_secure once.
3346
3347 * io/pwd.c (main): Provide a good example, use *_unlocked function.
3348
3349 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3350
3351 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
3352 whether the new record should be freed if it's a duplicate.
3353 (add_module): Adjust insert_module call.
3354 (__gconv_read_conf): Likewise.
3355 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
3356 mtrace-tst-loading.
3357 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
3358
3359 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
3360 _dl_all_init_dirs.
3361 * include/link.h (struct r_search_path_struct): New.
3362 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
3363 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
3364 _dl_all_init_dirs.
3365 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
3366 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
3367 added at startup time.
3368 * elf/dl-load.c: Fix memory handling. r_search_path_struct
3369 contains element to remember fact that we can free memory.
3370 (all_dirs): Renamed to _dl_all_dirs. Made global.
3371 (_dl_init_all_dirs): New variable.
3372 (fillin_rpath): Save one malloc call.
3373 (decompose_rpath): Change interface. New first parameter points to
3374 r_search_path_struct.
3375 (_dl_init_paths): Adjust for changes. Mark all memory as not
3376 deletable. Set _dl_init_all_paths value.
3377 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
3378 parameter replaced with r_search_path_struct *. Information about
3379 freeing now contained in r_search_path_struct.
3380 (_dl_map_object): Adjust for above changes.
3381
3382 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
3383
3384 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
3385 when adding new entries.
3386
3387 * elf/dl-load.c (fillin_rpath): Make local copy of where string
3388 since the object being loaded can be unloaded.
3389
3390 * iconvdata/Makefile (tests): Add tst-loading.
3391 * iconvdata/tst-loading.c: New file.
3392
3393 2000-08-29 Bruno Haible <haible@clisp.cons.org>
3394
3395 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
3396 When comparing a char with an int, always cast the char to
3397 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
3398 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
3399
3400 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3401
3402 * time/strftime.c (my_strftime): Add compatibility code for use
3403 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
3404
3405 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
3406 return 0 for success but always < 0 on failure.
3407
3408 * nss/getXXbyYY_r.c: Define result to *result before including
3409 digits_dots.c.
3410
3411 2000-08-30 Andreas Jaeger <aj@suse.de>
3412
3413 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
3414
3415 2000-08-29 Ulrich Drepper <drepper@redhat.com>
3416
3417 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
3418 official file.
3419 * iconvdata/TESTS: Add BIG5HKSCS entry.
3420 * iconvdata/testdata/BIG5HKSCS: New file.
3421 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
3422
3423 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
3424 always true.
3425
3426 * libio/iogetline.c: Set mode before the loop in case n==0.
3427 * libio/iogetwline.c: Likewise.
3428
3429 2000-08-29 H.J. Lu <hjl@gnu.org>
3430
3431 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
3432 of fp->_mode < 0.
3433 (_IO_new_file_overflow): Likewise.
3434 * libio/genops.c (_IO_flush_all): Likewise.
3435 * libio/ioftell.c (_IO_ftell): Likewise.
3436
3437 2000-08-29 Akira Higuchi <a@kondara.org>
3438
3439 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
3440 and __end_fct fields of struct __gconv_step.
3441 * iconv/Makefile (tests): Add iconv-bug2.
3442 * iconv/iconv-bug2.c: New file.
3443
3444 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
3445 instead of 'inptr - inend' to ksc5601_to_ucs4.
3446
3447 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
3448
3449 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
3450 character or shift sequence is found at the end of the input
3451 string, return__GCONV_INCOMPLETE_INPUT instead of
3452 __GCONV_EMPTY_INPUT.
3453 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
3454 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
3455
3456 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
3457 __GCONV_ILLEGAL_INPUT for 8bit characters.
3458
3459 2000-08-29 Ulrich Drepper <drepper@redhat.com>
3460
3461 * signal/signal.h (sigpause): Move __THROW before __asm__.
3462
3463 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
3464 names don't match don't return.
3465 Patch by Olaf Kirch <okir@flash.lst.de>.
3466
3467 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3468
3469 * time/strftime.c (my_strftime): Handle # flag for %b as well.
3470
3471 2000-08-27 H.J. Lu <hjl@gnu.org>
3472
3473 * posix/Makefile (otherlibs): Add for building with static-nss
3474 for "make check".
3475
3476 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3477
3478 * libio/stdio.h: Add fmemopen prototype.
3479
3480 2000-08-25 Andreas Jaeger <aj@suse.de>
3481
3482 * libio/Makefile (routines): Add fmemopen.
3483 (tests): Add test-fmemopen.
3484 * libio/Versions: Add fmemopen with version GLIBC_2.2.
3485 * libio/test-fmemopen.c: New file.
3486 * libio/fmemopen.c: New file.
3487 Patches by Hanno Mueller <kontakt@hanno.de>.
3488
3489 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3490
3491 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
3492 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
3493
3494 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
3495 to avoid crashing statically linked applications.
3496
3497 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3498
3499 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
3500 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
3501
3502 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
3503 If the result is fits in the buffer, copy only as many bytes as needed.
3504
3505 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
3506 buffer after copying numbuf into it.
3507 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
3508
3509 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3510
3511 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
3512 the result. When string_len < len, don't clear the rest of the buffer.
3513
3514 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3515
3516 Support for new LC_COLLATE format.
3517 * locale/coll-lookup.h: New file.
3518 * locale/weightwc.h (findidx): When size == 0, call
3519 collidx_table_lookup.
3520 * wcsmbs/wcscoll.c: Include coll-lookup.h.
3521 * wcsmbs/wcsxfrm.c: Likewise.
3522 * posix/fnmatch.c: Likewise.
3523 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
3524 collseq_table_lookup.
3525 * locale/programs/3level.h: New file.
3526 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
3527 by including "3level.h".
3528 * locale/programs/ld-collate.c (wchead_table, collidx_table,
3529 collseq_table): New types, defined by including "3level.h".
3530 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
3531 (encoding_mask, encoding_byte): Remove.
3532 (utf8_encode): Use simple shifts instead.
3533 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
3534 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
3535 (collate_output): New local variable tablewc_3level. When
3536 !oldstyle_tables, set table_size to 0 and names to NULL and fill
3537 tablewc_3level instead of tablewc. Change format of TABLEWC and
3538 COLLSEQWC entries written to the file.
3539 * locale/C-collate.c (collseqwc): Change format.
3540 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
3541 of COLLSEQWC.
3542 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
3543
3544 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3545
3546 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
3547 (locale_ctype_t): New charnames_idx field.
3548 (ctype_startup): Initialize charnames_idx field.
3549 (find_idx): Speed up dramatically by using charnames_idx inverse table.
3550
3551 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3552
3553 * locale/C-ctype.c: Switch to new locale format.
3554 (_nl_C_LC_CTYPE_names): Remove array.
3555 (STRUCT_CTYPE_CLASS): New macro.
3556 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3557 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3558 New three-level tables.
3559 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
3560 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
3561 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
3562 12 class tables and 2 map tables at the end.
3563 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
3564 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3565 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3566 New declarations.
3567 (b): Remove trailing semicolon.
3568 (__ctype_names, __ctype_width): Don't initialize.
3569 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
3570
3571 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3572
3573 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
3574 is guaranteed to be allocated with the same malloc() and may be
3575 passed to free().
3576 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
3577 been set to empty by an earlier open_path call, don't pass it again.
3578
3579 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3580
3581 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3582 we are not optimizing.
3583
3584 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3585 inclusion.
3586
3587 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3588 really match EOF.
3589 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3590
3591 2000-08-28 Andreas Jaeger <aj@suse.de>
3592
3593 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3594
3595 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3596
3597 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3598 getpeername. Use ISO C style function definition.
3599 (getpeername): Provide weak alias.
3600 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3601 setrlimit. Use ISO C style function definition.
3602 (setrlimit): Provide weak alias.
3603
3604 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3605
3606 * shlib-versions: Add a rule for S/390 to the libm version list.
3607 * sysdeps/s390/Versions: New file.
3608 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3609 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3610 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3611 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3612 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3613 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3614 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3615 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3616 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3617 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3618 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3619 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3620 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3621 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3622 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3623 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3624 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3625 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3626
3627 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3628
3629 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3630 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3631
3632 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3633 * elf/dl-close.c (_dl_close): Print debug message if object is not
3634 unloaded.
3635 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3636 returning to caller.
3637
3638 * po/zh.po: Renamed to...
3639 * po/zh_TW.po: ...this.
3640
3641 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3642
3643 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3644
3645 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3646 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3647 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3648 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3649
3650 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3651
3652 * locale/programs/ld-collate.c (insert_weights): Also update
3653 backpointer of next element.
3654 (collate_read): Allow definition of new collation symbols in stage 2.
3655 Symbol after reorder-after can be UCS4 value.
3656 Allow reordering of collation symbols and elements.
3657 Do not only move reorder entry in new position. Instead call
3658 insert_weight to do this and read the weights.
3659
3660 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3661
3662 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3663 to determine invalid locale name.
3664 * locale/findlocale.c (_nl_find_locale): Likewise.
3665
3666 * posix/annexc.c: Correct test for unavailable feature.
3667
3668 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3669 __inline.
3670
3671 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3672
3673 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3674 syscall.
3675
3676 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3677 (sysdep_routines): Add oldgetrlimit64.
3678
3679 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3680 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3681 (tests): Add unload, reldep, reldep2, and reldep3.
3682 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3683 and reldepmod4.
3684 Add rules to build and run unload, reldep, reldep2, and reldep3.
3685 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3686 Don't create relocation dependency if it is nonzero.
3687 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3688 can never happen here.
3689 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3690 Don't create relocation dependency if it is nonzero.
3691 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3692 stuff. This can never happen here.
3693 * sysdeps/generic/ldsodefs.h: Change prototypes.
3694 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3695 _dl_lookup_up and _dl_lookup_versioned_symbol.
3696 (RESOLV): Likewise.
3697 * elf/dl-runtime.c (fixup): Likewise.
3698 (profile_fixup): Likewise.
3699 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3700 _dl_lookup_symbol.
3701 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3702 * elf/rtld.c (dl_main): Likewise.
3703 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3704 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3705 and pass down the caller map.
3706 (_dl_vsym): Likewise.
3707 * elf/reldep.c: New file.
3708 * elf/reldep2.c: New file.
3709 * elf/reldep3.c: New file.
3710 * elf/reldepmod1.c: New file.
3711 * elf/reldepmod2.c: New file.
3712 * elf/reldepmod3.c: New file.
3713 * elf/reldepmod4.c: New file.
3714 * elf/unload.c: New file.
3715 * elf/unloadmod.c: New file.
3716
3717 * elf/do-lookup.h: Remove unused undef_name parameter.
3718 * elf/dl-lookup.c: Adjust callers.
3719
3720 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3721
3722 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3723 irreversible in recursive call of conversion function to signal that
3724 no error handling is wanted.
3725 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3726 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3727 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3728 recursive error handling call, otherwise to &lirreversible. Use it
3729 for calls to conversion functions.
3730 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3731 transliterating.
3732 (ucs4_internal_loop_unaligned): Likewise.
3733 (ucs4le_internal_loop): Likewise.
3734 (ucs4le_internal_loop_unaligned): Likewise.
3735
3736 2000-08-25 Greg McGary <greg@mcgary.org>
3737
3738 * sysdeps/i386/memchr.S: Check high bound against chars
3739 actually scanned.
3740 * sysdeps/i386/memcmp.S: Likewise.
3741 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3742 account for pointers that lie one beyond end-of-buffer.
3743
3744 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3745
3746 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3747 * elf/nodelete.c (fini_ran): New global variable.
3748 (do_test): Before every dlclose call clear fini_ran and test
3749 afterwards that it is not set by the destructors.
3750 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3751 * elf/nodelmod2.c: Likewise.
3752 * elf/nodelmod4.c: Likewise.
3753
3754 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3755
3756 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3757 getrlimit to the list.
3758
3759 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3760
3761 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3762 long double format so use ldbl-96 instead of ldbl-128.
3763
3764 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3765
3766 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3767 even if bits 10 a 11 are non-zero.
3768 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3769
3770 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3771 included before building gnu/lib-names.h
3772 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3773
3774 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3775 marked DF_1_NODELETE.
3776
3777 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3778 since we call sigaction in the child.
3779
3780 2000-08-25 Andreas Jaeger <aj@suse.de>
3781
3782 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3783 gconv-modules.
3784
3785 2000-08-25 Andreas Jaeger <aj@suse.de>
3786
3787 * manual/arith.texi (Control Functions): Clarify possible
3788 arguments. Closes PR libc/1856.
3789
3790 2000-08-24 H.J. Lu <hjl@gnu.org>
3791
3792 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3793 * malloc/Makefile (tests): Likewise.
3794
3795 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3796
3797 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3798
3799 2000-08-24 Andreas Jaeger <aj@suse.de>
3800
3801 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3802 only if LIBGD is available.
3803
3804 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3805
3806 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3807 problems with now restrict parameter types.
3808 (convaddr4to6): Likewise.
3809
3810 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3811
3812 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3813 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3814 * sysdeps/s390/fpu/fegetexcept.c: New file.
3815 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3816 FPC_VALID_MASK.
3817
3818 2000-08-24 Andreas Jaeger <aj@suse.de>
3819
3820 * malloc/Makefile (extra-objs): Add memusagestat.o.
3821 (generated): Added memusage and memusagestat for make clean.
3822
3823 * libio/tst_putwc.c (do_test): Delete temporary file.
3824 Move inclusion of test-skeleton to front to have prototype for
3825 add_temp_file.
3826
3827 * posix/Makefile (generated): Add wordexp-tst.out.
3828
3829 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3830
3831 * resolv/res_hconf.c (free_mem): Remove not needed if.
3832
3833 * time/tzset.c (free_mem): New function.
3834 * string/strsignal.c (free_mem): New function.
3835 * inet/inet_ntoa.c (free_mem): New function.
3836 * sunrpc/clnt_perr.c (free_mem): New function.
3837
3838 2000-08-24 Andreas Jaeger <aj@suse.de>
3839
3840 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3841 * sysdeps/unix/sysv/syscalls.list: Likewise.
3842
3843 * posix/unistd.h: Move internal prototypes from here ...
3844 * include/unistd.h: ... to here.
3845
3846 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3847
3848 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3849
3850 * grp/initgroups.c (initgroups): Deallocate groups array.
3851 Reported by jani.raiha@sonera.com [PR libc/1868].
3852
3853 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3854 * sysdeps/alpha/Dist: Likewise.
3855
3856 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3857
3858 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3859 destructor). Reported by Solar Designer <solar@false.com>.
3860
3861 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3862 avoid adding double slashes.
3863
3864 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3865
3866 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3867 out of the __REDIRECT macro.
3868
3869 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3870
3871 * stdio-common/vfscanf.c: Add %F format support.
3872
3873 * locale/programs/ld-ctype.c (ctype_output): Make sure
3874 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3875 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3876 (ctype_read): Enable returning of wide character strings for reading
3877 transliteration information.
3878
3879 2000-08-23 Andreas Jaeger <aj@suse.de>
3880
3881 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3882 Use static __inline instead of _EXTERN_INLINE.
3883
3884 * misc/sys/select.h: Move prototypes of __select from here ...
3885 * include/sys/select.h: ... to here.
3886
3887 * socket/sys/socket.h: Move prototypes of __send and __connect
3888 from here....
3889 * include/sys/socket.h: ... to here.
3890
3891 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3892 lr_error.
3893
3894 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3895
3896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3897 __setrlimit as strong name. Takes only 2 arguments.
3898
3899 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3900 takes only 2 arguments.
3901
3902 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3903
3904 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3905
3906 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3907
3908 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3909
3910 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3911 default_missing character being specified, pick the first
3912 representable.
3913
3914 2000-08-23 Andreas Jaeger <aj@suse.de>
3915
3916 * include/wchar.h: Add some pure attributes.
3917
3918 * time/time.h: Add const attribute for dysize.
3919
3920 * include/stdlib.h: Add malloc attribute to __posix memalign.
3921
3922 * stdlib/stdlib.h: Add some pure and malloc attributes.
3923 * wcsmbs/wchar.h: Likewise.
3924
3925 * dirent/dirent.h: Add some pure attributes.
3926 * include/dirent.h: Likewise.
3927
3928 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3929
3930 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3931 on 64bit arches.
3932
3933 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3934
3935 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3936 missing buffer size checks.
3937
3938 2000-08-23 Andreas Jaeger <aj@suse.de>
3939
3940 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3941 strong name.
3942 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3943
3944 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3945 otherwise __LINUX_KERNEL_VERSION might not be defined.
3946 (MIN): Define if not already defined.
3947
3948 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3949
3950 * stdio-common/vfprintf.c: Handle %F format.
3951 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3952 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3953
3954 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3955
3956 * po/zh.po: New file.
3957
3958 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3959 enough room in target buffer.
3960 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3961 * iconvdata/bug-iconv1.c: New file.
3962 * iconvdata/Makefile (tests): Add bug-iconv1.
3963
3964 * locale/iso-4217.def: Update entry for Nicaragua.
3965
3966 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3967
3968 * hurd/hurdsig.c: Rearrange headers a bit.
3969 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3970 when cthreads is being used.
3971
3972 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3973
3974 * elf/Makefile (distribute): Add dl-osinfo.h.
3975 * sysdeps/generic/dl-osinfo.h: New file.
3976 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3977 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3978 if defined.
3979 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3980 only for !SHARED case. Get the code from dl-osinfo.h.
3981
3982 * stdlib/random_r.c: Cleanups.
3983 * stdlib/tst-random.c: New file.
3984 * stdlib/Makefile (tests): Add tst-random.
3985 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3986
3987 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3988
3989 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3990 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3991 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3992 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3993
3994 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3995
3996 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3997 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3998 (__syscall__sysctl): Add.
3999
4000 2000-08-21 Andreas Jaeger <aj@suse.de>
4001
4002 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
4003 libc/1864).
4004 * stdlib/tst-strtoll.c: Likewise.
4005
4006 2000-08-21 Ulrich Drepper <drepper@redhat.com>
4007
4008 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
4009 correctly.
4010 (__initstate_r): Set errno on error.
4011 (__random_r): Likewise.
4012 (__setstate_r): Correct offset when computing
4013 new rptr and fptr. Test for arg_state being NULL.
4014 Reported by Michael Fischer <fischer@cs.yale.edu>.
4015
4016 * posix/regex.h: Add macro definitions to allow compiling outside
4017 glibc.
4018
4019 * sysdeps/i370/Implies: Removed.
4020 * sysdeps/mvs/Implies: Removed.
4021
4022 * catgets/catgets.c (catopen): Filter out env_var values with / if
4023 necessary.
4024
4025 * locale/findlocale.c (_nl_find_locale): Move test for unusable
4026 locale name after all getenvs.
4027
4028 * configure.in: Allow sed versions like 3.02.8.
4029 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
4030
4031 2000-08-21 Marko Myllynen <myllynen@lut.fi>
4032
4033 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
4034
4035 2000-08-21 Ulrich Drepper <drepper@redhat.com>
4036
4037 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
4038 of gethostbyname2_r call.
4039
4040 * intl/locale.alias: Add aliases for Korean.
4041
4042 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
4043
4044 * sysdeps/s390/__longjmp.c: Remove unused variable result.
4045 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
4046 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
4047 * sysdeps/s390/fpu/fegetenv.c: New file.
4048 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
4049 * sysdeps/s390/fpu/feholdexcpt.c: New file.
4050 * sysdeps/s390/fpu/fenv_libc.h: New file.
4051 * sysdeps/s390/fpu/fesetenv.c: New file.
4052 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
4053 * sysdeps/s390/fpu/feupdateenv.c: New file.
4054 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
4055 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
4056 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
4057 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
4058 * sysdeps/s390/fpu/ftestexcept.c: New file.
4059 * sysdeps/s390/fpu/libm-test-ulps: New file.
4060 * sysdeps/s390/gmp-mparam.h: Add end of comment.
4061 * sysdeps/s390/initfini.c: New file.
4062 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
4063 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
4064 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
4065 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
4066 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
4067 sys/procfs.h as proposed by Mark Kettenis.
4068 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
4069
4070 2000-08-21 Andreas Jaeger <aj@suse.de>
4071
4072 * include/poll.h: Include include/sys/poll.h to get __poll
4073 declaration.
4074
4075 * io/sys/poll.h: Move __poll declaration from here...
4076 * include/sys/poll.h: ...to here.
4077
4078 * include/sys/socket.h (__getpeername): Add declaration.
4079
4080 * include/wchar.h (__vswprintf): Add declaration.
4081
4082 * include/stdio.h (__flockfile): Add declaration.
4083 (__funlockfile): Likewise.
4084
4085 2000-08-20 Ulrich Drepper <drepper@redhat.com>
4086
4087 * misc/sys/cdefs.h: Define __restrict_arr.
4088 * include/sys/time.h: Add restrict where required by AGd4.
4089 * inet/arpa/inet.h: Likewise.
4090 * io/sys/stat.h: Likewise.
4091 * io/sys/statvfs.h: Likewise.
4092 * misc/search.h: Likewise.
4093 * misc/sys/select.h: Likewise.
4094 * posix/glob.h: Likewise.
4095 * posix/regex.h: Likewise.
4096 * posix/spawn.h: Likewise.
4097 * posix/unistd.h: Likewise.
4098 * rt/aio.h: Likewise.
4099 * signal/signal.h: Likewise.
4100 * socket/sys/socket.h: Likewise.
4101 * stdlib/ucontext.h: Likewise.
4102 * streams/stropts.h: Likewise.
4103 * string/string.h: Likewise.
4104 * time/time.h: Likewise.
4105 * time/sys/time.h: Likewise.
4106
4107 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
4108 and posix_spawnattr_setscheparam.
4109
4110 * libio/stdio.h: Make cuserid prototype again available for all
4111 XPG versions.
4112
4113 * argp/argp-help.c: Unify use of function aliases to make more compact
4114 PLT.
4115 * include/libintl.h: Likewise.
4116 * inet/rcmd.c: Likewise.
4117 * intl/dcigettext.c: Likewise.
4118 * libio/iofputws.c: Likewise.
4119 * libio/iofputws_u.c: Likewise.
4120 * libio/iogetwline.c: Likewise.
4121 * libio/swprintf.c: Likewise.
4122 * malloc/malloc.c: Likewise.
4123 * nss/digits_dots.c: Likewise.
4124 * posix/fnmatch.c: Likewise.
4125 * posix/spawn_faction_addclose.c: Likewise.
4126 * posix/spawn_faction_adddup2.c: Likewise.
4127 * posix/spawn_faction_addopen.c: Likewise.
4128 * posix/spawni.c: Likewise.
4129 * posix/wordexp.c: Likewise.
4130 * posix/spawni.c: Likewise.
4131 * resolv/res_hconf.c: Likewise.
4132 * resolv/res_init.c: Likewise.
4133 * shadow/lckpwdf.c: Likewise.
4134 * signal/sighold.c: Likewise.
4135 * signal/sigrelse.c: Likewise.
4136 * stdio-common/printf-parse.h: Likewise.
4137 * stdio-common/printf-prs.c: Likewise.
4138 * stdio-common/printf_fp.c: Likewise.
4139 * stdio-common/vfprintf.c: Likewise.
4140 * stdio-common/vfscanf.c: Likewise.
4141 * stdlib/rpmatch.c: Likewise.
4142 * sunrpc/create_xid.c: Likewise.
4143 * sunrpc/key_call.c: Likewise.
4144 * sysdeps/generic/setrlimit64.c: Likewise.
4145 * sysdeps/generic/utmp_file.c: Likewise.
4146 * sysdeps/generic/vlimit.c: Likewise.
4147 * sysdeps/posix/posix_fallocate.c: Likewise.
4148 * sysdeps/posix/posix_fallocate64.c: Likewise.
4149 * sysdeps/posix/sigpause.c: Likewise.
4150 * sysdeps/posix/sigset.c: Likewise.
4151 * sysdeps/unix/grantpt.c: Likewise.
4152 * sysdeps/unix/bsd/ualarm.c: Likewise.
4153 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
4154 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
4155 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4156 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4157 * time/strftime.c: Likewise.
4158 * wcsmbs/wcscoll.c: Likewise.
4159 * wcsmbs/wcsxfrm.c: Likewise.
4160
4161 * time/tst-getdate.c (main): Make error messages more human readable.
4162
4163 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
4164 postinc/predec instruction.
4165 (_FPU_SETCW): Likewise.
4166 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4167
4168 2000-08-20 Andreas Jaeger <aj@suse.de>
4169
4170 * time/tst-getdate.c (main): Increase error in case of wrong
4171 conversion.
4172 Fix typo in test case.
4173
4174 2000-08-20 Ulrich Drepper <drepper@redhat.com>
4175
4176 * ctype/ctype.h (isblank): Make available if ISO C99.
4177 * wctype/wctype.h (iswblank): Make available if ISO C99.
4178 * math/math.h (signgam): Don't make available if ISO C99.
4179 * math/tgmath.h (tgamma): Renamed from gamma.
4180 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
4181
4182 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
4183 Pretty printing.
4184 * intl/plural.y (new_exp): Take number of optional parameters in
4185 second parameter. Test for correct number of parameters and free
4186 correctly in case of failure. Adjust all callers.
4187 (yylex): Allow ';' as terminator character.
4188
4189 2000-08-19 Ulrich Drepper <drepper@redhat.com>
4190
4191 * locale/lc-time.c (free_mem): New function. Free alt_digits and
4192 walt_digits.
4193
4194 * locale/findlocale.c (free_mem): Also free here->filename.
4195
4196 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
4197
4198 * math/test-fenv.c (feenv_tests): Clear all exceptions before
4199 first test.
4200 (feexcp_nomask_test): Correct printf args.
4201 (feexcp_mask_test): Likewise.
4202
4203 2000-08-19 Andreas Jaeger <aj@suse.de>
4204
4205 * inet/tst-gethnm.c: Include string.h to provide prototype for
4206 strcmp.
4207
4208 * malloc/mtrace.pl (usage): Inform about --help.
4209
4210 2000-08-19 Wolfram Gloger <wg@malloc.de>
4211
4212 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
4213 size HEAP_MAX_SIZE.
4214
4215 2000-08-19 Andreas Jaeger <aj@suse.de>
4216
4217 * shlib-versions: Remove libnss_db, libdb and libdb1.
4218
4219 2000-08-19 Jakub Jelinek <jakub@redhat.com>
4220
4221 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
4222 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
4223 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
4224 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
4225 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
4226 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
4227 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
4228 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
4229 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
4230 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
4231 getdents.
4232 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
4233 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4234
4235 2000-08-18 Jakub Jelinek <jakub@redhat.com>
4236
4237 * include/glob.h (__glob64): Add prototype.
4238 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
4239 define glob and glob_in_dir.
4240 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
4241 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
4243 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
4244 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
4245 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
4246 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
4247 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
4248
4249 2000-08-18 Jakub Jelinek <jakub@redhat.com>
4250
4251 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
4252
4253 2000-08-17 Andreas Jaeger <aj@suse.de>
4254
4255 * math/test-fenv.c (fe_single_test): New function.
4256 (fe_env_tests): Use fe_single_test.
4257 (feenable_test): New tests for feenable/fedisable and
4258 fegetexcpetions.
4259 (feexcp_mask_test): New function.
4260 (feexcp_nomask_test): New function.
4261
4262 2000-08-19 Richard Henderson <rth@cygnus.com>
4263
4264 * sysdeps/alpha/fpu/fenv_libc.h: New file.
4265 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
4266 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
4267 * sysdeps/alpha/fpu/fesetround.c: Likewise.
4268 * sysdeps/alpha/fpu/fegetround.c: Likewise.
4269 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
4270 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
4271 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
4272 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
4273 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
4274 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
4275 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
4276 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
4277 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
4278 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
4279 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
4280 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
4281
4282 2000-08-19 Andreas Jaeger <aj@suse.de>
4283
4284 * elf/constload1.c: Include <stdio.h> for puts prototype.
4285
4286 2000-08-19 Ulrich Drepper <drepper@redhat.com>
4287
4288 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
4289 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
4290 a dynamically loaded object remove old l_initfini list.
4291 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
4292 remove some dynamically allocated memory blocks in the dynamic
4293 loading data structures.
4294 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
4295 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
4296 Instead call _dl_check_map_versions only for the dependencies.
4297 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
4298 information of initial objects as not free-able.
4299 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
4300 element.
4301
4302 * elf/filter.c: Call mtrace.
4303 * elf/restest1.c: Likewise. Close the objects.
4304 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
4305 debug information.
4306
4307 * elf/constload1.c: Add comment explaining not freed memory.
4308
4309 2000-08-18 Andreas Jaeger <aj@suse.de>
4310
4311 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
4312 alignment for structs stat and stat64.
4313 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4314
4315 2000-08-17 Ulrich Drepper <drepper@redhat.com>
4316
4317 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
4318 handling. Patch by Richard Henderson <rth@twiddle.net>.
4319
4320 * nss/Versions: Remove libnss_db information.
4321
4322 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4323
4324 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
4325 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
4326 * sysdeps/sparc/fpu/fegetexcept.c: New file.
4327 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
4328
4329 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
4330 to match Solaris.
4331
4332 2000-08-17 Ulrich Drepper <drepper@redhat.com>
4333
4334 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
4335 (_FPU_SETCW): Likewise.
4336 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4337
4338 * stdio-common/printf_fp.c: Fix chars_needed computation.
4339 Patch by Greg McGary <greg@mcgary.org>.
4340
4341 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4342
4343 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
4344 _dl_loaded are NULL.
4345
4346 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4347
4348 * manual/arith.texi (feholdexcept): Returns 0 on success.
4349
4350 2000-08-17 Andreas Jaeger <aj@suse.de>
4351
4352 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
4353 (ifr_newname): New.
4354 Reported by Andi Kleen <ak@suse.de>.
4355
4356 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4357
4358 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
4359 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
4360 * sysdeps/alpha/fpu/fegetexcept.c: New file.
4361
4362 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4363
4364 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
4365 of buf->st_ino and kbuf->st_ino, not __st_ino.
4366 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
4367 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
4368 directive so that only linux/getdents.c is used, not some
4369 architecture specific one.
4370
4371 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4372
4373 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
4374 enabled, not disabled exceptions.
4375 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4376 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4377
4378 2000-08-17 Greg McGary <greg@mcgary.org>
4379
4380 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
4381 from test program name when constructing suffix for $(LDLIBS-*).
4382 (bounded-thread-library): New variable.
4383 * crypt/Makefile
4384 [build-shared, build-static] (libcrypt-dep): Remove variable.
4385 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
4386 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4387 * linuxthreads/Makefile (libpthread, librt): Remove variables.
4388 (librt-tests): Add variable. (tests): Use it.
4389 [build-shared, build-static]
4390 ($(addprefix $(objpfx),$(tests)),
4391 $(addprefix $(objpfx),$(librt-tests))):
4392 Consolidate individual dependencies.
4393 [build-bounded]
4394 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
4395 Add dependencies.
4396 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
4397 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4398 * misc/Makefile
4399 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
4400 * rt/Makefile
4401 [build-shared, build-static]
4402 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
4403 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4404
4405 2000-08-17 Greg McGary <greg@mcgary.org>
4406
4407 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
4408 * sysdeps/unix/make-syscalls.sh: Likewise.
4409 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4410 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4411 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4412 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4414
4415 2000-08-17 Greg McGary <greg@mcgary.org>
4416
4417 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
4418 Wrap extern symbols in BP_SYM ().
4419 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4420 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4421 * sysdeps/i386/fpu/s_remquo.S: Likewise.
4422 * sysdeps/i386/fpu/s_remquof.S: Likewise.
4423 * sysdeps/i386/fpu/s_remquol.S: Likewise.
4424 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4425 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4426 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4427 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4428 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4429
4430 2000-08-16 Andreas Schwab <schwab@suse.de>
4431
4432 * sysdeps/m68k/fpu/fegetexcept.c: New file.
4433 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
4434 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
4435
4436 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4437
4438 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
4439 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
4440 * elf/dl-support.c: Define _nl_nloaded.
4441 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
4442 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
4443 object to global list.
4444 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
4445 from _dl_loaded list.
4446 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4447 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
4448 number here.
4449
4450 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
4451 unmask, exceptions.
4452 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
4453 exceptions.
4454 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
4455
4456 2000-08-16 Andreas Jaeger <aj@suse.de>
4457
4458 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
4459
4460 2000-08-15 Marko Myllynen <myllynen@lut.fi>
4461
4462 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
4463
4464 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4465
4466 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
4467 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
4468 (sysdep_routines): Add oldgetrlimit64.
4469 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
4470 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4471
4472 * include/link.h: Undo last patches. Hurd now has stat64.
4473 * elf/Makefile: Likewise.
4474 * elf/dl-load.c: Likewise.
4475 * elf/dl-misc.c: Likewise.
4476 * elf/dl-profile.c: Likewise.
4477 * sysdeps/generic/sysd-link.h: Removed.
4478 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
4479
4480 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
4481 thread event callback function.
4482 (__aio_notify_only): Use function above.
4483 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
4484
4485 2000-08-16 Mark Kettenis <kettenis@gnu.org>
4486
4487 * sysdeps/mach/hurd/lseek64.c: New file.
4488
4489 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4490
4491 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
4492 Remove typedefs.
4493 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
4494 typedefs.
4495 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
4496 typedefs.
4497 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
4498
4499 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4500
4501 * sysdeps/mach/hurd/xstatconv.c: New file.
4502 * sysdeps/mach/hurd/fxstat64.c: New file.
4503 * sysdeps/mach/hurd/lxstat64.c: New file.
4504 * sysdeps/mach/hurd/xstat64.c: New file.
4505 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
4506
4507 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4508
4509 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
4510 Initialize, needed for change in common symbol handling in newer
4511 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
4512
4513 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4514
4515 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
4516 * elf/constload2.c: Add destructor to unload constload3.
4517
4518 * include/link.h: Include sysd-link.h.
4519 * sysdeps/generic/sysd-link.h: New file.
4520 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
4521 * elf/Makefile (distribute): Add sysd-link.h.
4522 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
4523 types and functions directly.
4524 * elf/dl-misc.c: Likewise.
4525 * elf/dl-profile.c: Likewise.
4526
4527 * elf/loadfail.c (main): Close all successfully loaded objects.
4528
4529 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
4530 free wd.
4531 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
4532 there is already one.
4533
4534 * elf/dl-close.c: Pretty print.
4535
4536 2000-08-14 Ulrich Drepper <drepper@redhat.com>
4537
4538 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
4539 global (with file scope). Add __libc_subfreeres function to free the
4540 string.
4541 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
4542 in ttyname function.
4543
4544 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
4545
4546 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
4547
4548 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
4549 mapping them to /x5c and /x7e respectively.
4550
4551 * locale/programs/ld-ctype.c: Add support for more definitions after
4552 copy statement.
4553
4554 2000-08-14 Jakub Jelinek <jakub@redhat.com>
4555
4556 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
4557 * sysdeps/unix/sysv/linux/kernel-features.h
4558 (__ASSUME_GETDENTS64_SYSCALL): Define.
4559 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
4560 syscall if available to get d_type fields.
4561 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
4562 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
4563 __lxstat64): Export at GLIBC_2.2.
4564 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
4567 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
4568 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
4569 getdirentries64, versionsort64): Remove.
4570 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
4571 getdirentries64, versionsort64): Remove.
4572
4573 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4574
4575 * posix/Makefile: Remove rules to generate glob package.
4576
4577 * posix/Makefile (tests): Add tst-regexloc.
4578 (tst-regexloc-ENV): Add LOCPATH.
4579 * posix/tst-regexloc.c: New file.
4580
4581 2000-08-12 Andreas Jaeger <aj@suse.de>
4582
4583 * include/features.h (__STDC_ISO_10646__): Define.
4584 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
4585
4586 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4587
4588 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
4589
4590 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
4591 for revision 6 and up).
4592
4593 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
4594 including <time.h>.
4595 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
4596 to get definitions of just these types.
4597
4598 * signal/signal.h: Define thread signal handling functions also for
4599 POSIX95.
4600
4601 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
4602 POSIX95.
4603 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4604 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4605 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4607
4608 * sysvipc/sys/shm.h: Define pid_t for XPG.
4609
4610 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
4611 they are not anymore required here.
4612
4613 * wcsmbs/wchar.h: Make the various wide char string and stream
4614 functions available for the respective XPG versions.
4615
4616 * nss/Makefile: Remove rules to build and distribute nss_db.
4617
4618 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
4619 * sysdeps/generic/scandir64.c: Likewise.
4620 * sysdeps/generic/versionsort64.c: Likewise.
4621
4622 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4623 Benjamin Koznik <bkoz@redhat.com>
4624
4625 * libio/fileops.c: Merge with libstdc++-v3.
4626 * libio/genops.c: Likewise.
4627 * libio/iofclose.c: Likewise.
4628 * libio/iofopen.c: Likewise.
4629 * libio/iofwide.c: Likewise.
4630 * libio/libio.h: Likewise.
4631 * libio/libioP.h: Likewise.
4632 * libio/stdfiles.c: Likewise.
4633 * libio/stdio.c: Likewise.
4634 * libio/wfileops.c: Likewise.
4635 * libio/wgenops.c: Likewise.
4636
4637 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
4638
4639 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4640
4641 * locale/programs/localedef.c: Implement --prefix option to allow
4642 writing in standard places of alternative install directories.
4643
4644 * posix/regex.c (compile_range): Implement collation sequence
4645 handling for glibc. Use simple character ordering otherwise and
4646 not strcoll.
4647
4648 2000-08-12 Mark Kettenis <kettenis@gnu.org>
4649
4650 * sysdeps/generic/scandir64.c: Include <dirent.h>.
4651
4652 2000-08-12 Andreas Jaeger <aj@suse.de>
4653
4654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4655 __USE_FILE_OFFSET64 correctly for locking.
4656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4657
4658 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4659
4660 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4661 Define for 2.4.1 on sparc as well.
4662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4663 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4664 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4666
4667 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4668
4669 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4670 defined.
4671
4672 2000-08-12 Andreas Jaeger <aj@suse.de>
4673
4674 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4675 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4676
4677 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4678 mips2 for assembler.
4679
4680 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4681 if fnctl64 is not available for F_*LK*64.
4682
4683 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4684
4685 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4686
4687 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4688 Define for 2.4.1 on x86.
4689 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4690 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4691 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4692
4693 * dirent/dirent.h: Define DT_WHT.
4694
4695 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4696 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4697 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4698 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4699 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4700 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4701
4702 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4703
4704 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4705 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4706 * inet/Makefile (tests): Add tst-gethnm.
4707 * inet/tst-gethnm.c: New file.
4708
4709 * rt/aio_cancel.c: If canceling a specific request which is running
4710 *really* do nothing.
4711 * rt/aio_misc.h: Add `done' to states of a request.
4712 * rt/aio_misc.c: Add several tests for the correct state.
4713 Simplify request table memory handling.
4714
4715 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4716
4717 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4718 * dirent/scandir64.c: Move...
4719 * sysdeps/generic/scandir64.c: ...here.
4720 * dirent/alphasort64.c: Move...
4721 * sysdeps/generic/alphasort64.c: ...here.
4722 * dirent/versionsort64.c: Move...
4723 * sysdeps/generic/versionsort64.c: ...here.
4724 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4725 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4726 Export symbols at GLIBC_2.2.
4727 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4729 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4730 __versionsort64): Add prototypes.
4731 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4732 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4733 unused prototype.
4734 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4735 and GLIBC_2.2.
4736 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4737 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4738 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4739 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4740 __u_quad_t.
4741 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4742 Adjust for kernel-2.4.0-test6 layout.
4743 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4744 GLIBC_2.1 and GLIBC_2.2.
4745 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4746 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4747 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4748 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4749 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4750 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4751 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4752 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4753 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4754 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4755 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4756 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4757 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4758 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4759 __u_quad_t.
4760 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4761 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4762 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4763 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4764 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4765 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4766 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4767 __u_quad_t.
4768 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4769 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4770 Define.
4771 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4772 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4773 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4774 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4775 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4776 Define.
4777 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4778 alpha/readdir.c.
4779 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4780 alpha/readdir_r.c
4781 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4782 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4783 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4784 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4785 st_ino from __st_ino.
4786 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4787 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4788 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4789 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4790 set __st_ino in addition to st_ino.
4791 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4792 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4793 __old_getdents64 as well.
4794 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4795 getdirentries64 and old_getdirentries64 as well.
4796 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4797 __GETDENTS): Define.
4798 (GETDENTS64): Remove.
4799 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4800 Define.
4801 (GETDENTS64): Remove.
4802 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4803 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4804 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4805 as well.
4806 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4807 __old_readdir64_r as well.
4808 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4809 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4810
4811 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4812
4813 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4814 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4815 define of the kernel.
4816 Add missing __SEG_PSTKOVF definition.
4817 Adjust the padding of struct siginfo and struct sigevent to
4818 match the fact that sigval_t is 64 bit.
4819
4820 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4821
4822 * timezone/zic.c: Update from tzcode2000f.
4823 * timezone/australasia: Update from tzdata2000f.
4824 * timezone/europe: Likewise.
4825 * timezone/southamerica: Likewise.
4826 * timezone/yearistype: Likewise.
4827
4828 2000-08-10 Andreas Jaeger <aj@suse.de>
4829
4830 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4831 stat with current MIPS kernel.
4832
4833 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4834
4835 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4836 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4837 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4838 Remove the junk that's only relevant in the Linux kernel itself.
4839 Add a warning saying that this file is now obsolete, and include
4840 <sys/procfs.h>.
4841 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4842 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4843 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4844 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4845 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4846 and add the notice that the file is primarily there for GDB.
4847 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4848
4849 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4850
4851 * time/tzfile.c (__tzfile_compute): __tzstring zones
4852 from zone_names.
4853
4854 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4855
4856 * resolv/resolv.h (__res_state): Surround prototype with
4857 __BEGIN_DECLS/__END_DECLS.
4858 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4859
4860 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4861
4862 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4863 Make independant of asm/resource.h from the Linux kernel.
4864
4865 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4866
4867 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
4868
4869 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4870
4871 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
4872 * locale/Makefile (locale-CPPFLAGS): Likewise.
4873
4874 2000-08-09 Ulrich Drepper <drepper@redhat.com>
4875
4876 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
4877 for AMD processors.
4878
4879 2000-08-03 Jakub Jelinek <jakub@redhat.com>
4880
4881 * misc/Versions (mincore): Export at GLIBC_2.2.
4882
4883 2000-08-03 Bruno Haible <haible@clisp.cons.org>
4884
4885 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
4886
4887 2000-08-02 Mark Kettenis <kettenis@gnu.org>
4888
4889 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
4890 socketpair. Made socketpair a weak alias.
4891 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
4892 __socketpair. Use S_IFIFO protocol to make pipes POSIX
4893 conforming, but fall back on the old protocol if the socket server
4894 doesn't support it.
4895 * include/sys/socket.h: Add prototype for __socketpair.
4896
4897 2000-08-09 Andreas Schwab <schwab@suse.de>
4898
4899 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
4900 long long modifier is seen.
4901
4902 * elf/nodelete.c (do_test): Remove reference to undefined member
4903 sa_restorer.
4904 * rt/tst-aio4.c (do_test): Likewise.
4905
4906 * configure.in: Add `-lm' when checking for libgd.
4907 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
4908 linking.
4909
4910 2000-08-09 Andreas Jaeger <aj@suse.de>
4911
4912 * configure.in: Change required make versions.
4913
4914 * manual/install.texi (Tools for Compilation): Document required
4915 make version.
4916 (Supported Configurations): Update list of supported
4917 configurations.
4918
4919 2000-08-08 Ulrich Drepper <drepper@redhat.com>
4920
4921 * locale/linereader.c (get_string): Don't print an error is a string
4922 contains an unknown character.
4923
4924 2000-08-06 Ulrich Drepper <drepper@redhat.com>
4925
4926 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
4927 (new_symbol): Take new parameters with name of the symbol.
4928 Adjust callers.
4929 (handle_ellipsis): Don't only allow character symbols.
4930 (collate_read): Allow string of collating elements contain invalid
4931 characters; ignore entry in this case.
4932 Handle ellipsis of collating symbols before first order_start.
4933 Allow ellipsis in state 0.
4934
4935 2000-08-04 Ulrich Drepper <drepper@redhat.com>
4936
4937 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
4938 error message.
4939 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4940
4941 2000-08-04 Greg McGary <greg@mcgary.org>
4942
4943 * posix/regex.c (SET_HIGH_BOUND): New macro.
4944 (MOVE_BUFFER_POINTER): Use it.
4945 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
4946 (EXTEND_BUFFER): Use it.
4947
4948 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4949
4950 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
4951 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
4952 _wide_data but from _IO_FILE directly.
4953 * libio/iofclose.c: Likewise.
4954 * libio/wfileops.c: Likewise.
4955
4956 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
4957 * libio/libioP.h: Change prototypes.
4958
4959 2000-08-03 Greg McGary <greg@mcgary.org>
4960
4961 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
4962 frame pointer early so that we save caller's frame pointer.
4963 * sysdeps/i386/elf/setjmp.S: Likewise.
4964
4965 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
4966 * io/test-utime.c: Test passing NULL as utimbuf* arg.
4967
4968 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
4969 (MOVE_BUFFER_POINTER): Handle high_bound properly.
4970 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
4971
4972 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4973
4974 * iconvdata/big5.c: Updated.
4975 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4976
4977 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4978
4979 * Makeconfig (all-subdirs): Add conform.
4980 * conform/Makefile: Include ../Rules.
4981
4982 * Makefile (README): Add rules to generate here as well.
4983
4984 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4985
4986 * version.h (VERSION): Bump to 2.1.92.
4987
4988 * sysdeps/ia64/Dist: Add _mcount.S.
4989
4990 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
4991
4992 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
4993
4994 * elf/Makefile (distribute): Add missing modules.
4995
4996 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
4997
4998 * posix/regex.c (compile_range): Translate range start and end
4999 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
5000
5001 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
5002 asm/resource.h.
5003
5004 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
5005
5006 2000-08-02 Andreas Jaeger <aj@suse.de>
5007
5008 * elf/elf.h (EM_S390): Added.
5009 (R_390_*): New relocs for S390.
5010
5011 * sysdeps/unix/sysv/linux/s390/Dist: New file.
5012 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
5013 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
5014 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
5015 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
5016 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
5018 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
5019 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
5020 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
5021 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
5022 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
5023 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
5024 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
5025 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
5026 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
5027 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
5028 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
5029 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
5030 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
5031 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
5032 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
5033 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
5034 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
5035 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
5036 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
5037 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
5038 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
5039 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
5040 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
5041 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
5042 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
5043 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
5044 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
5045 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
5046 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
5047 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
5048 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
5049 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
5050 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
5051 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
5052 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
5053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
5054 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
5055 * sysdeps/s390/sysdep.h: New file.
5056 * sysdeps/s390/sys/ucontext.h: New file.
5057 * sysdeps/s390/sub_n.S: New file.
5058 * sysdeps/s390/strncpy.S: New file.
5059 * sysdeps/s390/strcpy.S: New file.
5060 * sysdeps/s390/stackinfo.h: New file.
5061 * sysdeps/s390/setjmp.S: New file.
5062 * sysdeps/s390/s390-mcount.S: New file.
5063 * sysdeps/s390/mul_1.S: New file.
5064 * sysdeps/s390/memusage.h: New file.
5065 * sysdeps/s390/memset.S: New file.
5066 * sysdeps/s390/memcpy.S: New file.
5067 * sysdeps/s390/memchr.S: New file.
5068 * sysdeps/s390/machine-gmon.h: New file.
5069 * sysdeps/s390/ldbl2mpn.c: New file.
5070 * sysdeps/s390/gmp-mparam.h: New file.
5071 * sysdeps/s390/fpu/fpu_control.h: New file.
5072 * sysdeps/s390/fpu/fesetround.c: New file.
5073 * sysdeps/s390/fpu/fegetround.c: New file.
5074 * sysdeps/s390/fpu/fclrexcpt.c: New file.
5075 * sysdeps/s390/fpu/bits/fenv.h: New file.
5076 * sysdeps/s390/ffs.c: New file.
5077 * sysdeps/s390/elf/start.S: New file.
5078 * sysdeps/s390/elf/setjmp.S: New file.
5079 * sysdeps/s390/elf/bsd-setjmp.S: New file.
5080 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
5081 * sysdeps/s390/dl-machine.h: New file.
5082 * sysdeps/s390/bzero.S: New file.
5083 * sysdeps/s390/bsd-setjmp.S: New file.
5084 * sysdeps/s390/bsd-_setjmp.S: New file.
5085 * sysdeps/s390/bits/string.h: New file.
5086 * sysdeps/s390/bits/setjmp.h: New file.
5087 * sysdeps/s390/bits/huge_val.h: New file.
5088 * sysdeps/s390/bits/endian.h: New file.
5089 * sysdeps/s390/bits/byteswap.h: New file.
5090 * sysdeps/s390/bcopy.S: New file.
5091 * sysdeps/s390/backtrace.c: New file.
5092 * sysdeps/s390/atomicity.h: New file.
5093 * sysdeps/s390/asm-syntax.h: New file.
5094 * sysdeps/s390/addmul_1.S: New file.
5095 * sysdeps/s390/add_n.S: New file.
5096 * sysdeps/s390/abort-instr.h: New file.
5097 * sysdeps/s390/__longjmp.c: New file.
5098 * sysdeps/s390/Makefile: New file.
5099 * sysdeps/s390/Implies: New file.
5100 * sysdeps/s390/Dist: New file.
5101 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
5102
5103 2000-08-01 Ulrich Drepper <drepper@redhat.com>
5104
5105 Remove incompatible IPv6 extension of RPC.
5106 * sunrpc/Makefile: Undo changes.
5107 * sunrpc/rpc_main.c: Likewise.
5108 * sunrpc/rpc/clnt.h: Likewise.
5109 * sunrpc/rpc/svc.h: Likewise.
5110 * sunrpc/bindrsvprt6.c: Removed.
5111 * sunrpc/clnt_tcp6.c: Removed.
5112 * sunrpc/clnt_udp6.c: Removed.
5113 * sunrpc/svc_tcp6.c: Removed.
5114 * sunrpc/svc_udp6.c: Removed.
5115
5116 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
5117 dgettext, and dcgettetxt.
5118
5119 * intl/locale.alias: Update japanese aliases.
5120
5121 * sysdeps/ia64/bits/byteswap.h: New file.
5122 Patch by Dan Pop <Dan.Pop@cern.ch>.
5123
5124 * misc/sys/cdefs.h: Define __attribute_format_arg__.
5125 * intl/libintl.h: Use it here instead of using __attribute__ directly.
5126
5127 2000-07-13 H.J. Lu <hjl@gnu.org>
5128
5129 * posix/regex.c (re_max_failures): Set to 4000.
5130
5131 2000-08-01 Ulrich Drepper <drepper@redhat.com>
5132
5133 * gnulib/Makefile (tests): Add tst-gcc.
5134 * gnulib/tst-gcc.c: New file.
5135
5136 * assert/Makefile (routines): Add __assert.
5137 * assert/Versions: Export __assert for glibc 2.2.
5138 * assert/__assert.c: New file.
5139 * assert/assert.h: Declare __assert.
5140
5141 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5142
5143 * locale/localeinfo.h (_ISCTYPE): New macro.
5144 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
5145 LC_CTYPE locale format.
5146 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
5147 (ctype_output): Output class_b[nr] right before class_3level[nr].
5148 (allocate_arrays): Fill class_b, similarly to class_3level.
5149
5150 2000-08-01 Ulrich Drepper <drepper@redhat.com>
5151 Joseph S. Myers <jsm28@cam.ac.uk>
5152
5153 * math/tgmath.h: Make standard compliant. Don't ask how.
5154
5155 2000-07-04 H.J. Lu <hjl@gnu.org>
5156
5157 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
5158 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
5159 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
5160
5161 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5162
5163 * include/features.h (_XOPEN_SOURCE): Update the explanation.
5164 (__USE_LARGEFILE): Add an explanation.
5165 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
5166 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
5167
5168 2000-08-01 Ulrich Drepper <drepper@redhat.com>
5169
5170 * libio/Makefile: Enable exception handling for genops, wgenops,
5171 fileops, and wfileops.
5172
5173 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5174
5175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
5176 acount that elf/rtld's main program might remove some varibales
5177 from the environment if we're trying to be secure. Move the Hurd
5178 startup data if necessary, or, if we there is no startup data,
5179 make sure the magical convention that ARGV[0] is stored just after
5180 the environment list.
5181
5182 2000-08-01 Philip Blundell <philb@gnu.org>
5183
5184 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
5185 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
5186 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
5187 oldsetrlimit for GLIBC_2.0.
5188
5189 2000-08-01 Andreas Jaeger <aj@suse.de>
5190
5191 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
5192 (LINE_PARSER): Allow any number of spaces between ip address and
5193 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
5194
5195 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
5196
5197 * include/netdb.h: Remove getipnodebyaddr and friends, leave
5198 constants in.
5199
5200 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
5201 _nss_nisplus_getipnodebyname_r.
5202
5203 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
5204 now, getipnodebyname is deprecated.
5205 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
5206 Likewise.
5207
5208 * inet/Makefile (routines): Don't build getipnodebyaddr and
5209 friends.
5210
5211 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
5212
5213 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
5214
5215 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
5216
5217 * wctype/Makefile (distribute): Add wchar-lookup.h.
5218
5219 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
5220
5221 * iconvdata/Makefile (distribute): Add isiri-3342.h.
5222
5223 2000-08-01 Andreas Schwab <schwab@suse.de>
5224
5225 * Make-dist (dist): Resolve `..' in file names.
5226
5227 2000-08-01 Andreas Jaeger <aj@suse.de>
5228
5229 * stdio-common/Makefile (distribute): Remove removed files, add
5230 new files.
5231
5232 * Makefile (distribute): Remove include/db_185.h and db.h.
5233
5234 * include/db_185.h: Remove, it's not needed anymore.
5235 * include/db.h: Likewise.
5236
5237 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5238
5239 * inet/Makefile (tests): Remove tst-ipnode.
5240 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
5241 now.
5242
5243 2000-07-31 Jes Sorensen <jes@linuxcare.com>
5244
5245 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
5246 endp statements have already been added.
5247
5248 2000-04-18 David Mosberger <davidm@hpl.hp.com>
5249
5250 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
5251 <sysdeps/ia64/sysdep.h>.
5252
5253 * sysdeps/ia64/_mcount.S: New file.
5254
5255 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
5256 __gmon_start__. Fix up extraneous whitespace.
5257
5258 2000-01-12 H.J. Lu <hjl@gnu.org>
5259
5260 * sysdeps/ia64/elf/initfini.c: New file.
5261
5262 2000-07-31 Jes Sorensen <jes@linuxcare.com>
5263
5264 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
5265 dependency between branch and ar.pfs write.
5266
5267 2000-07-31 H.J. Lu <hjl@gnu.org>
5268
5269 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
5270 handle the wchar_t array.
5271
5272 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5273
5274 * iconvdata/gb18030.c: Don't map to and from positions in ISO
5275 10646 which are not yet assigned.
5276 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
5277
5278 2000-07-31 Andreas Jaeger <aj@suse.de>
5279
5280 * inet/Versions: Remove getipnodebyaddr and friends from
5281 GLIBC_2.2.
5282
5283 * resolv/netdb.h: Remove getipnodebyaddr and friends.
5284
5285 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5286
5287 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
5288 ch >= 0x81 && ch2 < 0x40 as invalid.
5289
5290 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5291
5292 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
5293 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
5294
5295 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5296
5297 * iconvdata/johab.c (BODY for TO_LOOP): After calling
5298 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
5299
5300 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5301
5302 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
5303 0xb8.
5304 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
5305
5306 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5307
5308 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
5309
5310 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5311
5312 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
5313 (from_ucs4): Change values of U+00A4 and U+00ED.
5314 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
5315
5316 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5317
5318 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
5319 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
5320
5321 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5322
5323 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
5324 * iconvdata/isiri-3342.h: New file.
5325 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
5326 treat 0x80 as a gap.
5327
5328 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5329
5330 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
5331 (utf8_encode): Use simple shifts instead. Fix return value.
5332
5333 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5334
5335 * timezone/private.h: Update from tzcode2000e.
5336 * timezone/asia: Update from tzdata2000e.
5337 * timezone/australasia: Likewise.
5338 * timezone/europe: Likewise.
5339 * timezone/northamerica: Likewise.
5340 * timezone/zone-tab: Likewise.
5341
5342 2000-07-30 Ralf Baechle <ralf@gnu.org>
5343
5344 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
5345 the order of struct sigaltstack members is different.
5346
5347 2000-07-26 Philip Blundell <philb@gnu.org>
5348
5349 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
5350
5351 2000-07-29 Ulrich Drepper <drepper@redhat.com>
5352
5353 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
5354 * locale/programs/ld-ctype.c: Adjust for this.
5355
5356 * locale/programs/ld-collate.c: Add more alignment checks.
5357 * locale/string/strcoll.c: Likewise.
5358
5359 2000-07-30 Mark Kettenis <kettenis@gnu.org>
5360
5361 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
5362 outside USE_IN_LIBIO block.
5363
5364 2000-07-26 Philip Blundell <philb@gnu.org>
5365
5366 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
5367 (elf_machine_rel): Use it for out-of-range PC24 relocs.
5368
5369 2000-07-28 Philip Blundell <philb@gnu.org>
5370
5371 * math/test-fpucw.c: Ignore reserved bits in control word.
5372
5373 2000-07-28 Philip Blundell <philb@gnu.org>
5374
5375 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
5376 (ret): Redefine to PSEUDO_RET.
5377 (PSEUDO): Remove jump to syscall_error.
5378
5379 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5380
5381 * resolv/README: Add some information about using the resolver in
5382 multi-threaded code and with C++. Spelling fixes.
5383
5384 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5385
5386 * resolv/resolv.h (struct __sockaddr_in): Remove.
5387 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
5388
5389 2000-07-29 Greg McGary <greg@mcgary.org>
5390
5391 * Rules (test-bp-inputs, make-test-out): New variables.
5392 ($(objpfx)%-bp.out): New rule.
5393 ($(objpfx)%.out): Rewrite in terms of new variables.
5394
5395 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
5396 internal function that uses vtable.
5397 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5398 * libio/vswprintf.c (_IO_vswprintf): Likewise.
5399
5400 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
5401 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
5402 (chunk_align): Likewise.
5403
5404 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
5405 in a way that conforms to decl, and avoids spurious bounds violation.
5406
5407 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
5408 * sysdeps/generic/frame.h: Likewise.
5409 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
5410 around return value.
5411 (__backtrace): Qualify frame-pointer chain and return address
5412 pointers as __unbounded. Wrap bounds around variable `current'.
5413 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
5414 around return value.
5415 (catch_segfault): Qualify frame-pointer chain and return address
5416 pointers as __unbounded. Wrap bounds around variable `current'.
5417 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
5418 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
5419 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
5420 __unbounded.
5421 (__backtrace): Qualify frame-pointer chain and return address
5422 pointers as __unbounded. Wrap bounds around variable `current'.
5423
5424 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
5425 * sysdeps/i386/mul_1.S: Likewise.
5426 * sysdeps/i386/submul_1.S: Likewise.
5427 * sysdeps/i386/i586/addmul_1.S: Likewise.
5428 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
5429 * sysdeps/i386/i586/submul_1.S: Likewise.
5430
5431 2000-07-27 Andreas Jaeger <aj@suse.de>
5432
5433 * libio/Depend: New file, libio needs localedata for tests.
5434 * posix/Depend: Likewise.
5435
5436 2000-07-28 Ulrich Drepper <drepper@redhat.com>
5437
5438 * stdio-common/_i18n_itoa.c: Removed.
5439 * stdio-common/_i18n_itoa.h: Removed.
5440 * stdio-common/_i18n_itowa.c: Removed.
5441 * stdio-common/_i18n_itowa.h: Removed.
5442 * stdio-common/_i18n_number.h: New file.
5443 * stdio-common/Depend: New file.
5444 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
5445 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
5446 printing. Change printing of numbers with locale specific digits to
5447 use new code in _i18n_number.h.
5448 * stdio-common/Makefile (routines): Remove _i18n_itoa and
5449 _i18n_itowa.
5450
5451 * stdio-common/bug13.c: Improve messages.
5452
5453 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
5454 (set_class_defaults): Always search also for Uxxxx names.
5455 Detect insufficient number of outdigits.
5456
5457 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
5458
5459 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5460
5461 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
5462 _NL_CTYPE_MAP_NAMES.
5463 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
5464 * wctype/wcfuncs.c (towlower, towupper): Use them.
5465 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
5466 * wctype/wctrans.c (wctrans): Likewise.
5467 * wctype/wctrans_l.c (__wctrans_l): Likewise.
5468
5469 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5470
5471 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
5472 Use the optimized version of this function outside glibc as well.
5473
5474 2000-07-27 Jakub Jelinek <jakub@redhat.com>
5475
5476 * locale/indigits.h (indigit_value): Correct.
5477 * locale/indigitswc.h (indigitwc_value): Correct.
5478 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
5479 conversion, add GROUP checking for it, fix GROUP number
5480 conversion with strlen(thousands) > 1.
5481 Honour width correctly in the presence of floating
5482 decimal points and thousands separators.
5483 * stdio-common/tst-sscanf.c: New test.
5484 * stdio-common/Makefile: Add it to tests.
5485 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
5486 thousands separators and group argument is non-zero.
5487
5488 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5489
5490 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
5491 starts at GLIBC_2.2.
5492
5493 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5494
5495 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
5496 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
5497 _test_and_set.
5498 (headers): Add sys/tas.h.
5499 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
5500 GLIBC_2.2 from libc.
5501 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
5502 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
5503 _test_and_set.
5504
5505 2000-07-28 Andreas Jaeger <aj@suse.de>
5506
5507 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
5508
5509 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
5510 ($(objpfx)tst-dladdr.out): new.
5511 (tests): Add tst-dladdr.
5512 ($(objpfx)glrefmain): Use libdl.
5513
5514 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
5515 <vs@caldera.de>.
5516
5517 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5518
5519 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
5520 ftruncate(64) calls.
5521
5522 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5523
5524 * intl/tst-translit.c: Include string.h to get prototype for
5525 strcmp().
5526
5527 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5528
5529 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
5530 name and add weak alias for __fork.
5531
5532 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
5533 & pwrite to use __libc_<name> as strong names instead of
5534 __syscall_<name>.
5535
5536 * include/sched.h: Add clone2 prototype.
5537
5538 2000-07-26 Jes Sorensen <jes@linuxcare.com>
5539
5540 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
5541 procedure name twice.
5542
5543 2000-07-27 Philip Blundell <philb@gnu.org>
5544
5545 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
5546
5547 2000-07-27 Andreas Jaeger <aj@suse.de>
5548
5549 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
5550 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
5551 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5552 Reported by Andi Kleen <ak@suse.de>.
5553
5554 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
5555 (do_wait): Test requests with aio_return64.
5556 (do_test): Change callers of do_wait.
5557
5558 2000-07-26 Andreas Jaeger <aj@suse.de>
5559
5560 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
5561 (do_wait): Test requests with aio_return.
5562 (do_test): Change callers of do_wait.
5563
5564 2000-07-27 Ulrich Drepper <drepper@redhat.com>
5565
5566 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
5567 from request list. Don't do the list handling here, call
5568 __aio_remove_request.
5569 * rt/aio_misc.h: Add prototype for __aio_remove_request.
5570 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
5571 request might already be processed. Don't do the list handling
5572 here, call __aio_remove_request.
5573
5574 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
5575 LIO_DSYNC.
5576
5577 * rt/aio_misc.c: Add comment explaining why writer memory barriers
5578 are missing.
5579
5580 2000-07-27 Greg McGary <greg@mcgary.org>
5581
5582 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
5583 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
5584 in union init. Pass zero for ignored semnum arg to semctl.
5585 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
5586
5587 2000-07-26 Greg McGary <greg@mcgary.org>
5588
5589 * sysdeps/gnu/bits/msq.h: Qualify kernel's
5590 data structure pointers as __unbounded.
5591 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5592 * sysdeps/generic/bp-semctl.h: New file.
5593 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
5594 pointers as __unbounded. Check bounds of syscall args.
5595 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5596 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5597 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5598 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5599 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
5600 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5601 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
5602 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5603 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5604 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5605 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5606 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5607 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5608 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5610 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
5611
5612 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5613
5614 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
5615 by default.
5616 * locale/C-ctype.c: Likewise.
5617 * wcsmbs/wcsmbsload.c: Likewise.
5618
5619 2000-07-26 Greg McGary <greg@mcgary.org>
5620
5621 * Makeconfig (+link-bounded, link-libc-bounded,
5622 link-extra-libs-bounded): New variables.
5623 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
5624 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
5625 * Rules (tests-bp.out): New variable.
5626 (tests): Conditionally add BP tests.
5627 (binaries-bounded): Add variable and associated rule.
5628 * csu/Makefile [build-bounded] (extra-objs, install-lib):
5629 Move conditional stuff after place where condition is defined.
5630
5631 * malloc/malloc.c (bp-checks.h): Add #include.
5632 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
5633 (_bin_at): Add unbounded version of bin_at.
5634 (IAV, chunk_alloc): Use unbounded _bin_at.
5635 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
5636 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
5637 Wrap BOUNDED_N around return value.
5638 (chunk_realloc): Adjust oldsize once.
5639
5640 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
5641 (__ubp_memchr): Add correct decl.
5642 (_CHECK_STRING): Use __ubp_memchr.
5643 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5644 New alias for unbounded-pointer __memchr.
5645 * sysdeps/i386/memchr.S: Likewise.
5646 * sysdeps/ia64/memchr.S: Likewise.
5647 * sysdeps/m68k/memchr.S: Likewise.
5648 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5649 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5650 * sysdeps/vax/memchr.s: Likewise.
5651
5652 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
5653 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
5654 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
5655 * sysdeps/i386/i686/strtok.S: Likewise.
5656 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
5657 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
5658
5659 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
5660 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
5661
5662 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
5663 bounds of copy_result to mount_proc.
5664
5665 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5666
5667 * wctype/wctype.h (__wctrans_l): New declaration.
5668 * wctype/wctrans_l.c: New file.
5669 * wctype/Makefile (routines): Add wctrans_l.
5670
5671 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5672
5673 * posix/fnmatch_loop.c: Fixes for use outside glibc.
5674 Patch by MacGyver <macgyver@tos.net>.
5675
5676 2000-07-26 Andreas Jaeger <aj@suse.de>
5677
5678 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
5679 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
5680 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
5681
5682 * rt/tst-aio.c (test_file): Fix typo.
5683 * rt/tst-aio64.c (test_file): Likewise.
5684
5685 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
5686 * rt/Makefile: Add rules to build and run tst-aio3.
5687
5688 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
5689 it's not needed and confuses only.
5690
5691 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5692
5693 * resolv/res_init.c: Add support for nameserver communication with
5694 IPv6.
5695 * resolv/res_send.c: Likewise.
5696 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
5697 in nsaddrs field.
5698 Patch by <venaas@nvg.ntnu.no>.
5699
5700 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5701
5702 * locale/programs/ld-ctype.c (wctype_table_get): New function.
5703 (wcwidth_table_get): New function.
5704 (wcwidth_table_add): Call it.
5705 (wctrans_table_get): New function.
5706 (wctrans_table_add): Call it.
5707
5708 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5709
5710 * rt/lio_listio.c (lio_listio): Always disable individual
5711 notification.
5712 * rt/Makefile: Add rules to build and run tst-aio2.
5713 * rt/tst-aio2.c: New file.
5714
5715 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
5716 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
5717
5718 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5719
5720 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
5721 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
5722 leading and trailing spaces from host, user and domain name.
5723
5724 2000-07-25 Jes Sorensen <jes@linuxcare.com>
5725
5726 * csu/defs.awk: Add support for need_endp.
5727
5728 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5729
5730 * resolv/resolv.h: Remove __P from res_send_qhook and
5731 res_send_rhook typedefs.
5732
5733 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5734
5735 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
5736
5737 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5738
5739 * iconv/gconv_builtin.h: Add WCHAR_T alias.
5740
5741 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5742
5743 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
5744 calling thread, set the cancellation flag and return success
5745 instead of EINTR.
5746
5747 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5748
5749 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
5750 * libio/tst-widetext.c: New file.
5751 * libio/tst-widetext.input: New file.
5752
5753 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
5754
5755 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
5756 empty external buffer correctly.
5757
5758 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5759
5760 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
5761 __STRING(entry) and not #entry.
5762 (_RTLD_EPILOGUE): Likewise.
5763 * sysdeps/mips/mips64/dl-machine.h: Likewise.
5764
5765 2000-07-25 Andreas Jaeger <aj@suse.de>
5766
5767 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
5768 according to changes in test program, run also with static only
5769 builds.
5770 ($(objpfx)tst-printf.out): Likewise.
5771
5772 * stdio-common/tst-unbputc.sh: Likewise.
5773 * stdio-common/tst-printf.sh: Likewise.
5774
5775 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5776
5777 * libio/wfileops.c (_IO_wdo_write): Correct return value.
5778
5779 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
5780 loop.
5781
5782 * libio/fileops.c: Pretty print.
5783
5784 2000-07-23 Bruno Haible <haible@clisp.cons.org>
5785
5786 * wctype/wchar-lookup.h: New file.
5787 * wctype/iswctype.c: Include "wchar-lookup.h".
5788 (__iswctype): Support alternate locale format with 3-level tables.
5789 * wctype/iswctype_l.c (__iswctype_l): Likewise.
5790 * wctype/towctrans.c (__towctrans): Likewise.
5791 * wctype/towctrans_l.c (__towctrans_l): Likewise.
5792 * wctype/wcfuncs.c: Include "wchar-lookup.h".
5793 (__ctype32_wctype, __ctype32_wctrans): Declare external.
5794 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
5795 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
5796 __iswxdigit, towlower, towupper): Support alternate locale format
5797 with 3-level tables.
5798 * wctype/wcextra.c (iswblank): Likewise.
5799 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
5800 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
5801 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
5802 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
5803 format with 3-level tables.
5804 * wctype/wcextra_l.c (__iswblank_l): Likewise.
5805 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
5806 format, return a 3-level table pointer.
5807 * wctype/wctype_l.c (__wctype_l): Likewise.
5808 * wctype/wctrans.c (wctrans): Likewise.
5809 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
5810 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
5811 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
5812 (iswctype): Remove macro definition.
5813 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
5814 (internal_wcwidth): Support alternate locale format with 3-level
5815 tables.
5816 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5817 New nl_items.
5818 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5819 Define them as being type "word".
5820 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
5821 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
5822 __ctype32_width): New exported variables.
5823 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
5824 alternate locale format. Don't initialize __ctype_names and
5825 __ctype_width in the alternate locale format.
5826 * locale/programs/localedef.h (oldstyle_tables): New declaration.
5827 * locale/programs/localedef.c (oldstyle_tables): New variable.
5828 (OPT_OLDSTYLE): New macro.
5829 (options): Add --old-style option.
5830 (parse_opt): Handle --old-style option.
5831 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
5832 map_offset, class_3level, map_3level, width_3level members.
5833 (ctype_output): Support for alternate locale format: Computation of
5834 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
5835 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
5836 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
5837 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
5838 now contain both class and map tables.
5839 (struct wctype_table): New type.
5840 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
5841 functions.
5842 (struct wcwidth_table): New type.
5843 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
5844 functions.
5845 (struct wctrans_table): New type.
5846 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
5847 functions.
5848 (allocate_arrays): Support for alternate locale format: Set
5849 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
5850 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
5851 to the first 256 characters. Compute ctype->map_3level. Set
5852 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
5853 instead of ctype->width.
5854
5855 2000-07-24 Ulrich Drepper <drepper@redhat.com>
5856
5857 * libio/iogetwline.c (_IO_getwline_info): Use wide character
5858 string functions.
5859
5860 2000-07-24 Jakub Jelinek <jakub@redhat.com>
5861
5862 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
5863 in wide characters, not bytes.
5864 * libio/tst_putwc.c (do_test): Add test for writing lots of data
5865 into file.
5866
5867 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5868
5869 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
5870 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
5871 LC_MEASUREMENT, LC_IDENTIFICATION.
5872
5873 * locale/xlocale.h (struct __locale_struct): Increase size of
5874 __locales array.
5875 * locale/duplocale.c (__duplocale): Copy newly added categories as
5876 well.
5877 * locale/freelocale.c (__freelocale): Free newly added categories.
5878 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
5879 If a base is given, use it, don't simply return it.
5880
5881 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5882
5883 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
5884 variables, copied_key and copied_salt, instead of boolean variables.
5885
5886 2000-07-24 Andreas Jaeger <aj@suse.de>
5887
5888 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
5889 check for offset.
5890
5891 * grp/initgroups.c (initgroups_dyn_function): Renamed from
5892 initgroups_function, adopted prototype for change from 2000-07-23.
5893 (initgroups): Follow type change.
5894
5895 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
5896 & PAGE_MASK case, reformat.
5897
5898 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
5899 from stdin and setup environment.
5900
5901 2000-07-24 Andreas Schwab <schwab@suse.de>
5902
5903 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
5904
5905 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5906
5907 * string/endian.h: Explain the _*_ENDIAN constant values a bit
5908 more. Patch by scarlet@mit.edu [PR libc/1799].
5909
5910 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
5911 [PR libc/1792].
5912
5913 * argp/argp-parse.c (parser_finalize): Reverse order in which
5914 parsers are run for ARGP_KEY_END. [PR libc/1755].
5915
5916 * grp/initgroups.c (initgroups): Don't limit the possible number
5917 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
5918 the setgroups call while the call fails and descrease the number
5919 of groups each round.
5920 The name of the initgroups function in the NSS modules changed.
5921 (compat_call): Adapt for dynamic resizing.
5922 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5923 Implement dynamic resizing.
5924 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5925 Likewise.
5926 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
5927 * hesiod/Versions: Change exported interface name.
5928 * nis/Versions: Change exported interface name.
5929
5930 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5931
5932 * locale/iso-639.def: Some errors corrected.
5933 Patch by Keld Simonsen.
5934
5935 * include/limits.h: Update non-gcc portion.
5936 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5937
5938 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5939
5940 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
5941 program's data space, reallocate only the space that was just
5942 deallocated to release its backing space.
5943
5944 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5945
5946 * stdio-common/vfprintf.c (process_string_arg): For wide character
5947 version, handle precision also correctly.
5948
5949 * nss/nss_files/files-hosts.c: Correct problem with three or more
5950 entries with the same name.
5951
5952 * nss/nss_files/files-hosts.c: Implement multi handling.
5953 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
5954
5955 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5956
5957 * nss/nss_files/files-parse.c: Don't pollute namespace by using
5958 strcasecmp.
5959
5960 * grp/Makefile: Change Makefiles and tests to run only when necessary.
5961 * malloc/Makefile: Likewise.
5962 * malloc/tst-mtrace.sh: Likewise.
5963 * posix/Makefile: Likewise.
5964 * posix/globtest.sh: Likewise.
5965 * posix/wordexp-tst.sh: Likewise.
5966 * string/Makefile: Likewise.
5967
5968 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5969
5970 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
5971 size instead of LC_ALL to take into account the new locale
5972 categories.
5973
5974 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5975
5976 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
5977 remainders of hash table.
5978 * locale/categories.def: Remove remainders of transliteration
5979 hash table.
5980 * locale/langinfo.h: Likewise.
5981 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
5982 transliteration tables.
5983
5984 * locale/gen-translit.pl: New file.
5985 * locale/C-translit.h.in: New file.
5986 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
5987 data pointers with data from this file.
5988 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
5989 and gen-translit.pl.
5990 Add rule to generate C-translit.h.
5991 * intl/tst-translit.c (main): Update for now performed
5992 transliteration.
5993
5994 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
5995 (it's no input error).
5996 * stdio-common/tstscanf.c: Add test case for format %f with input --.
5997 * stdio-common/scanf12.c: Correct expected result for first scanf.
5998
5999 * stdio-common/vfprintf.c (process_string_arg): Correct handling
6000 of multibyte character strings in %s format with precision.
6001
6002 2000-07-21 Ulrich Drepper <drepper@redhat.com>
6003
6004 * locale/programs/ld-collate.c (collate_read): Allow collating
6005 symbols and elements be named in reorder-after instructions.
6006 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
6007
6008 * locale/programs/ld-collate.c (handle_ellipsis): Test for
6009 duplication with generated name, not the name of the first
6010 character.
6011 Patch by Yong Li <yong.li@asu.edu>.
6012
6013 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
6014 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
6015
6016 2000-07-21 Wolfram Gloger <wg@malloc.de>
6017
6018 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
6019 allocations only if a non-main arena cannot be extended.
6020
6021 2000-07-21 Ulrich Drepper <drepper@redhat.com>
6022
6023 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
6024 in DF_1_NODEFLIB handling.
6025
6026 2000-07-21 Andreas Jaeger <aj@suse.de>
6027
6028 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
6029 own rule.
6030
6031 * libio/fwide.c: Include <wchar.h> for prototype.
6032
6033 2000-07-21 Greg McGary <greg@mcgary.org>
6034
6035 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
6036 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
6037 Define in terms of chunk_at_offset.
6038 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
6039 (next_bin, prev_bin): offset by size of real array elements.
6040 (chunk_align): Make `m' a scalar, since that's how it's used.
6041
6042 2000-07-21 Greg McGary <greg@mcgary.org>
6043
6044 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
6045 UNCHECK_BOUNDS.
6046 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
6047 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
6048 Wrap bounds around argv & envp and each of their string members.
6049 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
6050 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
6051 symbol in BP_SYM (). Discard bounds of address arg.
6052 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
6053 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
6054 Discard bounds on address arg, add bounds to return value.
6055
6056 2000-07-20 Ulrich Drepper <drepper@redhat.com>
6057
6058 * elf/Makefile (tests): Add filter. Add rules to generate filter.
6059 * elf/filter.c: New file.
6060 * elf/filtmod1.c: New file.
6061 * elf/filtmod2.c: New file.
6062
6063 * elf/rtld.c: Define _dl_bind_not variable.
6064 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
6065 * elf/dl-support.c: Likewise.
6066 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
6067 * elf/dl-runtime.c (fixup): Don't remember looked up value if
6068 _dl_bind_not.
6069 (profile_fixup): Likewise.
6070
6071 * libio/Makefile (routines): Add fwide.
6072 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
6073 fwide now. Internal calls to _IO_fwide must do locking themselves
6074 or don't need locking.
6075 * libio/fwide.c: New file.
6076
6077 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
6078
6079 * elf/Makefile: Add no modules for nodelete test.
6080 * elf/nodelmod3.c: New file.
6081 * elf/nodelmod4.c: New file.
6082 * elf/nodelete.c: Also test case where dependency of dlopen() object
6083 is marked nodelete.
6084
6085 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
6086 * elf/nodlopen.c: New file.
6087 * elf/nodlopenmod.c: New file.
6088 * include/dlfcn.h: Define __RTLD_DLOPEN.
6089 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
6090 and this is a dlopen() call, do not load the binary.
6091 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
6092 * dlfcn/dlopenold.c: Likewise.
6093 * configure.in: Add test for -z nodelete option.
6094 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
6095
6096 2000-07-20 Mark Kettenis <kettenis@gnu.org>
6097
6098 Make Hesiod NSS module thread-safe.
6099
6100 * hesiod/README.hesiod: Update.
6101
6102 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
6103 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
6104 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
6105 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
6106 hesiod-proto.
6107 * hesiod/nss_hesiod/hesiod-init.c: New file.
6108 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
6109 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
6110 * hesiod/nss_hesiod/nss_hesiod.h: New file.
6111 * hesiod/nss_hesiod/hesiod-service.c
6112 (_nss_hesiod_getservbyport_r): New function. Provide support for
6113 looking up services by port number.
6114 * hesiod/nss_hesiod/hesiod-proto.c: New file.
6115
6116 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
6117 * hesiod/hesiod.h: Likewise.
6118 * hesiod/hesiod_p.h: Likewise.
6119
6120 2000-07-20 Mark Kettenis <kettenis@gnu.org>
6121
6122 Fix problems with `struct __res_state' getting too big.
6123 * resolv/resolv.h (struct __sockaddr_in): New definition.
6124 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
6125 the private parts of the structure to save some space.
6126 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
6127 (struct sockaddr_in *) in call to sock_eq.
6128 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
6129
6130 2000-07-20 Ulrich Drepper <drepper@redhat.com>
6131
6132 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
6133 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
6134 with nodelete.
6135 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
6136 to _dl_map_object. Return immediately if no object loaded.
6137 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
6138 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
6139 if it exists into l_flags_1 word.
6140 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
6141 it to determine whether loading is wanted or not.
6142 (_dl_map_object): Likewise.
6143 Call _dl_map_object_from_fd with new parameter.
6144 * sysdeps/generic/ldsodefs.h: Update prototype.
6145 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
6146 * elf/rtld.c: Likewise.
6147 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6148 * elf/Makefile (tests): Add noload. Add rules to generate noload.
6149 * elf/noload.c: New file.
6150 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
6151 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
6152 * sysdeps/mips/bits/dlfcn.h: Likewise.
6153 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
6154 (tests-nodelete-yes): Define.
6155 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
6156 Add rules to build nodelete and modules.
6157 * elf/nodelete.c: New file.
6158 * elf/nodelmod1.c: New file.
6159 * elf/nodelmod2.c: New file.
6160 * configure.in: Add test for -z nodelete option.
6161 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
6162
6163 * libio/Makefile (tests): Add tst_wprintf2.
6164 (tst_wprintf2-ARGS): Define.
6165 * libio/tst_wprintf2.c: New file.
6166 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
6167
6168 * libio/wfiledoalloc.c: Only allocate external buffer if this
6169 hasn't happened yet.
6170
6171 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
6172 something in the buffer. gconv call can write up to end of the
6173 buffer, not only _IO_write_end.
6174 (_IO_wfile_overflow): Allocate also external buffer.
6175
6176 2000-07-19 Ulrich Drepper <drepper@redhat.com>
6177
6178 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
6179 strings with precision in vfwprintf correctly.
6180 * stdio-common/vfprintf.c: Fix completely broken handling of
6181 unbuffered wide character streams.
6182 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
6183
6184 * resolv/Makefile (distribute): Add README.
6185
6186 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
6187
6188 2000-07-18 Mark Kettenis <kettenis@gnu.org>
6189
6190 Update resolver code to BIND 8.2.3-T5B.
6191
6192 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
6193 __res_nclose.
6194 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
6195 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
6196 __res_search.
6197 * resolv/Banner: BIND-8.2.3-T5B.
6198
6199 * resolv/base64.c: Update from BIND 8.2.3-T5B.
6200 * resolv/herror.c: Likewise.
6201 * resolv/inet_addr.c: Likewise.
6202 * resolv/inet_net_ntop.c: Likewise.
6203 * resolv/inet_net_pton.c: Likewise.
6204 * resolv/inet_neta.c: Likewise.
6205 * resolv/inet_ntop.c: Likewise.
6206 * resolv/nsap_addr.c: Likewise.
6207 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
6208 IPv6 addresses (ISC bug #520).
6209
6210 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
6211 * resolv/ns_parse.c: Likewise.
6212 * resolv/ns_netint.c: Likewise.
6213 * resolv/ns_samedomain.c: Likewise.
6214 * resolv/ns_ttl.c: Likewise.
6215 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
6216 RCS ID in object file.
6217
6218 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
6219 * resolv/res_mkquery.c: Likewise.
6220 * resolv/res_query.c: Likewise.
6221 * resolv/res_init.c: Likewise.
6222 (res_setoptions): Mark internal.
6223 * resolv/res_send.c: Likewise.
6224 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
6225 by using poll instead.
6226 * resolv/res_comp.c: Likewise.
6227 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
6228 weak alias for __dn_expand.
6229 * resolv/res_data.c: Likewise.
6230 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
6231 in _res.options. Avoids a potential security risk by avoiding a
6232 close (0).
6233 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
6234 res_mkquery, res_query, res_querydomain adn res_search weak
6235 aliases for __res_mkquery, __res_query, __res_querydomain and
6236 __res_search.
6237 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
6238 instead to avoid close(0).
6239 (res_init): Always use the static resolver context.
6240 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
6241 alias for __res_init.
6242
6243 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
6244 RES_SET_H_ERRNO and accompanying comment to...
6245 * include/resolv.h: ... here.
6246
6247 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
6248 * resolv/arpa/nameser_compat.h: Likewise.
6249
6250 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6251
6252 * nss/makedb.c (main): Compare result of load_db with
6253 NSS_STATUS_SUCCESS and not 0.
6254 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
6255
6256 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
6257
6258 2000-07-18 Greg McGary <greg@mcgary.org>
6259
6260 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
6261 (EXTEND_BUFFER): Use it.
6262
6263 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6264
6265 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
6266 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
6267 __builtin_return_address.
6268 * dlfcn/dlopenold.c: Likewise.
6269 * dlfcn/dlsym.c: Likewise.
6270 * dlfcn/dlvsym.c: Likewise.
6271 * elf/dl-profstub.c: Likewise.
6272 * malloc/malloc.c: Likewise.
6273 * sysdeps/generic/machine-gmon.h: Likewise.
6274 Based on a patch by schwidefsky@de.ibm.com.
6275
6276 2000-07-18 Andreas Jaeger <aj@suse.de>
6277
6278 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
6279 NULL to elf_machine_fixup_plt t argument to silence GCC.
6280
6281 * include/string.h: Add prototype for __memchr.
6282
6283 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
6284
6285 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
6286 instead of memrchr.
6287
6288 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6289
6290 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
6291
6292 * locale/C-ctype.c: Add initializers for gap elements.
6293 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
6294 for gap elements.
6295
6296 2000-07-16 Ulrich Drepper <drepper@redhat.com>
6297
6298 * nscd/nscd.c (print_version): Update copyright year.
6299
6300 2000-07-17 Greg McGary <greg@mcgary.org>
6301
6302 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6303 keyletters F, I, S, W. Remove unused keyletter V. Surround
6304 signature argnames with angle-brackets for use as word delimiters,
6305 and to induce syntax errors for any args not handled. Split
6306 multi-echo echoes and comment each stage.
6307 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
6308 * sysdeps/unix/inet/syscalls.list: Likewise.
6309 * sysdeps/unix/mman/syscalls.list: Likewise.
6310 * sysdeps/unix/syscalls.list: Likewise.
6311 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6312 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6313 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6314 * sysdeps/unix/sysv/syscalls.list: Likewise.
6315 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
6316
6317 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
6318 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
6319 qualifiers. Don't check NULL-terminator of argv & envp.
6320 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
6321 unbounded pointer type in word-size assertion.
6322 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
6323 cases to stifle warnings.
6324
6325 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
6326 _IO_file_attach.
6327 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6328
6329 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
6330 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
6331 ptr as __unbouned.
6332
6333 * Makerules (o-objects): Supplement with $(o-objects$o).
6334 * string/Makefile (o-objects.ob): Add variable to pull
6335 unbounded versions of memcpy, memset and memchr into libc_b.
6336
6337 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
6338 rather than non-existent __ubp_memchr.
6339 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
6340 (_CHECK_STRING, _CHECK_N): New macros.
6341 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
6342 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
6343 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
6344 Add weak alias "memchr".
6345 * sysdeps/generic/memchr.c: Likewise.
6346 * sysdeps/i386/memchr.S: Likewise.
6347 * sysdeps/ia64/memchr.S: Likewise.
6348 * sysdeps/m68k/memchr.S: Likewise.
6349 * sysdeps/sparc/sparc32/memchr.S: Likewise.
6350 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6351 * sysdeps/vax/memchr.s: Likewise.
6352
6353 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
6354
6355 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
6356 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
6357 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
6358 __BOUNDED_POINTERS__.
6359 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
6360 for __BOUNDED_POINTERS__.
6361
6362 2000-07-17 Bruno Haible <haible@clisp.cons.org>
6363
6364 * iconv/gconv_open.c (__gconv_open): Initialize the __data
6365 field of struct __gconv_trans_data differently. Don't pass NULL to
6366 trans_init_fct. Simplify list append operation.
6367
6368 2000-07-14 Bruno Haible <haible@clisp.cons.org>
6369
6370 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
6371 not only those having tsearch.
6372
6373 2000-07-17 Ulrich Drepper <drepper@redhat.com>
6374
6375 * locale/langinfo.h: Add placeholder values in enum for removed
6376 LC_CTYPE entries.
6377
6378 2000-07-17 Jakub Jelinek <jakub@redhat.com>
6379
6380 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
6381 chain if the PHDR check fails.
6382
6383 2000-07-17 Mark Kettenis <kettenis@gnu.org>
6384
6385 * nss/getent.c (print_hosts): Make sure we always print a space
6386 between numeric addresses and hostnames.
6387
6388 2000-07-17 Wolfram Gloger <wg@malloc.de>
6389
6390 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
6391 i.e. if n_mmaps_max>0.
6392
6393 2000-07-16 Mark Kettenis <kettenis@gnu.org>
6394
6395 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
6396 values to remove possible clash with other AI_* constants.
6397 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
6398 hexadecimal constants to stress the fact they're in fact
6399 bit flags.
6400
6401 2000-07-15 Mark Kettenis <kettenis@gnu.org>
6402
6403 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
6404 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
6405 instead of res_init.
6406
6407 2000-07-16 Ulrich Drepper <drepper@redhat.com>
6408
6409 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
6410 parameters of memset calls to avoid warnings.
6411
6412 2000-07-15 Ulrich Drepper <drepper@redhat.com>
6413
6414 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
6415 necessary.
6416
6417 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
6418 Patch by Greg McGary <greg@mcgary.org>.
6419
6420 * io/Makefile (tests): Add tst-getcwd.
6421 * io/tst-getcwd.c: New file.
6422
6423 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
6424
6425 2000-07-15 Jakub Jelinek <jakub@redhat.com>
6426
6427 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
6428 structure.
6429
6430 2000-07-13 Jakub Jelinek <jakub@redhat.com>
6431
6432 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
6433 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
6434
6435 2000-07-12 H.J. Lu <hjl@gnu.org>
6436
6437 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
6438 GLIBC_2.2.
6439 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
6440 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
6441 (sysdep-routines): Add clone2.
6442 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
6443
6444 2000-07-13 Jes Sorensen <jes@linuxcare.com>
6445
6446 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
6447 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
6448
6449 2000-06-05 David Mosberger <davidm@hpl.hp.com>
6450
6451 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
6452 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
6453 Change type of si_band from "int" to "long".
6454 (si_imm) [USE_GNU]: Define
6455 (si_isr) [USE_GNU]: Likewise.
6456 (ILL_BREAK) [USE_GNU]: Likewise.
6457 (FPE_DECOVF) [USE_GNU]: Likewise.
6458 (FPE_DECDIV) [USE_GNU]: Likewise.
6459 (FPE_DECERR) [USE_GNU]: Likewise.
6460 (FPE_INVASC) [USE_GNU]: Likewise.
6461 (FPE_INVDEC) [USE_GNU]: Likewise.
6462 (TRAP_BRANCH) [USE_GNU]: Likewise.
6463 (TRAP_HWBKPT) [USE_GNU]: Likewise.
6464
6465 2000-07-06 Jes Sorensen <jes@linuxcare.com>
6466
6467 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
6468 bits/sigcontext as struct mcontext does not depend on it.
6469
6470 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
6471
6472 2000-07-04 Jes Sorensen <jes@linuxcare.com>
6473
6474 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
6475
6476 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
6477
6478 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
6479
6480 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6481
6482 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
6483
6484 2000-07-15 Ulrich Drepper <drepper@redhat.com>
6485
6486 * intl/Makefile (test-srcs): Add tst-translit.
6487 (tests): Likewise.
6488 Add rules to build and run tst-translit.
6489 * intl/tst-translit.c: New file.
6490 * intl/tst-translit.sh: New file.
6491 * intl/translit.po: New file.
6492
6493 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6494
6495 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
6496 transliteration function did its job, continue, don't stop.
6497
6498 * iconvdata/iso646.c: Little optimizations in body for conversion
6499 from UCS4.
6500
6501 2000-07-14 Mark Kettenis <kettenis@gnu.org>
6502
6503 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
6504
6505 2000-07-14 Mark Kettenis <kettenis@gnu.org>
6506
6507 * configure.in: Check for pwd binary.
6508 * config.make.in: Add PWD_P to be subsituted.
6509 * Makerules: Use $(PWD_P) instead of /bin/pwd.
6510
6511 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6512
6513 * iconvdata/Makefile (modules): Add GB18030.
6514 (distribute): Add gb18030.c.
6515 * iconvdata/gconv-modules: Add entries for GB18030 module.
6516 * iconvdata/gb18030.c: New file.
6517 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
6518 and Wu Jian.
6519
6520 2000-07-13 Andreas Jaeger <aj@suse.de>
6521
6522 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
6523 patch.
6524
6525 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
6526 * inet/getnetgrent.c (free_mem): Likewise.
6527 * misc/mntent.c (free_mem): Likewise.
6528 * nss/getXXbyYY.c (free_mem): Likewise.
6529 * nss/getXXent.c (free_mem): Likewise.
6530 * pwd/fgetpwent.c (free_mem): Likewise.
6531 * shadow/fgetspent.c (free_mem): Likewise.
6532
6533 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6534
6535 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
6536 64-bit architecture correctly [PR libc/1794].
6537
6538 2000-07-13 Ulrich Drepper <drepper@redhat.com>
6539
6540 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
6541 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
6542 report that we are out of memory.
6543 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6544 * elf/dl-libc.c (dlerror_run): Likewise.
6545 * elf/dl-open.c (_dl_open): Likewise.
6546 * elf/rtld.c (dl_main): Likewise.
6547 * elf/dl-error.c: Define _dl_out_of_memory.
6548 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
6549 the error string.
6550 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
6551 [PR libc/1813].
6552
6553 * dlfcn/dlerror.c (free_key_mem): Also free error string.
6554
6555 * iconv/loop.c: Fix comment.
6556
6557 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
6558
6559 2000-07-13 Andreas Jaeger <aj@suse.de>
6560
6561 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
6562 getcwd (NULL, size) with size > 0.
6563 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
6564
6565 2000-07-13 Andreas Jaeger <aj@suse.de>
6566
6567 * posix/Makefile: Remove build rules for libposix.
6568
6569 2000-07-13 Andreas Schwab <schwab@suse.de>
6570
6571 * sysdeps/generic/glob.c (glob): Fix memory leak.
6572 [SHELL]: Remove reference to undefined variable `files'.
6573 Fixes PR libc/1782.
6574
6575 2000-07-13 Andreas Jaeger <aj@suse.de>
6576
6577 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
6578 functions.
6579
6580 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
6581 memory if it was allocated.
6582
6583 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6584
6585 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
6586 step.
6587
6588 * iconv/gconv_open.c (__gconv_open): Reapply
6589 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6590
6591 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6592
6593 * iconv/gconv_open.c: Undo last two changes for now. They break
6594 everything.
6595
6596 2000-07-12 Andreas Jaeger <aj@suse.de>
6597
6598 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
6599 compiler.
6600 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
6601 (CFLAGS-dl-cache.c): Likewise.
6602 (CFLAGS-ldconfig.c): Added, passes directory locations.
6603
6604 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
6605 locate cache.
6606 * elf/ldconfig.c (LD_SO_CONF): Likewise.
6607 (main): Use configured LIBDIR and SLIBDIR.
6608
6609 2000-07-11 Jakub Jelinek <jakub@redhat.com>
6610
6611 * math/bits/cmathcalls.h (cimag): Add __THROW.
6612 (creal, conj): Likewise.
6613 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
6614 by negative value.
6615
6616 2000-07-12 H.J. Lu <hjl@gnu.org>
6617
6618 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
6619 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
6620
6621 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6622
6623 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
6624 it is wrong.
6625
6626 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6627
6628 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6629
6630 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6631
6632 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
6633 __modname.
6634
6635 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6636
6637 * iconv/gconv_open.c (__gconv_open): Initialize
6638 result->__steps[cnt].__data.
6639
6640 2000-07-12 Mark Kettenis <kettenis@gnu.org>
6641
6642 * nss/getent.c (services_keys): Pass port number in network byte
6643 order in call to getservbyport.
6644
6645 2000-07-11 Andreas Jaeger <aj@suse.de>
6646
6647 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
6648 source dir.
6649 * intl/Makefile (do-gettext-test): Likewise.
6650 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
6651
6652 2000-07-11 Andreas Schwab <schwab@suse.de>
6653
6654 * Makeconfig (run-program-prefix): New rule.
6655 (built-program-cmd): Use run-program-prefix.
6656
6657 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6658
6659 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
6660 and NOEXPR unconditionally available.
6661
6662 2000-07-12 Greg McGary <greg@mcgary.org>
6663
6664 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
6665 * sysdeps/posix/open64.c: Likewise.
6666 * sysdeps/generic/fegetenv.c: Likewise.
6667 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
6668 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6669 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6670 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
6671 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
6672 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
6673
6674 2000-07-11 Greg McGary <greg@mcgary.org>
6675
6676 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
6677 Add extra level of macro expansion.
6678 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
6679 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
6680 is available at the time `select' prototype is declared.
6681 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
6682 Collect non-versioned weak aliases. Consider only non-versioned
6683 aliases for the user-visible systemcall name. Do checks inline with
6684 call to primitive system call.
6685 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
6686 stand-alone bounds checks to suppress unused value warnings.
6687 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6688
6689 2000-07-10 Mark Kettenis <kettenis@gnu.org>
6690
6691 * sysdeps/mach/hurd/check_fds.c: New file. Implements
6692 file descriptor checking in SUID programs for the Hurd.
6693
6694 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
6695 res_hostalias instead of __hostalias for thread-safety.
6696
6697 2000-07-09 Mark Kettenis <kettenis@gnu.org>
6698
6699 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
6700 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
6701
6702 2000-07-10 Ulrich Drepper <drepper@redhat.com>
6703
6704 * include/features.h: Include ISO C99 features if the compiler used
6705 is an ISO C99 compiler.
6706 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6707
6708 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6709
6710 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
6711
6712 2000-07-10 Andreas Jaeger <aj@suse.de>
6713
6714 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
6715 it's overridden by libpthreads.
6716 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6717 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6718 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6720 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6721
6722 * malloc/Makefile: Run tst-mtrace only with shared libs.
6723
6724 * stdio-common/Makefile: Run unbputc and tst-printf tests only
6725 with shared libs.
6726
6727 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6728
6729 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
6730 that gpreg really points to the GOT section of the calling object.
6731 Scan all PT_LOAD segments of objects for stub_pc, instead of only
6732 checking a start address of first one.
6733 Fix typos.
6734 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
6735 Likewise.
6736
6737 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
6738
6739 2000-07-10 Andreas Jaeger <aj@suse.de>
6740
6741 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
6742 (string_alias->strong_alias).
6743
6744 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6745
6746 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
6747
6748 2000-07-07 Greg McGary <greg@mcgary.org>
6749
6750 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
6751 have no names without leading underscores.
6752
6753 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6754
6755 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
6756 U007E.
6757
6758 * stdio-common/Makefile (tests): Remove tst-printf here...
6759 (tests-srcs): ...and add it here.
6760 (distribute): Add tst-unbputc.sh and tst-printf.sh.
6761 Add rules to run tst-printf.sh.
6762 * stdio-common/tst-printf.c: Move code around so that there is really
6763 no further output where it's stated.
6764 * stdio-common/tst-printf.sh: New file.
6765
6766 2000-07-07 Mark Kettenis <kettenis@gnu.org>
6767
6768 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
6769 (do_write): Renamed from pwrite.
6770 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
6771 `struct _IO_cookie_file'.
6772
6773 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6774
6775 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
6776 detected.
6777 * malloc/tst-mtrace.sh: Run mtrace script.
6778
6779 2000-07-07 Greg McGary <greg@mcgary.org>
6780
6781 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
6782 Move all three components of a bounded pointer.
6783
6784 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6785
6786 * locale/programs/locale.c (write_locales): Don't simply add all
6787 directories found in the subdir, test whether at least the
6788 LC_CTYPE file is in there.
6789
6790 2000-07-06 Ulrich Drepper <drepper@redhat.com>
6791
6792 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
6793 * iconvdata/euc-kr.c: Likewise.
6794
6795 * stdio-common/vfprintf.c (process_string_arg): Check result of
6796 wcrtomb call and bail out if it failed.
6797
6798 * malloc/Makefile (test-srcs): Add tst-mtrace.
6799 (distribute): Add tst-mtrace.sh.
6800 Add rule to run tst-mtrace.sh.
6801 * malloc/tst-mtrace.c: New file.
6802 * malloc/tst-mtrace.sh: New file.
6803
6804 * include/signal.h: Declare __libc_sigaction.
6805 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
6806 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
6807 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6808 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6809 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6812
6813 * configure.in: Fix CFLAGS-memprofstat.c definition after
6814 2000-06-19 change.
6815 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
6816
6817 2000-07-06 Jakub Jelinek <jakub@redhat.com>
6818
6819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
6820 instead of NULL to elf_machine_fixup_plt t argument.
6821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
6823 cast.
6824
6825 2000-07-06 Andreas Jaeger <aj@suse.de>
6826
6827 * crypt/Makefile (LDLIBS-cert): Removed.
6828 (LDLIBS-md5c-test): Removed.
6829 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
6830 ($(objpfx)md5c-test): Likewise for md5c-test.out.
6831
6832 2000-07-06 Andreas Jaeger <aj@suse.de>
6833
6834 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
6835 of the proc system is "proc".
6836
6837 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
6838 thread library for static programs.
6839
6840 2000-07-06 Greg McGary <greg@mcgary.org>
6841
6842 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
6843 New macros.
6844 * sysdeps/generic/strcpy.c: Add bounds checks.
6845 * sysdeps/unix/fxstat.c: Likewise.
6846 * sysdeps/unix/xstat.c: Likewise.
6847 * sysdeps/unix/common/lxstat.c: Likewise.
6848 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6849 * sysdeps/unix/sysv/linux/execve.c: Likewise.
6850 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
6851 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
6852 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6853 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6854 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
6855 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6856 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6857 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6858 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6859 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6860 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6861 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6862 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6863 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6864 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6865 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6866 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6867 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
6868 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6869 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6870 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6871 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6872 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6873 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
6874 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6875 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
6876 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6877 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6878 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6879 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6880 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6881 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6882 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6883 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6884 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6885 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6886 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6887 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6890 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6891 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6892 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
6893 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
6894 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6895 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
6896 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
6897 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
6898 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
6899 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
6900 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6901 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6902 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6903 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6904 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6905 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
6906 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
6907 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
6908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
6911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
6912
6913 * string/endian.h (__LONG_LONG_PAIR): New macro.
6914 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
6915 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6916 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6917 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6918 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6919 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6920 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6921 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6922 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6923 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6924 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6925 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6926
6927 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
6928
6929 2000-07-06 Andreas Jaeger <aj@suse.de>
6930
6931 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
6932 Initialize result.
6933
6934 * math/test-fpucw.c: Include <stdio.h> for printf.
6935
6936 2000-07-05 Greg McGary <greg@mcgary.org>
6937
6938 * sysdeps/generic/bp-checks.h: New file.
6939 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
6940 with list of #include files.
6941 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6942 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
6943 Don't generate BP thunk if `V' appears in signature.
6944 Generate thunks with complete bounds checks.
6945 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
6946 * sysdeps/unix/inet/syscalls.list: Likewise.
6947 * sysdeps/unix/mman/syscalls.list: Likewise.
6948 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6949 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6950 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6951 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
6952
6953 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6954
6955 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
6956 result. Search first in /etc/mtab (proc/mounts would be stupid).
6957 If mount not in the file fall back on /proc.
6958
6959 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
6960 string got copied in.
6961 Patch by Solar Designer <solar@false.com>.
6962
6963 2000-07-05 Andreas Jaeger <aj@suse.de>
6964
6965 * manual/install.texi (Installation): Update information about
6966 add-ons.
6967 (Configuring and compiling): Update for glibc 2.2.
6968
6969 2000-07-04 Andreas Jaeger <aj@suse.de>
6970
6971 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
6972 (_FPU_IEEE): Likewise.
6973
6974 * math/Makefile (tests): Add test-fpucw.
6975
6976 * math/test-fpucw.c (main): New file.
6977
6978 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6979
6980 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
6981
6982 * locale/programs/ld-collate.c (collate_output): Also write out the
6983 collation sequence values and the wide character string for the
6984 collation symbol table.
6985
6986 * posix/fnmatch.c: Include "../locale/elem-hash.h".
6987 * posix/fnmatch_loop.c: Implement collating symbol handling.
6988 * posix/tst-fnmatch.input: Add more tests, especially for collating
6989 symbol handling.
6990
6991 * posix/regex.c: Fix comment.
6992
6993 2000-07-05 Andreas Jaeger <aj@suse.de>
6994
6995 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
6996 (_FPU_GETCW): Remove extra colon.
6997 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6998
6999 * posix/fnmatch_loop.c (FCT): Only declare len if
7000 !WIDE_CHAR_VERSION to silence GCC.
7001
7002 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
7003 prototype.
7004 * sysdeps/generic/strchrnul.c: Likewise.
7005 * sysdeps/generic/strlen.c: Likewise.
7006 * sysdeps/generic/strchr.c: Likewise.
7007 * sysdeps/generic/memchr.c: Likewise.
7008
7009 2000-07-04 Ulrich Drepper <drepper@redhat.com>
7010
7011 * posix/fnmatch_loop.c: Implement equivalence class handling.
7012 * posix/tst-fnmatch.input: Add tests for equivalence class
7013 handling.
7014
7015 * posix/fnmatch_loop.c: Improve performance for single-byte
7016 character sets by not using btowc.
7017
7018 * posix/tst-fnmatch.input: Add tests for locale dependent
7019 behaviour.
7020 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
7021
7022 * posix/tst-fnmatch.input: Add more test cases.
7023
7024 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
7025 are not aligned to alignof(md5_uint32) do it before calling
7026 __md5_process_bytes.
7027 * crypt/md5.c: Make sure buffers are aligned.
7028 * crypt/md5.h: Likewise.
7029 Reported by Solar Designer <solar@false.com>.
7030
7031 * crypt/Makefile: Add dependencies for test programs.
7032
7033 * Rules: Define LC_ALL=C in environments of all programs we run.
7034
7035 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
7036
7037 2000-07-03 H.J. Lu <hjl@gnu.org>
7038
7039 * locale/programs/ld-ctype.c (ctype_output): The size of iov
7040 is 2 + elem + offset, not 2 + elem + offset + 2.
7041
7042 2000-07-04 Ulrich Drepper <drepper@redhat.com>
7043
7044 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
7045 suite.
7046 * posix/Makefile (tests): Add tst-fnmatch.
7047 (tst-fnmatch-ENV): Define.
7048 * posix/tst-fnmatch.c: New file.
7049 * posix/tst-fnmatch.sh: New file.
7050
7051 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
7052
7053 * locale/programs/charmap.c (charmap_read): Prepend
7054 the condition filename == NULL.
7055
7056 2000-07-03 Greg McGary <greg@mcgary.org>
7057
7058 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
7059
7060 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
7061 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
7062
7063 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
7064 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
7065 (FILEBUF_LITERAL): Add cast for CHAIN init.
7066 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
7067 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
7068 Revert type of `fp' to _IO_FILE*.
7069 (_IO_iter_file): Remove cast.
7070 (_IO_iter_next): Elide intermediate member reference.
7071
7072 * sysdeps/powerpc/strchr.S: Check bounds.
7073 Wrap extern symbols in BP_SYM ().
7074
7075 2000-07-03 Andreas Jaeger <aj@suse.de>
7076
7077 * dlfcn/Makefile (generated): New.
7078
7079 2000-07-03 Ulrich Drepper <drepper@redhat.com>
7080
7081 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
7082 (__uflow): Likewise.
7083 (__underflow): Likewise.
7084 * libio/wgenops.c (__wunderflow): Likewise.
7085 * stdio-common/tst-unbputc.c: New file.
7086 * stdio-common/tst-unbputc.sh: New file.
7087 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
7088
7089 * po/en_GB.po: New file.
7090 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
7091
7092 2000-07-01 Andreas Jaeger <aj@suse.de>
7093
7094 * intl/Makefile (generated-dirs): New.
7095
7096 * elf/Makefile (generated): trusted-dirs.h is always generated,
7097 move out of build-shared condition.
7098 (generated): Merge the two entries for build-shared.
7099
7100 2000-07-01 Ulrich Drepper <drepper@redhat.com>
7101
7102 * debug/Makefile (distribute): Add xtrace.sh.
7103
7104 2000-06-30 Ulrich Drepper <drepper@redhat.com>
7105
7106 * version.h (VERSION): Bump to 2.1.91.
7107
7108 * configure.in: Update warning comment. glibc should not be
7109 broken anymore.
7110
7111 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
7112 ioperm.c, sys/procfs.h, and sys/io.h.
7113
7114 * sysdeps/powerpc/Dist: Add bp-asm.h.
7115
7116 * assert/Depend: Add localedata.
7117 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
7118 (test-assert-perr-ENV): New. Define LANGUAGE=C.
7119
7120 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
7121 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
7122 relocation address to prevent unaligned trap.
7123 Suggested by Richard Henderson <rth@cygnus.com>.
7124
7125 2000-06-30 Jakub Jelinek <jakub@redhat.com>
7126
7127 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
7128 if redirecting and either redirection is done using defines or
7129 not optimizing.
7130
7131 2000-06-30 Ulrich Drepper <drepper@redhat.com>
7132
7133 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
7134 generated expressions.
7135 Patch by Darren McClelland <dmcclell@zetec.com>.
7136
7137 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
7138 since zic uses setlocale and gettext but we cannot make it use the
7139 new locale data since zic calls a shell which might not use the
7140 new libc.
7141
7142 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
7143 handling the internation currency symbol. POSIX says that the
7144 fourth character is used to separate the currency symbol from the
7145 value. Therefore it does not have to be printed. But we cannot
7146 remove the space if the currency symbol is printed before the
7147 number since this is what many locales expect.
7148
7149 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
7150 whether this information is available.
7151
7152 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
7153 buffers in case the translation is too large. Remember allocated
7154 memory blocks in a list.
7155 (free_mem): Free memory for translations.
7156
7157 * intl/tst-gettext.c: Use correct locale. Improve error messages.
7158
7159 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
7160 information is available set the string length to zero.
7161
7162 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
7163
7164 2000-06-30 Greg McGary <greg@mcgary.org>
7165
7166 * sysdeps/powerpc/bp-asm.h: New file.
7167 * sysdeps/powerpc/__longjmp.S: Check bounds.
7168 Wrap extern symbols in BP_SYM ().
7169 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
7170 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
7171 * sysdeps/powerpc/setjmp.S: Likewise.
7172 * sysdeps/powerpc/add_n.S: Likewise.
7173 * sysdeps/powerpc/addmul_1.S: Likewise.
7174 * sysdeps/powerpc/lshift.S: Likewise.
7175 * sysdeps/powerpc/rshift.S: Likewise.
7176 * sysdeps/powerpc/mul_1.S: Likewise.
7177 * sysdeps/powerpc/sub_n.S: Likewise.
7178 * sysdeps/powerpc/submul_1.S: Likewise.
7179 * sysdeps/powerpc/strlen.S: Likewise.
7180 * sysdeps/powerpc/memset.S: Likewise.
7181 * sysdeps/powerpc/stpcpy.S: Likewise.
7182 * sysdeps/powerpc/strcmp.S: Likewise.
7183 * sysdeps/powerpc/strcpy.S: Likewise.
7184 * sysdeps/powerpc/elf/bzero.S: Likewise.
7185
7186 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
7187 Line up operands column with tabs.
7188
7189 2000-06-30 Ulrich Drepper <drepper@redhat.com>
7190
7191 * elf/Makefile (LDFLAGS-origtest): Actually add it.
7192
7193 * sysdeps/ia64/htonl.S: New file.
7194 * sysdeps/ia64/htons.S: New file.
7195 * sysdeps/ia64/memcpy.S: Replace with version which does not use
7196 floating point registers.
7197 Patches by Dan Pop <Dan.Pop@cern.ch>.
7198
7199 2000-06-30 Andreas Jaeger <aj@suse.de>
7200
7201 * posix/Makefile (tests): tst-exec and tst-spawn only work with
7202 shared libraries.
7203
7204 * io/Makefile (CFLAGS-test-lfs.c): New.
7205 (tests): Add test-lfs.
7206
7207 * io/test-lfs.c: New file.
7208
7209 2000-06-30 Jakub Jelinek <jakub@redhat.com>
7210
7211 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
7212 instruction.
7213
7214 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
7215
7216 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
7217
7218 2000-06-29 Jes Sorensen <jes@linuxcare.com>
7219
7220 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
7221 alias to the fstatfs call.
7222
7223 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
7224 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
7225
7226 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
7227 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
7228
7229 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
7230 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
7231 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
7232 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
7233
7234 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
7235 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
7236
7237 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
7238 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
7239
7240 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
7241 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
7242
7243 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
7244
7245 2000-06-29 Andreas Jaeger <aj@suse.de>
7246
7247 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
7248 with syslog.
7249 (print_err_message): Likewise.
7250 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7251
7252 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7253
7254 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
7255 used as words is properly aligned.
7256
7257 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
7258 data files.
7259
7260 2000-06-29 Greg McGary <greg@mcgary.org>
7261
7262 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
7263 * sysdeps/unix/make-syscalls.sh: Handle signatures of
7264 length 7..9, just in case...
7265 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
7266
7267 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
7268 (POP_ERRNO_LOCATION_RETURN): Fold insns.
7269 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
7270 (PUSH_SIGNAL_MASK): New macro.
7271 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
7272 LEAVE is unnecessary. Check bounds of jmp_buf.
7273 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
7274 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
7275 immediately before tail-call.
7276 * sysdeps/i386/setjmp.S: Likewise.
7277 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7278 * sysdeps/i386/bsd-setjmp.S: Likewise.
7279
7280 2000-06-29 Jakub Jelinek <jakub@redhat.com>
7281
7282 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
7283 versioned_symbol.
7284 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
7285 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
7286 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
7287 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7288 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
7289 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
7291 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
7292
7293 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7294
7295 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
7296 we later need to calling free().
7297 Patch by Matt Wilson <msw@redhat.com>.
7298
7299 * stdio-common/tst-printf.c: Add test for above problem.
7300
7301 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
7302
7303 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
7304 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
7305
7306 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7307
7308 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
7309 prototype for abs().
7310 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
7311
7312 2000-06-23 Andreas Jaeger <aj@suse.de>
7313
7314 * config.h.in: Don't use regparm with bounded pointers.
7315
7316 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7317
7318 * stdlib/grouping.h: Correctly handle multibyte thousands
7319 separator and decimal point.
7320 * stdlib/stdtod.c: Likewise.
7321 * sysdeps/generic/strtol.c: Likewise.
7322
7323 * locale/categories.def: Add entries for wide character decimal point
7324 and thousands separator in numeric and monetary category.
7325
7326 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7327
7328 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
7329 second definition and initialization of decimal.
7330
7331 2000-06-28 Greg McGary <greg@mcgary.org>
7332
7333 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
7334 out.
7335 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
7336 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
7337 in.
7338 (_IO_JUMPS): Don't cast THIS--expect arg to be a
7339 (struct _IO_FILE_plus *).
7340 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
7341 THIS, since _IO_JUMPS no longer does it implicitly.
7342 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
7343 arg type as (struct _IO_FILE_plus *).
7344 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
7345 arg as (_IO_strfile *).
7346 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
7347 Declare 1st arg as (_IO_strfile *).
7348 * libio/fileops.c (_IO_new_file_init): Declare
7349 arg type as (struct _IO_FILE_plus *).
7350 * libio/oldfileops.c (_IO_old_file_init): Likewise.
7351 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
7352 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
7353 Declare iteration pointer as (struct _IO_FILE_plus *).
7354 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
7355 (struct _IO_FILE_plus *).
7356 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
7357 * libio/oldstdfiles.c (_IO_list_all): Likewise.
7358 (_IO_check_libio): Set user-visible handles to
7359 (struct _IO_FILE_plus *).
7360 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
7361 to (struct _IO_FILE_plus *).
7362
7363 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
7364 whose high bound includes vtable to all functions that will use
7365 vtable. For streambufs, pass pointer whose bounds include struct
7366 _IO_strfile.
7367 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
7368 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7369 * libio/iofopen.c (_IO_new_fopen): Likewise.
7370 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7371 * libio/iofopen64.c (_IO_fopen64): Likewise.
7372 * libio/iopopen.c (_IO_new_popen): Likewise.
7373 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7374 * libio/memstream.c (open_memstream): Likewise.
7375 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7376 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
7377 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7378 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7379 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
7380 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7381 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7382 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
7383 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
7384 * stdlib/strfmon.c (__strfmon_l): Likewise.
7385 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
7386 (vfprintf): Qualify computed-goto targets as unbounded.
7387
7388 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7389
7390 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
7391 thousands separator correctly.
7392
7393 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
7394 * stdio-common/vfwscanf.c: Likewise.
7395
7396 2000-06-27 Jes Sorensen <jes@linuxcare.com>
7397
7398 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
7399 count into signatures for most calls.
7400
7401 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7402
7403 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
7404 the generic parser now.
7405
7406 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7407
7408 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
7409 table entries are 32 bit on the ia64 (as specified by the ABI),
7410 not 64 bit as on the Alpha.
7411
7412 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
7413 change of objects to use 32 bit hash table indices (see above).
7414
7415 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7416
7417 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
7418 prototype for abs().
7419
7420 2000-06-28 Wolfram Gloger <wg@malloc.de>
7421
7422 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
7423 fails, try mmap_chunk() as a last resort even though n_mmaps_max
7424 may have been reached.
7425
7426 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7427
7428 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
7429 symbols in multi-character weights correctly.
7430
7431 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
7432 depending on whether the input string is empty or not.
7433
7434 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
7435 given state and not avoiding this by modifying a local object.
7436 * wcsmbs/wcrtomb.c: Likewise.
7437
7438 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
7439 object since some incomplete characters might be in there.
7440
7441 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
7442 sequences with first byte 0x8e correctly.
7443
7444 * iconvdata/jis0208.h: Remove redundant test.
7445
7446 2000-06-27 Ulrich Drepper <drepper@redhat.com>
7447
7448 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
7449 Add it where it is needed now.
7450
7451 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
7452 the input charset into account when generating the hash table.
7453 (allocate_arrays): Correct setting default width. Not all empty slots
7454 in the table are filled, only those not covert explicitly by the
7455 locale description and in the charset.
7456
7457 * wctype/towctrans.c (__towctrans): Be graceful and accept error
7458 return values from the wctrans function.
7459
7460 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
7461 wide character version.
7462 For %C handling, test correct pointer variable for NULL.
7463
7464 * wcsmbs/wctob.c: Handle WEOF special.
7465
7466 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
7467
7468 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
7469 always-true test to avoid warning.
7470
7471 2000-06-27 Greg McGary <greg@mcgary.org>
7472
7473 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
7474 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
7475 (symbol_version, default_symbol_version): Factor redundant
7476 definitions out of conditional.
7477
7478 2000-06-27 Jakub Jelinek <jakub@redhat.com>
7479
7480 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
7481 not obstack_blank.
7482
7483 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7484
7485 * include/libc-symbols.h (symbol_version): Add extra level of
7486 macro expansion.
7487 (default_symbol_version): Likewise.
7488
7489 2000-06-26 Greg McGary <greg@mcgary.org>
7490
7491 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
7492 for BP return value & push implicit struct-return pointer to
7493 __errno_location.
7494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7495 (SYSCALL_ERROR_HANDLER): Likewise.
7496 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7497 (SYSCALL_ERROR_HANDLER): Likewise.
7498
7499 * Makeconfig: Add missing comment.
7500 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
7501 BP-flavored startup object.
7502 ($(objpfx)b$(start-installed-name)): New rule.
7503 * include/libc-symbols.h (symbol_set_declare): Change type
7504 of `__start_##set' and `__stop_##set' to pointer-to-function.
7505 (symbol_set_declare): Change type of `set' to array of
7506 pointer-to-function.
7507 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
7508 pointer-to-function.
7509
7510 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
7511
7512 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
7513 Remove clock_* and timer_* entries.
7514 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
7515 arg-count with signatures.
7516
7517 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
7518 Check bounds of arguments.
7519 * sysdeps/i386/addmul_1.S: Likewise.
7520 * sysdeps/i386/lshift.S: Likewise.
7521 * sysdeps/i386/mul_1.S: Likewise.
7522 * sysdeps/i386/rshift.S: Likewise.
7523 * sysdeps/i386/sub_n.S: Likewise.
7524 * sysdeps/i386/submul_1.S: Likewise.
7525 * sysdeps/i386/i586/add_n.S: Likewise.
7526 * sysdeps/i386/i586/addmul_1.S: Likewise.
7527 * sysdeps/i386/i586/lshift.S: Likewise.
7528 * sysdeps/i386/i586/rshift.S: Likewise.
7529 * sysdeps/i386/i586/sub_n.S: Likewise.
7530 * sysdeps/i386/i686/add_n.S: Likewise.
7531
7532 * sysdeps/i386/memchr.S: Likewise.
7533 * sysdeps/i386/memcmp.S: Likewise.
7534 * sysdeps/i386/rawmemchr.S: Likewise.
7535 * sysdeps/i386/i586/bzero.S: Likewise.
7536 * sysdeps/i386/i586/memcpy.S: Likewise.
7537 * sysdeps/i386/i586/mempcpy.S: Likewise.
7538 * sysdeps/i386/i586/memset.S: Likewise.
7539 * sysdeps/i386/i686/bzero.S: Likewise.
7540 * sysdeps/i386/i686/memcpy.S: Likewise.
7541 * sysdeps/i386/i686/mempcpy.S: Likewise.
7542 * sysdeps/i386/i686/memset.S: Likewise.
7543
7544 * sysdeps/i386/stpcpy.S: Likewise.
7545 * sysdeps/i386/stpncpy.S: Likewise.
7546 * sysdeps/i386/strchr.S: Likewise.
7547 * sysdeps/i386/strchrnul.S: Likewise.
7548 * sysdeps/i386/strcspn.S: Likewise.
7549 * sysdeps/i386/strpbrk.S: Likewise.
7550 * sysdeps/i386/strrchr.S: Likewise.
7551 * sysdeps/i386/strspn.S: Likewise.
7552 * sysdeps/i386/strtok.S: Likewise.
7553 * sysdeps/i386/strtok_r.S: Likewise.
7554 * sysdeps/i386/i486/strcat.S: Likewise.
7555 * sysdeps/i386/i486/strlen.S: Likewise.
7556 * sysdeps/i386/i586/strchr.S: Likewise.
7557 * sysdeps/i386/i586/strcpy.S: Likewise.
7558 * sysdeps/i386/i586/strlen.S: Likewise.
7559 * sysdeps/i386/i686/strcmp.S: Likewise.
7560 * sysdeps/i386/i686/strtok.S: Likewise.
7561 * sysdeps/i386/i686/strtok_r.S: Likewise.
7562
7563 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
7564 * sysdeps/i386/fpu/fesetenv.c: Likewise.
7565 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
7566 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
7567 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
7568
7569 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
7570 * sysdeps/i386/mul_1.S: Likewise.
7571 * sysdeps/i386/submul_1.S: Likewise.
7572 * sysdeps/i386/i586/add_n.S: Likewise.
7573 * sysdeps/i386/i586/addmul_1.S: Likewise.
7574 * sysdeps/i386/i586/lshift.S: Likewise.
7575 * sysdeps/i386/i586/mul_1.S: Likewise.
7576 * sysdeps/i386/i586/rshift.S: Likewise.
7577 * sysdeps/i386/i586/sub_n.S: Likewise.
7578 * sysdeps/i386/i586/submul_1.S: Likewise.
7579
7580 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7581
7582 * rt/Makefile (librt-routines): Add clock_nanosleep.
7583 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
7584 * sysdeps/generic/clock_nanosleep.c: New file.
7585 * sysdeps/unix/clock_nanosleep.c: New file.
7586 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
7587 * time/time.h: Declare clock_nanosleep.
7588
7589 2000-06-26 Greg McGary <greg@mcgary.org>
7590
7591 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
7592 INSN1, INSN2, TEXT, GLOBL): Remove macros.
7593 (ALIGN): Cleanup surrounding conditionals.
7594
7595 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
7596 Call ENTER/LEAVE macros.
7597 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
7598 * sysdeps/i386/submul_1.S: Likewise.
7599
7600 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
7601 syntax. Define & use symbolic argument stack offsets. Call
7602 ENTER/LEAVE macros.
7603 * sysdeps/i386/i586/mul_1.S: Likewise.
7604 * sysdeps/i386/i586/submul_1.S: Likewise.
7605
7606 2000-06-25 Greg McGary <greg@mcgary.org>
7607
7608 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
7609 not as bcopy.
7610
7611 2000-06-25 Ulrich Drepper <drepper@redhat.com>
7612
7613 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
7614 * iconvdata/gen-8bit-gap.sh: Likewise.
7615 * iconvdata/gen-8bit.sh: Likewise.
7616
7617 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
7618
7619 * locale/programs/ld-collate.c (collate_read): Don't actually read
7620 the copy locale if we are ignoring the content.
7621
7622 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
7623 unknown character.
7624
7625 * locale/programs/ld-collate.c: Correct handling of different
7626 collation sections.
7627 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
7628 as extra parameter from which to copy category information.
7629 Change all callers.
7630 (load_locale): Likewise.
7631 * locale/programs/localedef.h: Update prototypes of add_to_readlist
7632 and load_locale.
7633 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
7634 * locale/programs/locfile.h: Likewise.
7635 * locale/programs/locfile-kw.gperf: Add entry for script.
7636 * locale/programs/locfile-token.h: Add tok_script.
7637
7638 * locale/programs/locale.c: Update copyright year.
7639 * locale/programs/localedef.c: Likewise.
7640
7641 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
7642
7643 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
7644 Jens Moeller <jens.moeller@waii.com>.
7645
7646 2000-06-24 Ulrich Drepper <drepper@redhat.com>
7647
7648 * locale/programs/ld-name.c (name_finish): Add missing format
7649 specifier to test for name_fmt.
7650
7651 * locale/programs/ld-address.c (iso639): Correct length of string
7652 elements.
7653 (iso3166): Likewise.
7654
7655 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
7656
7657 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
7658 Define.
7659
7660 * elf/elf.h (NT_PRFPXREG): Define.
7661
7662 2000-06-23 Ulrich Drepper <drepper@redhat.com>
7663
7664 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
7665 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
7666
7667 2000-06-23 Andreas Schwab <schwab@suse.de>
7668
7669 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
7670 with signatures.
7671
7672 2000-06-23 Andreas Jaeger <aj@suse.de>
7673
7674 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
7675
7676 * io/test-stat.c: Add copyright header, mention Maciej.
7677
7678 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
7679 SYS_mincore, SYS_madvise): Added.
7680
7681 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
7682 execve.
7683
7684 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7685
7686 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
7687 (CFLAGS-tst_putwc.c): New definition.
7688 * libio/tst_getwc.c: New file.
7689 * libio/tst_getwc.input: New file.
7690 * libio/tst_putwc.c: New file.
7691
7692 * include/string.h: Add prototype for __strdup.
7693
7694 2000-06-22 Greg McGary <greg@mcgary.org>
7695
7696 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
7697 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
7698 Fix signatures.
7699
7700 2000-06-23 Jes Sorensen <jes@linuxcare.com>
7701
7702 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
7703
7704 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7705
7706 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
7707
7708 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7709
7710 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
7711 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
7712
7713 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7714
7715 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
7716 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
7717 and __S_TYPEISSHM.
7718 * sysdeps/mach/hurd/bits/stat.h: Likewise.
7719 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7720 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7721 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7722 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7723 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
7724 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7725 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
7726 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7727 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7728 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7729 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7730 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
7731 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
7732 S_TYPEISSHM.
7733
7734 2000-06-22 Andreas Jaeger <aj@suse.de>
7735
7736 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
7737 with signatures.
7738
7739 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
7740
7741 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
7742
7743 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7744
7745 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
7746 ahead.
7747
7748 2000-06-21 Greg McGary <greg@mcgary.org>
7749
7750 * Makerules (elide-routines.*, elide-bp-thunks):
7751 Define unconditionally.
7752
7753 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7754
7755 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7756
7757 2000-06-21 Andreas Jaeger <aj@suse.de>
7758
7759 * io/Makefile (tests): Add test-stat.
7760 (CFLAGS-test-stat.c): New.
7761
7762 * io/test-stat.c: New file from Maciej W. Rozycki
7763 <macro@ds2.pg.gda.pl>.
7764
7765 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7766
7767 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
7768 in __rlimit_resource to make them match the kernel order.
7769 rlim_t is always 64 bit, use __rlim64_t to declare it
7770 unconditionally.
7771
7772 2000-05-04 Jes Sorensen <jes@linuxcare.com>
7773
7774 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
7775 RLIM_INFINITY before defining it to avoid clash with kernel header
7776
7777 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7778
7779 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
7780
7781 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7782
7783 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
7784
7785 2000-06-21 Andreas Jaeger <aj@suse.de>
7786
7787 * stdio-common/temptest.c: Include <stdlib.h>.
7788 * stdio-common/tst-fileno.c: Likewise.
7789 * stdio-common/scanf4.c: Likewise.
7790 * stdio-common/scanf5.c: Likewise.
7791 * time/clocktest.c: Likewise.
7792 * posix/test-vfork.c: Likewise.
7793 * posix/globtest.c: Likewise.
7794 * io/test-utime.c: Likewise.
7795 * wctype/test_wcfuncs.c: Likewise.
7796 * crypt/cert.c: Likewise.
7797
7798 * stdio-common/tst-printfsz.c: Include <string.h>.
7799 * libio/tst_swscanf.c: Likewise.
7800 * libio/tst_wscanf.c: Likewise.
7801 * posix/runtests.c: Likewise.
7802 * posix/tst-getaddrinfo.c: Likewise.
7803 * posix/wordexp-test.c: Likewise.
7804 * misc/tst-efgcvt.c: Likewise.
7805
7806 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
7807 * nss/test-netdb.c: Likewise.
7808
7809 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
7810 supported kernel for MIPS.
7811
7812 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
7813 * rt/aio_suspend.c: Likewise.
7814
7815 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7816
7817 * math/libm-test.inc: Include <string.h>.
7818
7819 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7820
7821 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
7822
7823 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7824
7825 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
7826 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
7827
7828 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
7829
7830 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
7831
7832 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7833
7834 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
7835
7836 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7837
7838 * locale/programs/ld-collate.c (insert_value): Now take string and
7839 length instead of struct token* parameter. Adjust use of token.
7840 (handle_ellipsis): Likewise.
7841 (collate_read): Allow <Uxxxx> names and transform them into names
7842 to be passed to insert_value and handle_ellipsis.
7843
7844 * locale/programs/ld-ctype.c (uninames): New array with names of
7845 digits in <Uxxxxxxxx> format.
7846 (ctype_finish): Correct search for space character value. Likewise
7847 for default outdigits values.
7848
7849 2000-06-20 Greg McGary <greg@mcgary.org>
7850
7851 * Makerules (objects): Add BP thunks.
7852
7853 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7854
7855 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
7856 in width definitions.
7857
7858 2000-06-20 Andreas Jaeger <aj@suse.de>
7859
7860 * sysdeps/mips/fpu/libm-test-ulps: New file.
7861
7862 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
7863 first.
7864
7865 * sysdeps/mips/fpu/feholdexcpt.c: New file.
7866
7867 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
7868
7869 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7870
7871 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
7872 change in gconv_builtin.h.
7873
7874 * malloc/Makefile: Change all references to memprof into memusage.
7875 * malloc/memprof.c: Rename to...
7876 * malloc/memusage.c: ...this. New file.
7877 * malloc/memprof.sh: Rename to...
7878 * malloc/memusage.sh: ...this. New file.
7879 * malloc/memprofstat.c: Rename to...
7880 * malloc/memusagestat.c: ...this. New file.
7881 * sysdeps/alpha/memprof.h: Rename to..
7882 * sysdeps/alpha/memusage.h: ...this. New file.
7883 * sysdeps/arm/memprof.h: Rename to..
7884 * sysdeps/arm/memusage.h: ...this. New file.
7885 * sysdeps/generic/memprof.h: Rename to..
7886 * sysdeps/generic/memusage.h: ...this. New file.
7887 * sysdeps/i386/memprof.h: Rename to..
7888 * sysdeps/i386/memusage.h: ...this. New file.
7889 * sysdeps/ia64/memprof.h: Rename to..
7890 * sysdeps/ia64/memusage.h: ...this. New file.
7891 * sysdeps/m68k/memprof.h: Rename to..
7892 * sysdeps/m68k/memusage.h: ...this. New file.
7893 * sysdeps/mips/memprof.h: Rename to..
7894 * sysdeps/mips/memusage.h: ...this. New file.
7895 * sysdeps/powerpc/memprof.h: Rename to..
7896 * sysdeps/powerpc/memusage.h: ...this. New file.
7897 * sysdeps/sparc/memprof.h: Rename to..
7898 * sysdeps/sparc/memusage.h: ...this. New file.
7899 * sysdeps/sh/memprof.h: Rename to..
7900 * sysdeps/sh/memusage.h: ...this. New file.
7901
7902 * elf/sprof.c (print_version): Update year.
7903
7904 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
7905 table entry values. Use D_PTR.
7906 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
7907 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
7908
7909 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7910
7911 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7912 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
7913 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
7914 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
7915
7916 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7917
7918 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
7919
7920 2000-06-16 Jes Sorensen <jes@linuxcare.com>
7921
7922 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
7923 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
7924 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
7925
7926 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
7927
7928 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
7929 kernel change.
7930
7931 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
7932 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
7933 structure.
7934 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
7935 implementation.
7936
7937 2000-06-15 Jes Sorensen <jes@linuxcare.com>
7938
7939 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
7940
7941 2000-06-08 Jes Sorensen <jes@linuxcare.com>
7942
7943 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
7944
7945 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7946
7947 * iconv/gconv_int.h (strict gconv_module): Remove all members
7948 associated with regular expressions. Use a simple string as the
7949 from name.
7950 * iconv/gconv_db.c: Remove code handling regular expressions.
7951 * iconv/gconv_conf.c: Likewise.
7952 * iconv/iconv_prog.c: Likewise.
7953 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
7954
7955 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
7956 General namespace cleanup.
7957 (struct __gconv_trans_data): Add next field.
7958 (struct __gconv_step_data): Make __trans a pointer.
7959 * iconv/gconv_conf.c: Split out code to find gconv directories from
7960 __gconv_read_conf in new functions.
7961 * iconv/gconv_int.h: Define new data structure and declare new
7962 functions for handling of gconv directory list.
7963 * iconv/gconv_open.c: Allow more than one error handling step being
7964 used. Call function to load error handling module if it is none
7965 of the builtin transformations.
7966 * iconv/gconv_close.c: Add code to free transliteration data.
7967 * iconv/gconv_trans.c: Add functions to load and unload modules
7968 implementing transliteration etc.
7969 * iconv/skeleton.c: Call all context functions now that more than
7970 one module is allowed.
7971 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
7972 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
7973 where the full error handling using transliteration is needed.
7974 * iconvdata/8bit-gap.c: Likewise.
7975 * iconvdata/8bit-generic.c: Likewise.
7976 * iconvdata/ansi_x3.110.c: Likewise.
7977 * iconvdata/big5.c: Likewise.
7978 * iconvdata/big5hkscs.c: Likewise.
7979 * iconvdata/euc-cn.c: Likewise.
7980 * iconvdata/euc-jp.c: Likewise.
7981 * iconvdata/euc-kr.c: Likewise.
7982 * iconvdata/euc-tw.c: Likewise.
7983 * iconvdata/gbgbk.c: Likewise.
7984 * iconvdata/gbk.c: Likewise.
7985 * iconvdata/iso-2022-cn.c: Likewise.
7986 * iconvdata/iso-2022-jp.c: Likewise.
7987 * iconvdata/iso-2022-kr.c: Likewise.
7988 * iconvdata/iso646.c: Likewise.
7989 * iconvdata/iso8859-1.c: Likewise.
7990 * iconvdata/iso_6937-2.c: Likewise.
7991 * iconvdata/iso_6937.c: Likewise.
7992 * iconvdata/johab.c: Likewise.
7993 * iconvdata/sjis.c: Likewise.
7994 * iconvdata/t.61.c: Likewise.
7995 * iconvdata/uhc.c: Likewise.
7996 * iconvdata/unicode.c: Likewise.
7997 * iconvdata/utf-16.c: Likewise.
7998 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
7999 structure correctly after last change.
8000 * wcsmbs/btowc.c: Likewise.
8001 * wcsmbs/mbrtowc.c: Likewise.
8002 * wcsmbs/mbsnrtowcs.c: Likewise.
8003 * wcsmbs/mbsrtowcs.c: Likewise.
8004 * wcsmbs/wcrtomb.c: Likewise.
8005 * wcsmbs/wcsnrtombs.c: Likewise.
8006 * wcsmbs/wcsrtombs.c: Likewise.
8007 * wcsmbs/wctob.c: Likewise.
8008
8009 * localedata/Makefile: Set -Wno-format for some files since gcc does
8010 not know all the format specifiers.
8011
8012 2000-06-18 Ulrich Drepper <drepper@redhat.com>
8013
8014 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
8015 unneeded code.
8016 * locale/lc-time.c (_nl_init_era_entries): Likewise.
8017
8018 2000-06-18 Andreas Jaeger <aj@suse.de>
8019
8020 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
8021 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
8022
8023 2000-06-17 Ulrich Drepper <drepper@redhat.com>
8024
8025 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
8026 LINUX_LINK_MAX.
8027 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
8028
8029 * locale/programs/ld-ctype.c (ctype_output): Really write out
8030 mboutdigits information.
8031 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
8032 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
8033 * localedata/tests/trans.def: Add outdigit information.
8034
8035 * localedata/tst-mbswcs3.c: Remove comment.
8036
8037 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
8038 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
8039 * libio/tst_wprintf.c (main): Add test for I flag.
8040
8041 * iconv/gconv_trans.c: Implement handling if translit_ignore.
8042 * locale/langinfo.h: Add entries for translit_ignore information.
8043 * locale/categories.def: Add entries for new LC_CTYPE elements.
8044 * locale/C-ctype.c: Add initializers for new fields. Use NULL
8045 pointer instead of "" where possible.
8046 * locale/programs/ld-ctype.c: Write out translit_ignore information.
8047 * intl/Depend: Add localedata.
8048 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
8049 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
8050
8051 2000-06-16 Ulrich Drepper <drepper@redhat.com>
8052
8053 * locale/langinfo.h: Add entries for default_missing information.
8054 * locale/C-ctype.c: Add initializers for new fields.
8055 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
8056 information.
8057 * locale/categories.h: Add entries for all LC_CTYPE values.
8058 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
8059 information.
8060
8061 * localedata/tst-trans.c: Write out an error message if class is
8062 not found.
8063
8064 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
8065 * iconv/gconv_open.c: Remove error handling specification from `from'
8066 character set name.
8067 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
8068 new parameter to always enable transliteration.
8069 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
8070 change.
8071 (struct locale_data): Add new members use_translit and options.
8072 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
8073 character set name contained modifier TRANSLIT.
8074 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
8075 and options fields.
8076 (_nl_unload_locale): Free options string if necessary.
8077 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
8078 the locale names suggested this.
8079 * locale/C-address.c: Add two new initialilzers to adjust data
8080 structure for new format.
8081 * locale/C-collate.c: Likewise.
8082 * locale/C-ctype.c: Likewise.
8083 * locale/C-identification.c: Likewise.
8084 * locale/C-measurement.c: Likewise.
8085 * locale/C-messages.c: Likewise.
8086 * locale/C-monetary.c: Likewise.
8087 * locale/C-name.c: Likewise.
8088 * locale/C-numeric.c: Likewise.
8089 * locale/C-paper.c: Likewise.
8090 * locale/C-telephone.c: Likewise.
8091 * locale/C-time.c: Likewise.
8092
8093 * locale/setlocale.c: Add some more __builtin_expect.
8094
8095 2000-06-15 Ulrich Drepper <drepper@redhat.com>
8096
8097 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
8098 unsigned char **.
8099 (__gconv_init_fct): Remove two parameters.
8100 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
8101 gconv_transliterate. Remove two parameters.
8102 Change prototypes of builtin functions according to __gconv_fct change.
8103 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
8104 != NULL only during error handling. Stop in this case after the
8105 conversion.
8106 * iconv/gconv_trans.c: Replace with real implementation for
8107 __gconv_transliterate.
8108 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
8109 * iconv/gconv.c: Change calls to downstream functions once again.
8110 Use NULL for the fifth parameter instead of pointer to output buffer.
8111 * libio/iofwide.c: Likewise.
8112 * wcsmbs/btowc.c: Likewise.
8113 * wcsmbs/mbrtowc.c: Likewise.
8114 * wcsmbs/mbsnrtowcs.c: Likewise.
8115 * wcsmbs/mbsrtowcs.c: Likewise.
8116 * wcsmbs/wcrtomb.c: Likewise.
8117 * wcsmbs/wcsnrtombs.c: Likewise.
8118 * wcsmbs/wcsrtombs.c: Likewise.
8119 * wcsmbs/wctob.c: Likewise.
8120 * iconv/gconv_simple.c: Remove two parameters from error handling
8121 function call.
8122 * iconvdata/8bit-gap.c: Likewise.
8123 * iconvdata/8bit-generic.c: Likewise.
8124 * iconvdata/ansi_x3.110.c: Likewise.
8125 * iconvdata/big5.c: Likewise.
8126 * iconvdata/big5hkscs.c: Likewise.
8127 * iconvdata/euc-cn.c: Likewise.
8128 * iconvdata/euc-jp.c: Likewise.
8129 * iconvdata/euc-kr.c: Likewise.
8130 * iconvdata/euc-tw.c: Likewise.
8131 * iconvdata/gbgbk.c: Likewise.
8132 * iconvdata/gbk.c: Likewise.
8133 * iconvdata/iso-2022-cn.c: Likewise.
8134 * iconvdata/iso-2022-jp.c: Likewise.
8135 * iconvdata/iso-2022-kr.c: Likewise.
8136 * iconvdata/iso646.c: Likewise.
8137 * iconvdata/iso8859-1.c: Likewise.
8138 * iconvdata/iso_6937-2.c: Likewise.
8139 * iconvdata/iso_6937.c: Likewise.
8140 * iconvdata/johab.c: Likewise.
8141 * iconvdata/sjis.c: Likewise.
8142 * iconvdata/t.61.c: Likewise.
8143 * iconvdata/uhc.c: Likewise.
8144 * iconvdata/unicode.c: Likewise.
8145 * iconvdata/utf-16.c: Likewise.
8146
8147 2000-06-15 Greg McGary <greg@mcgary.org>
8148
8149 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
8150 of callnum assignment. Tolerate callnum expressions containing
8151 parens.
8152
8153 2000-06-14 Ulrich Drepper <drepper@redhat.com>
8154
8155 * login/Makefile (utmpd): Remove rule to build utmpd.
8156
8157 * csu/Versions: Move libgcc frame handling functions from here...
8158 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
8159 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
8160 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
8161 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
8162 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
8163 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
8164 New file.
8165 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
8166
8167 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
8168
8169 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
8170
8171 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8172
8173 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
8174 compatibility.
8175 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
8176 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
8177 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
8178 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
8179
8180 2000-06-14 Jakub Jelinek <jakub@redhat.com>
8181
8182 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
8183 defined, terminate quotes and read them after the comment char.
8184 * configure.in (HAVE_SECTION_QUOTES): Test whether
8185 __attribute__((section ("x"))) puts quotes around x or not.
8186 * config.h.in (HAVE_SECTION_QUOTES): Add.
8187 * configure: Rebuilt.
8188
8189 2000-06-14 Andreas Jaeger <aj@suse.de>
8190
8191 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
8192 depending on the configure option --sysconfdir.
8193 Closes PR libc/1762.
8194 Patch by Andreas Schwab <schwab@suse.de>.
8195
8196 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
8197 entry point.
8198 Reported by Jim Pick <jim@jimpick.com>.
8199
8200 2000-06-14 Ulrich Drepper <drepper@redhat.com>
8201
8202 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
8203 crashing the application. Emit some simple error message.
8204 Reported by mju@panasas.com [PR libc/1769].
8205
8206 2000-06-13 Ulrich Drepper <drepper@redhat.com>
8207
8208 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
8209
8210 * crypt/Makefile (distribute): Add md5.h.
8211
8212 * Makefile (distribute): Add include/shlib-compat.h.
8213
8214 * Make-dist: Search for tests also in sysdeps hierachy.
8215
8216 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
8217 ufc.c, speeds.c, README.ufc-crypt, and Banner.
8218
8219 * sysdeps/sparc/Subdirs: New file.
8220
8221 * locale/Makefile (distribute): Add weightwc.h and
8222 programs/localedef.h.
8223
8224 * time/Makefile (distribute): Add datemsk.
8225
8226 * sysdeps/ia64/Dist: Add softpipe.h.
8227
8228 * sysdeps/unix/sysv/aix/Dist: New file.
8229
8230 * posix/setpgrp.c: Moved to...
8231 * sysdeps/generic/setpgrp.c: ...here. New file.
8232 * io/mknod.c: Moved to...
8233 * sysdeps/generic/mknod.c: ...here. New file.
8234
8235 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
8236
8237 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
8238
8239 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
8240
8241 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
8242 gprsave0.S, gprrest1.S, and gprrest0.S.
8243
8244 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
8245
8246 * posix/Makefile (routines): Add spawnattr_getsigmask,
8247 spawnattr_getschedpolicy, spawnattr_getschedparam,
8248 spawnattr_setsigmask, spawnattr_setschedpolicy, and
8249 spawnattr_setschedparam.
8250 * posix/Versions: Add posix_spawnattr_getschedpolicy,
8251 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
8252 posix_spawnattr_setschedparam.
8253
8254 * posix/spawnattr_setschedparam.c: Fix typo.
8255
8256 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
8257 Correct typo.
8258
8259 * login/programs/utmpd.c: Removed.
8260 * login/programs/utmpd.h: Removed.
8261 * login/programs/utmpd-private.h: Removed.
8262
8263 * Makefile (distribute): Add include/db_185.h and include/db.h.
8264
8265 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
8266 iso-ir-165.h.
8267
8268 * elf/Makefile (distribute): Add missing files.
8269
8270 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
8271 * elf/eval.c: Moved to...
8272 * dlfcn/eval.c: ...here. New file.
8273
8274 * Makefile (distribute): Also distribute ChangeLog.1?.
8275
8276 * Make-dist (+tsrcs): Remove .args handling here as well.
8277
8278 * rt/Makefile (tests): Add tst-timer.
8279 * sysdeps/generic/tst-timer.c: New file.
8280
8281 * Makerules (sources): Don't add BP sources here.
8282
8283 * login/Makefile (distribute): Remove xtmp.h.
8284
8285 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
8286 is true. Reported by Bruno Haible <haible@ilog.fr>.
8287
8288 2000-06-13 Andreas Jaeger <aj@suse.de>
8289
8290 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
8291 Patch by Ralf Baechle <ralf@gnu.org>.
8292
8293 2000-06-13 Ulrich Drepper <drepper@redhat.com>
8294
8295 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
8296 for mincore syscall.
8297
8298 * misc/sys/cdefs.h: Define __bounded and __unbounded if
8299 __BOUNDED_POINTERS__ is not defined.
8300
8301 2000-06-07 Greg McGary <greg@mcgary.org>
8302
8303 * sysdeps/generic/bp-sym.h: New file.
8304 * sysdeps/generic/bp-start.h: New file.
8305 * sysdeps/i386/elf/start.S: Designate BP symbols.
8306 * sysdeps/generic/libc-start.c: Wrap bounds around
8307 argv & envp and each of their string members.
8308
8309 2000-06-07 Greg McGary <greg@mcgary.org>
8310
8311 * sysdeps/unix/make-syscalls.sh: Add comments to
8312 output that aid debugging & comprehension.
8313 Map simple syscall signatures to number of args.
8314 Generate BP syscall thunk definitions.
8315 * sysdeps/generic/bp-thunks.h: New file.
8316 * sysdeps/unix/syscalls.list: Replace arg-count with
8317 simple return+arg signature.
8318 * sysdeps/unix/common/syscalls.list: Likewise.
8319 * sysdeps/unix/inet/syscalls.list: Likewise.
8320 * sysdeps/unix/mman/syscalls.list: Likewise.
8321 * sysdeps/unix/sysv/syscalls.list: Likewise.
8322 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8324
8325 2000-06-07 Greg McGary <greg@mcgary.org>
8326
8327 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
8328 for all files *.[cS].
8329 (CFLAGS-.ob): Don't optimize sibling calls.
8330 (bppfx): New variable.
8331 * Makerules (elide-bp-thunks): New variable.
8332 (elide-routines.*): Elide BP-* files for all but *.ob.
8333 (sources): Include bp-thunks.
8334
8335 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8336
8337 * iconv/gconv_simple.c: Remove unnecessary prototype.
8338
8339 * iconv/gconv_trans.c: Pretty print.
8340
8341 * elf/elf.h (R_SH_NUM): Got accidently dropped.
8342
8343 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
8344 minimal kernel versions. Add information about IA-64 kernel.
8345
8346 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
8347 specific minimal supported kernel versions to be specified.
8348
8349 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
8350 step data structure.
8351 * wcsmbs/btowc.c: Likewise.
8352 * wcsmbs/mbrtowc.c: Likewise.
8353 * wcsmbs/mbsnrtowcs.c: Likewise.
8354 * wcsmbs/mbsrtowcs.c: Likewise.
8355 * wcsmbs/wcrtomb.c: Likewise.
8356 * wcsmbs/wcsnrtombs.c: Likewise.
8357 * wcsmbs/wcsrtombs.c: Likewise.
8358 * wcsmbs/wctob.c: Likewise.
8359
8360 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
8361 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
8362
8363 * shlib-versions: Earliest backward compatible version for SH is 2.2.
8364
8365 * misc/sys/cdefs.h: Remove one more __P.
8366
8367 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
8368 Reported by HJ Lu.
8369
8370 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
8371 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
8372 * sysdeps/sh/bits/setjmp.h: ...here. New file.
8373
8374 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8375 Yutaka Niibe <gniibe@chroot.org>
8376
8377 * configure.in: Add machine sh3, sh4.
8378 * elf/elf.h: Add SH specific declarations of relocations.
8379 * shlib-versions: Add sh*-*-linux* cases.
8380
8381 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8382
8383 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
8384 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
8385 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
8386 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
8387 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
8388 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
8389
8390 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
8391 instead of KERNEL_MATH_EMULATION.
8392 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
8393 KERNEL_MATH_EMULATION.
8394
8395 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
8396 * sysdeps/sh/sh3/dl-machine.h: Moved to...
8397 * sysdeps/sh/dl-machine.h: ...here. New file.
8398 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
8399 and include generic SH version.
8400 * sysdeps/sh/sh3/bits/endian.h: Move to...
8401 * sysdeps/sh/bits/endian.h: ...here. New file.
8402 * sysdeps/sh/sh4/bits/endian.h: Removed.
8403 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
8404 * sysdeps/sh/bits/huge_val.h: ...here. New file.
8405 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
8406
8407 * include/libc-symbols.h (link_warning): Work around a change in
8408 GAS which warns about changing section attributes.
8409 Proposed by Nick Clifton <nickc@redhat.com>.
8410
8411 2000-06-12 H.J. Lu <hjl@gnu.org>
8412
8413 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
8414
8415 2000-06-11 H.J. Lu <hjl@gnu.org>
8416
8417 * sysdeps/i386/fpu/Versions: New file.
8418
8419 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8420
8421 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
8422 parameters.
8423 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
8424 exists.
8425
8426 2000-06-12 Jes Sorensen <jes@linuxcare.com>
8427
8428 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
8429 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
8430 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
8431
8432 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
8433 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
8434 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
8435
8436 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8437 Yutaka Niibe <gniibe@chroot.org>
8438
8439 * sysdeps/sh/Dist: New file.
8440 * sysdeps/sh/Implies: New file.
8441 * sysdeps/sh/elf/initfini.c: New file.
8442 * sysdeps/sh/gmp-mparam.h: New file.
8443 * sysdeps/sh/init-first.c: New file.
8444 * sysdeps/sh/machine-gmon.h: New file.
8445 * sysdeps/sh/memcpy.S: New file.
8446 * sysdeps/sh/memprof.h: New file.
8447 * sysdeps/sh/memset.S: New file.
8448 * sysdeps/sh/sh3/__longjmp.S: New file.
8449 * sysdeps/sh/sh3/bits/endian.h: New file.
8450 * sysdeps/sh/sh3/bits/huge_val.h: New file.
8451 * sysdeps/sh/sh3/bits/setjmp.h: New file.
8452 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
8453 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
8454 * sysdeps/sh/sh3/dl-machine.h: New file.
8455 * sysdeps/sh/sh3/setjmp.S: New file.
8456 * sysdeps/sh/sh4/__longjmp.S: New file.
8457 * sysdeps/sh/sh4/bits/endian.h: New file.
8458 * sysdeps/sh/sh4/bits/huge_val.h: New file.
8459 * sysdeps/sh/sh4/bits/setjmp.h: New file.
8460 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
8461 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
8462 * sysdeps/sh/sh4/dl-machine.h: New file.
8463 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
8464 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
8465 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
8466 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
8467 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
8468 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
8469 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
8470 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
8471 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
8472 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
8473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
8474 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
8475 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
8476 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
8477 * sysdeps/sh/sh4/setjmp.S: New file.
8478 * sysdeps/sh/elf/start.S: New file.
8479 * sysdeps/sh/sys/ucontext.h: New file.
8480 * sysdeps/sh/strlen.S: New file.
8481 * sysdeps/sh/sysdep.h: New file.
8482 * sysdeps/unix/sh/sysdep.S: New file.
8483 * sysdeps/unix/sh/sysdep.h: New file.
8484 * sysdeps/unix/sysv/linux/sh/Dist: New file.
8485 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
8486 * sysdeps/unix/sysv/linux/sh/Versions: New file.
8487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
8488 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
8489 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
8490 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
8491 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
8492 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
8493 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
8494 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
8495 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
8496 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
8497 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
8498 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
8499 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
8500 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
8501 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
8502 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
8503 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
8504 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
8505 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
8506 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
8507 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
8508 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
8509 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
8510 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
8511 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
8512 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
8513 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
8514 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
8515 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
8516 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
8517 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
8518 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
8519 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
8520 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
8521 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
8522 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
8523 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
8524 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
8525 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
8526 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
8527 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8528 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
8529 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
8530 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
8531 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
8532 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
8533 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
8534
8535 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8536
8537 * Rules (%.out): Define GCONV_PATH in the environment.
8538 * assert/Depend: New file.
8539 * iconvdata/Depend: New file.
8540 * intl/Depend: New file.
8541 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
8542 * intl/tst-gettext.sh: Likewise.
8543 * iconv/Makefile (routines): Add gconv_trans.
8544 * iconv/gconv_trans.c: New file.
8545 * iconv/gconv.h (struct __gconv_trans_data): New type.
8546 (__gconv_fct): New parameter with starting position in output buffer.
8547 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
8548 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
8549 (struct __gconv_step): Add new member __trans.
8550 * iconv/gconv_int.h: Pretty print prototypes.
8551 (gconv_transliterate): New prototype.
8552 (__BUILTIN_TRANS): Update for new conversion function interface.
8553 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
8554 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
8555 in names, find appropriate function, and install in the conversion
8556 steps it can be used.
8557 * iconv/skeleton.c: Add additional parameter for beginning of output
8558 buffer. Change calls of downstream functions.
8559 * iconv/loop.c: Change loop function interface completely. Pass in
8560 step and step_data structure. Remove optimization for BODY with
8561 NEED_LENGTH_TEST == 0.
8562 * iconv/gconv_simple.c: Update interfaces of functions. Insert
8563 appropriate error handling code to use transliteration steps. Remove
8564 optimization for BODY with NEED_LENGTH_TEST == 0.
8565 * iconvdata/8bit-gap.c: Likewise.
8566 * iconvdata/8bit-generic.c: Likewise.
8567 * iconvdata/ansi_x3.110.c: Likewise.
8568 * iconvdata/big5.c: Likewise.
8569 * iconvdata/big5hkscs.c: Likewise.
8570 * iconvdata/euc-cn.c: Likewise.
8571 * iconvdata/euc-jp.c: Likewise.
8572 * iconvdata/euc-kr.c: Likewise.
8573 * iconvdata/euc-tw.c: Likewise.
8574 * iconvdata/gbgbk.c: Likewise.
8575 * iconvdata/gbk.c: Likewise.
8576 * iconvdata/iso-2022-cn.c: Likewise.
8577 * iconvdata/iso-2022-jp.c: Likewise.
8578 * iconvdata/iso-2022-kr.c: Likewise.
8579 * iconvdata/iso646.c: Likewise.
8580 * iconvdata/iso8859-1.c: Likewise.
8581 * iconvdata/iso_6937-2.c: Likewise.
8582 * iconvdata/iso_6937.c: Likewise.
8583 * iconvdata/johab.c: Likewise.
8584 * iconvdata/sjis.c: Likewise.
8585 * iconvdata/t.61.c: Likewise.
8586 * iconvdata/uhc.c: Likewise.
8587 * iconvdata/unicode.c: Likewise.
8588 * iconvdata/utf-16.c: Likewise.
8589 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
8590 DL_CALL_FCT.
8591 * wcsmbs/btowc.c: Likewise.
8592 * wcsmbs/mbrtowc.c: Likewise.
8593 * wcsmbs/mbsnrtowcs.c: Likewise.
8594 * wcsmbs/mbsrtowcs.c: Likewise.
8595 * wcsmbs/wcrtomb.c: Likewise.
8596 * wcsmbs/wcsnrtombs.c: Likewise.
8597 * wcsmbs/wcsrtombs.c: Likewise.
8598 * wcsmbs/wctob.c: Likewise.
8599
8600 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8601
8602 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
8603 other header files. Mention about 128-byte cache line sizes.
8604 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
8605 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
8606 for current calling sequence.
8607 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
8608
8609 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
8610 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8611
8612 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
8613 and setrlimit syscalls for backwards compatibility.
8614
8615 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8616
8617 * iconv/skeleton.c: Rename converted written to correcter name
8618 irreversible.
8619 * iconv/gconv.c: Rename converted variable to correcter name
8620 irreversible.
8621 * iconv/gconv_int.h: Likewise.
8622 * iconv/gconv_simple.c: Likewise.
8623 * iconv/iconv.c: Likewise.
8624 * iconv/loop.c: Likewise.
8625 * iconvdata/8bit-gap.c: Likewise.
8626 * iconvdata/8bit-generic.c: Likewise.
8627 * iconvdata/ansi_x3.110.c: Likewise.
8628 * iconvdata/big5.c: Likewise.
8629 * iconvdata/big5hkscs.c: Likewise.
8630 * iconvdata/euc-cn.c: Likewise.
8631 * iconvdata/euc-jp.c: Likewise.
8632 * iconvdata/euc-kr.c: Likewise.
8633 * iconvdata/gbgbk.c: Likewise.
8634 * iconvdata/gbk.c: Likewise.
8635 * iconvdata/iso-2022-cn.c: Likewise.
8636 * iconvdata/iso-2022-jp.c: Likewise.
8637 * iconvdata/iso-2022-kr.c: Likewise.
8638 * iconvdata/iso646.c: Likewise.
8639 * iconvdata/iso8859-1.c: Likewise.
8640 * iconvdata/iso_6937-2.c: Likewise.
8641 * iconvdata/iso_6937.c: Likewise.
8642 * iconvdata/johab.c: Likewise.
8643 * iconvdata/sjis.c: Likewise.
8644 * iconvdata/t.61.c: Likewise.
8645 * iconvdata/uhc.c: Likewise.
8646 * iconvdata/unicode.c: Likewise.
8647 * iconvdata/utf-16.c: Likewise.
8648
8649 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
8650 __cmsg_data field with __extension__.
8651
8652 2000-06-10 David Mosberger <davidm@hpl.hp.com>
8653
8654 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
8655
8656 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8657
8658 * iconv/gconv_simple.c: Fix various small bugs in several
8659 functions.
8660
8661 * iconv/loop.c: Fix comment.
8662
8663 2000-06-10 Jakub Jelinek <jakub@redhat.com>
8664
8665 * elf/link.h: Remove libc internal declarations.
8666 * include/link.h: Move them here.
8667
8668 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8669
8670 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
8671 Patch by Dan Pop <Dan.Pop@cern.ch>.
8672
8673 Rewrite error message handling.
8674 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
8675 _dl_catch_error.
8676 * elf/dl-error (struct catch): Add objname member.
8677 (_dl_signal_error): Take new parameter with object name. When
8678 passing message on simply store object name and duplicate error
8679 message.
8680 (_dl_catch_error): Take new parameter. Store object name in the
8681 place pointed to.
8682 * include/dlfcn.h: Adjust _dl_catch_error prototype.
8683 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
8684 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
8685 (dlerror): Add objname to asprintf() parameters.
8686 (_dl_error_run): Pass new parameter to _dl_catch_error.
8687 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
8688 * elf/dl-open.c (_dl_open): Likewise.
8689 * elf/rtld.c (dl_main): Likewise.
8690 * elf/dl-close.c: Mark error messages with N_().
8691 * elf/dl-deps.c: Likewise.
8692 * elf/dl-error.c: Likewise.
8693 * elf/dl-load.c: Likewise.
8694 * elf/dl-open.c: Likewise.
8695 * elf/dl-reloc.c: Likewise.
8696 * elf/dl-support.c: Likewise.
8697 * elf/dl-sym.c: Likewise.
8698 * elf/dl-version.c: Likewise.
8699 * elf/dl-lookup.c: Add comments about problems with error message
8700 translations.
8701 * elf/dl-reloc.c: Likewise.
8702 * elf/dl-version.c: Likewise.
8703
8704 2000-06-09 H.J. Lu <hjl@gnu.org>
8705
8706 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
8707 after freeing it.
8708
8709 * dlfcn/Makefile (distribute): Add failtestmod.c.
8710 (tests): Add failtest.
8711 Add rules to build and run failtest.
8712 * dlfcn/failtest.c: New file.
8713 * dlfcn/failtestmod.c: New file.
8714
8715 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
8716
8717 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
8718 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
8719 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
8720 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
8721 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
8722
8723 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8724
8725 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
8726 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
8727
8728 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8729 Ulrich Drepper <drepper@redhat.com>
8730
8731 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
8732 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
8733 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
8734 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
8735 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
8736 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
8737
8738 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8739
8740 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
8741 to find correct mount point despite wrong information from the
8742 kernel.
8743
8744 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8745
8746 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
8747 the address of a symbol so function pointers are handled properly.
8748
8749 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8750
8751 * sysdeps/i386/Dist: Add bp-asm.h.
8752
8753 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
8754 defaultdir variable instead of "/var/shm" everywhere.
8755 (defaultdir): Change to /dev/shm/.
8756
8757 2000-06-08 Greg McGary <greg@mcgary.org>
8758
8759 * sysdeps/i386/bp-asm.h: New file.
8760 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
8761 offsets. Add ENTER/LEAVE macros for optionally maintaining
8762 frame-pointer chain when debugging.
8763 * sysdeps/i386/add_n.S: Likewise.
8764 * sysdeps/i386/addmul_1.S: Likewise.
8765 * sysdeps/i386/lshift.S: Likewise.
8766 * sysdeps/i386/memchr.S: Likewise.
8767 * sysdeps/i386/memcmp.S: Likewise.
8768 * sysdeps/i386/mul_1.S: Likewise.
8769 * sysdeps/i386/rawmemchr.S: Likewise.
8770 * sysdeps/i386/rshift.S: Likewise.
8771 * sysdeps/i386/stpcpy.S: Likewise.
8772 * sysdeps/i386/stpncpy.S: Likewise.
8773 * sysdeps/i386/strchr.S: Likewise.
8774 * sysdeps/i386/strchrnul.S: Likewise.
8775 * sysdeps/i386/strcspn.S: Likewise.
8776 * sysdeps/i386/strpbrk.S: Likewise.
8777 * sysdeps/i386/strrchr.S: Likewise.
8778 * sysdeps/i386/strspn.S: Likewise.
8779 * sysdeps/i386/strtok.S: Likewise.
8780 * sysdeps/i386/sub_n.S: Likewise.
8781 * sysdeps/i386/submul_1.S: Likewise.
8782 * sysdeps/i386/elf/setjmp.S: Likewise.
8783 * sysdeps/i386/i486/strcat.S: Likewise.
8784 * sysdeps/i386/i486/strlen.S: Likewise.
8785 * sysdeps/i386/i586/add_n.S: Likewise.
8786 * sysdeps/i386/i586/lshift.S: Likewise.
8787 * sysdeps/i386/i586/memcpy.S: Likewise.
8788 * sysdeps/i386/i586/memset.S: Likewise.
8789 * sysdeps/i386/i586/rshift.S: Likewise.
8790 * sysdeps/i386/i586/strchr.S: Likewise.
8791 * sysdeps/i386/i586/strcpy.S: Likewise.
8792 * sysdeps/i386/i586/strlen.S: Likewise.
8793 * sysdeps/i386/i586/sub_n.S: Likewise.
8794 * sysdeps/i386/i686/add_n.S: Likewise.
8795 * sysdeps/i386/i686/memcpy.S: Likewise.
8796 * sysdeps/i386/i686/mempcpy.S: Likewise.
8797 * sysdeps/i386/i686/memset.S: Likewise.
8798 * sysdeps/i386/i686/strcmp.S: Likewise.
8799
8800 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8801
8802 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
8803
8804 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
8805 256 and don't use OPEN_MAX.
8806
8807 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
8808 use it instead of LINK_MAX.
8809 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
8810
8811 2000-06-08 Andreas Jaeger <aj@suse.de>
8812
8813 * libio/genops.c (_IO_list_lock): Only compile body if we're
8814 thread safe.
8815 (_IO_list_unlock): Likewise.
8816 (_IO_list_resetlock): Likewise.
8817
8818 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8819
8820 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
8821 unless user defined it.
8822
8823 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
8824 if not defined by the user.
8825
8826 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
8827 * libio/iofwrite.c (_IO_fwrite): Likewise.
8828
8829 * time/time.h: Add missing __THROW for clock_getcpuclockid
8830 prototype.
8831
8832 * elf/Makefile (distribute): Add dl-dtprocnum.h.
8833 * include/elf.h: Include also <dl-dtprocnum.h>.
8834 * elf/dl-deps.c: Likewise.
8835 * elf/dl-lookup.c: Likewise.
8836 * elf/dl-runtime.c: Likewise.
8837 * elf/dl-version.c: Likewise.
8838 * elf/do-rel.h: Likewise.
8839 * elf/dynamic-link.h: Likewise.
8840 * elf/link.h: Likewise.
8841 * elf/rtld.c: Likewise.
8842 * sysdeps/generic/dl-dtprocnum.h: New file.
8843 * sysdeps/ia64/dl-dtprocnum.h: New file.
8844 * sysdeps/mips/dl-dtprocnum.h: New file.
8845 * sysdeps/sparc/dl-dtprocnum.h: New file.
8846
8847 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
8848
8849 * elf/do-lookup.h: Add some __builtin_expect.
8850
8851 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
8852
8853 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
8854 (_dl_dynamic_weak): New variable.
8855 * elf/dl-support.c: Likewise.
8856 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
8857 * elf/do-lookup.h: If we find a weak definition treat it like a
8858 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
8859 case treat it like before.
8860
8861 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
8862 is in main program.
8863 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
8864
8865 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
8866 using l_map_start and l_map_end.
8867
8868 * elf/dl-version.c: Add __builtin_expect in many places.
8869
8870 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
8871 Update.
8872
8873 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
8874
8875 Lock for stdio stream list becomes global, for use in LinuxThreads.
8876
8877 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
8878 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
8879 _IO_list_resetlock): New interface for iterating global list of
8880 streams without accessing the _IO_list_all global variable,
8881 and for manipulating the lock which protects this list.
8882 * libio/libioP.h: Likewise.
8883 * libio/Version: Add entries for the new functions.
8884
8885 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
8886 pointer to _IO_FILE.
8887
8888 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8889
8890 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
8891 BIT() must actually be BITw().
8892
8893 * locale/programs/ld-ctype.c: Handle SP and space consistently.
8894
8895 * locale/programs/charmap.c: Allow string arguments for
8896 code_set_name and repertoiremap.
8897
8898 2000-06-07 Andreas Jaeger <aj@suse.de>
8899
8900 * elf/Makefile: Build ldconfig only when building shared libraries.
8901
8902 2000-06-07 Jakub Jelinek <jakub@redhat.com>
8903
8904 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
8905 __USE_ISOC99.
8906 (fdimf, __fdim, fdim): Likewise.
8907
8908 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8909
8910 * locale/findlocale.c: Add __builtin_expect in many places.
8911 * locale/loadlocale.c: Likewise.
8912
8913 2000-06-06 Greg McGary <greg@mcgary.org>
8914
8915 * sysdeps/mips/elf/start.S: Trim redundant code.
8916
8917 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
8918 Use C comments throughout. Line up operands column with tabs.
8919 * sysdeps/powerpc/strchr.S: Likewise.
8920 * sysdeps/powerpc/strcmp.S: Likewise.
8921 * sysdeps/powerpc/strcpy.S: Likewise.
8922 * sysdeps/powerpc/strlen.S: Likewise.
8923
8924 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
8925 Get low part of &__curbrk with @l.
8926
8927 2000-06-06 Ulrich Drepper <drepper@redhat.com>
8928
8929 * iconvdata/utf-16.c: Add __builtin_expect in many places.
8930 * iconvdata/unicode.c: Likewise.
8931 * iconvdata/uhc.c: Likewise.
8932 * iconvdata/t.61.c: Likewise.
8933 * iconvdata/sjis.c: Likewise.
8934 * iconvdata/johab.c: Likewise.
8935 * iconvdata/iso_6937.c: Likewise.
8936 * iconvdata/iso_6937-2.c: Likewise.
8937 * iconvdata/iso8859-1.c: Likewise.
8938 * iconvdata/iso646.c: Likewise.
8939 * iconvdata/iso-2022-kr.c: Likewise.
8940 * iconvdata/iso-2022-jp.c: Likewise.
8941 * iconvdata/iso-2022-cn.c: Likewise.
8942 * iconvdata/gbgbk.c: Likewise.
8943 * iconvdata/gbk.c: Likewise.
8944 * iconvdata/euc-kr.c: Likewise.
8945 * iconvdata/euc-jp.c: Likewise.
8946 * iconvdata/euc-cn.c: Likewise.
8947
8948 2000-06-05 Ulrich Drepper <drepper@redhat.com>
8949
8950 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
8951 * iconvdata/big5.c: Likewise.
8952 * iconvdata/ansi_x3.110.c: Likewise.
8953 * iconvdata/8bit-generic.c: Likewise.
8954 * iconvdata/8bit-gap.c: Likewise.
8955 * iconv/loop.c: Likewise.
8956 * iconv/gconv_db.c: Likewise.
8957 * iconv/gconv_dl.c: Likewise.
8958 * iconv/gconv_simple.c: Likewise.
8959 * iconv/skeleton.c: Likewise.
8960
8961 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
8962 (struct __gconv_step_data): Rename __is_last to __flags.
8963 * iconv/gconv_close.c: Change all uses of __is_last.
8964 * iconv/skeleton.c: Likewise.
8965 * iconvdata/iso-2022-cn.c: Likewise.
8966 * iconvdata/iso-2022-jp.c: Likewise.
8967 * iconvdata/iso-2022-kr.c: Likewise.
8968 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
8969 Recognize IGNORE error handling, set flag, and remove from name.
8970 * iconv/loop.c (ignore_errors_p): Define.
8971 Add flags parameter to both functions.
8972 * iconv/skeleton.c: Pass flags to all conversion functions.
8973 * iconv/gconv_simple.c: Add flags parameter to all functions.
8974 Don't return error for invald error if ignore flag is set.
8975 (ucs4_internal_loop_single): Add missing pointer increment.
8976 (internal_ucs4le_loop_single): Likewise.
8977 * iconv/iconv_prog.c: Implement handling of -c parameter.
8978 * iconvdata/8bit-gap.c: Don't return error for invald error if
8979 ignore flag is set.
8980 * iconvdata/8bit-generic.c: Likewise.
8981 * iconvdata/ansi_x3.110.c: Likewise.
8982 * iconvdata/big5.c: Likewise.
8983 * iconvdata/big5hkscs.c: Likewise.
8984 * iconvdata/euc-cn.c: Likewise.
8985 * iconvdata/euc-jp.c: Likewise.
8986 * iconvdata/euc-kr.c: Likewise.
8987 * iconvdata/gbgbk.c: Likewise.
8988 * iconvdata/gbk.c: Likewise.
8989 * iconvdata/iso-2022-cn.c: Likewise.
8990 * iconvdata/iso-2022-jp.c: Likewise.
8991 * iconvdata/iso-2022-kr.c: Likewise.
8992 * iconvdata/iso646.c: Likewise.
8993 * iconvdata/iso8859-1.c: Likewise.
8994 * iconvdata/iso_6937-2.c: Likewise.
8995 * iconvdata/iso_6937.c: Likewise.
8996 * iconvdata/johab.c: Likewise.
8997 * iconvdata/sjis.c: Likewise.
8998 * iconvdata/t.61.c: Likewise.
8999 * iconvdata/uhc.c: Likewise.
9000 * iconvdata/unicode.c: Likewise.
9001 * iconvdata/utf-16.c: Likewise.
9002 * libio/fileops.c: Likewise.
9003 * libio/iofwide.c: Likewise.
9004 * wcsmbs/btowc.c: Likewise.
9005 * wcsmbs/mbrtowc.c: Likewise.
9006 * wcsmbs/mbsnrtowcs.c: Likewise.
9007 * wcsmbs/mbsrtowcs.c: Likewise.
9008 * wcsmbs/wcrtomb.c: Likewise.
9009 * wcsmbs/wcsnrtombs.c: Likewise.
9010 * wcsmbs/wcsrtombs.c: Likewise.
9011 * wcsmbs/wctob.c: Likewise.
9012
9013 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
9014 an error.
9015
9016 2000-06-04 Ulrich Drepper <drepper@redhat.com>
9017
9018 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
9019 counter for the object we are releasing, just decrement it.
9020 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
9021
9022 2000-06-04 Jakub Jelinek <jakub@redhat.com>
9023
9024 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
9025 if -ffast-math.
9026
9027 2000-06-04 Ulrich Drepper <drepper@redhat.com>
9028
9029 * iconvdata/big5hkscs.c: New file.
9030 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
9031
9032 * iconvdata/gconv-modules: Add entry for new module.
9033 * iconvdata/Makefile (modules): Add BIG5HKSCS.
9034 (distribute): Add big5hkscs.c.
9035
9036 2000-06-01 Jakub Jelinek <jakub@redhat.com>
9037
9038 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
9039 inlines to match prototypes in mathcalls.h.
9040 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9041 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
9042 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
9043 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9044
9045 2000-06-03 Ulrich Drepper <drepper@redhat.com>
9046
9047 * elf/elf.h (SHT_SUNW_move): Define.
9048
9049 * elf/elf.h: Add more Solaris compatiblity definitions.
9050
9051 2000-06-03 Andreas Jaeger <aj@suse.de>
9052
9053 * sysdeps/powerpc/dl-start.S: Close open comment.
9054
9055 2000-06-03 Jakub Jelinek <jakub@redhat.com>
9056
9057 * inet/Versions: Fix typo in rresvport_af export.
9058
9059 2000-06-02 Ulrich Drepper <drepper@redhat.com>
9060
9061 * math/tgmath.h: Pretty print.
9062
9063 2000-06-02 Andreas Jaeger <aj@suse.de>
9064
9065 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
9066 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9067
9068 2000-06-02 Ulrich Drepper <drepper@redhat.com>
9069
9070 * elf/rtld.c (process_envvars): Test for = after variable name.
9071
9072 2000-06-01 Ulrich Drepper <drepper@redhat.com>
9073
9074 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
9075 have extra call to __gmon_start__, use the pointer we already have.
9076
9077 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
9078 shifting.
9079
9080 * sysdeps/i386/elf/setjmp.S: Work around change is recent
9081 binutils. gas now emits a jump through the PLT instead of a
9082 relative jump if the jump target is an exported symbol.
9083
9084 2000-05-31 Ulrich Drepper <drepper@redhat.com>
9085
9086 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
9087
9088 2000-05-31 Andreas Jaeger <aj@suse.de>
9089
9090 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
9091 gregset_t.
9092
9093 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
9094 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9095
9096 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
9097 syscall.
9098 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
9099
9100 2000-05-30 Ulrich Drepper <drepper@redhat.com>
9101
9102 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
9103
9104 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
9105 * locale/localeconv.c: Make function versioned (with same definition).
9106
9107 * elf/Makefile (modules-names): Strip before using it.
9108
9109 2000-05-30 Andreas Jaeger <aj@suse.de>
9110
9111 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
9112 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
9113 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
9114 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
9115 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
9116 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
9117
9118 2000-05-29 Ulrich Drepper <drepper@redhat.com>
9119
9120 * Makefile: Add GNU make magic.
9121
9122 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
9123 Removed.
9124 * inet/rcmd.c: Remove __P. Remove unused variables.
9125 (iruserfopen): Make first parameter const.
9126 (ruserok_sa): Return result of ruserok2_sa.
9127 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
9128 * inet/rexec.c: Remove unused variables. Other small cleanups.
9129 * inet/ruserpass.c: Remove __P. Remove unused variables.
9130 (ruserpass): Check results of memory allocation.
9131 * include/netdb.h: Add prototype for ruserpass.
9132
9133 2000-05-29 Andreas Jaeger <aj@suse.de>
9134
9135 * elf/readlib.c (interpreters): Use LD_SO since this is supported
9136 for all platforms.
9137
9138 2000-05-29 Jakub Jelinek <jakub@redhat.com>
9139
9140 * inet/rcmd.c (rresvport_af): Use correct port number.
9141
9142 2000-05-26 Andreas Schwab <schwab@suse.de>
9143
9144 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
9145 entries in all-sonames.
9146 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
9147 preserving the old name if different for compatibility.
9148
9149 2000-05-29 Ulrich Drepper <drepper@redhat.com>
9150
9151 * posix/Makefile (tests): Add tst-spawn.
9152 (tst-spawn-ARGS): New variable.
9153 * posix/tst-spawn.c: New file.
9154
9155 * posix/spawn_faction_addclose.c: Correctly account for new entry.
9156 * posix/spawn_faction_adddup2.c: Likewise.
9157 * posix/spawn_faction_addopen.c: Likewise.
9158 * posix/spawni.c: Correctly test for success of dup2 calls.
9159
9160 * posix/tst-preadwrite.c: Check success of malloc call.
9161
9162 2000-05-28 Ulrich Drepper <drepper@redhat.com>
9163
9164 * posix/Makefile (tests): Add tst-exec.
9165 (tst-exec-ARGS): New variable.
9166 * posix/tst-exec.c: New file.
9167
9168 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
9169
9170 2000-05-04 Andreas Jaeger <aj@suse.de>
9171
9172 * string/string.h: Remove __strdup prototype, it's not needed in
9173 this file anymore.
9174
9175 2000-05-28 Ulrich Drepper <drepper@redhat.com>
9176
9177 * posix/Makefile (tests): Add tst-fork.
9178 * posix/tst-fork.c: New file.
9179
9180 * resolv/inet_pton.c: Loose __P.
9181
9182 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9183
9184 * libio/libioP.h (_IO_CHECK_WIDE): Define.
9185 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
9186 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9187 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
9188 _IO_CHECK_WIDE fails.
9189
9190 2000-05-28 Ulrich Drepper <drepper@redhat.com>
9191
9192 * po/da.po: New file.
9193
9194 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
9195 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
9196
9197 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
9198 (Other iconv Implementations): Fix typo.
9199 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
9200
9201 2000-05-27 Andreas Jaeger <aj@suse.de>
9202
9203 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
9204 normal version now.
9205 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9206 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9207 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9208 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9209 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
9210 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
9211
9212 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
9213 endianness to decide how to pass arguments.
9214 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9215
9216 * elf/vismain.c: Use test-skeleton interface.
9217 (TEST_FUNCTION): New macro.
9218 (do_test): Renamed from main.
9219
9220 2000-05-27 Ulrich Drepper <drepper@redhat.com>
9221
9222 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
9223 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
9224
9225 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
9226 handling of AI_V4MAPPED flag.
9227
9228 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
9229 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
9230 perform lookup for T_A type and tell getanswer_r to convert the
9231 result with new argument.
9232 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
9233 Don't convert addresses from IPv4 to IPv6 here.
9234 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
9235 IPv6 is wanted. Allow qtype and type from reply to disagree if
9236 IPv4 mapping has to be done. Perform mappings if required by the
9237 caller and not if RES_USE_INET6 bit in _res.options is set.
9238 Add several __builtin_expect.
9239
9240 2000-05-26 Ulrich Drepper <drepper@redhat.com>
9241
9242 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
9243
9244 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
9245 NULL.
9246
9247 * posix/tst-preadwrite.c: Allow parallel execution of
9248 tst-preadwrite and tst-preadwrite64.
9249
9250 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
9251 * posix/tst-truncate.c: New file.
9252 * posix/tst-truncate64.c: New file.
9253
9254 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
9255 was switched.
9256
9257 * posix/Makefile (tests): Add tst-preadwrite64.
9258 * posix/tst-preadwrite.c: Alloc file being used also for testing
9259 pread64 and pwrite64.
9260 * posix/tst-preadwrite64.c: New file.
9261
9262 2000-05-26 Andreas Jaeger <aj@suse.de>
9263
9264 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
9265 of arguments dependend on endianness.
9266 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
9267
9268 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
9269 normal version now.
9270 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9271 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9272 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9273 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9274
9275 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
9276 endianness to check how to pass argument.
9277 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9278
9279 * elf/ldconfig.h: Update parameter list for process_elf_file.
9280
9281 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
9282 Add parameter file_length and pass it ot process_elf*file.
9283
9284 * sysdeps/generic/readelflib.c (check_ptr): New.
9285 (process_elf_file): Use check_ptr to check all accesses to the
9286 mmapped file. Add parameter file_length.
9287
9288 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
9289 library names.
9290
9291 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
9292 Closes PR libc/1573, reported by Bradley White
9293 <bww@laurelnetworks.com>.
9294
9295 2000-05-25 Ulrich Drepper <drepper@redhat.com>
9296
9297 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
9298 __FAST_MATH__ is defined.
9299
9300 2000-05-22 Andreas Jaeger <aj@suse.de>
9301
9302 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
9303 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
9304
9305 * manual/math.texi (FP Function Optimizations): Document gcc
9306 -ffast-math behaviour with mathinlines.
9307
9308 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
9309 functions unless -ffast-math is given to gcc.
9310
9311 2000-05-23 Jakub Jelinek <jakub@redhat.com>
9312
9313 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
9314 __sincosl): Guard with __USE_GNU.
9315
9316 2000-05-24 Ulrich Drepper <drepper@redhat.com>
9317
9318 * csu/Makefile (routines): Add check_fds.
9319 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
9320 binaries. Add various __builtin_expect.
9321 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
9322 * sysdeps/generic/check_fds.c: ...here. New file.
9323
9324 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
9325 binaries if file /etc/suid-debug is available.
9326
9327 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
9328 and wcseqorder members.
9329 (struct locale_collate_t): Likewise.
9330 (collate_finish): Assign collation sequence value to each character.
9331 Create tables for output.
9332 (collate_output): Write out tables with collation sequence information.
9333 * locale/C-collate.c: Provide C locale data for collation sequence
9334 table.
9335 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
9336 _NL_COLLATE_COLLSEQWC.
9337 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
9338 _NL_COLLATE_COLLSEQWC.
9339 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
9340 include fnmatch_loop.c.
9341 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
9342 character is matched by range expression. Use collation sequence
9343 table. Outside glibc fall back on simple character value comparison.
9344
9345 2000-05-24 Andreas Jaeger <aj@suse.de>
9346
9347 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
9348 words.
9349
9350 * intl/Makefile: Run gettext-test only if msgfmt is available.
9351
9352 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
9353 Define it for newer kernels.
9354
9355 2000-05-23 Ulrich Drepper <drepper@redhat.com>
9356
9357 * elf/dl-sym.c: Minor cleanups.
9358
9359 * configure.in: Add test for .protected.
9360 * config.make.in: Add have-protected variable.
9361 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
9362 (tests-vis-yes): Add vismain.
9363 (modules-names): Add $(modules-vis-$(have-protected)).
9364 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
9365 Add rules to generate and run vismain.
9366 * elf/vismain.c: New file.
9367 * elf/vismod1.c: New file.
9368 * elf/vismod2.c: New file.
9369 * elf/vismod3.c: New file.
9370
9371 2000-05-23 Andreas Jaeger <aj@suse.de>
9372
9373 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
9374
9375 * manual/search.texi (Array Sort Function): Document that qsort is
9376 not necessarily in-place.
9377
9378 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9379 Closes PR libc/1731.
9380
9381 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
9382 * dirent/scandir64.c: Likewise.
9383 * pwd/getpw.c: Likewise.
9384 * stdlib/bsearch.c (bsearch): Likewise.
9385 * stdlib/tst-strtoll.c: Likewise.
9386 * localedata/collate-test.c: Likewise.
9387 * localedata/xfrm-test.c: Likewise.
9388 * posix/bsd-getpgrp.c: Likewise.
9389 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
9390 * sysdeps/generic/bits/siginfo.h: Likewise.
9391 * sysdeps/generic/bits/sockaddr.h: Likewise.
9392 * sysdeps/generic/sys/swap.h: Likewise.
9393 * sysdeps/generic/sys/sysinfo.h: Likewise.
9394 * sysdeps/generic/vfork.c: Likewise.
9395 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
9396 * sysdeps/mach/hurd/fdopen.c: Likewise.
9397 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
9398 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9399 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9400 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9401 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9402 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
9404
9405 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
9406 * shadow/lckpwdf.c: Likewise.
9407 * stdlib/tst-strtol.c: Likewise.
9408 * sysdeps/generic/tcsetattr.c: Likewise.
9409 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9410 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9411
9412 2000-05-22 Jakub Jelinek <jakub@redhat.com>
9413
9414 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
9415 free it and set to (void *) -1.
9416
9417 2000-05-22 Jakub Jelinek <jakub@redhat.com>
9418
9419 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
9420 not the second character in the range.
9421 * stdio-common/tstscanf.c (main): Add testcase for the above.
9422 Reported by jik@kamens.brookline.ma.us.
9423
9424 2000-05-21 H.J. Lu <hjl@gnu.org>
9425
9426 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
9427 with noexec and noplt parameter.
9428 (do_lookup): Likewise.
9429
9430 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
9431 do_lookup. Support STV_PROTECTED.
9432 (_dl_lookup_symbol_skip): Likewise.
9433 (_dl_lookup_versioned_symbol): Likewise.
9434 (_dl_lookup_versioned_symbol_skip): Likewise.
9435
9436 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
9437
9438 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
9439
9440 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9441
9442 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
9443 * sysdeps/i386/bits/huge_val.h: Likewise.
9444 * sysdeps/ieee754/bits/huge_val.h: Likewise.
9445 * sysdeps/m68k/bits/huge_val.h: Likewise.
9446 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
9447 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
9448
9449 2000-05-22 Andreas Jaeger <aj@suse.de>
9450
9451 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
9452 change in iconv.h.
9453
9454 2000-05-19 Andreas Jaeger <aj@suse.de>
9455
9456 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
9457 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
9458 breaks compilation without linuxthreads.
9459
9460 2000-05-21 Ulrich Drepper <drepper@redhat.com>
9461
9462 * sysdeps/ia64/memccpy.S: New file.
9463 * sysdeps/ia64/memchr.S: New file.
9464 * sysdeps/ia64/memcmp.S: New file.
9465 * sysdeps/ia64/memcpy.S: New file.
9466 * sysdeps/ia64/memmove.S: New file.
9467 * sysdeps/ia64/memset.S: New file.
9468 * sysdeps/ia64/strcat.S: New file.
9469 * sysdeps/ia64/strchr.S: New file.
9470 * sysdeps/ia64/strcmp.S: New file.
9471 * sysdeps/ia64/strcpy.S: New file.
9472 * sysdeps/ia64/strlen.S: New file.
9473 * sysdeps/ia64/strncmp.S: New file.
9474 * sysdeps/ia64/strncpy.S: New file.
9475 * sysdeps/ia64/softpipe.h: New file.
9476 Patches by Dan Pop <Dan.Pop@cern.ch>.
9477
9478 * manual/memory.texi: Document memory handling functions (mlock,
9479 munlock, mlockall, munlockall, brk, and sbrk)
9480 * manual/time.texi: Document timespec and friends.
9481 * manual/conf.texi: Fix references.
9482 * manual/ctype.texi: Likewise.
9483 * manual/errno.texi: Likewise.
9484 * manual/intro.texi: Likewise.
9485 * manual/locale.texi: Likewise.
9486 * manual/sysinfo.texi: Likewise.
9487 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9488
9489 2000-05-09 Jes Sorensen <jes@linuxcare.com>
9490
9491 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
9492 * sysdeps/ia64/dl-lookupcfg.h: ...here.
9493
9494 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9495
9496 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
9497 dxfer_direction.
9498
9499 2000-05-21 Ulrich Drepper <drepper@redhat.com>
9500
9501 * locale/locale.h (struct lconv): Add new elements from ISO C99.
9502 * locale/localeconv.c: Initialize new elements from ISO C99.
9503 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
9504 new standard elements.
9505 * locale/categories.def: Adjust accordingly.
9506
9507 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
9508 * iconv/iconv.c: Likewise.
9509 * conform/data/iconv.h-data: Likewise.
9510 * iconv/iconv_prog.c (process_block): Remove const from second
9511 parameter.
9512 (main): Remove const from addr definition.
9513 * manual/charset.texi (Generic Conversion Interface): Remove from
9514 inbuf parameter of iconv.
9515
9516 * intl/dcigettext.c: Fix typo in comment.
9517
9518 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
9519
9520 * resolv/res_libc.c (_res): Initialize _sock to -1.
9521
9522 2000-05-18 Jakub Jelinek <jakub@redhat.com>
9523
9524 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
9525 (fopencookie@@GLIBC_2.2): New.
9526 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
9527 (fopencookie@GLIBC_2.0): New.
9528 * libio/Versions: Add fopencookie to GLIBC_2.2.
9529
9530 2000-05-18 Andreas Jaeger <aj@suse.de>
9531
9532 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9533 Closes PR libc/1731.
9534
9535 * manual/arith.texi (Parsing of Integers): Fix typo.
9536 Closes PR libc/1744, reported by blp@gnu.org.
9537
9538 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9539
9540 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
9541 __extension__ to hexadecimal floating constant notation.
9542 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9543 Likewise.
9544 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
9545 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9546 Likewise.
9547 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9548 HUGE_VALL): Likewise.
9549 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9550 HUGE_VALL): Likewise.
9551 (HUGE_VALL): Set to HUGE_VAL on sparc32.
9552
9553 2000-05-17 Andreas Jaeger <aj@suse.de>
9554
9555 * string/envz.h: Add pure attributes if possible.
9556
9557 * string/argz.h: argz_count is a pure function.
9558
9559 * string/strings.h: Add pure and const attributes if possible.
9560
9561 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
9562 possibly searching through the whole memory.
9563 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
9564
9565 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9566
9567 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
9568 not yet defined.
9569 (_dl_cache_check_flags): Likewise.
9570 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
9571 dl-cache.h.
9572
9573 2000-05-17 Andreas Jaeger <aj@suse.de>
9574
9575 * manual/creature.texi (Feature Test Macros): Remove paragraph
9576 since the description is wrong.
9577 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
9578
9579 * scripts/config.sub: New version.
9580 * scripts/config.guess: Likewise.
9581 * manual/texinfo.tex: Likewise.
9582
9583 * time/test_time.args: Removed.
9584 * time/Makefile (test_time-ARGS): Added contents here instead.
9585
9586 * posix/tstgetopt.args: Removed.
9587 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
9588
9589 * Rules: Allow arguments for test files to be specified in
9590 Makefile with testname-ARGS; remove rules with .args in it.
9591
9592 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
9593 remove old bogus rule for opendir-tst1.args.
9594
9595 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
9596
9597 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
9598 into objdir. This allows a readonly sourcetree.
9599 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
9600
9601 2000-05-16 Andreas Jaeger <aj@suse.de>,
9602 David Huggins-Daines <dhd@linuxcare.com>
9603
9604 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
9605 cache_data in case of only new cache format correctly.
9606
9607 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
9608 cache_file_new.
9609
9610 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
9611 struct cache_file_new.
9612
9613 * elf/cache.c (save_cache): Fix str_offset if only new cache is
9614 present.
9615
9616 * elf/cache.c (save_cache): Align struct new_file_cache.
9617 (print_cache): Likewise.
9618
9619 2000-05-13 Jakub Jelinek <jakub@redhat.com>
9620
9621 * elf/soinit.c (__libc_global_ctors): Move
9622 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
9623 * resolv/resolv.h (__res_state): Added __attribute__((const)).
9624 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
9625 variable, don't define it to __res_state call.
9626
9627 2000-05-13 Andreas Jaeger <aj@suse.de>
9628
9629 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
9630 Linux 2.3.99pre7.
9631 (AF_PPPOX): Likewise.
9632 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
9633 (AF_PPPOX): Likewise.
9634
9635 2000-05-12 Andreas Jaeger <aj@suse.de>
9636
9637 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
9638 Reported by tmoestl@gmx.net, closes PR libc/1732.
9639
9640 2000-05-11 Jan Hubicka <jh@suse.cz>
9641
9642 * misc/sys/cdefs.h: Add support for pure attribute.
9643
9644 * include/string.h: Add __attribute_pure__ to various functions.
9645 * string/string.h: Likewise.
9646
9647 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9648
9649 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
9650 argument.
9651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9652 R_SPARC_UA64.
9653 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
9654
9655 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9656
9657 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
9658 at proper place. Compute the high nibble correctly.
9659
9660 2000-05-09 Jakub Jelinek <jakub@redhat.com>
9661
9662 * elf/ldconfig.c: Include elf.h.
9663
9664 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
9665 (_dl_vsym): Likewise.
9666 Reported by Owen Taylor <otaylor@redhat.com>.
9667
9668 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
9669 always.
9670
9671 2000-05-08 Andreas Jaeger <aj@suse.de>
9672
9673 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
9674
9675 * intl/bindtextdom.c (set_binding_values): Add prototype.
9676
9677 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9678
9679 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
9680 call to elf_machine_fixup_plt.
9681 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9683
9684 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9685
9686 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
9687 they are not dlclose'd from underneath us.
9688
9689 2000-05-08 Andreas Schwab <schwab@suse.de>
9690
9691 * posix/execle.c: Fix size parameter of memcpy.
9692
9693 2000-05-08 Andreas Schwab <schwab@suse.de>
9694
9695 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
9696 getpagesize syscall if available.
9697
9698 2000-05-08 Andreas Jaeger <aj@suse.de>
9699
9700 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
9701 set errno.
9702
9703 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9704
9705 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
9706 sizeof(struct link_map *) chunks, not in bytes.
9707
9708 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9709
9710 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
9711 only needed for locale.
9712 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
9713 It's only needed for catgets.
9714 Patches by Greg McGary <gkm@eng.ascend.com>.
9715
9716 2000-05-07 Mark Kettenis <kettenis@gnu.org>
9717
9718 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
9719 Remove duplicate <errno.h> include. Remove inclusion of
9720 <libintl.h> and "nsswitch.h".
9721 (set_cloexec_flag): New function, broken out of dbopen.
9722 (dbopen): Changed return type to `enum
9723 nss_status'. Mostly rewritten to make sure that we do not report
9724 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
9725 (internal_setent): Change return type to nss_status.
9726 Document, and make sure that the function
9727 behaves accordingly. Make dynamically loading the database
9728 library really thread-safe and return NSS_STATUS_UNAVAIL if it
9729 failed.
9730 (db_cursor): Return ENOMEM is memory allocation failed. Remove
9731 unecessary casts.
9732 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
9733 documentation.
9734 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
9735 c_get function member.
9736 * nss/nss_db/nss_db.h: Add and tweak some comments.
9737 (DBT): Move typedef before NSS_DBC typedef.
9738 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
9739
9740 2000-05-07 H.J. Lu <hjl@gnu.org>
9741
9742 * csu/initfini.c: Moved to ....
9743 * sysdeps/generic/initfini.c: ...here.
9744
9745 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
9746
9747 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9748
9749 * manual/resource.texi: Document POSIX scheduling functions.
9750 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9751
9752 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
9753 reading anything. Reported by Andries.Brouwer@cwi.nl.
9754
9755 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
9756 for x since promotion in comparison might leads to unexpected
9757 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
9758
9759 * iconv/Makefile (tests): Add tst-iconv1.
9760 * iconv/tst-iconv1.c: New file.
9761 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
9762 empty input buffer over full output buffer.
9763 (ucs4_internal_loop): Likewise.
9764 (ucs4_internal_loop_unaligned): Likewise.
9765 (internal_ucs4le_loop): Likewise.
9766 (internal_ucs4le_loop_unaligned): Likewise.
9767 (ucs4le_internal_loop): Likewise.
9768 (ucs4le_internal_loop_unaligned): Likewise.
9769 Reported by yaoz@nih.gov.
9770
9771 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9772
9773 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
9774 returned != __GCONV_OK, there is nothing to clean up.
9775
9776 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9777
9778 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
9779 OUTPUT_CHARSET environment variables.
9780
9781 2000-05-06 Andreas Jaeger <aj@suse.de>
9782
9783 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
9784 (struct cache_file_new): New.
9785 (struct file_entry): New (moved from cache.c).
9786 (struct cache_file): New (moved from cache.c).
9787
9788 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
9789 from _dl_load_cache_lookup.
9790 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
9791 the different cache formats.
9792 New variable cache_new for new format.
9793
9794 * elf/ldconfig.h: Change according to changes in cache.c and
9795 ldconfig.c; remove cache_libcmp; add opt_format.
9796
9797 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
9798 stuff that's defined in those headers.
9799 Add hwcap to struct lib_entry.
9800 (opt_format): New variable to select cache format.
9801 (options): Add format parameter.
9802 (is_hwcap): New function.
9803 (path_hwcap): New function.
9804 (parse_opt): Handle new format parameter.
9805 (search_dir): Handle hwcap, search also subdirectories with hwcap.
9806
9807 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
9808 ldconfig is part of glibc.
9809 Include dl-cache.h and remove stuff that's defined there.
9810 (struct cache_entry): Add new member hwcap.
9811 (print_entry): Print hwcap, cleanup a bit.
9812 (print_cache): Print new and old formats.
9813 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
9814 (save_cache): Save new and old formats.
9815 (add_to_cache): Handle hwcap.
9816
9817 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
9818 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
9819 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
9820 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
9821 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
9822 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
9823
9824 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9825
9826 * intl/dcigettext.c (alignof): New macro.
9827 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
9828 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
9829 freemem_size to 0.
9830
9831 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9832
9833 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
9834 return value.
9835
9836 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9837
9838 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
9839 (mempcpy): Correct typo is parameter list.
9840
9841 2000-05-06 Andreas Jaeger <aj@suse.de>
9842
9843 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
9844 functions unless -ffast-math is given to gcc.
9845
9846 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9847
9848 * po/ko.po: Update from translation team.
9849
9850 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9851
9852 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
9853 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
9854 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
9855 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
9856 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
9857 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
9858
9859 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
9860 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
9861 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
9862
9863 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
9864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
9865 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
9866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
9867
9868 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
9869 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
9870
9871 2000-05-05 Jes Sorensen <jes@linuxcare.com>
9872
9873 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
9874 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
9875
9876 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
9877 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
9878
9879 * sysdeps/ia64/Implies: New file.
9880 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
9881 * sysdeps/ia64/Makefile: New file.
9882 * sysdeps/ia64/gmp-mparam.h: New file,
9883
9884 * sysdeps/ia64/elf/start.S: New file.
9885
9886 * sysdeps/ia64/bits/fenv.h: New file.
9887
9888 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
9889
9890 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
9891
9892 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
9893
9894 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
9895 ia64 has 64 bit .hash entries just as the Alpha.
9896
9897 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9898
9899 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
9900
9901 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
9902
9903 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
9904 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
9905 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
9906 * sysdeps/ia64/fpu/fegetenv.c: New file.
9907 * sysdeps/ia64/fpu/fegetexcept.c: New file.
9908 * sysdeps/ia64/fpu/fegetround.c: New file.
9909 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
9910 * sysdeps/ia64/fpu/fesetenv.c: New file.
9911 * sysdeps/ia64/fpu/fesetround.c: New file.
9912 * sysdeps/ia64/fpu/feupdateenv.c: New file.
9913 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
9914 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
9915 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
9916 * sysdeps/ia64/fpu/ftestexcept.c: New file.
9917
9918 2000-05-05 Andreas Jaeger <aj@suse.de>
9919
9920 * misc/tst-tsearch.c (main): Correct type for initstate argument.
9921
9922 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9923 (_dl_string_hwcap): New, does nothing.
9924
9925 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9926 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9927 (_dl_string_hwcap): New function, converts from string to hwcap
9928 encoding.
9929 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9930 (_DL_HWCAP_COUNT): New.
9931 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9932 (_dl_string_hwcap): New function, converts from string to hwcap
9933 encoding.
9934 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
9935 (_DL_HWCAP_COUNT): New.
9936 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9937 (_dl_string_hwcap): New function, converts from string to hwcap
9938 encoding.
9939
9940 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9941
9942 * elf/Makefile (distribute): Add dl-lookupcfg.h.
9943 * sysdeps/ia64/Dist: New file.
9944
9945 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
9946 parameter to mprotect and for variable assignments.
9947
9948 2000-05-03 Jes Sorensen <jes@linuxcare.com>
9949
9950 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
9951 validity of map before dereferencing it.
9952
9953 * elf/dl-reloc.c (RESOLVE_MAP): Define.
9954
9955 2000-05-02 Jes Sorensen <jes@linuxcare.com>
9956
9957 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
9958 lookup to the arguments to elf_machine_fixup_plt().
9959
9960 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
9961 of the symbol being resolved to input argument list and make the
9962 function return the pointer to the reloc.
9963
9964 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
9965 return valuie to lookup_t and return the value.
9966 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
9967 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
9968 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
9969 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
9970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
9971 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
9972
9973 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
9974 Make it an inline function returning value after calling
9975 __elf_machine_fixup_plt().
9976
9977 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
9978 symbol address.
9979
9980 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
9981 obtain the symbol address.
9982
9983 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
9984 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
9985
9986 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
9987 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
9988 inline on non ia64.
9989
9990 2000-04-28 Jes Sorensen <jes@linuxcare.com>
9991
9992 * elf/dl-runtime.c (fixup): Use the portable macros to get the
9993 symbol address of an object.
9994
9995 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
9996 the symbol address of an object.
9997
9998 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
9999 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
10000 (_dl_lookup_symbol_skip): Likewise.
10001 (_dl_lookup_versioned_symbol): Likewise.
10002 (_dl_lookup_versioned_symbol_skip): Likewise.
10003
10004 2000-04-27 Jes Sorensen <jes@linuxcare.com>
10005
10006 * elf/rtld.c (_dl_start): Get the function pointer return address
10007 via _dl_start_address for architectures that need a function
10008 pointer descriptor rather than just a pointer (ia64).
10009
10010 * sysdeps/generic/dl-lookupcfg.h: New file.
10011 * sysdeps/ia64/dl-lookupcfg.h: New file.
10012 * sysdeps/ia64/dl-machine.h: New file.
10013 * sysdeps/ia64/dl-symaddr.c: New file.
10014 * sysdeps/ia64/dl-fptr.c: New file.
10015
10016 * elf/elf.h: Add IA-64 specific definitions.
10017
10018 2000-05-04 Jakub Jelinek <jakub@redhat.com>
10019
10020 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
10021 end of enum.
10022
10023 2000-05-04 Jakub Jelinek <jakub@redhat.com>
10024
10025 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
10026 happy.
10027
10028 2000-04-11 Geoff Keating <geoffk@cygnus.com>
10029
10030 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
10031 symbol. Call _dl_init rather than the old way.
10032
10033 2000-05-04 Ulrich Drepper <drepper@redhat.com>
10034
10035 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
10036 test for pointer in range of DSO address space.
10037
10038 2000-05-04 Andreas Jaeger <aj@suse.de>
10039
10040 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
10041
10042 2000-05-03 Ulrich Drepper <drepper@redhat.com>
10043
10044 * locale/findlocale.c (_nl_find_locale): Add new parameter to
10045 calls of _nl_make_l10nflist.
10046
10047 * libio/stdio.h: Make fseeko and ftello prototypes available is
10048 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
10049
10050 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
10051 real unsetenv implementation from 1999-07-29 [PR libc/1714].
10052
10053 2000-05-03 Bruno Haible <haible@clisp.cons.org>
10054
10055 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
10056 before calling tfind.
10057
10058 2000-03-05 Jakub Jelinek <jakub@redhat.com>
10059
10060 * resolv/resolv.h (res_querydomain): Remove redefinition to
10061 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
10062
10063 2000-05-03 Ulrich Drepper <drepper@redhat.com>
10064
10065 * po/gl.po: Update from translation team.
10066
10067 * manual/intro.texi (Program Basics): Change section title.
10068 * manual/process.texi: Fix reference.
10069 (Executing a File): Add reference exec in other section.
10070 * manual/signal.texi: Fix reference.
10071 * manual/startup.texi: Document syscall function.
10072 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
10073
10074 2000-04-29 Bruno Haible <haible@clisp.cons.org>
10075
10076 * intl/libintl.h (bind_textdomain_codeset): New declaration.
10077 * intl/bindtextdom.c (set_binding_values): New function.
10078 (bindtextdomain): Call it.
10079 (bind_textdomain_codeset): New function.
10080 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
10081 (free_mem): Free each binding's codeset.
10082 * intl/gettextP.h (struct binding): Add codeset field.
10083 (_nl_find_domain): Add domainbinding argument.
10084 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
10085 Pass it to _nl_make_l10nflist.
10086 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
10087 (_nl_make_l10nflist): Add domainbinding argument.
10088 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
10089 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
10090 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
10091 locale_charset().
10092 * manual/message.texi: New node "Charset conversion in gettext".
10093
10094 2000-04-30 Bruno Haible <haible@clisp.cons.org>
10095
10096 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
10097 appropriate. Handle possible __read error.
10098
10099 2000-04-29 Bruno Haible <haible@clisp.cons.org>
10100
10101 * intl/gettextP.h (__builtin_expect): Define as empty if not a
10102 compiler builtin.
10103 * intl/loadinfo.h (__builtin_expect): Likewise.
10104 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
10105 __builtin_expect where appropriate.
10106 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10107 * intl/localealias.c (extend_alias_table): Return an error indicator.
10108 (read_alias_file): Bail out if extend_alias_table fails.
10109
10110 2000-04-29 Bruno Haible <haible@clisp.cons.org>
10111
10112 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
10113 * intl/localealias.c: Likewise.
10114
10115 2000-05-01 Bruno Haible <haible@clisp.cons.org>
10116
10117 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
10118 Initialize domain->plural and domain->nplurals even if there is no
10119 nullentry.
10120
10121 2000-05-01 Bruno Haible <haible@clisp.cons.org>
10122
10123 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
10124 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
10125 In case of failure, goto converted.
10126
10127 2000-05-01 Bruno Haible <haible@clisp.cons.org>
10128
10129 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
10130 * iconv/gconv_int.h (norm_add_slashes): Move to here.
10131 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
10132 __gconv_open.
10133
10134 2000-04-29 Bruno Haible <haible@clisp.cons.org>
10135
10136 * intl/dcigettext.c (transcmp): Compare the domains as well.
10137 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
10138 not before.
10139 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
10140 <errno.h>.
10141
10142 2000-05-03 Ulrich Drepper <drepper@redhat.com>
10143
10144 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
10145 Reported by Bruno Haible.
10146
10147 2000-04-29 Bruno Haible <haible@clisp.cons.org>
10148
10149 * manual/arith.texi: Remove @w from @itemize.
10150
10151 2000-05-02 Andreas Jaeger <aj@suse.de>
10152
10153 * conform/data/tar.h-data: Add some checks for specific values.
10154
10155 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
10156 and RAND_MAX.
10157
10158 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
10159 FOPEN_MAX.
10160
10161 * conform/data/netinet/in.h-data: Add exact checks for the values
10162 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
10163
10164 * conform/data/float.h-data: Add some minimal values.
10165
10166 * conform/conformtest.pl: Test for macros with string constants,
10167 check for minimum and maximum values.
10168 Add limits.h to headers.
10169
10170 * conform/data/cpio.h-data: Test for value of MAGIC.
10171
10172 * conform/data/limits.h-data: New file.
10173
10174 2000-04-30 Bruno Haible <haible@clisp.cons.org>
10175
10176 * math/Makefile (headers): Add bits/fenvinline.h.
10177
10178 2000-05-01 Ulrich Drepper <drepper@redhat.com>
10179
10180 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
10181 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
10182
10183 * posix/Versions: Change posix_spawnattr_getdefault and
10184 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
10185 and posix_spawnattr_setsigdefault respectively.
10186 * posix/spawn.h: Likewise.
10187 * posix/spawnattr_getdefault.h: Likewise.
10188 * posix/spawnattr_setdefault.h: Likewise.
10189 * conform/data/spawn.h-data: Likewise.
10190
10191 2000-05-01 Andreas Jaeger <aj@suse.de>
10192
10193 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
10194
10195 2000-04-30 Ulrich Drepper <drepper@redhat.com>
10196
10197 * manual/sysinfo.texi: Document getdomainname, setdomainname
10198 and sysctl.
10199 * manual/string.texi: Fix typo.
10200 * manual/terminal.texi: Document gtty and stty.
10201 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10202
10203 2000-04-30 Andreas Jaeger <aj@suse.de>
10204
10205 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
10206 accordance with Austin Draft.
10207
10208 2000-04-30 Ulrich Drepper <drepper@redhat.com>
10209
10210 * catgets/gencat.c (read_input_file): Use isblank and not isspace
10211 to recognize second character in comment line.
10212
10213 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
10214 ENOBUFS if we are out of memory.
10215
10216 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
10217 available if __USE_XOPEN2K.
10218 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10219 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10220 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10222 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10224 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
10225 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10226
10227 2000-04-29 Ulrich Drepper <drepper@redhat.com>
10228
10229 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
10230 Recognize option -s, -c, and -l.
10231
10232 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
10233
10234 * nscd/nscd.c: Start new session for nscd, drop privilegs
10235 to configured user if requested and no -S parameter are used.
10236 * nscd/nscd.conf: Add new option "server-user".
10237 * nscd/nscd_conf.c: Add support for new "server-user" option.
10238 * nscd/nscd.h: Add declaration for server_user variable.
10239 Based on patch by Chris Wing <wingc@engin.umich.edu>
10240
10241 2000-04-29 Mark Kettenis <kettenis@gnu.org>
10242
10243 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
10244 that changing the __restore and __restore_rt signal return code
10245 will break GDB.
10246
10247 2000-04-29 Mark Kettenis <kettenis@gnu.org>
10248
10249 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
10250 <sys/user.h>.
10251
10252 2000-04-29 Mark Kettenis <kettenis@gnu.org>
10253
10254 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
10255
10256 2000-04-29 Ulrich Drepper <drepper@redhat.com>
10257
10258 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
10259 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
10260 arpa/inet.h.
10261 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
10262 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
10263 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
10264 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
10265 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
10266 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
10267 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
10268 posix_fallocate, and posix_madvise.
10269 * conform/data/netdb.h-data: New file.
10270 * conform/data/pthread.h-data: Add pthread_barrier_t,
10271 pthread_barrierattr_t, pthread_barrier_destroy,
10272 pthread_barrier_init, pthread_barrier_wait,
10273 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
10274 pthread_barrierattr_init, pthread_barrierattr_setpshared,
10275 pthread_condattr_getclock, pthread_condattr_setclock,
10276 pthread_getcpuclockid, pthread_mutex_timedlock,
10277 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
10278 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
10279 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
10280 * conform/data/sched.h-data: Add sched_ss_low_priority,
10281 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
10282 SCHED_SPORADIC.
10283 * conform/data/semaphore.h-data: Add sem_timedwait.
10284 * conform/data/signal.h-data: Add SIGIO.
10285 * conform/data/spawn.h-data: New file.
10286 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
10287 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
10288 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
10289 Fix typo in gmtime_r definition.
10290 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
10291 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
10292 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
10293 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
10294 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
10295 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
10296 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
10297 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
10298 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
10299 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
10300 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
10301 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
10302 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
10303 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
10304 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
10305 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
10306 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
10307 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
10308 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
10309 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
10310 typo in off_t definition.
10311 * conform/data/net/if.h-data: New file.
10312 * conform/data/netinet/in.h-data: New file.
10313 * conform/data/netinet/tcp.h-data: New file.
10314 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
10315 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
10316 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
10317 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
10318 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
10319 and posix_typed_mem_open.
10320 * conform/data/sys/socket.h-data: New file.
10321 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
10322 * conform/data/sys/types.h-data: Add pthread_barrier_t,
10323 pthread_barrierattr_t, and pthread_spinlock_t.
10324 * conform/data/sys/un.h-data: New file.
10325 * conform/data/sys/utsname.h-data: New file.
10326
10327 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
10328 parameter.
10329 * inet/gethstbyad.c (gethostbyname): Likewise.
10330 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
10331 * inet/getipnodebyad.c (getipnodebyad): Likewise.
10332 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
10333 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
10334 Likewise.
10335 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
10336 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
10337 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
10338 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
10339 * resolv/gethnamaddr.c (gethostbyname): Likewise.
10340 * resolv/netdb.h (struct hostent): Fix type of h_length member.
10341 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
10342 and second parameter.
10343
10344 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
10345 == NULL.
10346
10347 2000-04-29 Andreas Jaeger <aj@suse.de>
10348
10349 * conform/data/arpa/inet.h-data: New file.
10350
10351 2000-04-28 Geoff Clare <gwc@unisoft.com>
10352
10353 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
10354 path passed to ftw() or nftw() is an empty string.
10355 Closes PR libc/1710.
10356
10357 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10358
10359 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
10360 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
10361 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
10362 * localedata/tst-mbswcs4.c: New file.
10363 * localedata/tst-mbswcs5.c: New file.
10364
10365 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
10366 == NULL. Little optimization.
10367
10368 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
10369 DT_PREINIT_ARRAYSZ).
10370 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
10371
10372 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
10373 overflows in conversion from ASCII.
10374
10375 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10376
10377 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
10378 * Makerules (full_config_sysdirs): Likewise.
10379 * MakeTAGS (full_config_sysdirs): Likewise.
10380
10381 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10382
10383 * .cvsignore: Remove linuxthreads.
10384 * po/.cvsignore: Remove *.pot.
10385 * posix/glob/.cvsignore: Removed.
10386 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
10387
10388 2000-04-25 Andreas Jaeger <aj@suse.de>
10389
10390 * conform/Makefile (distribute): Also distribute contents of
10391 subdirectories.
10392
10393 * Makerules (no_deps): Remove abi-versions.h.
10394
10395 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
10396
10397 2000-04-25 Jakub Jelinek <jakub@redhat.com>
10398
10399 * sysdeps/sparc/sparc64/elf/Dist: Remove.
10400 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
10401 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
10402 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
10403 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
10404 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
10405 objects.
10406
10407 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
10408
10409 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
10410
10411 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10412
10413 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
10414 * intl/l10nflist.c: Likewise.
10415
10416 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10417
10418 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
10419 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
10420 * intl/textdomain.c [!_LIBC]: Likewise.
10421 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
10422 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
10423 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
10424 syntax error.
10425
10426 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10427
10428 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
10429 character set conversion also in the case the translation was found
10430 after a hash collision or through binary search. Store the maximum
10431 index together with the converted message. Use iconv() when available.
10432 In case of out of memory during conversion, return the unconverted
10433 translated string, not NULL.
10434
10435 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
10436
10437 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
10438 to avoid name clashes with the ia32 linker.
10439
10440 2000-04-25 Jakub Jelinek <jakub@redhat.com>
10441
10442 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
10443 handling.
10444
10445 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10446
10447 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
10448 strtoumax, strfry, and memfrob.
10449 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
10450 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10451
10452 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
10453 if this function is available.
10454
10455 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
10456 all values.
10457
10458 2000-04-27 Jakub Jelinek <jakub@redhat.com>
10459
10460 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
10461
10462 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10463
10464 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
10465 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
10466 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
10467 * localedata/tst-mbswcs3.c: New file.
10468
10469 2000-04-26 Ulrich Drepper <drepper@redhat.com>
10470
10471 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
10472 characters. Don't handle incomplete characters as errors.
10473 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
10474 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
10475 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
10476 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
10477 * localedata/tst-mbswcs2.c: New file.
10478
10479 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
10480 stored character in state in UNPACK_BYTES macro.
10481 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
10482 test for available characters, handle result of BODY code correctly.
10483 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
10484 (distribute): Add tst-mbswcs.sh.
10485 Add rule to run tst-mbswcs.sh.
10486 * localedata/tst-mbswcs.sh: New file.
10487 * localedata/tst-mbswcs1.c: New file.
10488
10489 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10490
10491 * nis/nis_callback.c (__nis_create_callback): Do failed memory
10492 allocation fixups centrally, fix __builtin_expect call, return NULL
10493 on failure, not NIS_NOMEMORY.
10494
10495 2000-04-27 Bruno Haible <haible@clisp.cons.org>
10496
10497 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
10498
10499 * intl/loadinfo.h (internal_function): Define if not already defined.
10500
10501 2000-04-27 Andreas Jaeger <aj@suse.de>
10502
10503 * intl/libintl.h: Fix typo, reported by Bruno Haible
10504 <haible@clisp.cons.org>.
10505
10506 2000-04-25 Ulrich Drepper <drepper@redhat.com>
10507
10508 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
10509 setting the state to GMON_PROF_BUSY.
10510
10511 2000-04-24 Ulrich Drepper <drepper@redhat.com>
10512
10513 * elf/dl-profile.c (_dl_start_profile): define all variables which
10514 do not have to be global as local variables.
10515
10516 * nis/nis_callback.c (__nis_create_callback): Partially undo last
10517 patch. Keep needed tests for failed memory allocation.
10518
10519 * elf/dl-reloc.c (_dl_relocate_object): Add one more
10520 __builtin_expect saying that we don't normally expect to profile.
10521
10522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
10523 __builtin_expect where desirable.
10524
10525 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10526
10527 * manual/Makefile (chapters): Add syslog.
10528 * manual/syslog.texi: New file.
10529 * manual/math.texi: Fix references.
10530 * manual/terminal.texi: Likewise.
10531 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10532
10533 2000-04-18 Jakub Jelinek <jakub@redhat.com>
10534
10535 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
10536 stdlib.h was not included or __USE_XOPEN not defined.
10537
10538 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10539
10540 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
10541 Patch by Zack Weinberg <zack@wolery.cumb.org>.
10542
10543 2000-04-22 Ulrich Drepper <drepper@redhat.com>
10544
10545 * manual/examples/subopt.c (mount_opts): Add missing terminating
10546 entry.
10547 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
10548
10549 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
10550 * libio/ftello.c: Likewise.
10551 * libio/ftello64.c: Likewise.
10552 * libio/ioftell.c: Likewise.
10553 * sysdeps/generic/memrchr.c: Likewise.
10554 * sysdeps/posix/libc_fatal.c: Likewise.
10555 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10556 * misc/fstab.c: Include <string.h> for strcmp prototype.
10557 * sysdeps/generic/ldsodefs.h: Likewise.
10558 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10559 Patch by Kurt Roeckx <Q@ping.be>.
10560
10561 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
10562 Remove db-open. Change all uses.
10563 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
10564
10565 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10566
10567 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
10568 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
10569 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
10570 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
10571 with .set noat/at to shut up warnings.
10572 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
10573 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
10574 compilation if __NR_pciconfig_iobase is not defined.
10575 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
10576 Add alias.
10577
10578 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10579
10580 * manual/sysinfo.texi: Fix typo.
10581 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
10582 Replace "high precision time" with "high accuracy clock".
10583 Fix language.
10584 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
10585
10586 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
10587 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
10588 instead of malloc.
10589 * nis/nis_subr.c: Use __builtin_expect.
10590 * nis/ypclnt.c: Likewise.
10591 * nis/nis_getservlist.c: Likewise.
10592 * nis/nis_creategroup.c: Likewise.
10593
10594 * nis/nis_callback.c (__nis_create_callback): Check result of
10595 memory allocation. Fix memory leaks. Use __builtin_expect.
10596 (__nis_destroy_callback): Fix memory leaks.
10597
10598 2000-04-21 Andreas Jaeger <aj@suse.de>
10599
10600 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
10601 * sysdeps/mips/mips64/add_n.S: Likewise.
10602 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
10603 * sysdeps/mips/mips64/lshift.S: Likewise.
10604 * sysdeps/mips/mips64/mul_1.S: Likewise.
10605 * sysdeps/mips/mips64/rshift.S: Likewise.
10606 * sysdeps/mips/mips64/setjmp.S: Likewise.
10607 * sysdeps/mips/mips64/sub_n.S: Likewise.
10608 * sysdeps/mips/mips64/submul_1.S: Likewise
10609 * sysdeps/unix/mips/sysdep.S: Likewise.
10610
10611 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
10612 and update comment. The strtab from _dl_relocate_object can be
10613 used.
10614
10615 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10616
10617 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
10618 * iconv/iconv_close.c (iconv_close): Likewise.
10619 * iconv/iconv_open.c (iconv_open): Likewise.
10620
10621 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
10622 __builtin_expect where useful.
10623
10624 * grp/initgroups.c (initgroups): Test for result of memory
10625 allocation and punt if it fails.
10626
10627 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
10628 * grp/fgetgrent.c (fgetfrent): Likewise.
10629 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
10630
10631 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10632
10633 * libio/vasprintf.c: Include string.h to get memcpy prototype.
10634
10635 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10636
10637 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
10638 don't search for NUL byte to decrement counter.
10639 Reported by Ulrich.Brink@sap.com.
10640
10641 * iconv/gconv_simple.c: Define separate functions to convert from
10642 UCS4/UCS4-LE to the internal encoding.
10643 * iconv/gconv_builtin.h: Use separate functions to convert from
10644 UCS4/UCS4-LE to the internal encoding.
10645 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
10646 __gconv_transform_ucs4le_internal.
10647
10648 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
10649 output buffer overflow. Reported by Ulrich.Brink@sap.com.
10650
10651 * iconv/skeleton.c: Add some more __builtin_expect.
10652 * iconv/loop.c: Likewise.
10653
10654 2000-03-08 H.J. Lu <hjl@gnu.org>
10655
10656 * posix/regex.c (regex_compile): Correctly handle "\{" when
10657 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
10658
10659 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10660
10661 * manual/stdio.texi: Give advise about handling error when using
10662 stream functions.
10663 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
10664
10665 2000-04-19 Jakub Jelinek <jakub@redhat.com>
10666
10667 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
10668 field to nelems * sizeof (uint32_t).
10669 * locale/programs/ld-address.c (address_output): Align word fields
10670 properly.
10671 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10672 Don't restart idx pointers to idx end at the duo_int_curr_symbol
10673 field.
10674 Avoid giving arbitrary garbage in the crncystr field.
10675 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
10676 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
10677 fields.
10678 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10679 Don't restart idx pointers to idx end at the decimal_point_wc field.
10680 * locale/programs/ld-time.c (time_output): week_1stday should be
10681 word, not byte. Align it properly.
10682
10683 2000-04-19 H.J. Lu <hjl@gnu.org>
10684
10685 * csu/gmon-start.c (_start): Declared as "extern void".
10686 (etext): Likewise.
10687
10688 2000-04-18 Andreas Jaeger <aj@suse.de>
10689
10690 * manual/install.texi (Running make install): Don't mention utmpd
10691 anymore.
10692
10693 2000-04-18 Andreas Jaeger <aj@suse.de>
10694
10695 * linuxthreads/Versions: Use ld instead of ld.so.
10696
10697 * elf/Makefile (ld-map): Use ld.map.
10698
10699 * Versions.def: Use ld instead of ld.so.
10700 * elf/Versions: Likewise.
10701 * sysdeps/mach/hurd/Versions: Likewise.
10702
10703 2000-04-20 Andreas Jaeger <aj@suse.de>
10704
10705 * elf/rtld.c (print_statistics): Move ifndef further up.
10706 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
10707 (dl_main): Likewise.
10708
10709 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10710
10711 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
10712 * gmon/Versions: Move moncontrol to GLIBC_2.2.
10713
10714 * po/cs.po: Update from translation team.
10715
10716 * sysdeps/generic/updwtmp.c: Remove daemon support.
10717
10718 * login/Makefile (routines): Remove utmp_daemon.
10719
10720 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
10721 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
10722 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
10723 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
10724
10725 * elf/rtld.c: Display statitics option also if hp timing is not
10726 available.
10727
10728 * login/programs/connection.c: Removed.
10729 * login/programs/database.c Removed.
10730 * login/programs/error.c: Removed.
10731 * login/programs/request.c: Removed.
10732 * login/programs/xtmp.c: Removed.
10733 * login/programs/xtmp.h: Removed.
10734 * login/Makefile: Remove rules for utmpd.
10735 * login/README.utmpd: Removed.
10736 * login/utmp_daemon.c: Removed.
10737 * login/getutent_r.c: Remove references to daemon functions.
10738 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
10739 declaration.
10740
10741 2000-04-18 Andreas Jaeger <aj@suse.de>
10742
10743 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10744 2.2 for libnsl, libresolv, librt, libnss_*.
10745
10746 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
10747
10748 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
10749
10750 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10751
10752 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
10753 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
10754 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
10755 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
10756 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
10757 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
10758 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
10759 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
10760 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
10761 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
10762 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
10763 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
10764 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
10765 it here.
10766 * sysdeps/unix/sysv/aix/msync.c: New file.
10767 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
10768 * sysdeps/unix/sysv/aix/net/if.h: New file.
10769 * sysdeps/unix/sysv/aix/pipe.c: New file.
10770 * sysdeps/unix/sysv/aix/poll.c: New file.
10771 * sysdeps/unix/sysv/aix/rename.c: New file.
10772 * sysdeps/unix/sysv/aix/rmdir.c: New file.
10773 * sysdeps/unix/sysv/aix/select.c: New file.
10774 * sysdeps/unix/sysv/aix/semctl.c: New file.
10775 * sysdeps/unix/sysv/aix/semget.c: New file.
10776 * sysdeps/unix/sysv/aix/semop.c: New file.
10777 * sysdeps/unix/sysv/aix/sendto.c: New file.
10778 * sysdeps/unix/sysv/aix/setgroups.c: New file.
10779 * sysdeps/unix/sysv/aix/setpgid.c: New file.
10780 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
10781 * sysdeps/unix/sysv/aix/setpriority.c: New file.
10782 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
10783 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
10784 * sysdeps/unix/sysv/aix/setsid.c: New file.
10785 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
10786 * sysdeps/unix/sysv/aix/shmat.c: New file.
10787 * sysdeps/unix/sysv/aix/shmctl.c: New file.
10788 * sysdeps/unix/sysv/aix/shmdt.c: New file.
10789 * sysdeps/unix/sysv/aix/shmget.c: New file.
10790 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
10791 * sysdeps/unix/sysv/aix/sigstack.c: New file.
10792 * sysdeps/unix/sysv/aix/socket.c: New file.
10793 * sysdeps/unix/sysv/aix/socketpair.c: New file.
10794 * sysdeps/unix/sysv/aix/speed.c: New file.
10795 * sysdeps/unix/sysv/aix/symlink.c: New file.
10796 * sysdeps/unix/sysv/aix/sync.c: New file.
10797 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
10798 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
10799 * sysdeps/unix/sysv/aix/times.c: New file.
10800 * sysdeps/unix/sysv/aix/ulimit.c: New file.
10801 * sysdeps/unix/sysv/aix/umask.c: New file.
10802 * sysdeps/unix/sysv/aix/unlink.c: New file.
10803 * sysdeps/unix/sysv/aix/ustat.c: New file.
10804 * sysdeps/unix/sysv/aix/utimes.c: New file.
10805
10806 2000-04-18 Andreas Jaeger <aj@suse.de>
10807
10808 * manual/startup.texi (Environment Access): Fix putenv prototype
10809 according to recent changes.
10810 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
10811 PR libc/1692.
10812
10813 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
10814 needed.
10815
10816 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10817
10818 * posix/Makefile (tests): Add tst-getaddrinfo.
10819 * posix/tst-getaddrinfo.c: New file.
10820
10821 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10822
10823 * manual/sysinfo.texi: Document that umount2 is not widely available.
10824
10825 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
10826 signal timing is not really implemented.
10827
10828 2000-04-17 Andreas Jaeger <aj@suse.de>
10829
10830 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
10831
10832 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10833
10834 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
10835 and inst_libdir.
10836
10837 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10838
10839 * manual/intro.texi: Change reference from System Information to
10840 System Management.
10841 * manual/users.texi: Likewise.
10842 * manual/conf.texi: Likewise.
10843 * manual/sysinfo.texi: Document mount, umount, and umount2.
10844 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10845
10846 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10847
10848 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
10849 Create wnumstr as well as numstr to support wide character output
10850 correctly.
10851
10852 2000-04-15 Jakub Jelinek <jakub@redhat.com>
10853
10854 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
10855 modification and move it...
10856 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
10857 Add -melf64_sparc switch to $(LD) on sparc64-linux.
10858 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
10859 switch to $(LD) on sparc-linux.
10860
10861 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
10862
10863 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
10864 and setresuid from sysdep_routines.
10865
10866 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10867
10868 * manual/Makefile (chapters): Add resource.
10869
10870 * manual/time.texi: Move section on resources to...
10871 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
10872 and vtimes.
10873 * manual/setjmp.texi: Adjust back reference.
10874 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10875
10876 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
10877 definition.
10878 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
10879 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
10880 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
10881 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
10882 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
10883 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
10884 * sysdeps/unix/sysv/aix/close.c: Add copyright.
10885 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
10886 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
10887 * sysdeps/unix/sysv/aix/access.c: Add copyright.
10888 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
10889 * sysdeps/unix/sysv/aix/Implies: New file.
10890 * sysdeps/unix/sysv/aix/Versions: New file.
10891 * sysdeps/unix/sysv/aix/bind.c: New file.
10892 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
10893 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
10894 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
10895 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
10896 * sysdeps/unix/sysv/aix/chdir.c: New file.
10897 * sysdeps/unix/sysv/aix/chmod.c: New file.
10898 * sysdeps/unix/sysv/aix/chroot.c: New file.
10899 * sysdeps/unix/sysv/aix/creat.c: New file.
10900 * sysdeps/unix/sysv/aix/dl-close.c: New file.
10901 * sysdeps/unix/sysv/aix/dl-open.c: New file.
10902 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
10903 * sysdeps/unix/sysv/aix/fchdir.c: New file.
10904 * sysdeps/unix/sysv/aix/fchmod.c: New file.
10905 * sysdeps/unix/sysv/aix/getgroups.c: New file.
10906 * sysdeps/unix/sysv/aix/gethostname.c: New file.
10907 * sysdeps/unix/sysv/aix/getpriority.c: New file.
10908 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
10909 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
10910 * sysdeps/unix/sysv/aix/getrusage.c: New file.
10911 * sysdeps/unix/sysv/aix/link.c: New file.
10912 * sysdeps/unix/sysv/aix/madvise.c: New file.
10913 * sysdeps/unix/sysv/aix/mkdir.c: New file.
10914 * sysdeps/unix/sysv/aix/mknod.c: New file.
10915 * sysdeps/unix/sysv/aix/mprotect.c: New file.
10916 * sysdeps/unix/sysv/aix/msgctl.c: New file.
10917 * sysdeps/unix/sysv/aix/msgget.c: New file.
10918 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
10919
10920 2000-04-17 Andreas Jaeger <aj@suse.de>
10921
10922 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
10923 as suggested by Ulrich Drepper.
10924 (__dl_runtime_resolve): Remove unused variable, initialize sym
10925 directly.
10926 (RTLD_START): Document OFFSET_GP_GOT.
10927 (OFFSET_GP_GOT): New magic value.
10928 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
10929 (elf_machine_got_rel): Only declare strtab if needed.
10930 (elf_machine_relplt): Removed, it's not needed.
10931 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
10932
10933 * sysdeps/mips/add_n.S: Add newline at EOF.
10934 * sysdeps/mips/rshift.S: Likewise.
10935 * sysdeps/mips/mul_1.S: Likewise.
10936 * sysdeps/mips/lshift.S: Likewise.
10937 * sysdeps/mips/addmul_1.S: Likewise.
10938
10939 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10940
10941 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
10942
10943 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
10944 * elf/dl-lookup.c: Likewise.
10945 * elf/dl-init.c (_dl_init): Likewise.
10946 * elf/dl-fini.c (_dl_fini): Likewise.
10947 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10948 * elf/dl-close.c (_dl_close): Likewise.
10949 * elf/rtld.c (_dl_start_final): Likewise.
10950
10951 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
10952
10953 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10954
10955 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
10956 only fall back on using Linux.
10957
10958 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
10959 Before testing versions check that we actually loaded the object
10960 and whether we are in trace mode. If not loaded during tracing don't
10961 test versions in this object.
10962 (_dl_check_all_versions): Take new parameter and pass to
10963 _dl_check_map_versions.
10964 * sysdeps/generic/ldsodefs.h: Update prototypes for
10965 _dl_check_all_versions and _dl_check_map_versions.
10966 * elf/rtld.c (struct version_check_args): Add dotrace.
10967 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
10968 (dl_main): Pass info about trace mode to version_check_doit.
10969 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
10970 _dl_check_all_versions.
10971
10972 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
10973 and getutmpx.
10974 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10975
10976 * manual/argp.texi: Document index parameter of argp_parse.
10977 Fix typo.
10978 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
10979
10980 2000-04-14 Andreas Jaeger <aj@suse.de>
10981
10982 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
10983 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
10984
10985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
10986
10987 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10988
10989 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
10990 compat_symbol call for old adjtime.
10991
10992 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
10993 function interface. Patch by Richard Henderson <rth@cygnus.com>.
10994
10995 * posix/Makefile (headers): Add spawn.h.
10996 (distribute): Add spawn_int.h.
10997 (routines): Add spawn_faction_init, spawn_faction_destroy,
10998 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
10999 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
11000 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
11001 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
11002 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
11003 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
11004 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
11005 posix_spawnattr_init, posix_spawnattr_destroy,
11006 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
11007 posix_spawnattr_getflags, posix_spawnattr_setflags,
11008 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
11009 and posix_spawnp.
11010 * posix/spawn.c: New file.
11011 * posix/spawn.h: New file.
11012 * posix/spawn_faction_addclose.c: New file.
11013 * posix/spawn_faction_adddup2.c: New file.
11014 * posix/spawn_faction_addopen.c: New file.
11015 * posix/spawn_faction_destroy.c: New file.
11016 * posix/spawn_faction_init.c: New file.
11017 * posix/spawn_int.h: New file.
11018 * posix/spawnattr_destroy.c: New file.
11019 * posix/spawnattr_getdefault.c: New file.
11020 * posix/spawnattr_getflags.c: New file.
11021 * posix/spawnattr_getpgroup.c: New file.
11022 * posix/spawnattr_getschedparam.c: New file.
11023 * posix/spawnattr_getschedpolicy.c: New file.
11024 * posix/spawnattr_getsigmask.c: New file.
11025 * posix/spawnattr_init.c: New file.
11026 * posix/spawnattr_setdefault.c: New file.
11027 * posix/spawnattr_setflags.c: New file.
11028 * posix/spawnattr_setpgroup.c: New file.
11029 * posix/spawnattr_setschedparam.c: New file.
11030 * posix/spawnattr_setschedpolicy.c: New file.
11031 * posix/spawnattr_setsigmask.c: New file.
11032 * posix/spawni.c: New file.
11033 * posix/spawnp.c: New file.
11034
11035 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
11036 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
11037
11038 2000-04-14 Ulrich Drepper <drepper@redhat.com>
11039
11040 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
11041 * malloc/malloc.c: Implement posix_memalign for glibc.
11042 * include/stdlib.h: Add prototype for __posix_memalign.
11043 * stdlib/stdlib.h: Add prototype for posix_memalign.
11044
11045 2000-04-14 Andreas Jaeger <aj@suse.de>
11046
11047 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
11048 symidx correctly.
11049 (elf_machine_got_rel): Cast sym correctly.
11050
11051 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
11052 * sysdeps/mips/addmul_1.S: Likewise.
11053 * sysdeps/mips/lshift.S: Likewise.
11054 * sysdeps/mips/mul_1.S: Likewise.
11055 * sysdeps/mips/rshift.S: Likewise.
11056 * sysdeps/mips/sub_n.S: Likewise.
11057 * sysdeps/mips/submul_1.S: Likewise.
11058
11059 * stdlib/stdlib.h: Fix typo in comment.
11060
11061 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
11062 2.2 for libdl, ld and libm.
11063
11064 * sysdeps/generic/madvise.c: Fix typos.
11065
11066 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
11067
11068 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
11069
11070 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
11071 warnings.
11072
11073 2000-04-14 Ulrich Drepper <drepper@redhat.com>
11074
11075 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
11076 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
11077 Make old name weak alias.
11078 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
11079 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
11080 Make old name weak alias.
11081 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
11082
11083 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
11084 posix_fallocate, and posix_fallocate64.
11085 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
11086 posix_fallocate, and posix_fallocate64.
11087 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
11088 posix_fallocate, and posix_fallocate64.
11089 * sysdeps/generic/fadvise.c: New file.
11090 * sysdeps/generic/fadvise64.c: New file.
11091 * sysdeps/generic/fallocate.c: New file.
11092 * sysdeps/generic/fallocate64.c: New file.
11093 * sysdeps/posix/fallocate.c: New file.
11094 * sysdeps/posix/fallocate64.c: New file.
11095 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
11096 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
11097 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
11098 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
11099 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
11100 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
11101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11102 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
11103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11104
11105 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
11106 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11107
11108 2000-04-13 Ulrich Drepper <drepper@redhat.com>
11109
11110 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
11111 * misc/sys/mman.h (posix_madvise): Add prototype.
11112 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
11113 old name and posix_madvise weak aliases.
11114 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11115 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
11116 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11117 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11121
11122 2000-04-13 Andreas Jaeger <aj@suse.de>
11123
11124 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
11125 versioning.
11126 (elf_machine_got_rel): Only add runtime display if needed.
11127 (elf_machine_got_rel): Handle symbol versioning.
11128
11129 2000-04-13 Andreas Jaeger <aj@suse.de>
11130
11131 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
11132
11133 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
11134 default.
11135
11136 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
11137 with some applications.
11138 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
11139
11140 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
11141 * sysdeps/mips/bsd-_setjmp.S: Likewise.
11142 * sysdeps/mips/setjmp.S: Likewise.
11143
11144 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
11145
11146 2000-04-13 Ulrich Drepper <drepper@redhat.com>
11147
11148 * posix/globtest.sh: Work around inconsistency with expanding ~/
11149 in shell (PR libc/1690). Reported by patsmith@pobox.com.
11150
11151 2000-04-12 Ulrich Drepper <drepper@redhat.com>
11152
11153 * posix/getconf.c: Add support for many more POSIX options.
11154 * sysdeps/posix/sysconf.c: Likewise.
11155 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
11156 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
11157 _POSIX_SHELL.
11158 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
11159 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
11160 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
11161 CLOCK_THREAD_CPUTIME_ID.
11162 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
11163 CLOCK_PROCESS_CPUTIME_ID.
11164 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
11165 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
11166 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
11167 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
11168
11169 * malloc/Makefile (tests): Add tst-calloc.
11170 * malloc/tst-calloc.c: New file.
11171
11172 * sysdeps/arm/libm-test-ulps: New file.
11173
11174 * malloc/malloc.c: Undo all of today's changes.
11175
11176 * locale/programs/locale.c (show_info): Don't try to look into
11177 data for LC_ALL (there is none).
11178
11179 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
11180 avoid writing over boundary.
11181 Patch by Greg McGary <gkm@eng.ascend.com>.
11182
11183 * sysdeps/arm/memprof.h: New file.
11184
11185 2000-04-12 Andreas Jaeger <aj@suse.de>
11186
11187 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
11188
11189 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
11190 for memmem declaration.
11191
11192 2000-04-12 Ulrich Drepper <drepper@redhat.com>
11193
11194 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
11195 to -1.
11196 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11197
11198 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
11199 mode is invalid.
11200 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11201 Patch by Bart Veer <bartv@redhat.com>.
11202
11203 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
11204 function interface.
11205
11206 2000-04-11 Andreas Jaeger <aj@suse.de>
11207
11208 * sysdeps/mips/dl-machine.h: Update some comments.
11209 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
11210
11211 2000-04-11 Ulrich Drepper <drepper@redhat.com>
11212
11213 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
11214 _POSIX_SHARED_MEMORY_OBJECTS.
11215
11216 * rt/Makefile (tests): Add tst-shm.
11217 Add rules to generate tst-shm.
11218 * rt/tst-shm.c: New file.
11219
11220 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
11221 for descriptor.
11222
11223 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
11224 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
11225 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
11226 * sysdeps/generic/shm_open.c: New file.
11227 * sysdeps/generic/shm_unlink.c: New file.
11228 * sysdeps/unix/sysv/linux/shm_open.c: New file.
11229 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
11230 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
11231 __endmntent, __getmntent_r, __setmntent, and __statfs.
11232
11233 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
11234 fragmentation by allocating new memory at the end instead of
11235 reallocating.
11236
11237 * posix/globtest.sh: Fix last change.
11238
11239 2000-04-10 Philip Blundell <philb@gnu.org>
11240
11241 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
11242 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
11243 IPV6_DROP_MEMBERSHIP.
11244 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
11245 Likewise.
11246
11247 2000-04-11 Ulrich Drepper <drepper@redhat.com>
11248
11249 * elf/readlib (process_file): Close streams in case of an error.
11250
11251 2000-04-09 Andreas Jaeger <aj@suse.de>
11252
11253 * elf/readlib.c (process_file): Check if file is big enough to
11254 contain aout and ELF headers.
11255 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
11256
11257 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
11258
11259 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
11260
11261 2000-04-11 Ulrich Drepper <drepper@redhat.com>
11262
11263 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
11264 stream unbuffered.
11265 * rt/Makefile (tests): Add tst-clock.
11266 Add rules to build tst-clock.
11267 * rt/tst-clock.c: New file.
11268 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
11269 about initialization of nsec.
11270 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
11271 about initialization of freq. Set retval to zero if successful.
11272 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
11273
11274 2000-04-10 Ulrich Drepper <drepper@redhat.com>
11275
11276 * Versions.def (librt): Add GLIBC_2.2.
11277 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
11278 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
11279 timer_getoverr, timer_gettime, and timer_settime.
11280 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
11281 clock_settime, timer_create, timer_delete, timer_getoverrun,
11282 timer_gettime, and timer_settime.
11283 * sysdeps/generic/clock_getcpuclockid.c: New file.
11284 * sysdeps/generic/get_clockfreq.c: New file.
11285 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
11286 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
11287 * sysdeps/mach/hurd/i386/bits/time.h: New file.
11288 * sysdeps/unix/i386/i586/clock_getres.c: New file.
11289 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
11290 * sysdeps/unix/i386/i686/Implies: New file.
11291 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
11292 * time/Makefile (routines): Move clock_getres, clock_gettime,
11293 clock_settime, timer_create, timer_delete, timer_getoverr,
11294 timer_gettime, and timer_settime to rt/Makefile.
11295 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
11296 clock_settime, timer_create, timer_delete, timer_getoverrun,
11297 timer_gettime, and timer_settime.
11298 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
11299
11300 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
11301 and not const as attribute name.
11302
11303 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
11304
11305 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
11306
11307 2000-04-10 Andreas Schwab <schwab@suse.de>
11308
11309 * posix/globtest.sh: Skip tests that depend on unreadable
11310 directories if run as root.
11311
11312 2000-04-10 Ulrich Drepper <drepper@redhat.com>
11313
11314 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
11315 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
11316
11317 2000-04-09 Ulrich Drepper <drepper@redhat.com>
11318
11319 * sysdeps/unix/clock_gettime.c: New file.
11320 * sysdeps/unix/clock_settime.c: New file.
11321 * sysdeps/posix/clock_getres.c: New file.
11322
11323 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
11324
11325 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
11326 lseek call be passing in a buffer which never allow a successful
11327 first getdents syscall if not at leas the initial entry can be
11328 stored in the user buffer.
11329
11330 * localedata/Makefile: Add rules to clean up directories created by
11331 new strfmon tests.
11332
11333 2000-04-09 Geoff Clare <gwc@unisoft.com>
11334
11335 * localedata/tst-fmon.data: Added new tests for strfmon()
11336 using test locales with all combinations of cs_precedes,
11337 sign_posn and sep_by_space.
11338 * localedata/tst-fmon.sh: Updated to support the new tests.
11339 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
11340 the localedef source for the new strfmon() test locale.
11341 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
11342 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
11343 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
11344 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
11345 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
11346 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
11347 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
11348 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
11349 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
11350 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
11351 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
11352 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
11353 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
11354 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
11355
11356 * stdlib/strfmon.c: Correct problems with missing or extra
11357 spaces for unusual combinations of sign_posn and sep_by_space.
11358 Improved left-precision alignment code.
11359
11360 2000-04-07 Andreas Jaeger <aj@suse.de>
11361
11362 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
11363
11364 2000-04-10 Andreas Jaeger <aj@suse.de>
11365
11366 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
11367
11368 2000-04-09 Ulrich Drepper <drepper@redhat.com>
11369
11370 Implement handling of restartable conversion functions according to
11371 ISO C.
11372 * iconv/gconv.h (__gconv_fct): Add additional parameter.
11373 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
11374 * iconv/gconv.c: Pass additional parameter to conversion function.
11375 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
11376 (internal_ucs4le_loop_single): New function.
11377 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
11378 (__gconv_transform_internal_ascii): Likewise.
11379 (__gconv_transform_internal_utf8): Likewise.
11380 (__gconv_transform_utf8_internal): Likewise.
11381 (__gconv_transform_ucs2_internal): Likewise.
11382 (__gconv_transform_internal_ucs2): Likewise.
11383 (__gconv_transform_ucs2reverse_internal): Likewise.
11384 (__gconv_transform_internal_ucs2reverse): Likewise.
11385 (internal_ucs4le_loop_unaligned): Before return
11386 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
11387 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
11388 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
11389 * iconv/loop.c: Fit in definition of function to convert one character
11390 for processing of left-over bytes from the state object.
11391 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
11392 inend to match names in loop functions.
11393 (RESET_INPUT_BUFFER): Change apprpriately.
11394 (gconv): If needed, call function to process bytes from the state
11395 object. Similar at the end: store left over bytes if input is
11396 incomplete.
11397 Take extra argument and add new argument to all calls of the
11398 conversion function.
11399 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
11400 information in the state object to not conflict with length count.
11401 * iconvdata/iso-2022-jp.c: Likewise.
11402 * iconvdata/iso-2022-kr.c: Likewise.
11403 * iconvdata/unicode.c: Adjust for change change in parameters of
11404 skeleton function.
11405 * iconvdata/utf-16.c: Likewise.
11406 * libio/iofwide.c: Add new parameter to all calls of conversion
11407 function.
11408 * wcsmbs/btowc.c: Likewise.
11409 * wcsmbs/mbrtowc.c: Likewise.
11410 * wcsmbs/mbsnrtowcs.c: Likewise.
11411 * wcsmbs/mbsrtowcs.c: Likewise.
11412 * wcsmbs/wcrtomb.c: Likewise.
11413 * wcsmbs/wcsnrtombs.c: Likewise.
11414 * wcsmbs/wcsrtombs.c: Likewise.
11415 * wcsmbs/wctob.c: Likewise.
11416
11417 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
11418 MAX_NEEDED_INPUT.
11419
11420 2000-04-07 Andreas Jaeger <aj@suse.de>
11421
11422 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
11423 newer kernels.
11424
11425 2000-04-07 Ulrich Drepper <drepper@redhat.com>
11426
11427 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
11428 element a union to allow byte access.
11429 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
11430 mbstate_t.
11431 * iconvdata/iso-2022-jp.c: Likewise.
11432 * iconvdata/iso-2022-kr.c: Likewise.
11433 * wcsmbs/mbsinit.c: Likewise.
11434 * stdlib/mblen.c: Likewise.
11435 * stdio-common/printf-parse.h: Likewise.
11436
11437 2000-04-06 Ulrich Drepper <drepper@redhat.com>
11438
11439 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
11440 kernel does not allow relative seeks on descriptors associated
11441 with directories. Go back to get the position in the directory
11442 every time we enter the function. Return -1 and set errno if one
11443 entry could be read from the kernel but does not fit into the
11444 buffer passed in by the user.
11445
11446 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
11447 Support ..(2).. ellipsis.
11448 (parse_charmap): Recognize ..(2).. etc and pass step down.
11449 Correctly generate names for UCS4 characters.
11450
11451 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
11452 (ctype_finish): We know the wide character value for <SP>,
11453 don't search.
11454 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
11455 (charclass_ucs4_ellipsis): Likewise.
11456 (read_translit_ignore_entry): Store ellipsis step.
11457 (ctype_read): Recognize ..(2).. etc and pass step down.
11458
11459 * locale/programs/linereader.c (lr_token): When seeing comment
11460 character ignore only rest of line in sources but stop at escaped
11461 newline.
11462 Recognize ..(2).. and ....(2).....
11463
11464 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
11465 and tok_ellipsis4_2.
11466
11467 2000-04-06 Andreas Jaeger <aj@suse.de>
11468
11469 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
11470 removed, remove it here also.
11471 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
11472 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
11473 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
11474 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
11475
11476 2000-04-06 Jakub Jelinek <jakub@redhat.com>
11477
11478 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
11479 include bits/sigcontext.h.
11480 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11481
11482 2000-04-06 Ulrich Drepper <drepper@redhat.com>
11483
11484 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
11485 collation symbol definition. Value in quivalence definition must
11486 be defined, don't check that it is not.
11487
11488 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
11489 values as character names.
11490
11491 * locale/programs/ld-ctype.c (get_character): Handle missing
11492 repertoire map correctly.
11493
11494 2000-04-05 Cristian Gafton <gafton@redhat.com>
11495
11496 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
11497 because it is used in generic code.
11498 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
11499 * wcsmbs/wcwidth.h: Declare __ctype32_b.
11500 * intl/gettext.c: Include <locale.h>.
11501 * intl/ngettext.c: Likewise.
11502
11503 2000-04-05 Jakub Jelinek <jakub@redhat.com>
11504
11505 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
11506 socklen_t type for size.
11507 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
11508 init function interface.
11509 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11510 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
11511 sys/ucontext.h.
11512 (__jmp_buf): Declare the whole type structure here, don't use
11513 ucontext.
11514
11515 2000-04-05 Ulrich Drepper <drepper@redhat.com>
11516
11517 * iconv/skeleton.c (put16u): Fix typo.
11518 Reported by Bruno Haible <haible@ilog.fr>.
11519
11520 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
11521 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
11522 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
11524 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
11525 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
11526
11527 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
11528 * Makefile (distribute): Add abi-versions.awk and
11529 firstversions.awk.
11530 Patches by Torsten Duwe <duwe@caldera.de>.
11531
11532 2000-04-05 Andreas Schwab <schwab@suse.de>
11533
11534 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
11535
11536 2000-04-05 Andreas Schwab <schwab@suse.de>
11537
11538 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
11539 entry point, used on Hurd.
11540
11541 2000-04-04 Andreas Jaeger <aj@suse.de>
11542
11543 * intl/Makefile: Only run the gettext test with shared libraries.
11544
11545 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11546
11547 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11548 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11549
11550 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
11551
11552 * Makeconfig: Undo last change.
11553 * configure.in: If --disable-shared was given, don't set VERSIONING,
11554 don't define DO_VERSIONING, and don't give scare warning for no
11555 versioning.
11556 * configure: Regenerated.
11557
11558 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
11559
11560 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
11561
11562 2000-04-04 Andreas Jaeger <aj@suse.de>
11563
11564 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
11565
11566 2000-04-04 Ulrich Drepper <drepper@redhat.com>
11567
11568 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
11569 STV_HIDDEN and STV_INTERNAL during lookup.
11570 (profile_fixup): Likewise.
11571 * elf/dl-reloc.c (RESOLVE): Likewise.
11572
11573 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
11574 unaligned so that it compiles for system which need unaligned
11575 access handling.
11576
11577 2000-04-04 Andreas Schwab <schwab@suse.de>
11578
11579 * elf/cache.c (print_entry): Only look at the type field when
11580 printing the type.
11581
11582 2000-04-04 Andreas Schwab <schwab@suse.de>
11583
11584 * iconvdata/big5.c (BODY): Fix typo.
11585
11586 2000-04-04 Andreas Schwab <schwab@suse.de>
11587
11588 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
11589 function interface. Remove unused _dl_start_user entry point.
11590
11591 2000-04-03 Andreas Jaeger <aj@suse.de>
11592
11593 * include/arpa/inet.h (__inet_aton): Add protoype.
11594
11595 2000-04-01 Andreas Jaeger <aj@suse.de>
11596
11597 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
11598
11599 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
11600 * sysdeps/mach/mips/thread_state.h: Likewise.
11601
11602 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
11603 * sysdeps/generic/fegetenv.c: Likewise.
11604 * sysdeps/generic/fesetenv.c: Likewise.
11605 * sysdeps/generic/feupdateenv.c: Likewise.
11606 * sysdeps/generic/fraiseexcpt.c: Likewise.
11607 * sysdeps/generic/fsetexcptflg.c: Likewise.
11608 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
11609 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11610 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11611 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11612
11613 2000-04-02 H.J. Lu <hjl@gnu.org>
11614
11615 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
11616
11617 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11618
11619 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
11620 (add_name_to_object): Add cast in malloc call.
11621 (fillin_rpath): Optimize loop to initialize ->status a bit.
11622
11623 * sysdeps/i386/dl-machine.h: Undo last change.
11624 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
11625 Restore %edx register after call here.
11626
11627 * sysdeps/arm/atomicity.h: New file.
11628 Contributed by Jesper Skov <jskov@redhat.com>.
11629
11630 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
11631
11632 * Makeconfig (preprocess-versions): Undo last change.
11633 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
11634
11635 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
11636 here, before we might move the stack.
11637 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
11638 (init1): And not here.
11639
11640 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
11641 change, to restore argc value in call-clobbered register after
11642 RTLD_START_SPECIAL_INIT, which will contain a call.
11643
11644 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
11645 allocating and initializing L->l_initfini.
11646
11647 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
11648
11649 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11650
11651 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
11652 RUNPATH, RPATH, and LD_LIBRARY_PATH.
11653 (open_path): Change type of fourth parameter. Make pointer to array
11654 of pointers. Create variable dirs with original type.
11655 Track whether any directory for the object exists and if not,
11656 change *DIRSP to (void*) -1 to signal there is no such search path.
11657 (_dl_map_object): Change all calls of open_path.
11658 Rewrite decompose_rpath calls.
11659
11660 2000-03-31 Andreas Schwab <schwab@suse.de>
11661
11662 * string/strfry.c: Declare STATE as array of char instead of int
11663 and do not initialize it (done by initstate_r). Pass correct
11664 size.
11665
11666 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11667
11668 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
11669
11670 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
11671 instruction out of the code.
11672
11673 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11674
11675 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
11676 element at this position.
11677
11678 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
11679 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
11680 l_reldeps elements.
11681 * elf/dl-lookup.c (add_dependency): New function.
11682 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
11683 dynamically loaded object.
11684 (_dl_lookup_symbol_skip): Likewise.
11685 (_dl_lookup_versioned_symbol): Likewise.
11686 (_dl_lookup_versioned_symbol_skip): Likewise.
11687 * elf/dl-open.c: Don't define _dl_load_lock here...
11688 * elf/rtld.c: ...but here...
11689 * elf/dl-support.c: ...and here.
11690 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
11691 through relocation.
11692 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
11693 relocations.
11694 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
11695 anymore.
11696 * dlfcn/glrefmain.c: Add one more debug message.
11697
11698 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
11699 command line.
11700 * Makerules (sysd-versions): Use ( ) instead of { }.
11701
11702 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
11703 optimize for the non-debugging case.
11704 * elf/dl-lookup.c: Likewise.
11705 * sysdeps/generic/libc-start.c: Likewise.
11706
11707 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
11708
11709 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
11710 (init1): Don't initialize __environ here, since init already does it.
11711 (first_init): New function, broken out of _init.
11712 (_hurd_stack_setup): Use it.
11713 [SHARED] (_dl_init_first): New function, renamed from old _init.
11714 (init1) [SHARED]: Don't call posixland_init here.
11715 (posixland_init): Take ENVP arg, so signature is usual for initializer.
11716 [SHARED] (_init): Define as alias for posixland_init.
11717 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
11718 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
11719 RTLD_START_SPECIAL_INIT before calling initializers.
11720 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
11721 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
11722 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
11723 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
11724
11725 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
11726 since we define the function with the name `tmpfile'.
11727
11728 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
11729 * hurd/Versions: Likewise.
11730
11731 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11732
11733 * elf/dl-runtime.c (fixup): Fix typo in comment.
11734
11735 * resolv/netdb.h (getnameinfo): All length parameters are of type
11736 socklen_t.
11737 * inet/getnameinfo.c: Likewise.
11738
11739 2000-04-01 Ulrich Drepper <drepper@redhat.com>
11740
11741 * posix/unistd.h (socklen_t): Define if it has not yet happened.
11742 (gethostname): Change type of second parameter to socklen_t.
11743 * include/unistd.h (__gethostname): Change type of second
11744 parameter to socklen_t.
11745 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
11746 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11747 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
11748 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
11749 Likewise.
11750 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
11751 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
11752 Allow definition elsewhere.
11753 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
11754 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11755 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11756 * sysdeps/generic/bits/types.h: Define __socklen_t.
11757 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
11758 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
11759 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11760 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
11761 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11762 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
11763 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
11764
11765 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
11766 (inet_lnaof): Likewise.
11767 (inet_netof): Likewise.
11768 (inet_network): Likewise.
11769 (inet_aton): Likewise.
11770 (inet_makeaddr): Change parameter types to in_addr_t.
11771 (inet_neta): Likewise.
11772 (inet_ntop): Change type of last parameter to socklen_t.
11773 (inet_aton): Only make available if __USE_MISC.
11774 (inet_neta): Likewise.
11775 (inet_net_ntop): Likewise.
11776 (inet_net_pton): Likewise.
11777 (inet_nsap_ntoa): Likewise.
11778
11779 * inet/in.h: Define in_port_t type.
11780 Define in_addr_t type.
11781 (struct in_addr): Use in_addr_t in definition.
11782 (IN_CLASSA): Use cast to in_addr_t.
11783 (IN_CLASSB): Likewise.
11784 (IN_CLASSC): Likewise.
11785 (IN_CLASSD): Likewise.
11786 (IN_EXPERIMENTAL): Likewise.
11787 (IN_BADCLASS): Likewise.
11788 (INADDR_ANY): Likewise.
11789 (INADDR_BROADCAST): Likewise.
11790 (INADDR_NONE): Likewise.
11791 (INADDR_LOOPBACK): Likewise.
11792 (INADDR_UNSPEC_GROUP): Likewise.
11793 (INADDR_ALLHOSTS_GROUP): Likewise.
11794 (INADDR_ALLRTRS_GROUP): Likewise.
11795 (INADDR_MAX_LOCAL_GROUP): Likewise.
11796 (struct sockaddr_in): Use in_port_t for sin_port element.
11797 (struct sockaddr_in6): Use in_port_t for sin6_port element.
11798 Use uint8_t instead of u_int8_t.
11799
11800 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
11801 Call __inet_aton instead of inet_aton.
11802 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
11803
11804 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
11805 (innetgr): Likewise.
11806 (struct addrinfo): Use socklen_t for ai_addrlen element.
11807
11808 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
11809 IPV6_RECVERR): New defines.
11810
11811 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
11812 * inet/getnetbyad.c: Likewise.
11813 * inet/getnetbyad_r.c: Likewise.
11814 * nis/nss_nis/nis-network.c: Likewise.
11815 * nis/nssplus_nis/nisplus-network.c: Likewise.
11816 * nss/nss_files/files-network.c: Likewise.
11817 * resolv/netdb.h: Define uint32_t if not already happened.
11818 Include bits/netdb.h. Remove definition of struct netent.
11819 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
11820 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
11821 * sysdeps/generic/bits/netdb.h: New file.
11822 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
11823
11824 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
11825 (tests): Add glrefmain.
11826 Add rules to build modules and run tests. Ignore result of glrefmain
11827 for now since it fails.
11828 * dlfcn/glrefmain.c: New file.
11829 * dlfcn/glreflib1.c: New file.
11830 * dlfcn/glreflib2.c: New file.
11831
11832 * test-skeleton.c: Include <string.h> for strsignal prototype.
11833
11834 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
11835 to be missing.
11836
11837 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
11838 former init-first.h. Initialize __libc_multiple_libcs.
11839
11840 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11841
11842 * iconv/skeleton.c: Define access macros with u suffix. Adjust
11843 #if expression for use of unaligned function to the one used in
11844 the definition of these functions.
11845 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
11846 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
11847 (internal_ucs4le_loop_unaligned): New function.
11848
11849 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
11850 (tests): Add order.
11851 (module-names): Add dep1, dep2, dep3, and dep4.
11852 Add dependencies for dep* modules and order.
11853 Define rule for order.out which checks the result.
11854 * elf/dep1.c: New file.
11855 * elf/dep2.c: New file.
11856 * elf/dep3.c: New file.
11857 * elf/dep4.c: New file.
11858 * elf/order.c: New file.
11859
11860 * elf/dl-init.c: Fix typo in comment.
11861
11862 2000-03-31 Andreas Jaeger <aj@suse.de>
11863
11864 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
11865 init function interface.
11866 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
11867
11868 2000-03-31 Andreas Jaeger <aj@suse.de>
11869
11870 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
11871 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11872 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11873 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
11874 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11875
11876 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
11877 anymore, update comment.
11878
11879 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11880
11881 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
11882 SHLIB_COMPAT - the struct is always needed.
11883
11884 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11885
11886 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
11887 * elf/dl-support.c: Define _dl_starting_up.
11888
11889 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11890
11891 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
11892 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
11893
11894 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
11895
11896 * elf/Makefile (dl-routines): Remove preinit.
11897 * elf/Versions: Remove _dl_preinit.
11898 * elf/dl-preinit.c: Removed. Move content into...
11899 * elf/dl-init.c: ...here.
11900 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
11901
11902 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
11903 elements.
11904
11905 2000-03-29 Geoff Clare <gwc@unisoft.com>
11906
11907 * stdlib/strfmon.c: Corrected problems with the code that
11908 sets default values for [np]_sep_by_space and
11909 [np]_sign_posn; also the new positive/negative alignment
11910 code from the previous patch was not quite right for
11911 [np]_sign_posn = 0.
11912
11913 * localedata/tst-fmon.data: Changes corresponding to the
11914 two sets of fixes made to stdlib/strfmon.c.
11915
11916 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
11917
11918 * malloc/malloc.c: Declare bit flags UL so that they will not
11919 default to int size when being inverted.
11920
11921 2000-03-29 Andreas Jaeger <aj@suse.de>
11922
11923 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
11924 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11925
11926 2000-03-29 Andreas Jaeger <aj@suse.de>,
11927 Ralf Baechle <ralf@uni-koblenz.de>
11928
11929 * Makeconfig: Introduce new variable SHARED to mark code used in
11930 the shared library.
11931 * elf/dl-close.c: Use it instead of PIC.
11932 * elf/dl-load.c: Likewise.
11933 * elf/dl-open.c: Likewise.
11934 * hurd/geteuids.c: Likewise.
11935 * include/libc-symbols.h: Likewise.
11936 * include/shlib-compat.h: Likewise.
11937 * libio/freopen.c: Likewise.
11938 * linuxthreads/cancel.c: Likewise.
11939 * linuxthreads/pthread.c: Likewise.
11940 * linuxthreads/wrapsyscall.c: Likewise.
11941 * nss/nsswitch.c: Likewise.
11942 * stdio-common/vfprintf.c: Likewise.
11943 * sysdeps/arm/init-first.c: Likewise.
11944 * sysdeps/i386/init-first.c: Likewise
11945 * sysdeps/generic/init-first.c: Likewise.
11946 * sysdeps/generic/libc-start.c: Likewise.
11947 * sysdeps/mips/init-first.c: Likewise.
11948 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11949 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11950 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11951 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11952 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11953
11954 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
11955
11956 2000-03-29 Andreas Jaeger <aj@suse.de>
11957
11958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11959 Use D_PTR to access relocated entries in l_info.
11960 (elf_machine_rela): Likewise.
11961
11962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11963 Likewise.
11964 (elf_machine_rela): Likewise.
11965
11966 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11967 Likewise.
11968 (__elf_machine_fixup_plt): Likewise.
11969 (__process_machine_rela): Likewise.
11970
11971 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11972 (elf_machine_rela): Likewise.
11973
11974 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
11975 (elf_machine_rel): Likewise.
11976
11977 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11978 (elf_machine_fixup_plt): Likewise.
11979 (elf_machine_rela): Likewise.
11980
11981 2000-03-29 Andreas Jaeger <aj@suse.de>
11982
11983 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
11984 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11985 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11986 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
11987 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11988 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
11989 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11990 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
11991 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11992 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
11993 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
11994 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
11995 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
11996 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11998
11999 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
12000 macros, remove K&R prototypes.
12001
12002 2000-03-30 Ulrich Drepper <drepper@redhat.com>
12003
12004 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
12005 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
12006 (PR libc/1677).
12007
12008 2000-03-30 Andreas Jaeger <aj@suse.de>
12009
12010 * misc/sys/cdefs.h: Remove K&R support.
12011
12012 2000-03-30 Ulrich Drepper <drepper@redhat.com>
12013
12014 * iconv/skeleton.c: Avoid compiling unaligned versions in some
12015 more cases.
12016 * iconv/loop.c: Likewise.
12017
12018 2000-03-29 Bruno Haible <haible@clisp.cons.org>
12019
12020 * iconv/loop.c (put16): Remove __const. Fix access index.
12021 (put32): Remove __const. Use uint32_t instead of uint16_t.
12022 * iconv/skeleton.c: Likewise.
12023
12024 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
12025
12026 * mach/Versions (libc: GLIBC_2.0)
12027 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
12028 __vm_allocate on this.
12029 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
12030 mutex- and spinlock-related symbols on this.
12031 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
12032 New version set. Lock-related symbols go here instead in this case.
12033 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
12034 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
12035 cthread_getspecific, cthread_setspecific, __libc_getspecific.
12036 * hurd/Versions
12037 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
12038 Put them here instead.
12039 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
12040 New version set. Those cthreads symbols go here instead in this case.
12041 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
12042
12043 2000-03-30 Ulrich Drepper <drepper@redhat.com>
12044
12045 * elf/dl-init.c (_dl_init): We don't need to call constructors
12046 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
12047
12048 Implement dynamic determination of constructor/destructor order in
12049 the dynamic linker.
12050 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
12051 (GLIBC_2.2): Add _dl_init.
12052 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
12053 r_duplist is not anymore allocated separately. l_initfini is and
12054 therefore free it if necessary.
12055 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
12056 malloc block. Otherwise allocate l_initfini list only.
12057 Put dependencies for the object in l_initfini list.
12058 Sort dependencies for the object to be loaded topologically.
12059 * elf/dl-fini.c: Before running the destructors sort the topologically.
12060 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
12061 call constructors instead of iterating over the pointers. Get list of
12062 objects for which to run constructors from l_initfini element. Accept
12063 argc, argv, and env as parameters and pass them to the constructors.
12064 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
12065 with size of dynamic section.
12066 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
12067 _dl_init_next and calling constructors ourself.
12068 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
12069 Take argc, argv, and env as parameters and pass them to the
12070 constructors. Rewrite to call all constructors and not iterate over
12071 the pointers.
12072 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
12073 precompute l_initcount and l_preinitcount.
12074 * elf/link.h (struct link_map): Add l_ldnum member.
12075 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
12076 l_initcount, and l_preinitcount. Add l_initfini.
12077 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
12078 one for _dl_init.
12079 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
12080 function interface.
12081 * sysdeps/unix/sysv/linux/init-first.h: Removed.
12082 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
12083 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
12084 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
12085 conventions now match.
12086
12087 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
12088 effect for shared objects. Don't emit message and call only for
12089 static library.
12090
12091 2000-03-29 Ulrich Drepper <drepper@redhat.com>
12092
12093 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
12094 CSA_Z243.4-1985-1..UCS2.
12095 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
12096 ISO-8859-10..UCS2.
12097
12098 2000-03-29 Andreas Jaeger <aj@suse.de>
12099
12100 * include/unistd.h: Remove duplicate entry for __rmdir.
12101 Remove declaration of __mkdir since __mkdir is declared in
12102 sys/stat.h.
12103
12104 * manual/creature.texi (Feature Test Macros): Fix typo, reported
12105 by Michael Deutschmann <michael@talamasca.ocis.net>.
12106
12107 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
12108 * sysdeps/mips/fpu/fegetenv.c: Likewise.
12109 * sysdeps/mips/fpu/fesetenv.c: Likewise.
12110 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
12111 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
12112
12113 2000-03-28 Andreas Jaeger <aj@suse.de>
12114
12115 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
12116 declaration, the prototype is defined via bits/mathcalls.h.
12117 (__sincosf): Likewise.
12118 (__sincosl): Likewise.
12119 (ldexp): Likewise.
12120 (ldexpf): Likewise.
12121 (ldexpl): Likewise.
12122 (__finite): Likewise.
12123 (__inline_mathcodeNP): New macro without prototype
12124 declarations.
12125 (__inline_mathcodeNP2): Likewise.
12126 (__inline_mathcodeNP3): Likewise.
12127 (__inline_mathcodeNP_): Likewise.
12128 (__inline_mathcodeNP2_): Likewise.
12129 (__inline_mathcodeNP3_): Likewise.
12130 (__inline_mathopNP): Likewise.
12131 (__inline_mathop_declNP): Likewise.
12132 (__inline_mathop_declNP_): Likewise.
12133 (__inline_mathcode_): Use __inline_mathcodeNP_.
12134 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
12135 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
12136 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
12137 (__expm1l): Don't define prototype, the prototype is defined via
12138 bits/mathcalls.h.
12139 (exp): Likewise.
12140 (__expl): Likewise.
12141 (tan): Likewise.
12142 (atan2): Likewise.
12143 (__atan2l): Likewise.
12144 (fmod): Likewise.
12145 (pow): Likewise.
12146 (fabsf): Likewise.
12147 (fabsl): Likewise.
12148 (__fabsl): Likewise.
12149 (asin): Likewise.
12150 (acos): Likewise.
12151 (sinh): Likewise.
12152 (cosh): Likewise.
12153 (tanh): Likewise.
12154 (floor): Likewise.
12155 (ceil): Likewise.
12156 (expm1): Likewise.
12157 (log1p): Likewise.
12158 (asinh): Likewise.
12159 (acosh): Likewise.
12160 (atanh): Likewise.
12161 (hypot): Likewise.
12162 (logb): Likewise.
12163 (fma): Likewise.
12164 (drem): Likewise.
12165 (sqrt): Likewise.
12166 (__sqrtl): Likewise.
12167 (sin): Likewise.
12168 (cos): Likewise.
12169 (atan): Likewise.
12170 (log): Likewise.
12171 (log10): Likewise.
12172 (asinh): Likewise.
12173 (log2): Likewise.
12174 (rint): Likewise.
12175
12176 2000-03-28 Ulrich Drepper <drepper@redhat.com>
12177
12178 * Makerules: If make variable md5 is defined to yes after
12179 generating dependencies generate MD5 sum for the object.
12180
12181 * iconv/gconv_builtin.h: Fix length in transformation definition
12182 for UNICODEBIG.
12183
12184 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
12185
12186 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
12187 allow as well reading from/writing to unaligned addresses on machines
12188 which don't support this in hardware. Use FCTNAME macro to define
12189 function name. Include the file a second time for platforms which
12190 need special unaligned handling.
12191 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
12192 to access potentially unaligned addresses. These macros are intended
12193 to be used only outside the loops.
12194 (unaligned): New definition. In case the machine can handle unaligned
12195 access define as zero. Otherwise as a variable which is initialized
12196 as nonzero in case the buffer passed in at runtime is unaligned with
12197 respect to the character set encoding involved.
12198 Call aligned or unaligned looop functions according to unaligned
12199 variable.
12200 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
12201 of direct casting pointer to potentially handle unaligned memory
12202 accesses.
12203 * iconvdata/8bit-generic.c: Likewise.
12204 * iconvdata/ansi_x3.110.c: Likewise.
12205 * iconvdata/big5.c: Likewise.
12206 * iconvdata/euc-cn.c: Likewise.
12207 * iconvdata/euc-jp.c: Likewise.
12208 * iconvdata/euc-kr.c: Likewise.
12209 * iconvdata/euc-tw.c: Likewise.
12210 * iconvdata/gbk.c: Likewise.
12211 * iconvdata/iso-2022-cn.c: Likewise.
12212 * iconvdata/iso-2022-jp.c: Likewise.
12213 * iconvdata/iso-2022-kr.c: Likewise.
12214 * iconvdata/iso646.c: Likewise.
12215 * iconvdata/iso_6937-2.c: Likewise.
12216 * iconvdata/iso_6937.c: Likewise.
12217 * iconvdata/johab.c: Likewise.
12218 * iconvdata/sjis.c: Likewise.
12219 * iconvdata/t.61.c: Likewise.
12220 * iconvdata/uhc.c: Likewise.
12221 * iconvdata/unicode.c: Likewise.
12222 * iconvdata/utf-16.c: Likewise.
12223
12224 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
12225 prototypes.
12226
12227 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
12228 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
12229 public.
12230 * malloc/mcheck.h (mcheck_check_all): Declare.
12231
12232 * stdio-common/Makefile (tests): Add tst-obprintf.
12233
12234 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
12235
12236 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
12237 Declare pthread_sigmask.
12238
12239 * csu/version.c: Add 2000 to copyright years.
12240 Remove Emacs local variables section.
12241
12242 2000-03-23 Bruno Haible <haible@clisp.cons.org>
12243
12244 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
12245 __gconv_transform_internal_ucs2little): Remove declarations.
12246 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
12247 __gconv_transform_internal_ucs2): Never need to bswap_16.
12248 (__gconv_transform_ucs2reverse_internal,
12249 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
12250
12251 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
12252
12253 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
12254 obsoleting version not being defined at all, in which case the
12255 result is always true.
12256
12257 * Makeconfig (preprocess-versions): New canned sequence for running
12258 cpp on shlib-versions and the like.
12259 (soversions.i): Use it.
12260 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
12261 Versions.def and Versions files.
12262
12263 2000-03-27 Ulrich Drepper <drepper@redhat.com>
12264
12265 * stdio-common/tst-obprintf.c (main): Add another check to see
12266 obstack_printf handling all possible beginnings of the block
12267 inside an obstack chunk.
12268
12269 * locale/programs/localedef.c: Use __malloc_initialize_hook to
12270 install mcheck handler.
12271
12272 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
12273 handling problem.
12274
12275 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
12276
12277 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
12278
12279 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
12280 on [HAVE_ELF && DO_VERSIONING].
12281
12282 2000-03-27 Ulrich Drepper <drepper@redhat.com>
12283
12284 * stdio-common/tst-obprintf.c: New file.
12285
12286 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12287
12288 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
12289 _IO_OVERFLOW directly instead through __overflow.
12290
12291 * locale/programs/localedef.c (construct_output_path): If path
12292 contains a / compute the end of the directory name correctly.
12293
12294 * include/features.h: Undef and document __USE_XOPEN2K.
12295
12296 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
12297 whenever a function is called. Initiated by calling mcheck_pedantic
12298 instead of mcheck.
12299 * malloc/mcheck.h: Declare mcheck_pedantic.
12300 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
12301 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
12302 for now.
12303
12304 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
12305
12306 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
12307 * dlfcn/dlopenold.c: Likewise.
12308 * nss/getXXbyYY_r.c: Likewise.
12309 * nss/getXXent_r.c: Likewise.
12310 * hurd/hurdinit.c: Likewise.
12311 * hurd/compat-20.c: Likewise.
12312 * libio/oldiofopen.c: Likewise.
12313 * libio/oldiofclose.c: Likewise.
12314 * libio/oldiofdopen.c: Likewise.
12315 * libio/oldfileops.c: Likewise.
12316 * libio/oldstdfiles.c: Likewise.
12317 * libio/oldiofsetpos.c: Likewise.
12318 * libio/oldiofgetpos.c: Likewise.
12319 * libio/oldiofgetpos64.c: Likewise.
12320 * libio/oldiofsetpos64.c: Likewise.
12321 * libio/oldiopopen.c: Likewise.
12322 * libio/oldpclose.c: Likewise.
12323 * libio/oldtmpfile.c: Likewise.
12324 * libio/freopen.c (freopen): Likewise.
12325 * libio/iofclose.c (_IO_new_fclose): Likewise.
12326
12327 * sysdeps/mach/sys/reboot.h: Include <features.h>.
12328 (reboot): Declare it.
12329
12330 * libio/Makefile (headers): Add bits/stdio-lock.h here.
12331
12332 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
12333
12334 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
12335
12336 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
12337 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
12338 We need this for the sbrk decl, which can be included without Unix98.
12339
12340 2000-03-20 Richard Henderson <rth@cygnus.com>
12341
12342 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
12343 argument to yperr2nss is an int, not size_t.
12344 * posix/regex.c (print_partial_compiled_pattern): Cast all
12345 ptrdiff_t to long for printing.
12346 (print_compiled_pattern): Use Z for printing size_t.
12347 * posix/testfnm.c (tests): Avoid trigraphs.
12348 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
12349 Use a C comment, not an assembly comment.
12350
12351 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
12352 of __ASSUME_32BITUIDS.
12353
12354 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12355
12356 * libio/iofopncook.c: Remove K&R prototypes.
12357
12358 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
12359
12360 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
12361 an initial value of 1024 instead of RLIM_INFINITY.
12362
12363 * Versions.def (libmachuser, libhurduser): Remove these sections,
12364 since these libraries do not presently use symbol versions.
12365
12366 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
12367 is RLIM_INFINITY, return -1 instead.
12368
12369 2000-03-24 Andreas Jaeger <aj@suse.de>
12370
12371 * Makefile (postclean): Added soversions.i.
12372
12373 2000-03-24 Scott Bambrough <scottb@netwinder.org>
12374
12375 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
12376 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
12377 and _FPU_IEEE. Change _FPU_RESERVED.
12378
12379 2000-03-24 Scott Bambrough <scottb@netwinder.org>
12380
12381 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
12382
12383 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
12384
12385 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
12386 (gaih_inet): Remove unused duplicate variable.
12387
12388 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
12389 Don't use __libc_sa_len, which only exists for Linux. Just handle
12390 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
12391 only flavors supported by this function anyway.
12392
12393 2000-03-24 Geoff Clare <gwc@unisoft.com>
12394
12395 * stdlib/strfmon.c: Corrected problems with missing signs and
12396 missing or extra spaces; allow for sign strings longer than
12397 one character; add padding to ensure positive and negative
12398 formats are aligned when a left precision is used.
12399
12400 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12401
12402 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
12403 Patch by John Mizel <John.Mizel@msdw.com>.
12404
12405 2000-03-25 Ulrich Drepper <drepper@redhat.com>
12406
12407 * manual/install.texi: Remove references to crypt add-on.
12408
12409 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
12410
12411 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
12412 section while taking the _hurd_rlimit_lock.
12413 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12414
12415 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
12416
12417 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
12418 using $(LN_S).
12419
12420 * sysdeps/mach/hurd/if_index.c: New file.
12421
12422 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
12423 * sysdeps/gnu/net/if.h: here.
12424 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
12425 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
12426 * sysdeps/generic/net/if.h: New file. Declares just the standard
12427 functions and `struct if_nameindex' type.
12428 * socket/Makefile (headers): Add net/if.h here.
12429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
12430 * sysdeps/mach/hurd/Dist: Remove it here.
12431 * sysdeps/unix/sysv/linux/Dist: And here.
12432 * sysdeps/generic/if_index.c: Include <net/if.h>.
12433
12434 2000-03-24 Andreas Jaeger <aj@suse.de>
12435
12436 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
12437 access relocated entries in l_info.
12438 (elf_machine_got_rel): Likewise.
12439 (elf_machine_runtime_setup): Likewise.
12440 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
12441 (elf_machine_runtime_setup): Likewise.
12442 (__dl_runtime_resolve): Likewise.
12443
12444 2000-03-23 Ulrich Drepper <drepper@redhat.com>
12445
12446 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
12447 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
12448 according to RFC 2553.
12449 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
12450 * inet/getnameinfo.c: Likewise.
12451 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12452
12453 2000-03-23 Bruno Haible <haible@clisp.cons.org>
12454
12455 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
12456 Remove no-op pointer increment.
12457
12458 2000-03-23 Andreas Jaeger <aj@suse.de>
12459
12460 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
12461 follow change for libio.h from 2000-03-10.
12462
12463 2000-03-23 Andreas Jaeger <aj@suse.de>
12464
12465 * elf/dl-addr.c: Adjust include paths for ldsodefs location
12466 change.
12467 * elf/dl-debug.c: Likewise.
12468 * elf/dl-deps.c: Likewise.
12469 * elf/dl-error.c: Likewise.
12470 * elf/dl-fini.c: Likewise.
12471 * elf/dl-init.c: Likewise.
12472 * elf/dl-load.c: Likewise.
12473 * elf/dl-lookup.c: Likewise.
12474 * elf/dl-minimal.c: Likewise.
12475 * elf/dl-object.c: Likewise.
12476 * elf/dl-open.c: Likewise.
12477 * elf/dl-preinit.c: Likewise.
12478 * elf/dl-profile.c: Likewise.
12479 * elf/dl-profstub.c: Likewise.
12480 * elf/dl-reloc.c: Likewise.
12481 * elf/dl-runtime.c: Likewise.
12482 * elf/dl-support.c: Likewise.
12483 * elf/dl-symbol.c: Likewise.
12484 * elf/dl-version.c: Likewise.
12485 * elf/rtld.c: Likewise.
12486 * elf/sprof.c: Likewise.
12487 * sysdeps/generic/dl-cache.c: Likewise.
12488 * sysdeps/generic/dl-origin.c: Likewise.
12489 * sysdeps/generic/dl-sysdep.c: Likewise.
12490 * sysdeps/generic/elf/backtracesyms.c: Likewise.
12491 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12492 * sysdeps/generic/libc-start.c: Likewise.
12493 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12494 * sysdeps/powerpc/dl-machine.c: Likewise.
12495 * sysdeps/powerpc/elf/libc-start.c: Likewise.
12496 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12497 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12498 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
12499
12500 * elf/ldsodefs.h: Move file to ...
12501 * sysdeps/generic/ldsodefs.h: ... here.
12502
12503 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
12504
12505 * sysdeps/mips/elf/ldsodefs.h: New file.
12506
12507 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
12508 entries in l_info.
12509 (_dl_check_map_versions): Likewise.
12510 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12511 * elf/dl-load.c (_dl_init_paths): Likewise.
12512 (_dl_map_object): Likewise.
12513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
12514 (elf_get_dynamic_info): Likewise.
12515 * elf/do-lookup.h (FCT): Likewise.
12516 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12517 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12518 * elf/dl-addr.c (_dl_addr): Likewise.
12519 * elf/dl-runtime.c (profile_fixup): Likewise.
12520 (fixup): Likewise.
12521 * elf/dl-init.c (_dl_init_next): Likewise.
12522 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
12523 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12524 (DISTINGUISH_LIB_VERSIONS): Likewise.
12525 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
12526 (elf_machine_rel): Likewise.
12527
12528 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
12529 for writable dynamic section.
12530
12531 2000-03-22 Ulrich Drepper <drepper@redhat.com>
12532
12533 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
12534 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12535
12536 2000-03-22 Andreas Jaeger <aj@suse.de>
12537
12538 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
12539 from latest Linux kernel.
12540
12541 2000-03-21 Andreas Jaeger <aj@suse.de>
12542
12543 * Versions.def: Add version 2.1.4.
12544
12545 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12546
12547 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
12548 * libio/oldiofopen.c: Likewise.
12549 * libio/oldiofclose.c: Likewise.
12550 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12551
12552 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
12553
12554 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
12555 indicating the first version set to obsolete the conditionalized code.
12556 (compat_symbol): New macro.
12557 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
12558 rhs be the ABI_* macro for the subsuming version. Assign increasing
12559 integer values to the ABI_* macros for supported versions.
12560 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
12561 compat_symbol macro.
12562
12563 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12564
12565 * nscd/connections.c (nscd_run): Pretty print.
12566 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
12567
12568 * manual/charset.texi: Fix typos. Rephrase.
12569 * manual/process.texi: Likewise.
12570 * manual/signal.texi: Likewise.
12571 Patches by Mike Coleman <mkc@kc.net>.
12572
12573 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
12574 versions.
12575 * libio/iofdopen.c: Likewise.
12576 * libio/iofgetpos.c: Likewise.
12577 * libio/iofgetpos64.c: Likewise.
12578 * libio/iofopen.c: Likewise.
12579 * libio/iofsetpos.c: Likewise.
12580 * libio/iofsetpos64.c: Likewise.
12581 * libio/iopopen.c: Likewise.
12582 * libio/oldiofopen.c: Likewise.
12583 * libio/pclose.c: Likewise.
12584 * sysdeps/gnu/siglist.c: Likewise.
12585 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12586
12587 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
12588 chance to expand VERSION_##lib##_##version.
12589
12590 * libio/fileops.c: Use new macros from shlib-compat.h to define
12591 versions.
12592 * libio/iofclose.c: Likewise.
12593 * libio/oldiofclose.c: Likewise.
12594 Patch by Roland McGrath <roland@frob.com>.
12595
12596 2000-03-21 Jakub Jelinek <jakub@redhat.com>
12597
12598 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
12599 Lay out struct sigcontext according to what really gets passed on
12600 the stack.
12601 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
12602 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
12603 (prgregset_t, prfpregset_t): Define to elf_* types.
12604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
12605 Define to correct value.
12606 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
12607 sigcontext.
12608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
12609
12610 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
12611
12612 * scripts/firstversions.awk: Allow multiple version sets in the
12613 "earliest version" specification, meaning that version sets in the
12614 gaps between listed versions should be folded into the earliest later
12615 version that is explicitly listed.
12616 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
12617 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
12618
12619 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12620
12621 * iconv/gconv_builtin.c: Include <endian.h>.
12622 * iconv/gconv_builtin.h: Add UCS-BE aliases.
12623 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
12624 according to current platform.
12625 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
12626 __gconv_transform_internal_ucs2reverse, and
12627 __gconv_transform_internal_ucs4le.
12628 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
12629 __gconv_transform_ucs2reverse_internal and
12630 __gconv_transform_internal_ucs2reverse.
12631 * iconvdata/Makefile (modules): Add UNICODE.
12632 (distribute): Add unicode.c.
12633 * iconvdata/gconv-modules: Add definitions for UNICODE module.
12634 * iconvdata/unicode.c: New file.
12635
12636 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
12637 determine byte order of input and convert accordingly.
12638
12639 * iconvdata/utf-16.c (gconv_init): Fix typo.
12640
12641 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12642
12643 * iconvdata/gconv-modules: Fix typo.
12644
12645 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
12646 more messages.
12647
12648 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
12649
12650 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12651
12652 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
12653
12654 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12655
12656 * misc/Makefile (routines): Add mincore.
12657
12658 2000-03-20 Andreas Jaeger <aj@suse.de>
12659
12660 * sysdeps/generic/mincore.c: New stub file.
12661
12662 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
12663 from latest Linux kernel.
12664
12665 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12666
12667 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
12668 _SC_GETPW_R_SIZE_MAX.
12669
12670 2000-03-20 Richard Henderson <rth@cygnus.com>
12671
12672 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
12673 in GLIBC_2.1.4.
12674
12675 2000-03-20 Richard Henderson <rth@cygnus.com>
12676
12677 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
12678 of arithmetic instructions.
12679
12680 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
12681 with the fpcr. Protect from INV exception.
12682 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
12683 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
12684 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
12685
12686 * sysdeps/alpha/fpu/s_copysign.c: New.
12687 * sysdeps/alpha/fpu/s_copysignf.c: New.
12688 * sysdeps/alpha/fpu/s_fabs.c: New.
12689 * sysdeps/alpha/fpu/s_fabsf.c: New.
12690 * sysdeps/alpha/fpu/s_rint.c: New.
12691 * sysdeps/alpha/fpu/s_rintf.c: New.
12692
12693 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
12694
12695 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
12696 Kill sethae.
12697 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
12698 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
12699 Use physical addresses not KSEG addresses.
12700 (io_system): Add PYXIS.
12701 (io): Remove hae.reg, sys, hae_shift.
12702 (stb_mb, stw_mb, stl_mb, __sethae): New.
12703 (inline_outb, inline_outw, inline_outl): Don't set hae.
12704 (inline_inb, inline_inw, inline_inl): Likewise.
12705 (dense_sethae): New null function.
12706 (struct cpuinfo_data): New.
12707 (process_cpuinfo): Use local and stack variables, not static.
12708 Move readlink check here from init_iosys.
12709 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
12710 (_iopl): Simplify.
12711 (_hae_shift): Calculate it here.
12712 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
12713 add pciconfig_iobase.
12714
12715 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
12716
12717 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
12718 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
12719
12720 * scripts/versions.awk: Fixed version renaming code to distinguish
12721 libraries properly.
12722
12723 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12724
12725 * include/stdlib.h: Add prototype for __cxa_atexit.
12726
12727 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
12728 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
12729
12730 2000-03-17 Cristian Gafton <gafton@redhat.com>
12731
12732 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
12733 existing rtld-installed-name.
12734 ($(rtld-installed-name)): Request libc-$(version) be installed too.
12735 replace existing rtld-installed-name using $(symbolic-link-prog).
12736
12737 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12738
12739 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
12740 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
12741 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
12742 but not the former.
12743
12744 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12745
12746 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
12747 glob64. Since there is no glob64 in the LFS proposal applications
12748 can assume that glob handles LFS situations. glob64 is only needed
12749 if alternative filesystem functions are used.
12750
12751 2000-03-19 Geoff Clare <gwc@unisoft.com>
12752
12753 * sysdeps/generic/glob.c: Correct gl_pathc value returned
12754 when GLOB_DOOFFS is set; correct handling of patterns
12755 containing escaped wildcards (and no unescaped ones);
12756 GLOB_ERR flag was being ignored in some situations.
12757
12758 * posix/globtest.c, posix/globtest.sh: Updated to include
12759 tests for the problems fixed by the above changes to glob.c.
12760
12761 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
12762
12763 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
12764
12765 * Makeconfig (soversion.i): Use only first match for each lib.
12766
12767 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
12768
12769 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
12770 rather than $(sysd-dirs-done) to protect these rules.
12771
12772 * Makerules (version-renames.def): Target removed.
12773 (Versions.all): Depend on soversions.i directly and parse it.
12774
12775 * Makeconfig (soversions.i): New target, input-reading parts of
12776 soversions.mk generation moved here; result is a canonicalized
12777 list "LIB VERSION [SET]" for this configuration.
12778 (soversions.mk): Use that as input. Don't emit map-firstversions.
12779 * Makerules (version-renames.def): New target, generated from
12780 soversions.i with contents that was in $(map-firstversions).
12781 (Versions.all): Don't depend on soversions.mk, depend on
12782 version-renames.def instead; just cat it into the input.
12783
12784 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
12785 for $(map-firstversions), which better handles it being empty.
12786
12787 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
12788 supported version for libc 0.2.90.libio to GLIBC_2.2.
12789
12790 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
12791 and use it to emit new variable `map-firstversions'.
12792 * scripts/firstversions.awk: New file.
12793 * Makerules (Versions.all): Use scripts/firstversions.awk and
12794 the $(map-firstversions) value to generate a modified versions list
12795 that includes renames in "A = B" syntax for each version set earlier
12796 than the "earliest symbol version" named in shlib-versions.
12797 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
12798 rename version set A to B in the output to the intermediate file.
12799 * scripts/abi-versions.awk: New file.
12800 * Makerules (abi-versions.h): New target, generated by that script.
12801 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
12802 * include/shlib-compat.h: New file, uses that generated header.
12803
12804 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
12805
12806 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
12807 after stripping # comments, and then run it through cpp.
12808 This allows things like "%ifdef FOO" based on config.h settings.
12809 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
12810
12811 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
12812 and other errors that indicate a pseudo-receive happened, grok through
12813 the message buffer for port rights that need references fixed up.
12814
12815 2000-03-16 Andreas Jaeger <aj@suse.de>
12816
12817 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
12818
12819 * sysdeps/unix/sysv/linux/madvise.c: Remove.
12820
12821 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
12822 from latest Linux kernel.
12823 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
12824
12825 * misc/sys/mman.h: Add prototype for mincore.
12826
12827 2000-03-17 Ulrich Drepper <drepper@redhat.com>
12828
12829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
12830 entry for GLIBC_2.0 version of setrlimit.
12831 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12832
12833 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12834
12835 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
12836 * nis/nss_compat/compat-initgroups.c: Likewise.
12837 * nis/nss_nis/nis-initgroups.c: Likewise.
12838 * nis/nss_nis/nis-netgrp.c: Likewise.
12839 * nis/nss_nis/nis-proto.c: Likewise.
12840 * nis/nss_nis/nis-rpc.c: Likewise.
12841 * nis/nss_nis/nis-service.c: Likewise.
12842 * nis/ypclnt.c: Likewise.
12843
12844 2000-03-16 Andreas Jaeger <aj@suse.de>
12845
12846 * manual/Makefile: MAKEINFO is set to `:' from configure if it
12847 doesn't exist, correct checks. Fixes PR libc/1649.
12848
12849 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12850
12851 * nscd/hstcache.c: Restore correct UID.
12852 * nscd/pwdcache.c: Likewise.
12853 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
12854
12855 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12856
12857 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
12858 macros for register names, in line with 2000-03-14 linux change.
12859
12860 * sysdeps/mach/sched_yield.c: New file.
12861
12862 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
12863
12864 * sysdeps/generic/lockfile.c: Include <stdio.h>
12865 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
12866 case <libio.h> defined them.
12867 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
12868 from __internal_*.
12869 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
12870 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
12871
12872 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
12873 for more pleasing parse error.
12874
12875 2000-03-16 Ulrich Drepper <drepper@redhat.com>
12876
12877 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
12878 memory for eras.
12879 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12880
12881 * elf/Makefile: Add rules to compile and run constload1 test.
12882 * elf/constload1.c: New file.
12883 * elf/constload2.c: New file.
12884 * elf/constload3.c: New file.
12885
12886 2000-03-15 Ulrich Drepper <drepper@redhat.com>
12887
12888 * sysdeps/posix/open64.c: Make __open64 weak alias.
12889 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
12890 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12891 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
12892 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12893 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
12894 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
12895 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12896 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
12897 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12898 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
12899
12900 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12901
12902 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
12903 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
12904
12905 2000-03-16 Mark Kettenis <kettenis@gnu.org>
12906
12907 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
12908 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
12909
12910 2000-03-08 Andreas Jaeger <aj@suse.de>
12911
12912 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
12913
12914 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12915
12916 * timezone/africa: Update from tzdata2000d.
12917 * timezone/asia: Likewise.
12918 * timezone/australasia: Likewise.
12919 * timezone/europe: Likewise.
12920 * timezone/northamerica: Likewise.
12921 * timezone/southamerica: Likewise.
12922
12923 * po/fr.po: Update from translation team.
12924 * po/de.po: Likewise.
12925
12926 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
12927 last parameter. Move code to add map to global scope from here...
12928 * elf/dl-open.c (dl_open_worker): ...here.
12929 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
12930 * elf/rtld.c: Adjust call to _dl_map_object_deps.
12931
12932 * locale/programs/ld-collate.c (collate_read): Fix warning.
12933
12934 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
12935 values and macros for register names.
12936
12937 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
12938 returned by seek cookie function is -1.
12939
12940 2000-03-14 Andreas Jaeger <aj@suse.de>
12941
12942 * locale/localeconv.c (localeconv): Fix typo.
12943 Reported by Andre Charbonneau <andrec@corel.com>.
12944
12945 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12946
12947 * iconv/skeleton.c: Increment __invocation_counter in inner loop
12948 since modules depend on it counting the number of times the conversion
12949 function got called.
12950
12951 * iconv/gconv_open.c: Optimize loop to setup step data structure.
12952
12953 * iconv/gconv.h: Pretty print.
12954
12955 2000-03-04 Ulrich Drepper <drepper@redhat.com>
12956
12957 * posix/wordexp-test.c: Correct one of the tests added in the last
12958 change. Really get the root passwd entry to check again ~root.
12959
12960 2000-03-10 Andreas Jaeger <aj@suse.de>
12961
12962 * manual/filesys.texi (Working Directory): Fix last patch.
12963 Patch by Martin Buchholz <martin@xemacs.org>.
12964
12965 2000-03-10 Andreas Jaeger <aj@suse.de>
12966
12967 * manual/creature.texi (Feature Test Macros): Fix language.
12968
12969 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
12970
12971 * mach/devstream.c (devstream_write, devstream_read): New functions.
12972 (input, output): Functions removed.
12973 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
12974 using only the vanilla fopencookie interface.
12975
12976 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
12977 as macro for __io_functions.
12978 (funcsio): Use cookie_io_functions_t type name.
12979 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
12980
12981 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
12982 fopencookie.
12983 (fopencookie): Use it.
12984 * libio/libio.h: Declare _IO_cookie_init.
12985 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
12986 _IO_cookie_init.
12987
12988 * libio/libio.h (__io_seek_fn): Fix second argument type
12989 to be a pointer, in line with the manual and the old stdio.
12990 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
12991
12992 * sysdeps/generic/bits/stdio-lock.h: New file.
12993 This is a stub with #error, but that's better than no file at all.
12994
12995 2000-03-09 Martin Buchholz <martin@xemacs.org>
12996
12997 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
12998 * manual/message.texi (Using gettextized software): Doc Fixes.
12999 * manual/message.texi (Message Translation): Doc Fixes.
13000 * manual/filesys.texi (File Size): Doc Fixes.
13001 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
13002 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
13003 * iconv/gconv_db.c (find_derivation): Doc Fixes.
13004 * manual/install.texi: Doc Fixes.
13005 * manual/search.texi (Hash Search Function): Doc Fixes.
13006 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
13007 * FAQ.in: Doc Fixes.
13008 * config.h.in: Doc Fixes.
13009 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
13010 Doc Fixes. `allows to' is not correct English.
13011
13012 * elf/rtld.c: Doc fixes.
13013 * manual/creature.texi (Feature Test Macros): Doc fixes.
13014 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
13015
13016 * manual/filesys.texi (Working Directory): Check for ERANGE to
13017 avoid infloop.
13018
13019 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
13020
13021 * string/argz-stringify.c (__argz_stringify): Fix loop termination
13022 conditions so as not to clobber the final '\0' when there is only one
13023 element in the vector.
13024
13025 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
13026
13027 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
13028 broken by 2000-02-27 change.
13029
13030 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
13031
13032 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
13033
13034 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
13035 argument type, for 2000-02-22 change in signal/signal.h declaration.
13036
13037 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
13038
13039 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
13040 to getdirentries64 (no __), since the Linux implementation
13041 has no __ name, and there is no declaration for the __ name.
13042
13043 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
13044
13045 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
13046 sed regexp so as not to break directory names including /../ within.
13047
13048 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
13049 The sysdeps/generic file is right for BSD. This file was in fact the
13050 Hurd file, but the only difference was the WNOREAP flag that was never
13051 actually implemented or used anywhere.
13052
13053 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
13054 since AC_PATH_PROG already does it for us.
13055 (PERL): Rewrite check added in 2000-02-29 change for syntactic
13056 correctness and sh portability. I replaced the broken check
13057 with a more sensible implementation of the apparently intended
13058 semantics, which might still be questionable. Using expr causes
13059 a non-numeric value for `perl -V:apiversion` to be accepted,
13060 refusing to use only a perl that reports a number less than 5;
13061 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
13062 * configure: Regenerated.
13063
13064 2000-03-08 Andreas Jaeger <aj@suse.de>
13065
13066 * manual/crypt.texi: Fix paths.
13067
13068 2000-03-07 Andreas Jaeger <aj@suse.de>
13069
13070 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
13071 were swapped.
13072 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
13073 libc/1636.
13074
13075 2000-03-06 Andreas Jaeger <aj@suse.de>
13076
13077 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
13078 in __sgn1l, otherwise g++ fails to parse this.
13079 Reported by Sean Chen <sean.chen@turbolinux.com>.
13080
13081 2000-03-03 Geoff Keating <geoffk@cygnus.com>
13082
13083 * configure.in: Compute sizeof-long-double.
13084 * configure: Regenerated.
13085 * config.make.in: Make sizeof-long-double available to sub-makes.
13086
13087 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
13088
13089 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
13090 call.
13091
13092 2000-03-03 Geoff Keating <geoffk@cygnus.com>
13093
13094 * Makeconfig (rpath-dirs): Add crypt.
13095 (all-subdirs): Remove md5crypt.
13096 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
13097 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
13098 * sysdeps/generic/crypt-entry.c: Delete.
13099 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
13100 * sysdeps/generic/crypt.h: Delete.
13101 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
13102 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
13103 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
13104 * sysdeps/generic/des_impl.c: Delete.
13105 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
13106 * crypt/sysdeps: Delete.
13107 * crypt/crypt_util.c: Don't use `patchlevel.h'.
13108 * md5-crypt/Versions: Move to crypt/.
13109 * md5-crypt/md5-crypt.c: Move to crypt/.
13110 * md5-crypt/md5.c: Move to crypt/.
13111 * md5-crypt/md5c-test.c: Move to crypt/.
13112 * md5-crypt/md5test.c: Move to crypt/.
13113 * md5-crypt: Delete.
13114 * crypt/Makefile: Adjust for new structure.
13115
13116 2000-03-03 Paul Eggert <eggert@twinsun.com>
13117
13118 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
13119 define to 1 if not defined.
13120
13121 2000-03-03 Andreas Jaeger <aj@suse.de>
13122
13123 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
13124
13125 2000-03-03 Andreas Jaeger <aj@suse.de>
13126
13127 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
13128 cases.
13129 (xdr_int64_t): Correctly handle lower half.
13130 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
13131
13132 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
13133
13134 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
13135 call.
13136
13137 2000-03-02 Andreas Jaeger <aj@suse.de>
13138
13139 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
13140 2.3.43.
13141
13142 2000-03-02 Andreas Jaeger <aj@suse.de>
13143
13144 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
13145
13146 2000-03-01 Andreas Jaeger <aj@suse.de>
13147
13148 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
13149 (tests): Added tst-getdate.
13150
13151 * time/tst-getdate.c: New file.
13152
13153 * time/datemsk: New file, needed for tst-getdate.
13154
13155 2000-02-29 Cristian Gafton <gafton@redhat.com>
13156
13157 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
13158
13159 2000-02-17 H.J. Lu <hjl@gnu.org>
13160
13161 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
13162
13163 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
13164 available.
13165 (svcudp_recv): Set up message with the new "xp_pad" field for
13166 IP_PKTINFO.
13167 (svcudp_reply): Support IP_PKTINFO if available.
13168
13169 2000-03-01 Andreas Jaeger <aj@suse.de>
13170
13171 * time/getdate.c (check_mday): Fix check for february.
13172 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
13173 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
13174
13175 2000-03-02 Andreas Jaeger <aj@suse.de>
13176
13177 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
13178 g++ fails to parse this.
13179 Reported by Sean Chen <sean.chen@turbolinux.com>.
13180
13181 2000-02-28 Ulrich Drepper <drepper@redhat.com>
13182
13183 * io/creat.c: Moved to...
13184 * sysdeps/generic/creat.c: ...here.
13185 * io/creat64.c: Moved to...
13186 * sysdeps/generic/creat64.c: ...here.
13187 * io/lockf.c: Moved to...
13188 * sysdeps/generic/lockf.c: ...here.
13189
13190 * crypt/crypt.texi: Moved to...
13191 * manual/crypt.texi: ...here.
13192 * crypt/examples/genpass.c: Moved to...
13193 * manual/examples/genpass.c: ...here.
13194 * crypt/examples/mygenpass.c: Moved to...
13195 * manual/examples/mygenpass.c: ...here.
13196 * crypt/examples/testpass.c: Moved to...
13197 * manual/examples/testpass.c: ...here.
13198
13199 * manual/Makefile (chapters): Add crypt.
13200 * manual/conf.texi: Add usual header for not-last chapter.
13201 * manual/crypt.texi: Add special header for last chapter.
13202
13203 2000-02-28 Geoff Keating <geoffk@cygnus.com>
13204
13205 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
13206 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
13207 complain if there is no crypt add-on.
13208 * crypt/configure: Removed.
13209
13210 * crypt/crypt.texi: Update documentation of US export restrictions
13211 to match the 14 Jan 2000 regulations.
13212
13213 2000-02-28 Geoff Keating <geoffk@cygnus.com>
13214
13215 * crypt: New subdirectory, merged in from the crypt add-on.
13216
13217 2000-02-28 Ulrich Drepper <drepper@redhat.com>
13218
13219 * include/unistd.h: Add __rmdir and __mkdir prototypes.
13220
13221
13222 See ChangeLog.10 for earlier changes.
This page took 0.63366 seconds and 5 git commands to generate.